-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Registries 2023-04-01 Swagger (#23085)
* add swagger + examples * fix readme * fix readme * switching to autogenerated registries swagger * fix spellcheck * update ga examples * previous API version for comparison = 2023-02-01-preview * new API version for comparison = 2023-04-01 * update examples * update swagger, examples to fix pr gates * fix lint diff errors * delete should have a 202 response, update createorupdate examples, fix removeRegions operation * removeRegions -> LRO POST operation * fix LRO options on removeRegions * add registryNameParamert * update swagger * update * PATCH property should have sku, identity properties * fix example --------- Co-authored-by: Komal Yadav <komalyadav@microsoft.com>
- Loading branch information
Showing
13 changed files
with
2,408 additions
and
0 deletions.
There are no files selected for viewing
278 changes: 278 additions & 0 deletions
278
...eLearningServices/stable/2023-04-01/examples/Registries/createOrUpdate-SystemCreated.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,278 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"registryName": "string", | ||
"api-version": "2023-04-01", | ||
"body": { | ||
"properties": { | ||
"regionDetails": [ | ||
{ | ||
"location": "string", | ||
"storageAccountDetails": [ | ||
{ | ||
"systemCreatedStorageAccount": { | ||
"storageAccountName": "string", | ||
"storageAccountType": "string", | ||
"storageAccountHnsEnabled": false, | ||
"armResourceId": { | ||
"resourceId": "string" | ||
}, | ||
"allowBlobPublicAccess": false | ||
} | ||
} | ||
], | ||
"acrDetails": [ | ||
{ | ||
"systemCreatedAcrAccount": { | ||
"acrAccountName": "string", | ||
"acrAccountSku": "string", | ||
"armResourceId": { | ||
"resourceId": "string" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"intellectualPropertyPublisher": "string", | ||
"publicNetworkAccess": "string", | ||
"discoveryUrl": "string", | ||
"managedResourceGroup": { | ||
"resourceId": "string" | ||
}, | ||
"mlFlowRegistryUri": "string", | ||
"privateEndpointConnections": [ | ||
{ | ||
"id": "string", | ||
"location": "string", | ||
"properties": { | ||
"provisioningState": "string", | ||
"privateEndpoint": { | ||
"subnetArmId": "string" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "string", | ||
"actionsRequired": "string" | ||
}, | ||
"groupIds": [ | ||
"string" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "None", | ||
"userAssignedIdentities": { | ||
"string": {} | ||
} | ||
}, | ||
"sku": { | ||
"name": "string", | ||
"tier": "Free", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444", | ||
"userAssignedIdentities": { | ||
"string": { | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"clientId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
}, | ||
"sku": { | ||
"name": "string", | ||
"tier": "Free", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
}, | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"regionDetails": [ | ||
{ | ||
"location": "string", | ||
"storageAccountDetails": [ | ||
{ | ||
"systemCreatedStorageAccount": { | ||
"storageAccountName": "string", | ||
"storageAccountType": "string", | ||
"storageAccountHnsEnabled": false, | ||
"armResourceId": { | ||
"resourceId": "string" | ||
}, | ||
"allowBlobPublicAccess": false | ||
} | ||
} | ||
], | ||
"acrDetails": [ | ||
{ | ||
"systemCreatedAcrAccount": { | ||
"acrAccountName": "string", | ||
"acrAccountSku": "string", | ||
"armResourceId": { | ||
"resourceId": "string" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"intellectualPropertyPublisher": "string", | ||
"publicNetworkAccess": "string", | ||
"discoveryUrl": "string", | ||
"managedResourceGroup": { | ||
"resourceId": "string" | ||
}, | ||
"mlFlowRegistryUri": "string", | ||
"privateEndpointConnections": [ | ||
{ | ||
"id": "string", | ||
"location": "string", | ||
"properties": { | ||
"provisioningState": "string", | ||
"privateEndpoint": { | ||
"id": "string", | ||
"subnetArmId": "string" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "string", | ||
"actionsRequired": "string" | ||
}, | ||
"groupIds": [ | ||
"string" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:38", | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:38", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444", | ||
"userAssignedIdentities": { | ||
"string": { | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"clientId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
}, | ||
"sku": { | ||
"name": "string", | ||
"tier": "Free", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
}, | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"regionDetails": [ | ||
{ | ||
"location": "string", | ||
"storageAccountDetails": [ | ||
{ | ||
"systemCreatedStorageAccount": { | ||
"storageAccountName": "string", | ||
"storageAccountType": "string", | ||
"storageAccountHnsEnabled": false, | ||
"armResourceId": { | ||
"resourceId": "string" | ||
}, | ||
"allowBlobPublicAccess": false | ||
} | ||
} | ||
], | ||
"acrDetails": [ | ||
{ | ||
"systemCreatedAcrAccount": { | ||
"acrAccountName": "string", | ||
"acrAccountSku": "string", | ||
"armResourceId": { | ||
"resourceId": "string" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"intellectualPropertyPublisher": "string", | ||
"publicNetworkAccess": "string", | ||
"discoveryUrl": "string", | ||
"managedResourceGroup": { | ||
"resourceId": "string" | ||
}, | ||
"mlFlowRegistryUri": "string", | ||
"privateEndpointConnections": [ | ||
{ | ||
"id": "string", | ||
"location": "string", | ||
"properties": { | ||
"provisioningState": "string", | ||
"privateEndpoint": { | ||
"id": "string", | ||
"subnetArmId": "string" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "string", | ||
"actionsRequired": "string" | ||
}, | ||
"groupIds": [ | ||
"string" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:38", | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:38", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.