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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getServerVulnerabilityAssessment
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Resource
Name string - Name of the resource.
- Resource
Namespace string - The Namespace of the resource.
- Resource
Type string - The type of the resource.
- Server
Vulnerability stringAssessment - ServerVulnerabilityAssessment status. only a 'default' value is supported.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Resource
Name string - Name of the resource.
- Resource
Namespace string - The Namespace of the resource.
- Resource
Type string - The type of the resource.
- Server
Vulnerability stringAssessment - ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- resource
Name String - Name of the resource.
- resource
Namespace String - The Namespace of the resource.
- resource
Type String - The type of the resource.
- server
Vulnerability StringAssessment - ServerVulnerabilityAssessment status. only a 'default' value is supported.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- resource
Name string - Name of the resource.
- resource
Namespace string - The Namespace of the resource.
- resource
Type string - The type of the resource.
- server
Vulnerability 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- resource
Name String - Name of the resource.
- resource
Namespace String - The Namespace of the resource.
- resource
Type String - The type of the resource.
- server
Vulnerability 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
- Provisioning
State string - The provisioningState of the vulnerability assessment capability on the VM
- Type string
- Resource type
- Id string
- Resource Id
- Name string
- Resource name
- Provisioning
State string - The provisioningState of the vulnerability assessment capability on the VM
- Type string
- Resource type
- id String
- Resource Id
- name String
- Resource name
- provisioning
State String - The provisioningState of the vulnerability assessment capability on the VM
- type String
- Resource type
- id string
- Resource Id
- name string
- Resource name
- provisioning
State 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
- provisioning
State 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi