diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-03-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-03-02-preview/managedClusters.json index 3d8580dc0551..576ed80bfc45 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-03-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-03-02-preview/managedClusters.json @@ -8809,7 +8809,7 @@ }, "AdvancedNetworking": { "type": "object", - "description": "Advanced Networking profile for enabling observability on a cluster. For more information see aka.ms/aksadvancednetworking.", + "description": "Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may incur additional costs. For more information see aka.ms/aksadvancednetworking.", "properties": { "observability": { "$ref": "#/definitions/AdvancedNetworkingObservability" diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/elasticsan.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/elasticsan.json new file mode 100644 index 000000000000..2504c483f15c --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/elasticsan.json @@ -0,0 +1,2687 @@ +{ + "swagger": "2.0", + "info": { + "version": "2024-05-01", + "title": "ElasticSanManagement" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "ElasticSans", + "description": "APIs for ElasticSan operations." + }, + { + "name": "ElasticSanOperations", + "description": "APIs for ElasticSan operations," + }, + { + "name": "VolumeGroups", + "description": "APIs for Volume Group operations." + }, + { + "name": "Volumes", + "description": "APIs for Volume operations." + } + ], + "paths": { + "/providers/Microsoft.ElasticSan/operations": { + "get": { + "tags": [ + "Elastic San Operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of ElasticSan operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/skus": { + "get": { + "tags": [ + "Elastic San Skus" + ], + "summary": "List all the available Skus in the region and information related to them", + "operationId": "Skus_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "Specify $filter='location eq ' to filter on location.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Lists the available SKUs supported by Microsoft.ElasticSan for given subscription.", + "schema": { + "$ref": "#/definitions/SkuInformationList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Skus_List_MaximumSet_Gen": { + "$ref": "./examples/Skus_List_MaximumSet_Gen.json" + }, + "Skus_List_MinimumSet_Gen": { + "$ref": "./examples/Skus_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/elasticSans": { + "get": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_ListBySubscription", + "description": "Gets a list of ElasticSans in a subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved Elastic San by subscription", + "schema": { + "$ref": "#/definitions/ElasticSanList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ElasticSans_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json" + }, + "ElasticSans_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans": { + "get": { + "tags": [ + "ElasticSan" + ], + "operationId": "ElasticSans_ListByResourceGroup", + "description": "Gets a list of ElasticSan in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved elasticSans by resource group", + "schema": { + "$ref": "#/definitions/ElasticSanList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ElasticSans_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json" + }, + "ElasticSans_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}": { + "put": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Create", + "description": "Create ElasticSan.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSan" + }, + "description": "Elastic San object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Create_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Create_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Update", + "description": "Update a Elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSanUpdate" + }, + "description": "Elastic San object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- ElasticSAN properties updated successfully.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Update_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Delete", + "description": "Delete a Elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete operation completed successfully." + }, + "202": { + "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent --ElasticSAN does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Delete_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Get", + "description": "Get a ElasticSan.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved ElasticSan.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSans_Get_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups": { + "get": { + "tags": [ + "VolumeGroups" + ], + "description": "List VolumeGroups.", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved Volume Group List.", + "schema": { + "$ref": "#/definitions/VolumeGroupList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VolumeGroups_ListByElasticSan_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}": { + "put": { + "tags": [ + "VolumeGroups" + ], + "description": "Create a Volume Group.", + "operationId": "VolumeGroups_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroup" + }, + "description": "Volume Group object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Create_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Create_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "VolumeGroups" + ], + "description": "Update an VolumeGroup.", + "operationId": "VolumeGroups_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroupUpdate" + }, + "description": "Volume Group object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Returned when the update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Update_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "VolumeGroups" + ], + "description": "Delete an VolumeGroup.", + "operationId": "VolumeGroups_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete operation completed successfully." + }, + "202": { + "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent -- Resource does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Delete_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "VolumeGroups" + ], + "description": "Get an VolumeGroups.", + "operationId": "VolumeGroups_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved iSCSI Target.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Get_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}": { + "put": { + "tags": [ + "Volumes" + ], + "description": "Create a Volume.", + "operationId": "Volumes_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Volume" + }, + "description": "Volume object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Create_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Create_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "Volumes" + ], + "description": "Update an Volume.", + "operationId": "Volumes_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeUpdate" + }, + "description": "Volume object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Returned when the update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Update_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Volumes" + ], + "description": "Delete an Volume.", + "operationId": "Volumes_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "x-ms-delete-snapshots", + "in": "header", + "required": false, + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "x-ms-delete-snapshots", + "modelAsString": true + }, + "description": "Optional, used to delete snapshots under volume. Allowed value are only true or false. Default value is false." + }, + { + "name": "x-ms-force-delete", + "in": "header", + "required": false, + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "x-ms-force-delete", + "modelAsString": true + }, + "description": "Optional, used to delete volume if active sessions present. Allowed value are only true or false. Default value is false." + } + ], + "responses": { + "200": { + "description": "Delete operation completed successfully." + }, + "202": { + "description": "Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Resource does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Delete_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "Volumes" + ], + "description": "Get an Volume.", + "operationId": "Volumes_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved Volume.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Get_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes": { + "get": { + "tags": [ + "Volumes" + ], + "description": "List Volumes in a VolumeGroup.", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved volumes in a volume group.", + "schema": { + "$ref": "#/definitions/VolumeList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Volumes_ListByVolumeGroup_MaximumSet_Gen": { + "$ref": "./examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "Private Endpoint Connection Approval object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Create_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Get_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully" + }, + "202": { + "description": "Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content -- The Private Endpoint Connection does not exist." + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all Private Endpoint Connections associated with the Elastic San.", + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "PrivateEndpointConnections_List_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_List_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByElasticSan", + "description": "Gets the private link resources that need to be created for a elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListByElasticSan_MaximumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots": { + "get": { + "tags": [ + "Snapshots" + ], + "description": "List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter", + "operationId": "VolumeSnapshots_ListByVolumeGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "Specify $filter='volumeName eq ' to filter on volume.", + "required": false, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved snapshots in a volume group.", + "schema": { + "$ref": "#/definitions/SnapshotList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}": { + "put": { + "tags": [ + "Snapshots" + ], + "description": "Create a Volume Snapshot.", + "operationId": "VolumeSnapshots_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/SnapshotNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Snapshot" + }, + "description": "Snapshot object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Returned when the create operation is successfully completed.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "201": { + "description": "Created -- Resource Created; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeSnapshots_Create_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Create_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Snapshots" + ], + "description": "Delete a Volume Snapshot.", + "operationId": "VolumeSnapshots_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/SnapshotNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete operation completed successfully." + }, + "202": { + "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent -- Resource does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeSnapshots_Delete_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "Snapshots" + ], + "description": "Get a Volume Snapshot.", + "operationId": "VolumeSnapshots_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/SnapshotNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved Volume Snapshot.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeSnapshots_Get_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Get_MaximumSet_Gen.json" + } + } + } + } + }, + "parameters": { + "ElasticSanNameParameter": { + "name": "elasticSanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ElasticSan.", + "pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 24, + "x-ms-parameter-location": "method" + }, + "VolumeGroupNameParameter": { + "name": "volumeGroupName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the VolumeGroup.", + "pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "VolumeNameParameter": { + "name": "volumeName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the Volume.", + "pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionNameParameter": { + "name": "privateEndpointConnectionName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the Private Endpoint connection.", + "x-ms-parameter-location": "method" + }, + "SnapshotNameParameter": { + "name": "snapshotName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the volume snapshot within the given volume group.", + "pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", + "minLength": 1, + "maxLength": 80, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "ElasticSanList": { + "type": "object", + "description": "List of Elastic Sans", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Elastic San objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ElasticSan" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "ElasticSan": { + "type": "object", + "description": "Response for ElasticSan request.", + "required": [ + "properties", + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of ElasticSan.", + "$ref": "#/definitions/ElasticSanProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticSanProperties": { + "type": "object", + "description": "Elastic San response properties.", + "required": [ + "baseSizeTiB", + "extendedCapacitySizeTiB", + "sku" + ], + "properties": { + "sku": { + "description": "resource sku", + "$ref": "#/definitions/Sku" + }, + "availabilityZones": { + "type": "array", + "description": "Logical zone for Elastic San resource; example: [\"1\"].", + "items": { + "$ref": "#/definitions/AvailabilityZone" + } + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "baseSizeTiB": { + "description": "Base size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedCapacitySizeTiB": { + "description": "Extended size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "totalVolumeSizeGiB": { + "description": "Total size of the provisioned Volumes in GiB.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "volumeGroupCount": { + "description": "Total number of volume groups in this Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalIops": { + "description": "Total Provisioned IOPS of the Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalMBps": { + "description": "Total Provisioned MBps Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalSizeTiB": { + "description": "Total size of the Elastic San appliance in TB.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of Private Endpoint Connections." + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "description": "Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." + } + } + }, + "ElasticSanUpdate": { + "type": "object", + "description": "Response for ElasticSan update request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of ElasticSan.", + "$ref": "#/definitions/ElasticSanUpdateProperties" + }, + "tags": { + "type": "object", + "description": "Update tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ElasticSanUpdateProperties": { + "type": "object", + "description": "Elastic San update properties.", + "properties": { + "baseSizeTiB": { + "description": "Base size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "update" + ] + }, + "extendedCapacitySizeTiB": { + "description": "Extended size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "update" + ] + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "description": "Allow or disallow public network access to ElasticSan Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." + } + } + }, + "AvailabilityZone": { + "type": "string", + "description": "Availability zone." + }, + "SkuInformationList": { + "description": "List of SKU Information objects", + "type": "object", + "properties": { + "value": { + "description": "List of ResourceType Sku", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInformation" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "SkuInformation": { + "description": "ElasticSAN SKU and its properties", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Sku Name", + "$ref": "#/definitions/SkuName" + }, + "tier": { + "type": "string", + "description": "Sku Tier", + "$ref": "#/definitions/SkuTier" + }, + "resourceType": { + "readOnly": true, + "type": "string", + "description": "The type of the resource." + }, + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "description": "Availability of the SKU for the location/zone", + "type": "array", + "items": { + "$ref": "#/definitions/SkuLocationInfo" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "capabilities": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "x-ms-identifiers": [], + "description": "The capability information in the specified SKU." + } + } + }, + "SKUCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The name of capability." + }, + "value": { + "readOnly": true, + "type": "string", + "description": "A string value to indicate states of given capability." + } + }, + "description": "The capability information in the specified SKU.", + "type": "object" + }, + "SkuLocationInfo": { + "description": "The location info.", + "type": "object", + "properties": { + "location": { + "description": "The location.", + "type": "string", + "readOnly": true + }, + "zones": { + "description": "The zones.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "Sku": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "$ref": "#/definitions/SkuName" + }, + "tier": { + "$ref": "#/definitions/SkuTier" + } + }, + "description": "The SKU name. Required for account creation; optional for update." + }, + "SkuName": { + "type": "string", + "enum": [ + "Premium_LRS", + "Premium_ZRS" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "value": "Premium_LRS", + "description": "Premium locally redundant storage" + }, + { + "value": "Premium_ZRS", + "description": "Premium zone redundant storage" + } + ] + }, + "description": "The sku name." + }, + "SkuTier": { + "type": "string", + "enum": [ + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "value": "Premium", + "description": "Premium Tier" + } + ] + }, + "description": "The sku tier." + }, + "IscsiTargetInfo": { + "type": "object", + "description": "Iscsi target information", + "readOnly": true, + "properties": { + "targetIqn": { + "type": "string", + "description": "iSCSI Target IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:server\".", + "readOnly": true + }, + "targetPortalHostname": { + "type": "string", + "description": "iSCSI Target Portal Host Name", + "readOnly": true + }, + "targetPortalPort": { + "type": "integer", + "format": "int32", + "description": "iSCSI Target Portal Port", + "readOnly": true + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState" + }, + "status": { + "$ref": "#/definitions/OperationalStatus", + "description": "Operational status of the iSCSI Target." + } + } + }, + "VolumeGroup": { + "type": "object", + "description": "Response for Volume Group request.", + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of VolumeGroup.", + "$ref": "#/definitions/VolumeGroupProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "description": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity." + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "VolumeGroupList": { + "type": "object", + "description": "List of Volume Groups", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Volume Groups objects.", + "type": "array", + "items": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "VolumeGroupProperties": { + "type": "object", + "description": "VolumeGroup response properties.", + "properties": { + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "protocolType": { + "description": "Type of storage target", + "$ref": "#/definitions/StorageTargetType" + }, + "encryption": { + "description": "Type of encryption", + "$ref": "#/definitions/EncryptionType" + }, + "encryptionProperties": { + "description": "Encryption Properties describing Key Vault and Identity information", + "$ref": "#/definitions/EncryptionProperties" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "A collection of rules governing the accessibility from specific network locations.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of Private Endpoint Connections." + }, + "enforceDataIntegrityCheckForIscsi": { + "type": "boolean", + "description": "A boolean indicating whether or not Data Integrity Check is enabled" + } + } + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "x-ms-client-name": "KeyVaultProperties", + "description": "Properties provided by key vault." + }, + "identity": { + "$ref": "#/definitions/EncryptionIdentity", + "x-ms-client-name": "EncryptionIdentity", + "description": "The identity to be used with service-side encryption at rest." + } + }, + "description": "The encryption settings on the volume group." + }, + "EncryptionIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group.", + "x-ms-client-name": "EncryptionUserAssignedIdentity" + } + }, + "description": "Encryption identity for the volume group." + }, + "KeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of KeyVault key.", + "x-ms-client-name": "KeyName" + }, + "keyVersion": { + "type": "string", + "description": "The version of KeyVault key.", + "x-ms-client-name": "KeyVersion" + }, + "keyVaultUri": { + "type": "string", + "description": "The Uri of KeyVault.", + "x-ms-client-name": "KeyVaultUri", + "format": "uri" + }, + "currentVersionedKeyIdentifier": { + "type": "string", + "readOnly": true, + "description": "The object identifier of the current versioned Key Vault Key in use.", + "x-ms-client-name": "CurrentVersionedKeyIdentifier" + }, + "lastKeyRotationTimestamp": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "Timestamp of last rotation of the Key Vault Key.", + "x-ms-client-name": "LastKeyRotationTimestamp" + }, + "currentVersionedKeyExpirationTimestamp": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.", + "x-ms-client-name": "CurrentVersionedKeyExpirationTimestamp" + } + } + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client ID of the identity." + } + }, + "description": "UserAssignedIdentity for the resource." + }, + "VolumeGroupUpdate": { + "type": "object", + "description": "Volume Group request.", + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of VolumeGroup.", + "$ref": "#/definitions/VolumeGroupUpdateProperties" + } + } + }, + "VolumeGroupUpdateProperties": { + "type": "object", + "description": "VolumeGroup response properties.", + "properties": { + "protocolType": { + "description": "Type of storage target", + "$ref": "#/definitions/StorageTargetType" + }, + "encryption": { + "description": "Type of encryption", + "$ref": "#/definitions/EncryptionType" + }, + "encryptionProperties": { + "description": "Encryption Properties describing Key Vault and Identity information", + "$ref": "#/definitions/EncryptionProperties" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "A collection of rules governing the accessibility from specific network locations.", + "x-ms-mutability": [ + "update" + ] + }, + "enforceDataIntegrityCheckForIscsi": { + "type": "boolean", + "description": "A boolean indicating whether or not Data Integrity Check is enabled" + } + } + }, + "Volume": { + "type": "object", + "description": "Response for Volume request.", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of Volume.", + "$ref": "#/definitions/VolumeProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "VolumeList": { + "type": "object", + "description": "List of Volumes", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Volume objects.", + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "VolumeProperties": { + "type": "object", + "required": [ + "sizeGiB" + ], + "description": "Volume response properties.", + "properties": { + "volumeId": { + "description": "Unique Id of the volume in GUID format", + "type": "string", + "readOnly": true + }, + "creationData": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/SourceCreationData" + }, + "sizeGiB": { + "description": "Volume size.", + "type": "integer", + "format": "int64" + }, + "storageTarget": { + "description": "Storage target information", + "$ref": "#/definitions/IscsiTargetInfo" + }, + "managedBy": { + "description": "Parent resource information.", + "$ref": "#/definitions/ManagedByInfo" + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "ManagedByInfo": { + "type": "object", + "description": "Parent resource information.", + "properties": { + "resourceId": { + "type": "string", + "x-ms-client-name": "ResourceId", + "description": "Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use." + } + } + }, + "VolumeUpdate": { + "type": "object", + "description": "Response for Volume request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of Volume.", + "$ref": "#/definitions/VolumeUpdateProperties" + } + } + }, + "VolumeUpdateProperties": { + "type": "object", + "description": "Volume response properties.", + "properties": { + "sizeGiB": { + "description": "Volume size.", + "type": "integer", + "format": "int64" + }, + "managedBy": { + "description": "Parent resource information.", + "$ref": "#/definitions/ManagedByInfo" + } + } + }, + "SourceCreationData": { + "type": "object", + "description": "Data source used when creating the volume.", + "properties": { + "createSource": { + "type": "string", + "enum": [ + "None", + "VolumeSnapshot", + "DiskSnapshot", + "Disk", + "DiskRestorePoint" + ], + "x-ms-enum": { + "name": "VolumeCreateOption", + "modelAsString": true + }, + "description": "This enumerates the possible sources of a volume creation." + }, + "sourceId": { + "type": "string", + "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"" + } + } + }, + "ProvisioningState": { + "type": "string", + "enum": [ + "Invalid", + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningStates", + "modelAsString": true + }, + "description": "Provisioning state of the iSCSI Target.", + "readOnly": true + }, + "OperationalStatus": { + "type": "string", + "enum": [ + "Invalid", + "Unknown", + "Healthy", + "Unhealthy", + "Updating", + "Running", + "Stopped", + "Stopped (deallocated)" + ], + "x-ms-enum": { + "name": "OperationalStatus", + "modelAsString": true + }, + "description": "Operational status of the resource." + }, + "StorageTargetType": { + "type": "string", + "enum": [ + "Iscsi", + "None" + ], + "x-ms-enum": { + "name": "StorageTargetType", + "modelAsString": true + }, + "description": "Storage Target type." + }, + "EncryptionType": { + "type": "string", + "description": "The type of key used to encrypt the data of the disk.", + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerManagedKey" + ], + "x-ms-enum": { + "name": "EncryptionType", + "modelAsString": true, + "values": [ + { + "value": "EncryptionAtRestWithPlatformKey", + "description": "Volume is encrypted at rest with Platform managed key. It is the default encryption type." + }, + { + "value": "EncryptionAtRestWithCustomerManagedKey", + "description": "Volume is encrypted at rest with Customer managed key that can be changed and revoked by a customer." + } + ] + } + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "virtualNetworkRules": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + }, + "description": "The list of virtual network rules." + } + }, + "description": "A set of rules governing the network accessibility." + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-client-name": "VirtualNetworkResourceId", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." + }, + "action": { + "type": "string", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true + }, + "default": "Allow", + "description": "The action of virtual network rule." + } + }, + "required": [ + "id" + ], + "description": "Virtual Network rule." + }, + "PrivateEndpointConnection": { + "type": "object", + "description": " Response for PrivateEndpoint Connection object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Private Endpoint Connection Properties.", + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": " Response for PrivateEndpoint connection properties", + "properties": { + "provisioningState": { + "description": "Provisioning State of Private Endpoint connection resource", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "privateEndpoint": { + "description": "Private Endpoint resource", + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Private Link Service Connection State.", + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + "groupIds": { + "description": " List of resources private endpoint is mapped", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "PrivateEndpoint": { + "type": "object", + "description": "Response for PrivateEndpoint", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint", + "readOnly": true + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "Response for Private Link Service Connection state", + "properties": { + "status": { + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus" + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Failed", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + }, + "description": "List of private endpoint connections associated with SAN" + }, + "Snapshot": { + "type": "object", + "required": [ + "properties" + ], + "description": "Response for Volume Snapshot request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of Volume Snapshot.", + "$ref": "#/definitions/SnapshotProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "SnapshotList": { + "type": "object", + "description": "List of Snapshots", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Snapshot objects.", + "type": "array", + "items": { + "$ref": "#/definitions/Snapshot" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "SnapshotProperties": { + "type": "object", + "required": [ + "creationData" + ], + "description": "Properties for Snapshot.", + "properties": { + "creationData": { + "description": "Data used when creating a volume snapshot.", + "$ref": "#/definitions/SnapshotCreationData" + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "sourceVolumeSizeGiB": { + "description": "Size of Source Volume", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "volumeName": { + "description": "Source Volume Name of a snapshot", + "type": "string", + "readOnly": true + } + } + }, + "SnapshotCreationData": { + "type": "object", + "required": [ + "sourceId" + ], + "description": "Data used when creating a volume snapshot.", + "properties": { + "sourceId": { + "type": "string", + "description": "Fully qualified resource ID of the volume. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..cbda8291e491 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MaximumSet_Gen.json @@ -0,0 +1,165 @@ +{ + "title": "ElasticSans_Create_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "France Central" + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..ae6765549121 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MinimumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "title": "ElasticSans_Create", + "operationId": "ElasticSans_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "sku": { + "name": "Premium_LRS" + }, + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 27 + }, + "location": "France Central" + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "publicNetworkAccess": "Enabled" + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "publicNetworkAccess": "Enabled" + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..599f5cc067e9 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "ElasticSans_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..258fbf64dc84 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "ElasticSans_Delete", + "operationId": "ElasticSans_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..10f6eaa79e3e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "ElasticSans_Get_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0744c9c0d57 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "ElasticSans_Get", + "operationId": "ElasticSans_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..f0388a9d742c --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,82 @@ +{ + "title": "ElasticSans_ListByResourceGroup_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_ListByResourceGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "xc" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..d0c991ddfeea --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "title": "ElasticSans_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule", + "operationId": "ElasticSans_ListByResourceGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..ae7384dabbce --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "title": "ElasticSans_ListBySubscription_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_ListBySubscription", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "xc" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..efda0421bf04 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "title": "ElasticSans_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule", + "operationId": "ElasticSans_ListBySubscription", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..ca05bcb96ae5 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MaximumSet_Gen.json @@ -0,0 +1,93 @@ +{ + "title": "ElasticSans_Update_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "ElasticSans_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "baseSizeTiB": 28, + "extendedCapacitySizeTiB": 3, + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key6131": "pdmdonshncaahcffdtegnx" + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "bgyobptiableh" + ], + "provisioningState": "Invalid", + "baseSizeTiB": 9, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 24, + "volumeGroupCount": 17, + "totalIops": 19, + "totalMBps": 18, + "totalSizeTiB": 26, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "key8999": "kzpsnqodjgfjyasktlxiboklydek" + }, + "location": "vcofgqbwmrplgsmhgz", + "id": "radhnqz", + "name": "amqtxb", + "type": "bvllurxfpbivtswcfgi", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..0fd8f9ae9296 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MinimumSet_Gen.json @@ -0,0 +1,84 @@ +{ + "title": "ElasticSans_Update", + "operationId": "ElasticSans_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": {}, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + ], + "publicNetworkAccess": "Enabled" + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..821aa2273048 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "zbrta", + "isDataAction": true, + "display": { + "provider": "xamdcragdhcamzyzsghhl", + "resource": "dauaewvxffac", + "operation": "poyvvbdqmmmvcufnlywfuqhrgrtr", + "description": "qahdwwduqwmmisgycfpzvlwltpauw" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "ktcqaydmfmdauponwftdkhcnkmdnso" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..962f10ce0a4b --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..2349ba34809e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateEndpointConnections_Create_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "PrivateEndpointConnections_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "parameters": { + "properties": { + "privateEndpoint": {}, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..2976b7bb7a08 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "PrivateEndpointConnections_Create", + "operationId": "PrivateEndpointConnections_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": {} + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "bgurjvijz", + "createdByType": "User", + "createdAt": "2023-08-25T17:40:52.453Z", + "lastModifiedBy": "uvexylihjrtinzkeluohusnaxatfqh", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-25T17:40:52.453Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "bgurjvijz", + "createdByType": "User", + "createdAt": "2023-08-25T17:40:52.453Z", + "lastModifiedBy": "uvexylihjrtinzkeluohusnaxatfqh", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-25T17:40:52.453Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..905b61b01c8a --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateEndpointConnections_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..e5b6f9eaa4bb --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..7fc0adef52d6 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "PrivateEndpointConnections_Get_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..bb6df8e27c77 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "bgurjvijz", + "createdByType": "User", + "createdAt": "2023-08-25T17:40:52.453Z", + "lastModifiedBy": "uvexylihjrtinzkeluohusnaxatfqh", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-25T17:40:52.453Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..5071011bfcae --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "PrivateEndpointConnections_List_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "vdihsllodbbxlzcfiqszwlrktlwrav" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..e404336c6440 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "PrivateEndpointConnections_List", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json new file mode 100644 index 000000000000..c053ddc7082b --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "PrivateLinkResources_ListByElasticSan_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "PrivateLinkResources_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "groupId": "gkbsulftmpqpozh", + "requiredMembers": [ + "szkaywtzokirfvzzjcbgdz" + ], + "requiredZoneNames": [ + "ywhuefrajpqyjmsc" + ] + }, + "id": "pnlckzrwuffnjrhcccbnjf", + "name": "nyiyoefzspdzxadboqsllzczkcth", + "type": "xqtfesv", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "kkpnmehaubvkfnuzaypwycbgr" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json new file mode 100644 index 000000000000..0748cec0b9c2 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "PrivateLinkResources_ListByElasticSan", + "operationId": "PrivateLinkResources_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b04febc89d23 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "Skus_List_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Skus_List", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2024-05-01", + "$filter": "twwceymshjxhmzyvgww" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Premium_LRS", + "tier": "Premium", + "resourceType": "qdkvccmffzxkwalsnsrtfxsuxwzogg", + "locations": [ + "hdzfsztvrmfhrqr" + ], + "locationInfo": [ + { + "location": "klfwnyxxlgthi", + "zones": [ + "szjimumzhjysuqcqg" + ] + } + ], + "capabilities": [ + { + "name": "bokdo", + "value": "y" + } + ] + } + ], + "nextLink": "vzzaecvtz" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..b2cc60121174 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "title": "Skus_List_MaximumSet_Gen - generated by [MinimumSet] rule", + "operationId": "Skus_List", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..f7b19ffc8e93 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MaximumSet_Gen.json @@ -0,0 +1,211 @@ +{ + "title": "VolumeGroups_Create_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeGroups_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": { + "identity": { + "type": "None", + "userAssignedIdentities": { + "key6160": {} + } + }, + "properties": { + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "enforceDataIntegrityCheckForIscsi": true + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "waiuktshnm", + "tenantId": "rjltknjpqnd", + "type": "None", + "userAssignedIdentities": { + "key6160": { + "principalId": "evse", + "clientId": "biabkgbordaxlmbgfgmkyvh" + } + } + }, + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a", + "currentVersionedKeyIdentifier": "qaqgnsrfjua", + "lastKeyRotationTimestamp": "2024-05-13T06:23:47.282Z", + "currentVersionedKeyExpirationTimestamp": "2024-05-13T06:23:47.282Z" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "enforceDataIntegrityCheckForIscsi": true + }, + "id": "wawodajygzedvsz", + "name": "jacnlsnxssywuk", + "type": "kbvsfyul", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "principalId": "waiuktshnm", + "tenantId": "rjltknjpqnd", + "type": "None", + "userAssignedIdentities": { + "key6160": { + "principalId": "evse", + "clientId": "biabkgbordaxlmbgfgmkyvh" + } + } + }, + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a", + "currentVersionedKeyIdentifier": "qaqgnsrfjua", + "lastKeyRotationTimestamp": "2024-05-13T06:23:47.282Z", + "currentVersionedKeyExpirationTimestamp": "2024-05-13T06:23:47.282Z" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "enforceDataIntegrityCheckForIscsi": true + }, + "id": "wawodajygzedvsz", + "name": "jacnlsnxssywuk", + "type": "kbvsfyul", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..5454bc57d85c --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MinimumSet_Gen.json @@ -0,0 +1,150 @@ +{ + "title": "VolumeGroups_Create", + "operationId": "VolumeGroups_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": {}, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "ihsiwrwdofymkhquaxcrtfmmrsygw", + "tenantId": "gtkzkjsy", + "type": "None", + "userAssignedIdentities": { + "key7482": { + "principalId": "vfdzizicxcfcqecgsmshz", + "clientId": "jaczsquolgxwpznljbmdupn" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "sftaiernmrzypnrkpakrrawxcbsqzc", + "keyVersion": "c", + "keyVaultUri": "https://microsoft.com/axmblwp", + "currentVersionedKeyIdentifier": "rnpxhtzkquzyoepwbwktbwb", + "lastKeyRotationTimestamp": "2023-08-23T12:16:11.388Z", + "currentVersionedKeyExpirationTimestamp": "2023-08-23T12:16:11.388Z" + }, + "identity": { + "userAssignedIdentity": "im" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "ehxmltubeltzmgcqxocakaansat" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "nahklgxicbqjbbvcdrkljqdhprruys", + "actionsRequired": "sairafcqpvucoy" + }, + "groupIds": [ + "bolviufgqnyid" + ] + }, + "id": "opcjchensdf", + "name": "gewxykc", + "type": "ailymcedgvxbqklmqtlty", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "principalId": "ihsiwrwdofymkhquaxcrtfmmrsygw", + "tenantId": "gtkzkjsy", + "type": "None", + "userAssignedIdentities": { + "key7482": { + "principalId": "vfdzizicxcfcqecgsmshz", + "clientId": "jaczsquolgxwpznljbmdupn" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "sftaiernmrzypnrkpakrrawxcbsqzc", + "keyVersion": "c", + "keyVaultUri": "https://microsoft.com/axmblwp", + "currentVersionedKeyIdentifier": "rnpxhtzkquzyoepwbwktbwb", + "lastKeyRotationTimestamp": "2023-08-23T12:16:11.388Z", + "currentVersionedKeyExpirationTimestamp": "2023-08-23T12:16:11.388Z" + }, + "identity": { + "userAssignedIdentity": "im" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow" + } + ] + } + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ac9b3fe4c91f --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VolumeGroups_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeGroups_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..f176d21ae1a9 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VolumeGroups_Delete", + "operationId": "VolumeGroups_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bd3699566906 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -0,0 +1,95 @@ +{ + "title": "VolumeGroups_Get_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeGroups_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "waiuktshnm", + "tenantId": "rjltknjpqnd", + "type": "None", + "userAssignedIdentities": { + "key6160": { + "principalId": "evse", + "clientId": "biabkgbordaxlmbgfgmkyvh" + } + } + }, + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a", + "currentVersionedKeyIdentifier": "qaqgnsrfjua", + "lastKeyRotationTimestamp": "2024-05-13T06:23:47.282Z", + "currentVersionedKeyExpirationTimestamp": "2024-05-13T06:23:47.282Z" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "enforceDataIntegrityCheckForIscsi": true + }, + "id": "wawodajygzedvsz", + "name": "jacnlsnxssywuk", + "type": "kbvsfyul", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..d636bc0b55f9 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VolumeGroups_Get", + "operationId": "VolumeGroups_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json new file mode 100644 index 000000000000..25e26bfebb22 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "title": "VolumeGroups_ListByElasticSan_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "principalId": "waiuktshnm", + "tenantId": "rjltknjpqnd", + "type": "None", + "userAssignedIdentities": { + "key6160": { + "principalId": "evse", + "clientId": "biabkgbordaxlmbgfgmkyvh" + } + } + }, + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a", + "currentVersionedKeyIdentifier": "qaqgnsrfjua", + "lastKeyRotationTimestamp": "2024-05-13T06:23:47.282Z", + "currentVersionedKeyExpirationTimestamp": "2024-05-13T06:23:47.282Z" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "enforceDataIntegrityCheckForIscsi": true + }, + "id": "wawodajygzedvsz", + "name": "jacnlsnxssywuk", + "type": "kbvsfyul", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "daaeyyyw" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json new file mode 100644 index 000000000000..9c619f8574e1 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "VolumeGroups_ListByElasticSan", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..330b763d33e7 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MaximumSet_Gen.json @@ -0,0 +1,131 @@ +{ + "title": "VolumeGroups_Update_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeGroups_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": { + "identity": { + "type": "None", + "userAssignedIdentities": { + "key6160": {} + } + }, + "properties": { + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "enforceDataIntegrityCheckForIscsi": true + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "waiuktshnm", + "tenantId": "rjltknjpqnd", + "type": "None", + "userAssignedIdentities": { + "key6160": { + "principalId": "evse", + "clientId": "biabkgbordaxlmbgfgmkyvh" + } + } + }, + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "encryptionProperties": { + "keyVaultProperties": { + "keyName": "oaamyfynvyzxlpdyadfiptxgex", + "keyVersion": "cwjwblxnmnhbbrdbxoopcsdghur", + "keyVaultUri": "https://microsoft.com/a", + "currentVersionedKeyIdentifier": "qaqgnsrfjua", + "lastKeyRotationTimestamp": "2024-05-13T06:23:47.282Z", + "currentVersionedKeyExpirationTimestamp": "2024-05-13T06:23:47.282Z" + }, + "identity": { + "userAssignedIdentity": "xu" + } + }, + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "dcywtkhbwqoaayzvj", + "action": "Allow" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Invalid", + "privateEndpoint": { + "id": "pwvla" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "iyhfjnligaieovq", + "actionsRequired": "jnyswa" + }, + "groupIds": [ + "szjqerjjtbcxjxsaqlfcexperaoc" + ] + }, + "id": "kjmlgsuyzzimq", + "name": "uolibxojvjdp", + "type": "tlajrvzuisxmtgsswn", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "enforceDataIntegrityCheckForIscsi": true + }, + "id": "wawodajygzedvsz", + "name": "jacnlsnxssywuk", + "type": "kbvsfyul", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..a486223a5273 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VolumeGroups_Update", + "operationId": "VolumeGroups_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": {}, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..a84039665d2e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MaximumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "title": "VolumeSnapshots_Create_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeSnapshots_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "parameters": { + "properties": { + "creationData": { + "sourceId": "o" + } + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationData": { + "sourceId": "o" + }, + "provisioningState": "Invalid", + "sourceVolumeSizeGiB": 18, + "volumeName": "whboeudd" + }, + "id": "tzrkidbbzldzqehoztnddmzkpam", + "name": "oughhb", + "type": "nmkshfnfxxsduacbp", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "creationData": { + "sourceId": "o" + }, + "provisioningState": "Invalid", + "sourceVolumeSizeGiB": 18, + "volumeName": "whboeudd" + }, + "id": "tzrkidbbzldzqehoztnddmzkpam", + "name": "oughhb", + "type": "nmkshfnfxxsduacbp", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..b556eae88362 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MinimumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "title": "VolumeSnapshots_Create", + "operationId": "VolumeSnapshots_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "parameters": { + "properties": { + "creationData": { + "sourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + } + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationData": { + "sourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + }, + "provisioningState": "Succeeded", + "sourceVolumeSizeGiB": 28, + "volumeName": "volumename" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", + "name": "qukfugetqthsufp", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots", + "systemData": { + "createdBy": "f", + "createdByType": "User", + "createdAt": "2023-09-06T06:58:45.864Z", + "lastModifiedBy": "wifrlzeszzcckvdzdwxhvservlvarp", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-06T06:58:45.864Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "creationData": { + "sourceId": "vfirlleqvpepxnptyyrz" + }, + "provisioningState": "Invalid", + "sourceVolumeSizeGiB": 28, + "volumeName": "o" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", + "name": "qukfugetqthsufp", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots", + "systemData": { + "createdBy": "f", + "createdByType": "User", + "createdAt": "2023-09-06T06:58:45.864Z", + "lastModifiedBy": "wifrlzeszzcckvdzdwxhvservlvarp", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-06T06:58:45.864Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1b9d3424af58 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VolumeSnapshots_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeSnapshots_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..10b83e5ae84e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VolumeSnapshots_Delete", + "operationId": "VolumeSnapshots_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..f0e49b65e11d --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "VolumeSnapshots_Get_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeSnapshots_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationData": { + "sourceId": "o" + }, + "provisioningState": "Invalid", + "sourceVolumeSizeGiB": 18, + "volumeName": "whboeudd" + }, + "id": "tzrkidbbzldzqehoztnddmzkpam", + "name": "oughhb", + "type": "nmkshfnfxxsduacbp", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..6431f0f58151 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MinimumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "VolumeSnapshots_Get", + "operationId": "VolumeSnapshots_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "snapshotName": "snapshotname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "creationData": { + "sourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + }, + "provisioningState": "Succeeded", + "sourceVolumeSizeGiB": 28, + "volumeName": "volumename" + }, + "id": "bbqqgzxagggqgkdgjqq", + "name": "qukfugetqthsufp", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots", + "systemData": { + "createdBy": "f", + "createdByType": "User", + "createdAt": "2023-09-06T06:58:45.864Z", + "lastModifiedBy": "wifrlzeszzcckvdzdwxhvservlvarp", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-06T06:58:45.864Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..829a2cb36e4d --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "VolumeSnapshots_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "$filter": "znhowhiiiika", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "creationData": { + "sourceId": "o" + }, + "provisioningState": "Invalid", + "sourceVolumeSizeGiB": 18, + "volumeName": "whboeudd" + }, + "id": "tzrkidbbzldzqehoztnddmzkpam", + "name": "oughhb", + "type": "nmkshfnfxxsduacbp", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "eiz" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..44b54dfda483 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VolumeSnapshots_ListByVolumeGroup", + "operationId": "VolumeSnapshots_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..9fca4f0344b5 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MaximumSet_Gen.json @@ -0,0 +1,97 @@ +{ + "title": "Volumes_Create_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Volumes_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + } + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "zknqnsqrk", + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "storageTarget": { + "targetIqn": "uwcmcmnijctbcjbkjfnzsa", + "targetPortalHostname": "htmqxwuqdpdfabhtpqrccvuqe", + "targetPortalPort": 9, + "provisioningState": "Invalid", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + }, + "provisioningState": "Invalid" + }, + "id": "jdx", + "name": "erxwbvxsi", + "type": "atcxo", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "volumeId": "zknqnsqrk", + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "storageTarget": { + "targetIqn": "uwcmcmnijctbcjbkjfnzsa", + "targetPortalHostname": "htmqxwuqdpdfabhtpqrccvuqe", + "targetPortalPort": 9, + "provisioningState": "Invalid", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + }, + "provisioningState": "Invalid" + }, + "id": "jdx", + "name": "erxwbvxsi", + "type": "atcxo", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..8d47a2f024ba --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MinimumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "Volumes_Create", + "operationId": "Volumes_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "sizeGiB": 9 + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "umwjlxntntjejiyrywrytkzbfbluhk", + "creationData": { + "createSource": "None", + "sourceId": "ARM Id of Resource" + }, + "sizeGiB": 9, + "storageTarget": { + "targetIqn": "izdwogzjedsfug", + "targetPortalHostname": "wyfbjobugmad", + "targetPortalPort": 21, + "provisioningState": "Succeeded", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "mtkeip" + }, + "provisioningState": "Invalid" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "o", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "volumeId": "umwjlxntntjejiyrywrytkzbfbluhk", + "creationData": { + "createSource": "None", + "sourceId": "ARM Id of Resource" + }, + "sizeGiB": 9, + "storageTarget": { + "targetIqn": "izdwogzjedsfug", + "targetPortalHostname": "wyfbjobugmad", + "targetPortalPort": 21, + "provisioningState": "Succeeded", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "mtkeip" + }, + "provisioningState": "Invalid" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "o", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..063d3ba462a7 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "Volumes_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Volumes_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2024-05-01", + "x-ms-delete-snapshots": "true", + "x-ms-force-delete": "true" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..3140739f22ae --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Volumes_Delete", + "operationId": "Volumes_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2024-05-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..a53c25a8827a --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Volumes_Get_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Volumes_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "zknqnsqrk", + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "storageTarget": { + "targetIqn": "uwcmcmnijctbcjbkjfnzsa", + "targetPortalHostname": "htmqxwuqdpdfabhtpqrccvuqe", + "targetPortalPort": 9, + "provisioningState": "Invalid", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + }, + "provisioningState": "Invalid" + }, + "id": "jdx", + "name": "erxwbvxsi", + "type": "atcxo", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..8fb0bb404424 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MinimumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Volumes_Get", + "operationId": "Volumes_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "umwjlxntntjejiyrywrytkzbfbluhk", + "creationData": { + "createSource": "None", + "sourceId": "ARM Id of Resource" + }, + "sizeGiB": 9, + "storageTarget": { + "targetIqn": "izdwogzjedsfug", + "targetPortalHostname": "wyfbjobugmad", + "targetPortalPort": 21, + "provisioningState": "Succeeded", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "mtkeip" + }, + "provisioningState": "Invalid" + }, + "id": "swkcmwglncgtsnejzvldnbpsifxez", + "name": "o", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..9218a72fcf6a --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "title": "Volumes_ListByVolumeGroup_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "volumeId": "zknqnsqrk", + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "storageTarget": { + "targetIqn": "uwcmcmnijctbcjbkjfnzsa", + "targetPortalHostname": "htmqxwuqdpdfabhtpqrccvuqe", + "targetPortalPort": 9, + "provisioningState": "Invalid", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + }, + "provisioningState": "Invalid" + }, + "id": "jdx", + "name": "erxwbvxsi", + "type": "atcxo", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + ], + "nextLink": "wjkvqvvzdqoxzs" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..f8559c164593 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "Volumes_ListByVolumeGroup", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..dbd24c57d9f6 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "title": "Volumes_Update_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "Volumes_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "sizeGiB": 30, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + } + } + }, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "zknqnsqrk", + "creationData": { + "createSource": "None", + "sourceId": "fkackofx" + }, + "sizeGiB": 10, + "storageTarget": { + "targetIqn": "uwcmcmnijctbcjbkjfnzsa", + "targetPortalHostname": "htmqxwuqdpdfabhtpqrccvuqe", + "targetPortalPort": 9, + "provisioningState": "Invalid", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "fyodcxvtqlspavsxygxc" + }, + "provisioningState": "Invalid" + }, + "id": "jdx", + "name": "erxwbvxsi", + "type": "atcxo", + "systemData": { + "createdBy": "cuwjnszrvrxht", + "createdByType": "User", + "createdAt": "2024-05-13T06:23:45.838Z", + "lastModifiedBy": "snlm", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-05-13T06:23:45.838Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..ca17777d267b --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MinimumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "Volumes_Update", + "operationId": "Volumes_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": {}, + "api-version": "2024-05-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "umwjlxntntjejiyrywrytkzbfbluhk", + "creationData": { + "createSource": "None", + "sourceId": "ARM Id of Resource" + }, + "sizeGiB": 9, + "storageTarget": { + "targetIqn": "izdwogzjedsfug", + "targetPortalHostname": "wyfbjobugmad", + "targetPortalPort": 21, + "provisioningState": "Succeeded", + "status": "Invalid" + }, + "managedBy": { + "resourceId": "mtkeip" + }, + "provisioningState": "Invalid" + }, + "id": "swkcmwglncgtsnejzvldnbpsifxez", + "name": "o", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes", + "systemData": { + "createdBy": "kakcyehdrphqkilgkhpbdtvpupak", + "createdByType": "User", + "createdAt": "2023-08-23T12:16:10.057Z", + "lastModifiedBy": "bcclmbseed", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-08-23T12:16:10.057Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/readme.md b/specification/elasticsan/resource-manager/readme.md index f5f15602867b..3be0f264aabc 100644 --- a/specification/elasticsan/resource-manager/readme.md +++ b/specification/elasticsan/resource-manager/readme.md @@ -26,18 +26,27 @@ These are the global settings for the storagepool. ``` yaml openapi-type: arm -tag: package-2023-01 +tag: package-2024-05 ``` +### Tag: package-2024-05 + +These settings apply only when `--tag=package-2024-05` is specified on the command line. + +```yaml $(tag) == 'package-2024-05' +input-file: + - Microsoft.ElasticSan/stable/2024-05-01/elasticsan.json +``` ### Tag: package-2023-01 These settings apply only when `--tag=package-2023-01` is specified on the command line. -```yaml $(tag) == 'package-2023-01' +``` yaml $(tag) == 'package-2023-01' input-file: - Microsoft.ElasticSan/stable/2023-01-01/elasticsan.json ``` + ### Tag: package-preview-2022-12 These settings apply only when `--tag=package-preview-2022-12` is specified on the command line. diff --git a/specification/elasticsan/resource-manager/readme.typescript.md b/specification/elasticsan/resource-manager/readme.typescript.md index 10bc066af217..270fa94887e3 100644 --- a/specification/elasticsan/resource-manager/readme.typescript.md +++ b/specification/elasticsan/resource-manager/readme.typescript.md @@ -3,6 +3,11 @@ These settings apply only when `--typescript` is specified on the command line. Please also specify `--typescript-sdks-folder=`. +``` yaml +modelerfour: + flatten-models: false +``` + ```yaml $(typescript) typescript: azure-arm: true diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/client.tsp b/specification/eventgrid/Azure.Messaging.EventGrid/client.tsp index c5bfa4531cdd..efc120374ada 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/client.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid/client.tsp @@ -118,11 +118,16 @@ namespace Customizations { // All Language customizations -// publishCloudEvent access level +//Operation Access Level @@access(publishCloudEvent, Access.internal, "python"); +@@access(publishCloudEvent, Access.internal, "csharp"); +@@access(publishCloudEvent, Access.internal, "java"); +@@access(publishCloudEvent, Access.internal, "javascript"); -// publishCloudEvents access level @@access(publishCloudEvents, Access.internal, "python"); +@@access(publishCloudEvents, Access.internal, "csharp"); +@@access(publishCloudEvents, Access.internal, "java"); +@@access(publishCloudEvents, Access.internal, "javascript"); @@access(receiveCloudEvents, Access.internal, "python"); @@access(acknowledgeCloudEvents, Access.internal, "python"); @@ -130,6 +135,26 @@ namespace Customizations { @@access(rejectCloudEvents, Access.internal, "python"); @@access(renewCloudEventLocks, Access.internal, "python"); +@@access(receiveCloudEvents, Access.internal, "csharp"); +@@access(acknowledgeCloudEvents, Access.internal, "csharp"); +@@access(releaseCloudEvents, Access.internal, "csharp"); +@@access(rejectCloudEvents, Access.internal, "csharp"); +@@access(renewCloudEventLocks, Access.internal, "csharp"); + +@@access(receiveCloudEvents, Access.internal, "java"); +@@access(acknowledgeCloudEvents, Access.internal, "java"); +@@access(releaseCloudEvents, Access.internal, "java"); +@@access(rejectCloudEvents, Access.internal, "java"); +@@access(renewCloudEventLocks, Access.internal, "java"); + +@@access(receiveCloudEvents, Access.internal, "javascript"); +@@access(acknowledgeCloudEvents, Access.internal, "javascript"); +@@access(releaseCloudEvents, Access.internal, "javascript"); +@@access(rejectCloudEvents, Access.internal, "javascript"); +@@access(renewCloudEventLocks, Access.internal, "javascript"); + +//Mark models as public (except ReceiveResult, PublishResult) +//BUG: Bypassing Go for now as it marks all models as internal @@access(AcknowledgeResult, Access.public); @@access(ReleaseResult, Access.public); @@access(RejectResult, Access.public); @@ -137,12 +162,15 @@ namespace Customizations { @@access(ReleaseDelay, Access.public); @@access(FailedLockToken, Access.public); +//Rename Enum @@clientName(ReleaseDelay.By0Seconds, "NoDelay"); @@clientName(ReleaseDelay.By10Seconds, "TenSeconds"); @@clientName(ReleaseDelay.By3600Seconds, "OneHour"); @@clientName(ReleaseDelay.By600Seconds, "TenMinutes"); @@clientName(ReleaseDelay.By60Seconds, "OneMinute"); +//Rename RenewLocksResult @@clientName(RenewCloudEventLocksResult, "RenewLocksResult"); +//Rename value to details (ReceiveResult internal) @@clientName(ReceiveResult.value, "details"); diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index 3cb17a6f89e0..714857f61985 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -17,7 +17,7 @@ options: azure-resource-provider-folder: "data-plane" "@azure-tools/typespec-python": package-pprint-name: '"Azure Event Grid"' - package-version: 4.12.0b1 + package-version: 4.20.0 package-dir: "azure-eventgrid" package-name: "{package-dir}" emitter-output-dir: "{project-root}/{service-dir}/{package-name}" diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 2e84f8a3645e..99630ad97c3d 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -1415,6 +1415,7 @@ input-file: - ./Microsoft.Sql/preview/2023-02-01-preview/Databases.json - ./Microsoft.Sql/preview/2022-08-01-preview/ElasticPools.json - ./Microsoft.Sql/preview/2022-08-01-preview/ManagedDatabases.json +- ./Microsoft.Sql/preview/2022-08-01-preview/ManagedInstances.json - ./Microsoft.Sql/preview/2022-08-01-preview/ManagedLedgerDigestUploads.json - ./Microsoft.Sql/preview/2022-08-01-preview/RecoverableDatabases.json - ./Microsoft.Sql/preview/2022-08-01-preview/RestorableDroppedDatabases.json @@ -1439,7 +1440,6 @@ input-file: - ./Microsoft.Sql/preview/2023-05-01-preview/InstancePools.json - ./Microsoft.Sql/preview/2023-05-01-preview/LongTermRetentionBackups.json - ./Microsoft.Sql/preview/2023-05-01-preview/LongTermRetentionPolicies.json -- ./Microsoft.Sql/preview/2023-05-01-preview/ManagedInstances.json - ./Microsoft.Sql/preview/2023-05-01-preview/Servers.json - ./Microsoft.Sql/preview/2023-05-01-preview/ReplicationLinks.json diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MaximumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MaximumSet.json new file mode 100644 index 000000000000..be3c19b0015f --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MaximumSet.json @@ -0,0 +1,84 @@ +{ + "operationId": "Agents_CreateOrUpdate", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01", + "agent": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "description": "Example Agent Description", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "description": "Example Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MinimumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MinimumSet.json new file mode 100644 index 000000000000..1c62cb55ddf1 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_MinimumSet.json @@ -0,0 +1,46 @@ +{ + "operationId": "Agents_CreateOrUpdate", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01", + "agent": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_UploadLimitSchedule_Overnight.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_UploadLimitSchedule_Overnight.json new file mode 100644 index 000000000000..d20777ac71f1 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_CreateOrUpdate_UploadLimitSchedule_Overnight.json @@ -0,0 +1,134 @@ +{ + "operationId": "Agents_CreateOrUpdate", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01", + "agent": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "startTime": { + "hour": 18, + "minute": 0 + }, + "endTime": { + "hour": 24, + "minute": 0 + }, + "limitInMbps": 2000 + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "startTime": { + "hour": 0, + "minute": 0 + }, + "endTime": { + "hour": 9, + "minute": 0 + }, + "limitInMbps": 2000 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "startTime": { + "hour": 18, + "minute": 0 + }, + "endTime": { + "hour": 24, + "minute": 0 + }, + "limitInMbps": 2000 + }, + { + "days": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "startTime": { + "hour": 0, + "minute": 0 + }, + "endTime": { + "hour": 9, + "minute": 0 + }, + "limitInMbps": 2000 + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Delete.json new file mode 100644 index 000000000000..28339629b7d9 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Delete.json @@ -0,0 +1,20 @@ +{ + "operationId": "Agents_Delete", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/locations/SWEDENCENTRAL/operationStatuses/6ba7b810-9dad-11d1-80b4-00c04fd430c8?api-version=2024-07-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/locations/SWEDENCENTRAL/operationStatuses/6ba7b810-9dad-11d1-80b4-00c04fd430c8?api-version=2024-07-01" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MaximumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MaximumSet.json new file mode 100644 index 000000000000..1b9bdd7a47c4 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MaximumSet.json @@ -0,0 +1,59 @@ +{ + "operationId": "Agents_Get", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "description": "Example Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MinimumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MinimumSet.json new file mode 100644 index 000000000000..89f88c4f81a0 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Get_MinimumSet.json @@ -0,0 +1,40 @@ +{ + "operationId": "Agents_Get", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MaximumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MaximumSet.json new file mode 100644 index 000000000000..1c775191e950 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MaximumSet.json @@ -0,0 +1,138 @@ +{ + "operationId": "Agents_List", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName1", + "name": "examples-agentName1", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName1", + "description": "Example Agent 1 Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + }, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName2", + "name": "examples-agentName2", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName2", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "147a1f84-7bbf-4e99-9a6a-a1735a91dfd5", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 877, + "timeZone": "Eastern Standard Time", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName3", + "name": "examples-agentName3", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName3", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "648a7958-f99e-4268-b20e-94c96558dc0d", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 1025, + "errorDetails": { + "code": "SampleErrorCode", + "message": "Detailed sample error message." + }, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Saturday", + "Sunday" + ], + "startTime": { + "hour": 0, + "minute": 0 + }, + "endTime": { + "hour": 24, + "minute": 0 + }, + "limitInMbps": 5000 + } + ] + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MinimumSet.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MinimumSet.json new file mode 100644 index 000000000000..ec33924086c6 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_List_MinimumSet.json @@ -0,0 +1,16 @@ +{ + "operationId": "Agents_List", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Update.json new file mode 100644 index 000000000000..2739afb31f45 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Agents_Update.json @@ -0,0 +1,82 @@ +{ + "operationId": "Agents_Update", + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "api-version": "2024-07-01", + "agent": { + "properties": { + "description": "Example Agent Description", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "description": "Example Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 4096, + "numberOfCores": 8, + "uptimeInSeconds": 522, + "timeZone": "Eastern Standard Time", + "uploadLimitSchedule": { + "weeklyRecurrences": [ + { + "days": [ + "Monday" + ], + "startTime": { + "hour": 9, + "minute": 0 + }, + "endTime": { + "hour": 18, + "minute": 30 + }, + "limitInMbps": 2000 + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..b45f026a8667 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json @@ -0,0 +1,35 @@ +{ + "title": "Endpoints_CreateOrUpdate_AzureStorageBlobContainer", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..582e9f8c6ee6 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json @@ -0,0 +1,35 @@ +{ + "title": "Endpoints_CreateOrUpdate_AzureStorageSmbFileShare", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_NfsMount.json new file mode 100644 index 000000000000..301a1b1b8f5a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_NfsMount.json @@ -0,0 +1,36 @@ +{ + "title": "Endpoints_CreateOrUpdate_NfsMount", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "description": "Example NFS Mount Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Example NFS Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_SmbMount.json new file mode 100644 index 000000000000..522d9f4d0f41 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_SmbMount.json @@ -0,0 +1,45 @@ +{ + "title": "Endpoints_CreateOrUpdate_SmbMount", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Delete.json new file mode 100644 index 000000000000..3d1da0c5d1ad --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..a30fddca843f --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageBlobContainer.json @@ -0,0 +1,27 @@ +{ + "title": "Endpoints_Get_AzureStorageBlobContainer", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..298c2de28978 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageSmbFileShare.json @@ -0,0 +1,27 @@ +{ + "title": "Endpoints_Get_AzureStorageSmbFileShare", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_NfsMount.json new file mode 100644 index 000000000000..6b6727baddec --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_NfsMount.json @@ -0,0 +1,28 @@ +{ + "title": "Endpoints_Get_NfsMount", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Example NFS Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_SmbMount.json new file mode 100644 index 000000000000..6297dcfce3b2 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_SmbMount.json @@ -0,0 +1,32 @@ +{ + "title": "Endpoints_Get_SmbMount", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_List.json new file mode 100644 index 000000000000..01a17450a48e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_List.json @@ -0,0 +1,56 @@ +{ + "title": "Endpoints_List", + "operationId": "Endpoints_List", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName1", + "name": "examples-endpointName1", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer1", + "description": "Example Storage Container Endpoint 1 Description", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName2", + "name": "examples-endpointName2", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "nfsVersion": "NFSv4", + "description": "Example Storage Container Endpoint 2 Description", + "export": "/", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName3", + "name": "examples-endpointName3", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer3", + "description": "Example Storage Container Endpoint 3 Description", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..c03bd991939c --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageBlobContainer.json @@ -0,0 +1,33 @@ +{ + "title": "Endpoints_Update_AzureStorageBlobContainer", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageBlobContainer", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..bbab65db9438 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageSmbFileShare.json @@ -0,0 +1,33 @@ +{ + "title": "Endpoints_Update_AzureStorageSmbFileShare", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_NfsMount.json new file mode 100644 index 000000000000..8dd04d37776a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_NfsMount.json @@ -0,0 +1,34 @@ +{ + "title": "Endpoints_Update_NfsMount", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "NfsMount", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_SmbMount.json new file mode 100644 index 000000000000..5c7cf6eb1a89 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_SmbMount.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoints_Update_SmbMount", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "SmbMount", + "description": "Updated Endpoint Description", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password" + }, + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_CreateOrUpdate.json new file mode 100644 index 000000000000..10f58eb60538 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobDefinition": { + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetSubpath": "/", + "agentName": "migration-agent" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/projectName/jobDefinitionName", + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Delete.json new file mode 100644 index 000000000000..b659e9085f8f --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Get.json new file mode 100644 index 000000000000..6531cb1a21a1 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_List.json new file mode 100644 index 000000000000..e8ace730b7da --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_List.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName1", + "name": "examples-jobDefinitionName1", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition 1 Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName1", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName1", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName1", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName1", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName2", + "name": "examples-jobDefinitionName2", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Job Definition 2 Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName2", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName2", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName2", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName2", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName3", + "name": "examples-jobDefinitionName3", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition 3 Description", + "copyMode": "Mirror", + "sourceName": "examples-sourceEndpointName3", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName3", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName3", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName3", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/jobDefinitions?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StartJob.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StartJob.json new file mode 100644 index 000000000000..a7f686ff1ae5 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StartJob.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "jobRunResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StopJob.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StopJob.json new file mode 100644 index 000000000000..a7f686ff1ae5 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StopJob.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "jobRunResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Update.json new file mode 100644 index 000000000000..83747e2be672 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Update.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobDefinition": { + "properties": { + "description": "Updated Job Definition Description", + "agentName": "updatedAgentName" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/projectName/jobDefinitionName", + "properties": { + "description": "Updated Job Definition Description", + "copyMode": "Additive", + "sourceName": "updatedSource", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/updatedSource", + "sourceSubpath": "/", + "targetName": "updatedTarget", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/updatedTarget", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "updatedAgentName", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_Get.json new file mode 100644 index 000000000000..44c23e1d3709 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobRunName": "examples-jobRunName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName", + "name": "examples-jobRunName", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Running", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_List.json new file mode 100644 index 000000000000..e3505142058a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_List.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName1", + "name": "examples-jobRunName1", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Running", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName2", + "name": "examples-jobRunName2", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Failed", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName3", + "name": "examples-jobRunName3", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Failed", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Operations_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Operations_List.json new file mode 100644 index 000000000000..31e85cf07936 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Operations_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageMover/storageMovers/read", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Get or List StorageMover resource(s).", + "description": "Gets or Lists existing StorageMover resource(s)." + } + }, + { + "name": "Microsoft.StorageMover/storageMovers/write", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Create or Update StorageMover resource.", + "description": "Creates or Updates StorageMover resource." + } + }, + { + "name": "Microsoft.StorageMover/storageMovers/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Delete StorageMover resource.", + "description": "Deletes StorageMover resource." + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/operations?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_CreateOrUpdate.json new file mode 100644 index 000000000000..dea91afc5009 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_CreateOrUpdate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "project": { + "properties": { + "description": "Example Project Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Delete.json new file mode 100644 index 000000000000..e45e5ac62538 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Get.json new file mode 100644 index 000000000000..f1f3d39eff6a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_List.json new file mode 100644 index 000000000000..5f4103402205 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_List.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName1", + "name": "examples-projectName1", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName2", + "name": "examples-projectName2", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName2", + "name": "examples-projectName3", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/projects?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Update.json new file mode 100644 index 000000000000..390e84dbd430 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Update.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "project": { + "properties": { + "description": "Example Project Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projectName", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_CreateOrUpdate.json new file mode 100644 index 000000000000..af8e6599da0e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_CreateOrUpdate.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "storageMover": { + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Delete.json new file mode 100644 index 000000000000..56554b316736 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Get.json new file mode 100644 index 000000000000..9ba3110cf155 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_List.json new file mode 100644 index 000000000000..3a94a4bb294e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_List.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName1", + "name": "examples-storageMoverResourceName1", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName2", + "name": "examples-storageMoverResourceName2", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName3", + "name": "examples-storageMoverResourceName3", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_ListBySubscription.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_ListBySubscription.json new file mode 100644 index 000000000000..fdd601b615af --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_ListBySubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "api-version": "2024-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName1", + "name": "examples-storageMoverResourceName1", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg2/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName2", + "name": "examples-storageMoverResourceName2", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName3", + "name": "examples-storageMoverResourceName3", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Update.json new file mode 100644 index 000000000000..60adc614b8c8 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2024-07-01", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "storageMover": { + "properties": { + "description": "Updated Storage Mover Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Updated Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/storagemover.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/storagemover.json new file mode 100644 index 000000000000..f073e9d55069 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/storagemover.json @@ -0,0 +1,2893 @@ +{ + "swagger": "2.0", + "info": { + "version": "2024-07-01", + "title": "StorageMoverClient", + "description": "The Azure Storage Mover REST API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.StorageMover/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Lists all the supported operations for the Azure Storage Mover REST API.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "List of supported operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_ListBySubscription", + "description": "Lists all Storage Movers in a subscription.", + "x-ms-examples": { + "StorageMovers_List": { + "$ref": "./examples/StorageMovers_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Storage Movers.", + "schema": { + "$ref": "#/definitions/StorageMoverList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_List", + "description": "Lists all Storage Movers in a resource group.", + "x-ms-examples": { + "StorageMovers_List": { + "$ref": "./examples/StorageMovers_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Storage Movers.", + "schema": { + "$ref": "#/definitions/StorageMoverList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Get", + "description": "Gets a Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_Get": { + "$ref": "./examples/StorageMovers_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_CreateOrUpdate", + "description": "Creates or updates a top-level Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_CreateOrUpdate": { + "$ref": "./examples/StorageMovers_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageMover", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMover" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Update", + "description": "Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "StorageMovers_Update": { + "$ref": "./examples/StorageMovers_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageMover", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMoverUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Delete", + "description": "Deletes a Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_Delete": { + "$ref": "./examples/StorageMovers_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Storage Mover." + }, + "202": { + "description": "Accepted. Storage Mover delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Storage Mover does not exist in the subscription." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents": { + "get": { + "tags": [ + "Agents" + ], + "operationId": "Agents_List", + "description": "Lists all Agents in a Storage Mover.", + "x-ms-examples": { + "Agents_List_MinimumSet": { + "$ref": "./examples/Agents_List_MinimumSet.json" + }, + "Agents_List_MaximumSet": { + "$ref": "./examples/Agents_List_MaximumSet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Agents.", + "schema": { + "$ref": "#/definitions/AgentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}": { + "get": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Get", + "description": "Gets an Agent resource.", + "x-ms-examples": { + "Agents_Get_MinimumSet": { + "$ref": "./examples/Agents_Get_MinimumSet.json" + }, + "Agents_Get_MaximumSet": { + "$ref": "./examples/Agents_Get_MaximumSet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Agents" + ], + "operationId": "Agents_CreateOrUpdate", + "description": "Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.", + "x-ms-examples": { + "Agents_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/Agents_CreateOrUpdate_MinimumSet.json" + }, + "Agents_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/Agents_CreateOrUpdate_MaximumSet.json" + }, + "Agents_CreateOrUpdate_WithOvernightUploadLimitSchedule": { + "$ref": "./examples/Agents_CreateOrUpdate_UploadLimitSchedule_Overnight.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agent", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Agent" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Update", + "description": "Creates or updates an Agent resource.", + "x-ms-examples": { + "Agents_Update": { + "$ref": "./examples/Agents_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agent", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AgentUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Delete", + "description": "Deletes an Agent resource.", + "x-ms-examples": { + "Agents_Delete": { + "$ref": "./examples/Agents_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Agent." + }, + "202": { + "description": "Accepted. Agent delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Agent does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints": { + "get": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_List", + "description": "Lists all Endpoints in a Storage Mover.", + "x-ms-examples": { + "Endpoints_List": { + "$ref": "./examples/Endpoints_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Endpoints.", + "schema": { + "$ref": "#/definitions/EndpointList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}": { + "get": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Get", + "description": "Gets an Endpoint resource.", + "x-ms-examples": { + "Endpoints_Get_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_Get_AzureStorageBlobContainer.json" + }, + "Endpoints_Get_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_Get_AzureStorageSmbFileShare.json" + }, + "Endpoints_Get_NfsMount": { + "$ref": "./examples/Endpoints_Get_NfsMount.json" + }, + "Endpoints_Get_SmbMount": { + "$ref": "./examples/Endpoints_Get_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_CreateOrUpdate", + "description": "Creates or updates an Endpoint resource, which represents a data transfer source or destination.", + "x-ms-examples": { + "Endpoints_CreateOrUpdate_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json" + }, + "Endpoints_CreateOrUpdate_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json" + }, + "Endpoints_CreateOrUpdate_NfsMount": { + "$ref": "./examples/Endpoints_CreateOrUpdate_NfsMount.json" + }, + "Endpoints_CreateOrUpdate_SmbMount": { + "$ref": "./examples/Endpoints_CreateOrUpdate_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "endpoint", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Update", + "description": "Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "Endpoints_Update_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_Update_AzureStorageBlobContainer.json" + }, + "Endpoints_Update_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_Update_AzureStorageSmbFileShare.json" + }, + "Endpoints_Update_NfsMount": { + "$ref": "./examples/Endpoints_Update_NfsMount.json" + }, + "Endpoints_Update_SmbMount": { + "$ref": "./examples/Endpoints_Update_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "endpoint", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointBaseUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Delete", + "description": "Deletes an Endpoint resource.", + "x-ms-examples": { + "Endpoints_Delete": { + "$ref": "./examples/Endpoints_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Endpoint." + }, + "202": { + "description": "Accepted. Endpoint delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Endpoint does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects": { + "get": { + "tags": [ + "Projects" + ], + "operationId": "Projects_List", + "description": "Lists all Projects in a Storage Mover.", + "x-ms-examples": { + "Projects_List": { + "$ref": "./examples/Projects_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Projects.", + "schema": { + "$ref": "#/definitions/ProjectList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}": { + "get": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Get", + "description": "Gets a Project resource.", + "x-ms-examples": { + "Projects_Get": { + "$ref": "./examples/Projects_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Projects" + ], + "operationId": "Projects_CreateOrUpdate", + "description": "Creates or updates a Project resource, which is a logical grouping of related jobs.", + "x-ms-examples": { + "Projects_CreateOrUpdate": { + "$ref": "./examples/Projects_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "project", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Project" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Update", + "description": "Updates properties for a Project resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "Projects_Update": { + "$ref": "./examples/Projects_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "project", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Delete", + "description": "Deletes a Project resource.", + "x-ms-examples": { + "Projects_Delete": { + "$ref": "./examples/Projects_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Project." + }, + "202": { + "description": "Accepted. Project delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Project does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions": { + "get": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_List", + "description": "Lists all Job Definitions in a Project.", + "x-ms-examples": { + "JobDefinitions_List": { + "$ref": "./examples/JobDefinitions_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Job Definitions.", + "schema": { + "$ref": "#/definitions/JobDefinitionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}": { + "get": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Get", + "description": "Gets a Job Definition resource.", + "x-ms-examples": { + "JobDefinitions_Get": { + "$ref": "./examples/JobDefinitions_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_CreateOrUpdate", + "description": "Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.", + "x-ms-examples": { + "JobDefinitions_CreateOrUpdate": { + "$ref": "./examples/JobDefinitions_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "jobDefinition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobDefinition" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Update", + "description": "Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "JobDefinitions_Update": { + "$ref": "./examples/JobDefinitions_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "jobDefinition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobDefinitionUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Delete", + "description": "Deletes a Job Definition resource.", + "x-ms-examples": { + "Projects_Delete": { + "$ref": "./examples/JobDefinitions_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Job Definition." + }, + "202": { + "description": "Accepted. Job Definition delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Job Definition does not exist for this Project." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob": { + "post": { + "consumes": [ + "application/json", + "application/x-www-form-urlencoded" + ], + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_StartJob", + "description": "Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.", + "x-ms-examples": { + "JobDefinitions_StartJob": { + "$ref": "./examples/JobDefinitions_StartJob.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully requested job to start.", + "schema": { + "$ref": "#/definitions/JobRunResourceId" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob": { + "post": { + "consumes": [ + "application/json", + "application/x-www-form-urlencoded" + ], + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_StopJob", + "description": "Requests the Agent of any active instance of this Job Definition to stop.", + "x-ms-examples": { + "JobDefinitions_StopJob": { + "$ref": "./examples/JobDefinitions_StopJob.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully requested running job to stop, if any.", + "schema": { + "$ref": "#/definitions/JobRunResourceId" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns": { + "get": { + "tags": [ + "JobRuns" + ], + "operationId": "JobRuns_List", + "description": "Lists all Job Runs in a Job Definition.", + "x-ms-examples": { + "JobRuns_List": { + "$ref": "./examples/JobRuns_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Job Runs.", + "schema": { + "$ref": "#/definitions/JobRunList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}": { + "get": { + "tags": [ + "JobRuns" + ], + "operationId": "JobRuns_Get", + "description": "Gets a Job Run resource.", + "x-ms-examples": { + "JobRuns_Get": { + "$ref": "./examples/JobRuns_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "#/parameters/JobRunNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Job Run resource.", + "schema": { + "$ref": "#/definitions/JobRun" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "AgentProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Agent." + }, + "agentVersion": { + "type": "string", + "description": "The Agent version.", + "readOnly": true + }, + "arcResourceId": { + "type": "string", + "description": "The fully qualified resource ID of the Hybrid Compute resource for the Agent.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "arcVmUuid": { + "type": "string", + "description": "The VM UUID of the Hybrid Compute resource for the Agent.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "agentStatus": { + "description": "The Agent status.", + "enum": [ + "Registering", + "Offline", + "Online", + "Executing", + "RequiresAttention", + "Unregistering" + ], + "type": "string", + "x-ms-enum": { + "name": "AgentStatus", + "modelAsString": true + }, + "readOnly": true + }, + "lastStatusUpdate": { + "type": "string", + "format": "date-time", + "description": "The last updated time of the Agent status.", + "readOnly": true + }, + "localIPAddress": { + "type": "string", + "description": "Local IP address reported by the Agent.", + "readOnly": true + }, + "memoryInMB": { + "type": "integer", + "format": "int64", + "description": "Available memory reported by the Agent, in MB.", + "readOnly": true + }, + "numberOfCores": { + "type": "integer", + "format": "int64", + "description": "Available compute cores reported by the Agent.", + "readOnly": true + }, + "uptimeInSeconds": { + "type": "integer", + "format": "int64", + "description": "Uptime of the Agent in seconds.", + "readOnly": true + }, + "timeZone": { + "description": "The agent's local time zone represented in Windows format.", + "type": "string", + "readOnly": true + }, + "uploadLimitSchedule": { + "description": "The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time.", + "$ref": "#/definitions/UploadLimitSchedule" + }, + "errorDetails": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code reported by Agent" + }, + "message": { + "type": "string", + "description": "Expanded description of reported error code" + } + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "arcResourceId", + "arcVmUuid" + ] + }, + "Agent": { + "description": "The Agent resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AgentProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "AgentUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Agent." + }, + "uploadLimitSchedule": { + "description": "The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time.", + "$ref": "#/definitions/UploadLimitSchedule" + } + } + }, + "AgentUpdateParameters": { + "description": "The Agent resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AgentUpdateProperties" + } + } + }, + "AgentList": { + "description": "List of Agents.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Agent" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "UploadLimitSchedule": { + "description": "The WAN-link upload limit schedule. Overlapping recurrences are not allowed.", + "type": "object", + "properties": { + "weeklyRecurrences": { + "description": "The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + "type": "array", + "items": { + "$ref": "#/definitions/UploadLimitWeeklyRecurrence" + }, + "x-ms-identifiers": [] + } + } + }, + "Recurrence": { + "description": "The schedule recurrence.", + "type": "object", + "properties": { + "startTime": { + "description": "The start time of the schedule recurrence. Full hour and 30-minute intervals are supported.", + "$ref": "#/definitions/Time" + }, + "endTime": { + "description": "The end time of the schedule recurrence. Full hour and 30-minute intervals are supported.", + "$ref": "#/definitions/Time" + } + }, + "required": [ + "startTime", + "endTime" + ] + }, + "WeeklyRecurrence": { + "type": "object", + "description": "The weekly recurrence of the schedule.", + "properties": { + "days": { + "description": "The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence.", + "type": "array", + "items": { + "$ref": "#/definitions/DayOfWeek" + } + } + }, + "required": [ + "days" + ], + "allOf": [ + { + "$ref": "#/definitions/Recurrence" + } + ] + }, + "DayOfWeek": { + "description": "The day of week.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "type": "string", + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + }, + "UploadLimit": { + "description": "The WAN-link upload limit.", + "type": "object", + "properties": { + "limitInMbps": { + "description": "The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary.", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 2147483647 + } + }, + "required": [ + "limitInMbps" + ] + }, + "UploadLimitWeeklyRecurrence": { + "description": "The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. The recurrence must not span across multiple days.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WeeklyRecurrence" + }, + { + "$ref": "#/definitions/UploadLimit" + } + ] + }, + "Time": { + "description": "The time of day.", + "type": "object", + "properties": { + "hour": { + "description": "The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 24 + }, + "minute": { + "description": "The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.", + "type": "integer", + "format": "int32", + "enum": [ + 0, + 30 + ], + "default": 0, + "x-ms-enum": { + "name": "Minute", + "modelAsString": true + } + } + }, + "required": [ + "hour" + ] + }, + "StorageMoverProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Storage Mover." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "StorageMover": { + "description": "The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageMoverProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "StorageMoverUpdateProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Storage Mover." + } + } + }, + "StorageMoverUpdateParameters": { + "description": "The Storage Mover resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageMoverUpdateProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + } + }, + "StorageMoverList": { + "description": "List of Storage Movers.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageMover" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "EndpointBaseProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "discriminator": "endpointType", + "properties": { + "endpointType": { + "description": "The Endpoint resource type.", + "$ref": "#/definitions/EndpointType", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "description": { + "type": "string", + "description": "A description for the Endpoint." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "endpointType" + ] + }, + "Endpoint": { + "description": "The Endpoint resource, which contains information about file sources and targets.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointBaseProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "EndpointBaseUpdateProperties": { + "description": "The Endpoint resource, which contains information about file sources and targets.", + "type": "object", + "discriminator": "endpointType", + "properties": { + "endpointType": { + "description": "The Endpoint resource type.", + "$ref": "#/definitions/EndpointType", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "description": { + "type": "string", + "description": "A description for the Endpoint." + } + }, + "required": [ + "endpointType" + ] + }, + "EndpointBaseUpdateParameters": { + "description": "The Endpoint resource.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + } + }, + "EndpointList": { + "description": "List of Endpoints.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Endpoint" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "AzureStorageBlobContainerEndpointProperties": { + "type": "object", + "description": "The properties of Azure Storage blob container endpoint.", + "x-ms-discriminator-value": "AzureStorageBlobContainer", + "properties": { + "storageAccountResourceId": { + "description": "The Azure Resource ID of the storage account that is the target destination.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "blobContainerName": { + "description": "The name of the Storage blob container that is the target destination.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "storageAccountResourceId", + "blobContainerName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "AzureStorageBlobContainerEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "AzureStorageBlobContainer", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "NfsMountEndpointProperties": { + "type": "object", + "description": "The properties of NFS share endpoint.", + "x-ms-discriminator-value": "NfsMount", + "properties": { + "host": { + "description": "The host name or IP address of the server exporting the file system.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "nfsVersion": { + "description": "The NFS protocol version.", + "enum": [ + "NFSauto", + "NFSv3", + "NFSv4" + ], + "type": "string", + "x-ms-enum": { + "name": "NfsVersion", + "modelAsString": true + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "export": { + "description": "The directory being exported from the server.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "host", + "export" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "NfsMountEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "NfsMount", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "AzureStorageSmbFileShareEndpointProperties": { + "type": "object", + "description": "The properties of Azure Storage SMB file share endpoint.", + "x-ms-discriminator-value": "AzureStorageSmbFileShare", + "properties": { + "storageAccountResourceId": { + "description": "The Azure Resource ID of the storage account.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "fileShareName": { + "description": "The name of the Azure Storage file share.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "storageAccountResourceId", + "fileShareName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "AzureStorageSmbFileShareEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "AzureStorageSmbFileShare", + "description": "The properties of Azure Storage SMB file share endpoint to update.", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "SmbMountEndpointProperties": { + "type": "object", + "description": "The properties of SMB share endpoint.", + "x-ms-discriminator-value": "SmbMount", + "properties": { + "host": { + "description": "The host name or IP address of the server exporting the file system.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "shareName": { + "description": "The name of the SMB share being exported from the server.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "credentials": { + "description": "The Azure Key Vault secret URIs which store the required credentials to access the SMB share.", + "$ref": "#/definitions/AzureKeyVaultSmbCredentials" + } + }, + "required": [ + "host", + "shareName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "SmbMountEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "SmbMount", + "description": "The properties of SMB share endpoint to update.", + "properties": { + "credentials": { + "description": "The Azure Key Vault secret URIs which store the required credentials to access the SMB share.", + "$ref": "#/definitions/AzureKeyVaultSmbCredentials" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "EndpointType": { + "description": "The Endpoint resource type.", + "enum": [ + "AzureStorageBlobContainer", + "NfsMount", + "AzureStorageSmbFileShare", + "SmbMount" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true + } + }, + "CredentialType": { + "description": "The Credentials type.", + "enum": [ + "AzureKeyVaultSmb" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialType", + "modelAsString": true + } + }, + "Credentials": { + "description": "The Credentials.", + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "description": "The Credentials type.", + "$ref": "#/definitions/CredentialType", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "type" + ] + }, + "AzureKeyVaultSmbCredentials": { + "description": "The Azure Key Vault secret URIs which store the credentials.", + "type": "object", + "x-ms-discriminator-value": "AzureKeyVaultSmb", + "properties": { + "usernameUri": { + "description": "The Azure Key Vault secret URI which stores the username. Use empty string to clean-up existing value.", + "type": "string" + }, + "passwordUri": { + "description": "The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value.", + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Credentials" + } + ] + }, + "JobDefinitionProperties": { + "description": "Job definition properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Job Definition." + }, + "copyMode": { + "type": "string", + "description": "Strategy to use for copy.", + "x-ms-enum": { + "name": "CopyMode", + "modelAsString": true + }, + "enum": [ + "Additive", + "Mirror" + ] + }, + "sourceName": { + "type": "string", + "description": "The name of the source Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified resource ID of the source Endpoint.", + "readOnly": true + }, + "sourceSubpath": { + "type": "string", + "description": "The subpath to use when reading from the source Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetName": { + "type": "string", + "description": "The name of the target Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetResourceId": { + "type": "string", + "description": "Fully qualified resource ID of the target Endpoint.", + "readOnly": true + }, + "targetSubpath": { + "type": "string", + "description": "The subpath to use when writing to the target Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "latestJobRunName": { + "type": "string", + "description": "The name of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "latestJobRunResourceId": { + "type": "string", + "description": "The fully qualified resource ID of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "latestJobRunStatus": { + "enum": [ + "Queued", + "Started", + "Running", + "CancelRequested", + "Canceling", + "Canceled", + "Failed", + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunStatus", + "modelAsString": true + }, + "description": "The current status of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "agentName": { + "type": "string", + "description": "Name of the Agent to assign for new Job Runs of this Job Definition." + }, + "agentResourceId": { + "type": "string", + "description": "Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "copyMode", + "sourceName", + "targetName" + ] + }, + "JobDefinition": { + "description": "The Job Definition resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobDefinitionProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "JobDefinitionUpdateProperties": { + "description": "Job definition properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Job Definition." + }, + "copyMode": { + "type": "string", + "description": "Strategy to use for copy.", + "x-ms-enum": { + "name": "CopyMode", + "modelAsString": true + }, + "enum": [ + "Additive", + "Mirror" + ] + }, + "agentName": { + "type": "string", + "description": "Name of the Agent to assign for new Job Runs of this Job Definition." + } + } + }, + "JobDefinitionUpdateParameters": { + "description": "The Job Definition resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobDefinitionUpdateProperties" + } + } + }, + "JobDefinitionList": { + "description": "List of Job Definitions.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobDefinition" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "JobRunError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + } + } + }, + "JobRunProperties": { + "description": "Job run properties.", + "type": "object", + "properties": { + "status": { + "readOnly": true, + "enum": [ + "Queued", + "Started", + "Running", + "CancelRequested", + "Canceling", + "Canceled", + "Failed", + "Succeeded", + "PausedByBandwidthManagement" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunStatus", + "modelAsString": true + }, + "description": "The state of the job execution." + }, + "scanStatus": { + "readOnly": true, + "enum": [ + "NotStarted", + "Scanning", + "Completed" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunScanStatus", + "modelAsString": true + }, + "description": "The status of Agent's scanning of source." + }, + "agentName": { + "readOnly": true, + "type": "string", + "description": "Name of the Agent assigned to this run." + }, + "agentResourceId": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource id of the Agent assigned to this run." + }, + "executionStartTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Start time of the run. Null if no Agent reported that the job has started." + }, + "executionEndTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "End time of the run. Null if Agent has not reported that the job has ended." + }, + "lastStatusUpdate": { + "type": "string", + "format": "date-time", + "description": "The last updated time of the Job Run.", + "readOnly": true + }, + "itemsScanned": { + "type": "integer", + "format": "int64", + "description": "Number of items scanned so far in source.", + "readOnly": true + }, + "itemsExcluded": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are excluded by user configuration.", + "readOnly": true + }, + "itemsUnsupported": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are unsupported on target.", + "readOnly": true + }, + "itemsNoTransferNeeded": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).", + "readOnly": true + }, + "itemsFailed": { + "type": "integer", + "format": "int64", + "description": "Number of items that were attempted to transfer and failed.", + "readOnly": true + }, + "itemsTransferred": { + "type": "integer", + "format": "int64", + "description": "Number of items successfully transferred to target.", + "readOnly": true + }, + "bytesScanned": { + "type": "integer", + "format": "int64", + "description": "Bytes of data scanned so far in source.", + "readOnly": true + }, + "bytesExcluded": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are excluded by user configuration.", + "readOnly": true + }, + "bytesUnsupported": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are unsupported on target.", + "readOnly": true + }, + "bytesNoTransferNeeded": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).", + "readOnly": true + }, + "bytesFailed": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that were attempted to transfer and failed.", + "readOnly": true + }, + "bytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Bytes of data successfully transferred to target.", + "readOnly": true + }, + "sourceName": { + "type": "string", + "description": "Name of source Endpoint resource. This resource may no longer exist.", + "readOnly": true + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified resource id of source Endpoint. This id may no longer exist.", + "readOnly": true + }, + "sourceProperties": { + "type": "object", + "description": "Copy of source Endpoint resource's properties at time of Job Run creation.", + "readOnly": true + }, + "targetName": { + "type": "string", + "description": "Name of target Endpoint resource. This resource may no longer exist.", + "readOnly": true + }, + "targetResourceId": { + "type": "string", + "description": "Fully qualified resource id of of Endpoint. This id may no longer exist.", + "readOnly": true + }, + "targetProperties": { + "type": "object", + "description": "Copy of Endpoint resource's properties at time of Job Run creation.", + "readOnly": true + }, + "jobDefinitionProperties": { + "type": "object", + "description": "Copy of parent Job Definition's properties at time of Job Run creation.", + "readOnly": true + }, + "error": { + "readOnly": true, + "$ref": "#/definitions/JobRunError", + "description": "Error details." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "JobRun": { + "description": "The Job Run resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobRunProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "JobRunResourceId": { + "description": "Response that identifies a Job Run.", + "type": "object", + "properties": { + "jobRunResourceId": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource id of the Job Run." + } + } + }, + "JobRunList": { + "description": "List of Job Runs.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobRun" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "ProjectProperties": { + "description": "Project properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Project." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "Project": { + "description": "The Project resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProjectProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ProjectUpdateProperties": { + "description": "Project properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Project." + } + } + }, + "ProjectUpdateParameters": { + "description": "The Project resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProjectUpdateProperties" + } + } + }, + "ProjectList": { + "description": "List of Project resources.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Project" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "ProvisioningState": { + "description": "The provisioning state of a resource.", + "enum": [ + "Succeeded", + "Canceled", + "Failed", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "parameters": { + "AgentNameParameter": { + "name": "agentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Agent resource.", + "x-ms-parameter-location": "method" + }, + "StorageMoverNameParameter": { + "name": "storageMoverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Storage Mover resource.", + "x-ms-parameter-location": "method" + }, + "EndpointNameParameter": { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Endpoint resource.", + "x-ms-parameter-location": "method" + }, + "JobDefinitionNameParameter": { + "name": "jobDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Job Definition resource.", + "x-ms-parameter-location": "method" + }, + "JobRunNameParameter": { + "name": "jobRunName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Job Run resource.", + "x-ms-parameter-location": "method" + }, + "ProjectNameParameter": { + "name": "projectName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Project resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/storagemover/resource-manager/readme.md b/specification/storagemover/resource-manager/readme.md index dd6cc524d258..ecff19c7ab9d 100644 --- a/specification/storagemover/resource-manager/readme.md +++ b/specification/storagemover/resource-manager/readme.md @@ -27,18 +27,28 @@ These are the global settings for the storagemover. ``` yaml openapi-type: arm openapi-subtype: providerHub -tag: package-2023-10 +tag: package-2024-07 ``` +### Tag: package-2024-07 + +These settings apply only when `--tag=package-2024-07` is specified on the command line. + +```yaml $(tag) == 'package-2024-07' +input-file: + - Microsoft.StorageMover/stable/2024-07-01/storagemover.json +``` + ### Tag: package-2023-10 These settings apply only when `--tag=package-2023-10` is specified on the command line. -```yaml $(tag) == 'package-2023-10' +``` yaml $(tag) == 'package-2023-10' input-file: - Microsoft.StorageMover/stable/2023-10-01/storagemover.json ``` + ### Tag: package-preview-2023-07 These settings apply only when `--tag=package-preview-2023-07` is specified on the command line. diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 48f2c432c69b..a9c4f74bce4a 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -1360,7 +1360,7 @@ model WorkloadNetworkDhcpServer extends WorkloadNetworkDhcpEntity { serverAddress?: string; @doc("DHCP Server Lease Time.") - leaseTime?: int32; + leaseTime?: int64; @doc("Type of DHCP: SERVER or RELAY.") dhcpType: DhcpTypeEnum.SERVER; diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 7df2413fac30..e50c56d874fe 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -10304,7 +10304,7 @@ }, "leaseTime": { "type": "integer", - "format": "int32", + "format": "int64", "description": "DHCP Server Lease Time." } }, @@ -10325,7 +10325,7 @@ }, "leaseTime": { "type": "integer", - "format": "int32", + "format": "int64", "description": "DHCP Server Lease Time." } },