1. Packages
  2. Azure Native v1
  3. API Docs
  4. security
  5. getServerVulnerabilityAssessment
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.security.getServerVulnerabilityAssessment

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets a server vulnerability assessment onboarding statuses on a given resource. API Version: 2020-01-01.

    Using getServerVulnerabilityAssessment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerVulnerabilityAssessment(args: GetServerVulnerabilityAssessmentArgs, opts?: InvokeOptions): Promise<GetServerVulnerabilityAssessmentResult>
    function getServerVulnerabilityAssessmentOutput(args: GetServerVulnerabilityAssessmentOutputArgs, opts?: InvokeOptions): Output<GetServerVulnerabilityAssessmentResult>
    def get_server_vulnerability_assessment(resource_group_name: Optional[str] = None,
                                            resource_name: Optional[str] = None,
                                            resource_namespace: Optional[str] = None,
                                            resource_type: Optional[str] = None,
                                            server_vulnerability_assessment: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetServerVulnerabilityAssessmentResult
    def get_server_vulnerability_assessment_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                            resource_name: Optional[pulumi.Input[str]] = None,
                                            resource_namespace: Optional[pulumi.Input[str]] = None,
                                            resource_type: Optional[pulumi.Input[str]] = None,
                                            server_vulnerability_assessment: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetServerVulnerabilityAssessmentResult]
    func LookupServerVulnerabilityAssessment(ctx *Context, args *LookupServerVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupServerVulnerabilityAssessmentResult, error)
    func LookupServerVulnerabilityAssessmentOutput(ctx *Context, args *LookupServerVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupServerVulnerabilityAssessmentResultOutput

    > Note: This function is named LookupServerVulnerabilityAssessment in the Go SDK.

    public static class GetServerVulnerabilityAssessment 
    {
        public static Task<GetServerVulnerabilityAssessmentResult> InvokeAsync(GetServerVulnerabilityAssessmentArgs args, InvokeOptions? opts = null)
        public static Output<GetServerVulnerabilityAssessmentResult> Invoke(GetServerVulnerabilityAssessmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerVulnerabilityAssessmentResult> getServerVulnerabilityAssessment(GetServerVulnerabilityAssessmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:security:getServerVulnerabilityAssessment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    ResourceName string
    Name of the resource.
    ResourceNamespace string
    The Namespace of the resource.
    ResourceType string
    The type of the resource.
    ServerVulnerabilityAssessment string
    ServerVulnerabilityAssessment status. only a 'default' value is supported.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    ResourceName string
    Name of the resource.
    ResourceNamespace string
    The Namespace of the resource.
    ResourceType string
    The type of the resource.
    ServerVulnerabilityAssessment string
    ServerVulnerabilityAssessment status. only a 'default' value is supported.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    resourceName String
    Name of the resource.
    resourceNamespace String
    The Namespace of the resource.
    resourceType String
    The type of the resource.
    serverVulnerabilityAssessment String
    ServerVulnerabilityAssessment status. only a 'default' value is supported.
    resourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    resourceName string
    Name of the resource.
    resourceNamespace string
    The Namespace of the resource.
    resourceType string
    The type of the resource.
    serverVulnerabilityAssessment string
    ServerVulnerabilityAssessment status. only a 'default' value is supported.
    resource_group_name str
    The name of the resource group within the user's subscription. The name is case insensitive.
    resource_name str
    Name of the resource.
    resource_namespace str
    The Namespace of the resource.
    resource_type str
    The type of the resource.
    server_vulnerability_assessment str
    ServerVulnerabilityAssessment status. only a 'default' value is supported.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    resourceName String
    Name of the resource.
    resourceNamespace String
    The Namespace of the resource.
    resourceType String
    The type of the resource.
    serverVulnerabilityAssessment String
    ServerVulnerabilityAssessment status. only a 'default' value is supported.

    getServerVulnerabilityAssessment Result

    The following output properties are available:

    Id string
    Resource Id
    Name string
    Resource name
    ProvisioningState string
    The provisioningState of the vulnerability assessment capability on the VM
    Type string
    Resource type
    Id string
    Resource Id
    Name string
    Resource name
    ProvisioningState string
    The provisioningState of the vulnerability assessment capability on the VM
    Type string
    Resource type
    id String
    Resource Id
    name String
    Resource name
    provisioningState String
    The provisioningState of the vulnerability assessment capability on the VM
    type String
    Resource type
    id string
    Resource Id
    name string
    Resource name
    provisioningState string
    The provisioningState of the vulnerability assessment capability on the VM
    type string
    Resource type
    id str
    Resource Id
    name str
    Resource name
    provisioning_state str
    The provisioningState of the vulnerability assessment capability on the VM
    type str
    Resource type
    id String
    Resource Id
    name String
    Resource name
    provisioningState String
    The provisioningState of the vulnerability assessment capability on the VM
    type String
    Resource type

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi