1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getServerVulnerabilityAssessment
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.security.getServerVulnerabilityAssessment

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets a server vulnerability assessment onboarding statuses on a given resource.

Uses 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>
Copy
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]
Copy
func LookupServerVulnerabilityAssessment(ctx *Context, args *LookupServerVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupServerVulnerabilityAssessmentResult, error)
func LookupServerVulnerabilityAssessmentOutput(ctx *Context, args *LookupServerVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupServerVulnerabilityAssessmentResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetServerVulnerabilityAssessmentResult> getServerVulnerabilityAssessment(GetServerVulnerabilityAssessmentArgs args, InvokeOptions options)
public static Output<GetServerVulnerabilityAssessmentResult> getServerVulnerabilityAssessment(GetServerVulnerabilityAssessmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getServerVulnerabilityAssessment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getServerVulnerabilityAssessment Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource name
ProvisioningState string
The provisioningState of the vulnerability assessment capability on the VM
Type string
Resource type
AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource name
ProvisioningState string
The provisioningState of the vulnerability assessment capability on the VM
Type string
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id
name String
Resource name
provisioningState String
The provisioningState of the vulnerability assessment capability on the VM
type String
Resource type
azureApiVersion string
The Azure API version of the resource.
id string
Resource Id
name string
Resource name
provisioningState string
The provisioningState of the vulnerability assessment capability on the VM
type string
Resource type
azure_api_version str
The Azure API version of the resource.
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
azureApiVersion String
The Azure API version of the resource.
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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi