azure-native.storsimple.AccessControlRecord
Explore with Pulumi AI
The access control record.
Uses Azure REST API version 2017-06-01. In version 2.x of the Azure Native provider, it used API version 2017-06-01.
Create AccessControlRecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessControlRecord(name: string, args: AccessControlRecordArgs, opts?: CustomResourceOptions);
@overload
def AccessControlRecord(resource_name: str,
args: AccessControlRecordArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessControlRecord(resource_name: str,
opts: Optional[ResourceOptions] = None,
initiator_name: Optional[str] = None,
manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
access_control_record_name: Optional[str] = None,
kind: Optional[Kind] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AccessControlRecordArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. AccessControlRecordArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AccessControlRecordArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. AccessControlRecordArgs - 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 accessControlRecordResource = new AzureNative.StorSimple.AccessControlRecord("accessControlRecordResource", new()
{
InitiatorName = "string",
ManagerName = "string",
ResourceGroupName = "string",
AccessControlRecordName = "string",
Kind = AzureNative.StorSimple.Kind.Series8000,
});
example, err := storsimple.NewAccessControlRecord(ctx, "accessControlRecordResource", &storsimple.AccessControlRecordArgs{
InitiatorName: pulumi.String("string"),
ManagerName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AccessControlRecordName: pulumi.String("string"),
Kind: storsimple.KindSeries8000,
})
var accessControlRecordResource = new AccessControlRecord("accessControlRecordResource", AccessControlRecordArgs.builder()
.initiatorName("string")
.managerName("string")
.resourceGroupName("string")
.accessControlRecordName("string")
.kind("Series8000")
.build());
access_control_record_resource = azure_native.storsimple.AccessControlRecord("accessControlRecordResource",
initiator_name="string",
manager_name="string",
resource_group_name="string",
access_control_record_name="string",
kind=azure_native.storsimple.Kind.SERIES8000)
const accessControlRecordResource = new azure_native.storsimple.AccessControlRecord("accessControlRecordResource", {
initiatorName: "string",
managerName: "string",
resourceGroupName: "string",
accessControlRecordName: "string",
kind: azure_native.storsimple.Kind.Series8000,
});
type: azure-native:storsimple:AccessControlRecord
properties:
accessControlRecordName: string
initiatorName: string
kind: Series8000
managerName: string
resourceGroupName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccessControlRecord resource accepts the following input properties:
- Initiator
Name This property is required. string - The iSCSI initiator name (IQN).
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Access
Control Record Name Changes to this property will trigger replacement.
- The name of the access control record.
- Kind
Pulumi.
Azure Native. Stor Simple. Kind - The Kind of the object. Currently only Series8000 is supported
- Initiator
Name This property is required. string - The iSCSI initiator name (IQN).
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Access
Control Record Name Changes to this property will trigger replacement.
- The name of the access control record.
- Kind Kind
- The Kind of the object. Currently only Series8000 is supported
- initiator
Name This property is required. String - The iSCSI initiator name (IQN).
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- access
Control Record Name Changes to this property will trigger replacement.
- The name of the access control record.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- initiator
Name This property is required. string - The iSCSI initiator name (IQN).
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- access
Control Record Name Changes to this property will trigger replacement.
- The name of the access control record.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- initiator_
name This property is required. str - The iSCSI initiator name (IQN).
- manager_
name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The resource group name
- access_
control_ record_ name Changes to this property will trigger replacement.
- The name of the access control record.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- initiator
Name This property is required. String - The iSCSI initiator name (IQN).
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- access
Control Record Name Changes to this property will trigger replacement.
- 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Volume
Count int - The number of volumes using the access control record.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Volume
Count int - The number of volumes using the access control record.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- volume
Count Integer - The number of volumes using the access control record.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- volume
Count number - The number of volumes using the access control record.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- volume
Count Number - The number of volumes using the access control record.
Supporting Types
Kind, KindArgs
- Series8000
- Series8000
- Kind
Series8000 - 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0