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

[MachineLearning]Try fixing some lint error in 10-01 version #25519

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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
}
}
},
"202": {}
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/AmlOperationListResult"
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
}
},
"default": {
Expand Down Expand Up @@ -154,7 +154,20 @@
}
},
"202": {
"description": "The request was successful; the request was well-formed and received properly."
"description": "Accepted",
"headers": {
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
},
"Retry-After": {
"description": "Duration the client should wait between requests, in seconds.",
"type": "integer",
"format": "int32",
"maximum": 600,
"minimum": 10
}
}
},
"default": {
"description": "Error response describing why the operation failed",
Expand Down Expand Up @@ -251,7 +264,20 @@
}
},
"202": {
"description": "The request was successful; the request was well-formed and received properly."
"description": "Accepted",
"headers": {
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
},
"Retry-After": {
"description": "Duration the client should wait between requests, in seconds.",
"type": "integer",
"format": "int32",
"maximum": 600,
"minimum": 10
}
}
},
"default": {
"description": "Error response describing why the operation failed",
Expand Down Expand Up @@ -457,7 +483,20 @@
"description": "The request was successful; the request was well-formed and received properly."
},
"202": {
"description": "The request was accepted; the request was well-formed and received properly."
"description": "Accepted",
"headers": {
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
},
"Retry-After": {
"description": "Duration the client should wait between requests, in seconds.",
"type": "integer",
"format": "int32",
"maximum": 600,
"minimum": 10
}
}
},
"default": {
"description": "Error response describing why the operation failed",
Expand Down Expand Up @@ -1538,7 +1577,20 @@
}
},
"202": {
"description": "The request was successful; the request was well-formed and received properly."
"description": "Accepted",
"headers": {
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
},
"Retry-After": {
"description": "Duration the client should wait between requests, in seconds.",
"type": "integer",
"format": "int32",
"maximum": 600,
"minimum": 10
}
}
},
"default": {
"description": "Error response describing why the operation failed",
Expand Down Expand Up @@ -1956,7 +2008,8 @@
"required": true,
"type": "string",
"description": "Friendly name of the workspace connection",
"x-ms-parameter-location": "method"
"x-ms-parameter-location": "method",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"
},
"TargetParameter": {
"in": "query",
Expand All @@ -1976,58 +2029,6 @@
}
},
"definitions": {
"AmlOperation": {
"description": "Azure Machine Learning workspace REST API operation",
"type": "object",
"properties": {
"name": {
"description": "Operation name: {provider}/{resource}/{operation}",
"type": "string"
},
"display": {
"description": "Display name of operation",
"type": "object",
"properties": {
"provider": {
"description": "The resource provider name: Microsoft.MachineLearningExperimentation",
"type": "string"
},
"resource": {
"description": "The resource on which the operation is performed.",
"type": "string"
},
"operation": {
"description": "The operation that users can perform.",
"type": "string"
},
"description": {
"description": "The description for the operation.",
"type": "string"
}
}
},
"isDataAction": {
"description": "Indicates whether the operation applies to data-plane",
"type": "boolean"
}
}
},
"AmlOperationListResult": {
"type": "object",
"description": "An array of operations supported by the resource provider.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/AmlOperation"
},
"x-ms-identifiers": [
"name"
],
"description": "List of AML workspace operations supported by the AML workspace resource provider."
}
}
},
"Workspace": {
"type": "object",
"description": "An object that represents a machine learning workspace.",
Expand Down