This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.security.getServerVulnerabilityAssessment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a server vulnerability assessment onboarding statuses on a given resource. Azure REST 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)
public static Output<GetServerVulnerabilityAssessmentResult> getServerVulnerabilityAssessment(GetServerVulnerabilityAssessmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:security:getServerVulnerabilityAssessment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- 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.
- ServerVulnerability stringAssessment 
- ServerVulnerabilityAssessment status. only a 'default' value is supported.
- ResourceGroup stringName 
- 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.
- ServerVulnerability stringAssessment 
- ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resourceGroup StringName 
- 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.
- serverVulnerability StringAssessment 
- ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resourceGroup stringName 
- 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.
- serverVulnerability stringAssessment 
- ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resource_group_ strname 
- 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_ strassessment 
- ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resourceGroup StringName 
- 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.
- serverVulnerability StringAssessment 
- 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 pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi