azure-native.azurestackhci.SecuritySetting
Explore with Pulumi AI
Security settings proxy resource Azure REST API version: 2023-11-01-preview.
Other available API versions: 2024-01-01, 2024-02-15-preview, 2024-04-01, 2024-09-01-preview, 2024-12-01-preview.
Example Usage
Create Security Settings
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var securitySetting = new AzureNative.AzureStackHCI.SecuritySetting("securitySetting", new()
    {
        ClusterName = "myCluster",
        ResourceGroupName = "test-rg",
        SecuredCoreComplianceAssignment = AzureNative.AzureStackHCI.ComplianceAssignmentType.Audit,
        SecuritySettingsName = "default",
    });
});
package main
import (
	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azurestackhci.NewSecuritySetting(ctx, "securitySetting", &azurestackhci.SecuritySettingArgs{
			ClusterName:                     pulumi.String("myCluster"),
			ResourceGroupName:               pulumi.String("test-rg"),
			SecuredCoreComplianceAssignment: pulumi.String(azurestackhci.ComplianceAssignmentTypeAudit),
			SecuritySettingsName:            pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurestackhci.SecuritySetting;
import com.pulumi.azurenative.azurestackhci.SecuritySettingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var securitySetting = new SecuritySetting("securitySetting", SecuritySettingArgs.builder()
            .clusterName("myCluster")
            .resourceGroupName("test-rg")
            .securedCoreComplianceAssignment("Audit")
            .securitySettingsName("default")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const securitySetting = new azure_native.azurestackhci.SecuritySetting("securitySetting", {
    clusterName: "myCluster",
    resourceGroupName: "test-rg",
    securedCoreComplianceAssignment: azure_native.azurestackhci.ComplianceAssignmentType.Audit,
    securitySettingsName: "default",
});
import pulumi
import pulumi_azure_native as azure_native
security_setting = azure_native.azurestackhci.SecuritySetting("securitySetting",
    cluster_name="myCluster",
    resource_group_name="test-rg",
    secured_core_compliance_assignment=azure_native.azurestackhci.ComplianceAssignmentType.AUDIT,
    security_settings_name="default")
resources:
  securitySetting:
    type: azure-native:azurestackhci:SecuritySetting
    properties:
      clusterName: myCluster
      resourceGroupName: test-rg
      securedCoreComplianceAssignment: Audit
      securitySettingsName: default
Create SecuritySetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecuritySetting(name: string, args: SecuritySettingArgs, opts?: CustomResourceOptions);@overload
def SecuritySetting(resource_name: str,
                    args: SecuritySettingArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def SecuritySetting(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cluster_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    secured_core_compliance_assignment: Optional[Union[str, ComplianceAssignmentType]] = None,
                    security_settings_name: Optional[str] = None)func NewSecuritySetting(ctx *Context, name string, args SecuritySettingArgs, opts ...ResourceOption) (*SecuritySetting, error)public SecuritySetting(string name, SecuritySettingArgs args, CustomResourceOptions? opts = null)
public SecuritySetting(String name, SecuritySettingArgs args)
public SecuritySetting(String name, SecuritySettingArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:SecuritySetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecuritySettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecuritySettingArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecuritySettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecuritySettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecuritySettingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var securitySettingResource = new AzureNative.AzureStackHCI.SecuritySetting("securitySettingResource", new()
{
    ClusterName = "string",
    ResourceGroupName = "string",
    SecuredCoreComplianceAssignment = "string",
    SecuritySettingsName = "string",
});
example, err := azurestackhci.NewSecuritySetting(ctx, "securitySettingResource", &azurestackhci.SecuritySettingArgs{
	ClusterName:                     pulumi.String("string"),
	ResourceGroupName:               pulumi.String("string"),
	SecuredCoreComplianceAssignment: pulumi.String("string"),
	SecuritySettingsName:            pulumi.String("string"),
})
var securitySettingResource = new SecuritySetting("securitySettingResource", SecuritySettingArgs.builder()
    .clusterName("string")
    .resourceGroupName("string")
    .securedCoreComplianceAssignment("string")
    .securitySettingsName("string")
    .build());
security_setting_resource = azure_native.azurestackhci.SecuritySetting("securitySettingResource",
    cluster_name="string",
    resource_group_name="string",
    secured_core_compliance_assignment="string",
    security_settings_name="string")
const securitySettingResource = new azure_native.azurestackhci.SecuritySetting("securitySettingResource", {
    clusterName: "string",
    resourceGroupName: "string",
    securedCoreComplianceAssignment: "string",
    securitySettingsName: "string",
});
type: azure-native:azurestackhci:SecuritySetting
properties:
    clusterName: string
    resourceGroupName: string
    securedCoreComplianceAssignment: string
    securitySettingsName: string
SecuritySetting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecuritySetting resource accepts the following input properties:
- ClusterName string
- The name of the cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecuredCore string | Pulumi.Compliance Assignment Azure Native. Azure Stack HCI. Compliance Assignment Type 
- Secured Core Compliance Assignment
- SecuritySettings stringName 
- Name of security setting
- ClusterName string
- The name of the cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecuredCore string | ComplianceCompliance Assignment Assignment Type 
- Secured Core Compliance Assignment
- SecuritySettings stringName 
- Name of security setting
- clusterName String
- The name of the cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- securedCore String | ComplianceCompliance Assignment Assignment Type 
- Secured Core Compliance Assignment
- securitySettings StringName 
- Name of security setting
- clusterName string
- The name of the cluster.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- securedCore string | ComplianceCompliance Assignment Assignment Type 
- Secured Core Compliance Assignment
- securitySettings stringName 
- Name of security setting
- cluster_name str
- The name of the cluster.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- secured_core_ str | Compliancecompliance_ assignment Assignment Type 
- Secured Core Compliance Assignment
- security_settings_ strname 
- Name of security setting
- clusterName String
- The name of the cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- securedCore String | "Audit" | "ApplyCompliance Assignment And Auto Correct" 
- Secured Core Compliance Assignment
- securitySettings StringName 
- Name of security setting
Outputs
All input properties are implicitly available as output properties. Additionally, the SecuritySetting resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- The status of the last operation.
- SecurityCompliance Pulumi.Status Azure Native. Azure Stack HCI. Outputs. Security Compliance Status Response 
- Security Compliance Status
- SystemData Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- The status of the last operation.
- SecurityCompliance SecurityStatus Compliance Status Response 
- Security Compliance Status
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The status of the last operation.
- securityCompliance SecurityStatus Compliance Status Response 
- Security Compliance Status
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioningState string
- The status of the last operation.
- securityCompliance SecurityStatus Compliance Status Response 
- Security Compliance Status
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_state str
- The status of the last operation.
- security_compliance_ Securitystatus Compliance Status Response 
- Security Compliance Status
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The status of the last operation.
- securityCompliance Property MapStatus 
- Security Compliance Status
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ComplianceAssignmentType, ComplianceAssignmentTypeArgs      
- Audit
- AuditReport on the state of the machine, but don't make changes.
- ApplyAnd Auto Correct 
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
- ComplianceAssignment Type Audit 
- AuditReport on the state of the machine, but don't make changes.
- ComplianceAssignment Type Apply And Auto Correct 
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
- Audit
- AuditReport on the state of the machine, but don't make changes.
- ApplyAnd Auto Correct 
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
- Audit
- AuditReport on the state of the machine, but don't make changes.
- ApplyAnd Auto Correct 
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
- AUDIT
- AuditReport on the state of the machine, but don't make changes.
- APPLY_AND_AUTO_CORRECT
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
- "Audit"
- AuditReport on the state of the machine, but don't make changes.
- "ApplyAnd Auto Correct" 
- ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
SecurityComplianceStatusResponse, SecurityComplianceStatusResponseArgs        
- DataAt stringRest Encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- DataIn stringTransit Protected 
- Indicates whether HCI cluster has data in-transit protection.
- LastUpdated string
- Time in UTC when compliance status was last updated.
- SecuredCore stringCompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- WdacCompliance string
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
- DataAt stringRest Encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- DataIn stringTransit Protected 
- Indicates whether HCI cluster has data in-transit protection.
- LastUpdated string
- Time in UTC when compliance status was last updated.
- SecuredCore stringCompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- WdacCompliance string
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
- dataAt StringRest Encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- dataIn StringTransit Protected 
- Indicates whether HCI cluster has data in-transit protection.
- lastUpdated String
- Time in UTC when compliance status was last updated.
- securedCore StringCompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- wdacCompliance String
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
- dataAt stringRest Encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- dataIn stringTransit Protected 
- Indicates whether HCI cluster has data in-transit protection.
- lastUpdated string
- Time in UTC when compliance status was last updated.
- securedCore stringCompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- wdacCompliance string
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
- data_at_ strrest_ encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- data_in_ strtransit_ protected 
- Indicates whether HCI cluster has data in-transit protection.
- last_updated str
- Time in UTC when compliance status was last updated.
- secured_core_ strcompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- wdac_compliance str
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
- dataAt StringRest Encrypted 
- Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
- dataIn StringTransit Protected 
- Indicates whether HCI cluster has data in-transit protection.
- lastUpdated String
- Time in UTC when compliance status was last updated.
- securedCore StringCompliance 
- Indicates whether HCI hosts meets secured-core server requirements.
- wdacCompliance String
- Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestackhci:SecuritySetting myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0