Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-07-01-preview.xml (496 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNy0wMS1wcmV2aWV3"/> <commandGroup name="elastic-san volume snapshot"> <command name="show" version="2024-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <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="string" var="$Path.snapshotName" options="snapshot-name name n" required="True" idPart="child_name_2"> <help short="The name of the volume snapshot within the given volume group."/> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.volumeGroupName" options="volume-group-name volume-group v" required="True" group="" idPart="child_name_1"> <help short="The name of the VolumeGroup."/> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </arg> </argGroup> <operation operationId="VolumeSnapshots_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}"> <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="snapshotName" arg="$Path.snapshotName" required="True"> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="volumeGroupName" arg="$Path.volumeGroupName" required="True"> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"/> </prop> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="object" name="creationData" required="True"> <prop type="string" name="sourceId" required="True"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Creating&quot;"/> <item value="&quot;Deleted&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Invalid&quot;"/> <item value="&quot;Pending&quot;"/> <item value="&quot;Restoring&quot;"/> <item value="&quot;SoftDeleting&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop readOnly="True" type="integer64" name="sourceVolumeSizeGiB"/> <prop readOnly="True" type="string" name="volumeName"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop type="string" name="createdByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop type="string" name="lastModifiedByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="delete" version="2024-07-01-preview" confirmation="Are you sure you want to perform this operation?"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <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="string" var="$Path.snapshotName" options="snapshot-name name n" required="True" idPart="child_name_2"> <help short="The name of the volume snapshot within the given volume group."/> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.volumeGroupName" options="volume-group-name volume-group v" required="True" group="" idPart="child_name_1"> <help short="The name of the VolumeGroup."/> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </arg> </argGroup> <operation operationId="VolumeSnapshots_Delete"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}"> <request method="delete"> <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="snapshotName" arg="$Path.snapshotName" required="True"> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="volumeGroupName" arg="$Path.volumeGroupName" required="True"> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"/> <response statusCode="202"> <header> <item name="Location"/> </header> </response> <response statusCode="204"/> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> </command> <command name="create" version="2024-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <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="string" var="$Path.snapshotName" options="snapshot-name name n" required="True" idPart="child_name_2"> <help short="The name of the volume snapshot within the given volume group."/> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.volumeGroupName" options="volume-group-name volume-group v" required="True" group="" idPart="child_name_1"> <help short="The name of the VolumeGroup."/> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </arg> </argGroup> <argGroup name="Properties"> <arg type="object" var="$parameters.properties.creationData" options="creation-data" required="True" group="Properties"> <help short="Data used when creating a volume snapshot."/> <arg type="string" var="$parameters.properties.creationData.sourceId" options="source-id" required="True"> <help short="Fully qualified resource ID of the volume. E.g. &quot;/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}&quot;"/> </arg> </arg> </argGroup> <operation operationId="VolumeSnapshots_Create"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}"> <request method="put"> <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="snapshotName" arg="$Path.snapshotName" required="True"> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="volumeGroupName" arg="$Path.volumeGroupName" required="True"> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> <body> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="object" name="creationData" arg="$parameters.properties.creationData" required="True"> <prop type="string" name="sourceId" arg="$parameters.properties.creationData.sourceId" required="True"/> </prop> </prop> </schema> </json> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"/> </prop> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="object" name="creationData" required="True"> <prop type="string" name="sourceId" required="True"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Creating&quot;"/> <item value="&quot;Deleted&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Invalid&quot;"/> <item value="&quot;Pending&quot;"/> <item value="&quot;Restoring&quot;"/> <item value="&quot;SoftDeleting&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop readOnly="True" type="integer64" name="sourceVolumeSizeGiB"/> <prop readOnly="True" type="string" name="volumeName"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop type="string" name="createdByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop type="string" name="lastModifiedByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="update" version="2024-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}" version="2024-07-01-preview" swagger="mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <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="string" var="$Path.snapshotName" options="snapshot-name name n" required="True" idPart="child_name_2"> <help short="The name of the volume snapshot within the given volume group."/> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="string" var="$Path.volumeGroupName" options="volume-group-name volume-group v" required="True" group="" idPart="child_name_1"> <help short="The name of the VolumeGroup."/> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </arg> </argGroup> <argGroup name="Properties"> <arg type="object" var="$parameters.properties.creationData" options="creation-data" group="Properties"> <help short="Data used when creating a volume snapshot."/> <arg type="string" var="$parameters.properties.creationData.sourceId" options="source-id"> <help short="Fully qualified resource ID of the volume. E.g. &quot;/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}&quot;"/> </arg> </arg> </argGroup> <operation operationId="VolumeSnapshots_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}"> <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="snapshotName" arg="$Path.snapshotName" required="True"> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="volumeGroupName" arg="$Path.volumeGroupName" required="True"> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object" cls="Snapshot_read"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"/> </prop> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="object" name="creationData" required="True"> <prop type="string" name="sourceId" required="True"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Creating&quot;"/> <item value="&quot;Deleted&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Invalid&quot;"/> <item value="&quot;Pending&quot;"/> <item value="&quot;Restoring&quot;"/> <item value="&quot;SoftDeleting&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop readOnly="True" type="integer64" name="sourceVolumeSizeGiB"/> <prop readOnly="True" type="string" name="volumeName"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop type="string" name="createdByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop type="string" name="lastModifiedByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> </prop> <prop readOnly="True" type="string" name="type"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <operation> <instanceUpdate ref="$Instance"> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="object" name="creationData" arg="$parameters.properties.creationData" required="True"> <prop type="string" name="sourceId" arg="$parameters.properties.creationData.sourceId" required="True"/> </prop> </prop> </schema> </json> </instanceUpdate> </operation> <operation operationId="VolumeSnapshots_Create"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}"> <request method="put"> <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="snapshotName" arg="$Path.snapshotName" required="True"> <format pattern="^[a-z0-9]+(?:[._-][a-z0-9]+)*$" maxLength="80" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="volumeGroupName" arg="$Path.volumeGroupName" required="True"> <format pattern="^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$" maxLength="63" minLength="3"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> <body> <json ref="$Instance"/> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="@Snapshot_read"/> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> </commandGroup> </CodeGen>