Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFE April 2023 staging #23164

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2752,4 +2752,3 @@ remediatable
Overprovisioning
Unprepares
Unpreparing

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"api-version": "2021-04-01"
"api-version": "2023-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
"isDefault": false,
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureBlob",
"accountName": "string",
Expand Down Expand Up @@ -75,7 +78,10 @@
"isDefault": false,
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureBlob",
"accountName": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
"authorityUrl": "string",
"resourceUrl": "string",
"tenantId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
"clientId": "00000000-1111-2222-3333-444444444444",
"secrets": {
"secretsType": "ServicePrincipal"
}
},
"datastoreType": "AzureDataLakeGen1",
"storeName": "string"
Expand Down Expand Up @@ -79,7 +82,10 @@
"authorityUrl": "string",
"resourceUrl": "string",
"tenantId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
"clientId": "00000000-1111-2222-3333-444444444444",
"secrets": {
"secretsType": "ServicePrincipal"
}
},
"datastoreType": "AzureDataLakeGen1",
"storeName": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
"authorityUrl": "string",
"resourceUrl": "string",
"tenantId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
"clientId": "00000000-1111-2222-3333-444444444444",
"secrets": {
"secretsType": "ServicePrincipal"
}
},
"datastoreType": "AzureDataLakeGen2",
"filesystem": "string",
Expand Down Expand Up @@ -85,7 +88,10 @@
"authorityUrl": "string",
"resourceUrl": "string",
"tenantId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
"clientId": "00000000-1111-2222-3333-444444444444",
"secrets": {
"secretsType": "ServicePrincipal"
}
},
"datastoreType": "AzureDataLakeGen2",
"filesystem": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
},
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureFile",
"accountName": "string",
Expand Down Expand Up @@ -73,7 +76,10 @@
},
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureFile",
"accountName": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"isDefault": false,
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureBlob",
"accountName": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"isDefault": false,
"properties": null,
"credentials": {
"credentialsType": "AccountKey"
"credentialsType": "AccountKey",
"secrets": {
"secretsType": "AccountKey"
}
},
"datastoreType": "AzureBlob",
"accountName": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"id": "string",
"api-version": "2023-04-01-preview",
"api-version": "2023-04-01",
"body": {
"properties": {
"description": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"id": "string",
"api-version": "2023-04-01-preview"
"api-version": "2023-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"api-version": "2023-04-01-preview"
"api-version": "2023-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
"api-version": "2023-04-01"
},
"responses": {
"200": {},
"202": {}
"200": {
"headers": {
"location": "string"
}
},
"202": {
"headers": {
"location": "string"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@
"api-version": "2023-04-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
"200": {
"headers": {
"location": "string"
}
},
"202": {
"headers": {
"location": "string"
}
},
"204": {
"headers": {
"location": "string"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
}
}
},
"202": {}
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
}
}
},
"202": {}
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg123",
"registryName": "testregistry",
"api-version": "2023-04-01",
"codeName": "testContainer",
"body": {
"properties": {
"description": "string",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/registries/testregistry/codes/testContainer",
"name": "testContainer",
"type": "Microsoft.MachineLearningServices/registries/codes",
"properties": {
"description": "string",
"tags": {
"property1": "string",
"property2": "string"
}
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is tags inside of properties? This isn't normal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please address this?

"systemData": {
"createdAt": "2020-12-01T12:00:00.000Z",
"createdBy": "John Smith",
"createdByType": "User",
"lastModifiedAt": "2020-12-01T12:00:00.000Z",
"lastModifiedBy": "John Smith",
"lastModifiedByType": "User"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/registries/testregistry/codes/testContainer",
"name": "testContainer",
"type": "Microsoft.MachineLearningServices/registries/codes",
"properties": {
"description": "string",
"tags": {
"property1": "string",
"property2": "string"
}
},
"systemData": {
"createdAt": "2020-12-01T12:00:00.000Z",
"createdBy": "John Smith",
"createdByType": "User",
"lastModifiedAt": "2020-12-01T12:00:00.000Z",
"lastModifiedBy": "John Smith",
"lastModifiedByType": "User"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg123",
"registryName": "testregistry",
"api-version": "2023-04-01",
"codeName": "testContainer"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg123",
"registryName": "testregistry",
"api-version": "2023-04-01",
"codeName": "testContainer"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/registries/testworkspace/codes/testContainer",
"name": "testContainer",
"type": "Microsoft.MachineLearningServices/registries/codes",
"properties": {
"description": "string",
"tags": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tags

why is tags inside of properties instead of at top level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok to answer this question and the question above, we have a legacy exception to use tags at the property level. But it's only for our "assets"-code/model/etc and job types

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARm will not be able to use these tags I dont think policy etc will work with this scheme

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the latest response.

"property1": "string",
"property2": "string"
}
},
"systemData": {
"createdAt": "2020-12-01T12:00:00.000Z",
"createdBy": "John Smith",
"createdByType": "User",
"lastModifiedAt": "2020-08-01T12:00:00.000Z",
"lastModifiedBy": "John Smith",
"lastModifiedByType": "User"
}
}
}
}
}
Loading