Share via


Microsoft.AzureStackHCI clusters/securitySettings

Bicep resource definition

The clusters/securitySettings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStackHCI/clusters/securitySettings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AzureStackHCI/clusters/securitySettings@2024-02-15-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    provisioningState: 'string'
    securedCoreComplianceAssignment: 'string'
  }
}

Property Values

Microsoft.AzureStackHCI/clusters/securitySettings

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: clusters
properties The resource-specific properties for this resource. SecurityProperties

SecurityProperties

Name Description Value
provisioningState The status of the last operation. 'Accepted'
'Canceled'
'Connected'
'Creating'
'Deleted'
'Deleting'
'DisableInProgress'
'Disconnected'
'Error'
'Failed'
'InProgress'
'Moving'
'NotSpecified'
'PartiallyConnected'
'PartiallySucceeded'
'Provisioning'
'Succeeded'
'Updating'
securedCoreComplianceAssignment Secured Core Compliance Assignment 'ApplyAndAutoCorrect'
'Audit'

ARM template resource definition

The clusters/securitySettings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStackHCI/clusters/securitySettings resource, add the following JSON to your template.

{
  "type": "Microsoft.AzureStackHCI/clusters/securitySettings",
  "apiVersion": "2024-02-15-preview",
  "name": "string",
  "properties": {
    "provisioningState": "string",
    "securedCoreComplianceAssignment": "string"
  }
}

Property Values

Microsoft.AzureStackHCI/clusters/securitySettings

Name Description Value
apiVersion The api version '2024-02-15-preview'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
properties The resource-specific properties for this resource. SecurityProperties
type The resource type 'Microsoft.AzureStackHCI/clusters/securitySettings'

SecurityProperties

Name Description Value
provisioningState The status of the last operation. 'Accepted'
'Canceled'
'Connected'
'Creating'
'Deleted'
'Deleting'
'DisableInProgress'
'Disconnected'
'Error'
'Failed'
'InProgress'
'Moving'
'NotSpecified'
'PartiallyConnected'
'PartiallySucceeded'
'Provisioning'
'Succeeded'
'Updating'
securedCoreComplianceAssignment Secured Core Compliance Assignment 'ApplyAndAutoCorrect'
'Audit'

Usage Examples

Terraform (AzAPI provider) resource definition

The clusters/securitySettings resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStackHCI/clusters/securitySettings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureStackHCI/clusters/securitySettings@2024-02-15-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      provisioningState = "string"
      securedCoreComplianceAssignment = "string"
    }
  }
}

Property Values

Microsoft.AzureStackHCI/clusters/securitySettings

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: clusters
properties The resource-specific properties for this resource. SecurityProperties
type The resource type "Microsoft.AzureStackHCI/clusters/securitySettings@2024-02-15-preview"

SecurityProperties

Name Description Value
provisioningState The status of the last operation. 'Accepted'
'Canceled'
'Connected'
'Creating'
'Deleted'
'Deleting'
'DisableInProgress'
'Disconnected'
'Error'
'Failed'
'InProgress'
'Moving'
'NotSpecified'
'PartiallyConnected'
'PartiallySucceeded'
'Provisioning'
'Succeeded'
'Updating'
securedCoreComplianceAssignment Secured Core Compliance Assignment 'ApplyAndAutoCorrect'
'Audit'