Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-07-01-preview.xml (234 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZUdyb3Vwcw==/V/MjAyNC0wNy0wMS1wcmV2aWV3"/>
<commandGroup name="elastic-san volume-group">
<command name="list" version="2024-07-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZUdyb3Vwcw==/V/MjAyNC0wNy0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Header.x-ms-access-soft-deleted-resources" options="x-ms-access-soft-deleted-resources access-soft-deleted-resources soft-deleted-only" stage="Preview" group="">
<help short="Optional, returns only soft deleted volume groups if set to true. If set to false or if not specified, returns only active volume groups."/>
<enum>
<item name="false" value=""false""/>
<item name="true" value=""true""/>
</enum>
</arg>
<arg type="string" var="$Path.elasticSanName" options="elastic-san-name elastic-san e" required="True" group="" idPart="name">
<help short="The name of the ElasticSan."/>
<format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="24" minLength="3"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="VolumeGroups_ListByElasticSan">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups">
<request method="get">
<path>
<param type="string" name="elasticSanName" arg="$Path.elasticSanName" required="True">
<format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="24" minLength="3"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value=""2024-07-01-preview""/>
<format minLength="1"/>
</const>
</query>
<header>
<param type="string" name="x-ms-access-soft-deleted-resources" arg="$Header.x-ms-access-soft-deleted-resources">
<enum>
<item value=""false""/>
<item value=""true""/>
</enum>
</param>
</header>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}"/>
</prop>
<prop type="IdentityObject" name="identity">
<prop readOnly="True" type="string" name="principalId"/>
<prop readOnly="True" type="string" name="tenantId"/>
<prop type="string" name="type" required="True">
<enum>
<item value=""None""/>
<item value=""SystemAssigned""/>
<item value=""UserAssigned""/>
</enum>
</prop>
<prop type="object" name="userAssignedIdentities">
<additionalProp>
<item type="object">
<prop readOnly="True" type="string" name="clientId"/>
<prop readOnly="True" type="string" name="principalId"/>
</item>
</additionalProp>
</prop>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="deleteRetentionPolicy">
<prop type="string" name="policyState">
<enum>
<item value=""Disabled""/>
<item value=""Enabled""/>
</enum>
</prop>
<prop type="integer32" name="retentionPeriodDays">
<format minimum="0"/>
</prop>
</prop>
<prop type="string" name="encryption">
<enum>
<item value=""EncryptionAtRestWithCustomerManagedKey""/>
<item value=""EncryptionAtRestWithPlatformKey""/>
</enum>
</prop>
<prop type="object" name="encryptionProperties">
<prop type="object" name="identity">
<prop type="string" name="userAssignedIdentity"/>
</prop>
<prop type="object" name="keyVaultProperties">
<prop readOnly="True" type="dateTime" name="currentVersionedKeyExpirationTimestamp"/>
<prop readOnly="True" type="string" name="currentVersionedKeyIdentifier"/>
<prop type="string" name="keyName"/>
<prop type="string" name="keyVaultUri"/>
<prop type="string" name="keyVersion"/>
<prop readOnly="True" type="dateTime" name="lastKeyRotationTimestamp"/>
</prop>
</prop>
<prop type="boolean" name="enforceDataIntegrityCheckForIscsi"/>
<prop type="object" name="networkAcls">
<prop type="array<object>" name="virtualNetworkRules">
<item type="object">
<prop type="string" name="action">
<default value=""Allow""/>
<enum>
<item value=""Allow""/>
</enum>
</prop>
<prop type="string" name="id" required="True"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop readOnly="True" type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState" required="True">
<prop type="string" name="actionsRequired"/>
<prop type="string" name="description"/>
<prop type="string" name="status">
<enum>
<item value=""Approved""/>
<item value=""Failed""/>
<item value=""Pending""/>
<item value=""Rejected""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value=""Canceled""/>
<item value=""Creating""/>
<item value=""Deleted""/>
<item value=""Deleting""/>
<item value=""Failed""/>
<item value=""Invalid""/>
<item value=""Pending""/>
<item value=""Restoring""/>
<item value=""SoftDeleting""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop type="string" name="protocolType">
<enum>
<item value=""Iscsi""/>
<item value=""None""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value=""Canceled""/>
<item value=""Creating""/>
<item value=""Deleted""/>
<item value=""Deleting""/>
<item value=""Failed""/>
<item value=""Invalid""/>
<item value=""Pending""/>
<item value=""Restoring""/>
<item value=""SoftDeleting""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData" cls="SystemData_read">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>