Skip to content

Commit

Permalink
Adding Inference Pools, Groups and Endpoints recreated for #25783 for…
Browse files Browse the repository at this point in the history
… 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
raushan2016 and Raushan Kumar authored Sep 29, 2023
1 parent 276272f commit 3a815de
Show file tree
Hide file tree
Showing 20 changed files with 3,449 additions and 82 deletions.
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
}
}
}
}
}
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": {}
}
}
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
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 3a815de

Please sign in to comment.