-
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.
Adding Inference Pools, Groups and Endpoints recreated for #25783 for…
… rebased issue (#25819) * Adding Inference Pools, Groups and Endpoints * PR comments * remove EventLog and change data * remove EventLog and change data * moving endpoint as sibling to group * Moving back to the tracked resources * force change * fix the missing field --------- Co-authored-by: Raushan Kumar <raushank@microsoft.com>
- Loading branch information
1 parent
276272f
commit 3a815de
Showing
20 changed files
with
3,449 additions
and
82 deletions.
There are no files selected for viewing
132 changes: 132 additions & 0 deletions
132
...vices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/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,132 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg1", | ||
"workspaceName": "my-aml-workspace", | ||
"poolName": "string", | ||
"endpointName": "testEndpointName", | ||
"api-version": "2023-08-01-preview", | ||
"body": { | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"groupId": "string", | ||
"authMode": "AAD" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"userAssignedIdentities": { | ||
"string": {} | ||
} | ||
}, | ||
"sku": { | ||
"name": "string", | ||
"tier": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"provisioningState": "Canceled", | ||
"groupId": "string", | ||
"authMode": "AAD", | ||
"endpointUri": "https://www.contoso.com/example" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:19", | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:19", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "ManagedIdentity" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "SystemAssigned,UserAssigned", | ||
"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": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"groupId": "string", | ||
"authMode": "AAD", | ||
"endpointUri": "https://www.contoso.com/example" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:19", | ||
"createdBy": "string", | ||
"createdByType": "Key", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:19", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Key" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "None", | ||
"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": "Basic", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/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": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"poolName": "string", | ||
"endpointName": "testEndpointName", | ||
"api-version": "2023-08-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...LearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"poolName": "string", | ||
"endpointName": "testEndpointName", | ||
"api-version": "2023-08-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"provisioningState": "Failed", | ||
"groupId": "string", | ||
"authMode": "AAD", | ||
"endpointUri": "https://www.contoso.com/example" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:20", | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:20", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "ManagedIdentity" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"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": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...earningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/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,68 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"poolName": "string", | ||
"api-version": "2023-08-01-preview", | ||
"$skipToken": "string", | ||
"count": 1, | ||
"tags": "string", | ||
"properties": "string", | ||
"orderBy": "CreatedAtAsc" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"provisioningState": "Canceled", | ||
"groupId": "string", | ||
"authMode": "AAD", | ||
"endpointUri": "https://www.contoso.com/example" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:20", | ||
"createdBy": "string", | ||
"createdByType": "ManagedIdentity", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:20", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "ManagedIdentity" | ||
}, | ||
"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": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...rningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/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,67 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"poolName": "string", | ||
"endpointName": "testEndpointName", | ||
"api-version": "2023-08-01-preview", | ||
"body": { | ||
"tags": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"description": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"provisioningState": "Canceled", | ||
"groupId": "string", | ||
"authMode": "AAD", | ||
"endpointUri": "https://www.contoso.com/example" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:20", | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:20", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "None", | ||
"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 | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.