Class ServerVulnerabilityAssessment
Manages the Vulnerability Assessment for a MS SQL Server.
NOTE Vulnerability Assessment is currently only available for MS SQL databases.
Inherited Members
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class ServerVulnerabilityAssessment : CustomResource
Constructors
View SourceServerVulnerabilityAssessment(String, ServerVulnerabilityAssessmentArgs, CustomResourceOptions)
Create a ServerVulnerabilityAssessment resource with the given unique name, arguments, and options.
Declaration
public ServerVulnerabilityAssessment(string name, ServerVulnerabilityAssessmentArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServerVulnerabilityAssessmentArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceRecurringScans
The recurring scans settings. The recurring_scans block supports fields documented below.
Declaration
public Output<ServerVulnerabilityAssessmentRecurringScans> RecurringScans { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServerVulnerabilityAssessmentRecurringScans> |
ServerSecurityAlertPolicyId
The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created.
Declaration
public Output<string> ServerSecurityAlertPolicyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageAccountAccessKey
Specifies the identifier key of the storage account for vulnerability assessment scan results. If storage_container_sas_key isn't specified, storage_account_access_key is required.
Declaration
public Output<string> StorageAccountAccessKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageContainerPath
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).
Declaration
public Output<string> StorageContainerPath { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageContainerSasKey
A shared access signature (SAS Key) that has write access to the blob container specified in storage_container_path parameter. If storage_account_access_key isn't specified, storage_container_sas_key is required.
Declaration
public Output<string> StorageContainerSasKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ServerVulnerabilityAssessmentState, CustomResourceOptions)
Get an existing ServerVulnerabilityAssessment resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ServerVulnerabilityAssessment Get(string name, Input<string> id, ServerVulnerabilityAssessmentState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServerVulnerabilityAssessmentState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ServerVulnerabilityAssessment |