1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. SecuritySetting
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.azurestackhci.SecuritySetting

Explore with Pulumi AI

azure-native logo
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    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.

    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 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")
    
    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",
    });
    
    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

    The SecuritySetting resource accepts the following input properties:

    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SecuredCoreComplianceAssignment string | Pulumi.AzureNative.AzureStackHCI.ComplianceAssignmentType
    Secured Core Compliance Assignment
    SecuritySettingsName string
    Name of security setting
    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SecuredCoreComplianceAssignment string | ComplianceAssignmentType
    Secured Core Compliance Assignment
    SecuritySettingsName string
    Name of security setting
    clusterName String
    The name of the cluster.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    securedCoreComplianceAssignment String | ComplianceAssignmentType
    Secured Core Compliance Assignment
    securitySettingsName String
    Name of security setting
    clusterName string
    The name of the cluster.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    securedCoreComplianceAssignment string | ComplianceAssignmentType
    Secured Core Compliance Assignment
    securitySettingsName string
    Name of security setting
    cluster_name str
    The name of the cluster.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    secured_core_compliance_assignment str | ComplianceAssignmentType
    Secured Core Compliance Assignment
    security_settings_name str
    Name of security setting
    clusterName String
    The name of the cluster.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    securedCoreComplianceAssignment String | "Audit" | "ApplyAndAutoCorrect"
    Secured Core Compliance Assignment
    securitySettingsName String
    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.
    SecurityComplianceStatus Pulumi.AzureNative.AzureStackHCI.Outputs.SecurityComplianceStatusResponse
    Security Compliance Status
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    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.
    SecurityComplianceStatus SecurityComplianceStatusResponse
    Security Compliance Status
    SystemData SystemDataResponse
    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.
    securityComplianceStatus SecurityComplianceStatusResponse
    Security Compliance Status
    systemData SystemDataResponse
    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.
    securityComplianceStatus SecurityComplianceStatusResponse
    Security Compliance Status
    systemData SystemDataResponse
    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_status SecurityComplianceStatusResponse
    Security Compliance Status
    system_data SystemDataResponse
    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.
    securityComplianceStatus Property Map
    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.
    ApplyAndAutoCorrect
    ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.
    ComplianceAssignmentTypeAudit
    AuditReport on the state of the machine, but don't make changes.
    ComplianceAssignmentTypeApplyAndAutoCorrect
    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.
    ApplyAndAutoCorrect
    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.
    ApplyAndAutoCorrect
    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.
    "ApplyAndAutoCorrect"
    ApplyAndAutoCorrectApplied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation.

    SecurityComplianceStatusResponse, SecurityComplianceStatusResponseArgs

    DataAtRestEncrypted string
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    DataInTransitProtected string
    Indicates whether HCI cluster has data in-transit protection.
    LastUpdated string
    Time in UTC when compliance status was last updated.
    SecuredCoreCompliance string
    Indicates whether HCI hosts meets secured-core server requirements.
    WdacCompliance string
    Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
    DataAtRestEncrypted string
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    DataInTransitProtected string
    Indicates whether HCI cluster has data in-transit protection.
    LastUpdated string
    Time in UTC when compliance status was last updated.
    SecuredCoreCompliance string
    Indicates whether HCI hosts meets secured-core server requirements.
    WdacCompliance string
    Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
    dataAtRestEncrypted String
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    dataInTransitProtected String
    Indicates whether HCI cluster has data in-transit protection.
    lastUpdated String
    Time in UTC when compliance status was last updated.
    securedCoreCompliance String
    Indicates whether HCI hosts meets secured-core server requirements.
    wdacCompliance String
    Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
    dataAtRestEncrypted string
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    dataInTransitProtected string
    Indicates whether HCI cluster has data in-transit protection.
    lastUpdated string
    Time in UTC when compliance status was last updated.
    securedCoreCompliance string
    Indicates whether HCI hosts meets secured-core server requirements.
    wdacCompliance string
    Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
    data_at_rest_encrypted str
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    data_in_transit_protected str
    Indicates whether HCI cluster has data in-transit protection.
    last_updated str
    Time in UTC when compliance status was last updated.
    secured_core_compliance str
    Indicates whether HCI hosts meets secured-core server requirements.
    wdac_compliance str
    Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.
    dataAtRestEncrypted String
    Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.
    dataInTransitProtected String
    Indicates whether HCI cluster has data in-transit protection.
    lastUpdated String
    Time in UTC when compliance status was last updated.
    securedCoreCompliance String
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native logo
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi