forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'InbalZim-storagemover-Microso…
…ft.StorageMover-RPSaaSMaster-2023-07-01-preview' (Azure#24390) * add or modify files * Updated `credentials` models according to PR Azure#24318 + reverted unwanted changes to `readme.md` * Removed URI format from SMB credentials to support it receiving empty string in order to clean-up their value * Removed extra hierarchy of `AzureStorageFileShareEndpointBaseProperties`
- Loading branch information
1 parent
efe335c
commit 59e62a5
Showing
42 changed files
with
4,377 additions
and
2 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...ger/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", | ||
"resourceGroupName": "examples-rg", | ||
"storageMoverName": "examples-storageMoverName", | ||
"agentName": "examples-agentName", | ||
"agent": { | ||
"properties": { | ||
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", | ||
"description": "Example Agent Description", | ||
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"properties": { | ||
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", | ||
"description": "Example Agent Description", | ||
"agentVersion": "1.0.0", | ||
"agentStatus": "Registering", | ||
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", | ||
"lastStatusUpdate": null, | ||
"localIPAddress": null, | ||
"memoryInMB": null, | ||
"numberOfCores": null, | ||
"uptimeInSeconds": null, | ||
"errorDetails": null | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rce-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", | ||
"resourceGroupName": "examples-rg", | ||
"storageMoverName": "examples-storageMoverName", | ||
"agentName": "examples-agentName" | ||
}, | ||
"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": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...source-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", | ||
"resourceGroupName": "examples-rg", | ||
"storageMoverName": "examples-storageMoverName", | ||
"agentName": "examples-agentName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"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-hybridComputeName", | ||
"description": "Example Agent 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": 100024, | ||
"numberOfCores": 32, | ||
"uptimeInSeconds": 522, | ||
"errorDetails": null | ||
} | ||
} | ||
} | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
...ource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", | ||
"resourceGroupName": "examples-rg", | ||
"storageMoverName": "examples-storageMoverName", | ||
"api-version": "2023-07-01-preview" | ||
}, | ||
"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": 100024, | ||
"numberOfCores": 32, | ||
"uptimeInSeconds": 522, | ||
"errorDetails": null | ||
} | ||
}, | ||
{ | ||
"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", | ||
"description": "Example Agent 2 Description", | ||
"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": 100024, | ||
"numberOfCores": 32, | ||
"uptimeInSeconds": 522, | ||
"errorDetails": null | ||
} | ||
}, | ||
{ | ||
"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", | ||
"description": "Example Agent 3 Description", | ||
"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": 522, | ||
"errorDetails": { | ||
"code": "SampleErrorCode", | ||
"message": "Detailed sample error message." | ||
} | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...rce-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", | ||
"resourceGroupName": "examples-rg", | ||
"storageMoverName": "examples-storageMoverName", | ||
"agentName": "examples-agentName", | ||
"agent": { | ||
"properties": { | ||
"description": "Updated Agent Description" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"properties": { | ||
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", | ||
"description": "Updated Agent 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": 100024, | ||
"numberOfCores": 32, | ||
"uptimeInSeconds": 522, | ||
"errorDetails": null | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...eview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"title": "Endpoints_CreateOrUpdate_AzureStorageBlobContainer", | ||
"operationId": "Endpoints_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...review/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"title": "Endpoints_CreateOrUpdate_AzureStorageSmbFileShare", | ||
"operationId": "Endpoints_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...t.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_NfsMount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"title": "Endpoints_CreateOrUpdate_NfsMount", | ||
"operationId": "Endpoints_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...t.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_SmbMount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"title": "Endpoints_CreateOrUpdate_SmbMount", | ||
"operationId": "Endpoints_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-07-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.