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

Add operation result objects #5469

Merged
merged 4 commits into from
Apr 11, 2019
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
@@ -0,0 +1,188 @@
{
"swagger": "2.0",
cednation marked this conversation as resolved.
Show resolved Hide resolved
"info": {
"description": "Application operation results.",
"title": "FabricAdminClient",
"version": "2016-05-01"
},
"host": "adminmanagement.local.azurestack.external",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/applicationOperationResults/{operation}": {
"get": {
"x-ms-examples": {
"Returns the status of the operation.": {
"$ref": "./examples/ApplicationOperationResult/Get.json"
}
},
"tags": [
"ApplicationOperationResults"
],
"description": "Returns the status of an application operation.",
"operationId": "ApplicationOperationResults_Get",
"parameters": [
{
"$ref": "Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "#/parameters/OperationParameter"
},
{
"$ref": "Fabric.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationOperationResult"
}
},
"404": {
sergey-shandar marked this conversation as resolved.
Show resolved Hide resolved
"description": "NOT FOUND"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/applicationOperationResults": {
"get": {
"x-ms-examples": {
"Returns a list of all application operation results at a location.": {
"$ref": "./examples/ApplicationOperationResult/List.json"
}
},
"tags": [
"ApplicationOperationResults"
],
"description": "Returns a list of all application operation results at a location.",
"operationId": "ApplicationOperationResults_List",
"parameters": [
{
"$ref": "Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "Fabric.json#/parameters/ApiVersionParameter"
},
{
"$ref": "Fabric.json#/parameters/FilterParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationOperationResultList"
}
},
"404": {
"description": "NOT FOUND"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-odata": "#/definitions/ApplicationOperationResult"
}
}
},
"definitions": {
"ApplicationOperationResult": {
"description": "Application operation result description.",
"type": "object",
"properties": {
"properties": {
"description": "Application operation result properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApplicationOperationResultModel"
}
},
"allOf": [
{
"$ref": "Fabric.json#/definitions/Resource"
}
]
},
"ApplicationOperationResultModel": {
"description": "Application operation result properties.",
"type": "object",
"properties": {
"instances": {
"description": "List of operation result instances.",
"type": "array",
"items": {
"type": "string"
}
},
"provisioningState": {
"description": "Success or failure of operation.",
"type": "string"
}
}
},
"ApplicationOperationResultList": {
"description": "Pageable list of application operation results.",
"type": "object",
"properties": {
"value": {
"description": "List of application operation results.",
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationOperationResult"
}
},
"nextLink": {
"description": "URI to the next page.",
"type": "string"
}
}
}
},
"parameters": {
"OperationParameter": {
"name": "operation",
"description": "Operation identifier.",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"swagger": "2.0",
"info": {
"description": "Compute operation results.",
"title": "FabricAdminClient",
"version": "2016-05-01"
},
"host": "adminmanagement.local.azurestack.external",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/computeOperationResults/{operation}": {
"get": {
"x-ms-examples": {
"Returns the status of the operation.": {
"$ref": "./examples/ComputeOperationResult/Get.json"
}
},
"tags": [
"ComputeOperationResults"
],
"description": "Returns the status of a compute operation.",
"operationId": "ComputeOperationResults_Get",
"parameters": [
{
"$ref": "Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "#/parameters/OperationParameter"
},
{
"$ref": "Fabric.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ComputeOperationResult"
}
},
"404": {
"description": "NOT FOUND"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/computeOperationResults": {
"get": {
"x-ms-examples": {
"Returns a list of all compute operation results at a location.": {
"$ref": "./examples/ComputeOperationResult/List.json"
}
},
"tags": [
"ComputeOperationResults"
],
"description": "Returns a list of all compute operation results at a location.",
"operationId": "ComputeOperationResults_List",
"parameters": [
{
"$ref": "Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "Fabric.json#/parameters/ApiVersionParameter"
},
{
"$ref": "Fabric.json#/parameters/FilterParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ComputeOperationResultList"
}
},
"404": {
"description": "NOT FOUND"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-odata": "#/definitions/ComputeOperationResult"
}
}
},
"definitions": {
"ComputeOperationResult": {
"description": "Compute operation result description.",
"type": "object",
"properties": {
"properties": {
"description": "Compute operation result properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/ComputeOperationResultModel"
}
},
"allOf": [
{
"$ref": "Fabric.json#/definitions/Resource"
}
]
},
"ComputeOperationResultModel": {
"description": "Compute operation result properties.",
"type": "object",
"properties": {
"instances": {
"description": "List of operation result instances.",
"type": "array",
"items": {
"type": "string"
}
},
"provisioningState": {
"description": "Success or failure of operation.",
"type": "string"
}
}
},
"ComputeOperationResultList": {
"description": "Pageable list of compute operation results.",
"type": "object",
"properties": {
"value": {
"description": "List of compute operation results.",
"type": "array",
"items": {
"$ref": "#/definitions/ComputeOperationResult"
}
},
"nextLink": {
"description": "URI to the next page.",
"type": "string"
}
}
}
},
"parameters": {
"OperationParameter": {
"name": "operation",
"description": "Operation identifier.",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Loading