1. Packages
  2. Azure Native
  3. API Docs
  4. storsimple
  5. AccessControlRecord
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.storsimple.AccessControlRecord

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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    The access control record. Azure REST API version: 2017-06-01. Prior API version in Azure Native 1.x: 2017-06-01.

    Example Usage

    AccessControlRecordsCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var accessControlRecord = new AzureNative.StorSimple.AccessControlRecord("accessControlRecord", new()
        {
            AccessControlRecordName = "ACRForTest",
            InitiatorName = "iqn.2017-06.com.contoso:ForTest",
            ManagerName = "ManagerForSDKTest1",
            ResourceGroupName = "ResourceGroupForSDKTest",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/storsimple/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storsimple.NewAccessControlRecord(ctx, "accessControlRecord", &storsimple.AccessControlRecordArgs{
    			AccessControlRecordName: pulumi.String("ACRForTest"),
    			InitiatorName:           pulumi.String("iqn.2017-06.com.contoso:ForTest"),
    			ManagerName:             pulumi.String("ManagerForSDKTest1"),
    			ResourceGroupName:       pulumi.String("ResourceGroupForSDKTest"),
    		})
    		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.storsimple.AccessControlRecord;
    import com.pulumi.azurenative.storsimple.AccessControlRecordArgs;
    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 accessControlRecord = new AccessControlRecord("accessControlRecord", AccessControlRecordArgs.builder()        
                .accessControlRecordName("ACRForTest")
                .initiatorName("iqn.2017-06.com.contoso:ForTest")
                .managerName("ManagerForSDKTest1")
                .resourceGroupName("ResourceGroupForSDKTest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    access_control_record = azure_native.storsimple.AccessControlRecord("accessControlRecord",
        access_control_record_name="ACRForTest",
        initiator_name="iqn.2017-06.com.contoso:ForTest",
        manager_name="ManagerForSDKTest1",
        resource_group_name="ResourceGroupForSDKTest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const accessControlRecord = new azure_native.storsimple.AccessControlRecord("accessControlRecord", {
        accessControlRecordName: "ACRForTest",
        initiatorName: "iqn.2017-06.com.contoso:ForTest",
        managerName: "ManagerForSDKTest1",
        resourceGroupName: "ResourceGroupForSDKTest",
    });
    
    resources:
      accessControlRecord:
        type: azure-native:storsimple:AccessControlRecord
        properties:
          accessControlRecordName: ACRForTest
          initiatorName: iqn.2017-06.com.contoso:ForTest
          managerName: ManagerForSDKTest1
          resourceGroupName: ResourceGroupForSDKTest
    

    Create AccessControlRecord Resource

    new AccessControlRecord(name: string, args: AccessControlRecordArgs, opts?: CustomResourceOptions);
    @overload
    def AccessControlRecord(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            access_control_record_name: Optional[str] = None,
                            initiator_name: Optional[str] = None,
                            kind: Optional[Kind] = None,
                            manager_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None)
    @overload
    def AccessControlRecord(resource_name: str,
                            args: AccessControlRecordArgs,
                            opts: Optional[ResourceOptions] = None)
    func NewAccessControlRecord(ctx *Context, name string, args AccessControlRecordArgs, opts ...ResourceOption) (*AccessControlRecord, error)
    public AccessControlRecord(string name, AccessControlRecordArgs args, CustomResourceOptions? opts = null)
    public AccessControlRecord(String name, AccessControlRecordArgs args)
    public AccessControlRecord(String name, AccessControlRecordArgs args, CustomResourceOptions options)
    
    type: azure-native:storsimple:AccessControlRecord
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AccessControlRecordArgs
    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 AccessControlRecordArgs
    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 AccessControlRecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccessControlRecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccessControlRecordArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AccessControlRecord 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 AccessControlRecord resource accepts the following input properties:

    InitiatorName string
    The iSCSI initiator name (IQN).
    ManagerName string
    The manager name
    ResourceGroupName string
    The resource group name
    AccessControlRecordName string
    The name of the access control record.
    Kind Pulumi.AzureNative.StorSimple.Kind
    The Kind of the object. Currently only Series8000 is supported
    InitiatorName string
    The iSCSI initiator name (IQN).
    ManagerName string
    The manager name
    ResourceGroupName string
    The resource group name
    AccessControlRecordName string
    The name of the access control record.
    Kind Kind
    The Kind of the object. Currently only Series8000 is supported
    initiatorName String
    The iSCSI initiator name (IQN).
    managerName String
    The manager name
    resourceGroupName String
    The resource group name
    accessControlRecordName String
    The name of the access control record.
    kind Kind
    The Kind of the object. Currently only Series8000 is supported
    initiatorName string
    The iSCSI initiator name (IQN).
    managerName string
    The manager name
    resourceGroupName string
    The resource group name
    accessControlRecordName string
    The name of the access control record.
    kind Kind
    The Kind of the object. Currently only Series8000 is supported
    initiator_name str
    The iSCSI initiator name (IQN).
    manager_name str
    The manager name
    resource_group_name str
    The resource group name
    access_control_record_name str
    The name of the access control record.
    kind Kind
    The Kind of the object. Currently only Series8000 is supported
    initiatorName String
    The iSCSI initiator name (IQN).
    managerName String
    The manager name
    resourceGroupName String
    The resource group name
    accessControlRecordName String
    The name of the access control record.
    kind "Series8000"
    The Kind of the object. Currently only Series8000 is supported

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccessControlRecord resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the object.
    Type string
    The hierarchical type of the object.
    VolumeCount int
    The number of volumes using the access control record.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the object.
    Type string
    The hierarchical type of the object.
    VolumeCount int
    The number of volumes using the access control record.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the object.
    type String
    The hierarchical type of the object.
    volumeCount Integer
    The number of volumes using the access control record.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the object.
    type string
    The hierarchical type of the object.
    volumeCount number
    The number of volumes using the access control record.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the object.
    type str
    The hierarchical type of the object.
    volume_count int
    The number of volumes using the access control record.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the object.
    type String
    The hierarchical type of the object.
    volumeCount Number
    The number of volumes using the access control record.

    Supporting Types

    Kind, KindArgs

    Series8000
    Series8000
    KindSeries8000
    Series8000
    Series8000
    Series8000
    Series8000
    Series8000
    SERIES8000
    Series8000
    "Series8000"
    Series8000

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:storsimple:AccessControlRecord ACRForTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/accessControlRecords/{accessControlRecordName} 
    

    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi