The netAppAccounts/capacityPools/volumes/volumeQuotaRules resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules resource, add the following JSON to your template.
{
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
"apiVersion": "2023-07-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"quotaSizeInKiBs": "int",
"quotaTarget": "string",
"quotaType": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules' |
apiVersion | The resource api version | '2023-07-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
properties | Volume Quota Rule Properties | VolumeQuotaRulesProperties |
Name | Description | Value |
---|---|---|
quotaSizeInKiBs | Size of quota | int |
quotaTarget | UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running âidâ or âgetentâ command for the user or group and SID can be found by running {wmic useraccount where name='user-name' get sid} | string |
quotaType | Type of quota | 'DefaultGroupQuota' 'DefaultUserQuota' 'IndividualGroupQuota' 'IndividualUserQuota' |