Skip to content

Commit

Permalink
Users/kegangum/fix errors (#9511)
Browse files Browse the repository at this point in the history
* added swagger for 'actionplan/operation/attempts' , 'operationresults' endpoints and corrected Product Package Secrets endpoint

* updated the pfx file name type

* fix LintDiff erros

* added locations endpoint and fixed other changes

* added actionplans to custom-words.txt and uodated ProductSecret.json

* updated locations endpoint response

* updated the location parameter to global

* added 404 and default responses

* added locations endpoint - list operation

* removed 404 response for the 'ProductDeployment-remove operation'

* Adding  'productDeployments/executeRunner/action''

* removed 404 responses

* added default error responses and deleted 404 responses for file containers

* removed older version in the read.md 'input-file' section

* changed details info in the "ExtendedErrorInfo"

* changed ExtendedErrorInfo object

* updating error definition

* changing error definition in 2018-07-01 version

* updated location responses

* changed the entity name

* Revert "changed the entity name"

This reverts commit 2c7e079.

* Revert "updated location responses"

This reverts commit 78bca1d.

* updated locations Get response

* change for New-AzFileContainer command

* added Parameter for the New-AzsProductPackage

* changed productId to packageId

* updated operationId for Bootstrap

* changed operationId for deploy action

* changed paramters to object

* changed the operation Ids

* changed operationIds for the right command names

* execute runner changes

* fixed path parameter for secrets and remove command name

* changed the secret name

* changed secret parameters

* added changes to resolve conflicts

* changed version number

* changed the version number

* changed the tag name

* to fix conflicts

* added swagger for missing endpoints of the Deployment Resource Provider

fixed CI failures

* fix LintDiff erros

added locations endpoint and fixed other changes

added actionplans to custom-words.txt and uodated ProductSecret.json

updated locations endpoint response

* updated the location parameter to global

added 404 and default responses

added locations endpoint - list operation

removed 404 response for the 'ProductDeployment-remove operation'

Adding  'productDeployments/executeRunner/action''

removed 404 responses

added default error responses and deleted 404 responses for file containers

removed older version in the read.md 'input-file' section

changed details info in the "ExtendedErrorInfo"

changed ExtendedErrorInfo object

updating error definition

changing error definition in 2018-07-01 version

updated location responses

changed the entity name

Revert "changed the entity name"

This reverts commit 2c7e079.

Revert "updated location responses"

This reverts commit 78bca1d.

updated locations Get response

change for New-AzFileContainer command

added Parameter for the New-AzsProductPackage

changed productId to packageId

updated operationId for Bootstrap

changed operationId for deploy action

changed paramters to object

changed the operation Ids

changed operationIds for the right command names

execute runner changes

fixed path parameter for secrets and remove command name

changed the secret name

changed secret parameters

added changes to resolve conflicts

changed version number

changed the version number

changed the tag name

to fix conflicts

* added 204 responses for delete operation
  • Loading branch information
kegangum authored Jul 24, 2020
1 parent eb83f3b commit 7e32fc1
Show file tree
Hide file tree
Showing 46 changed files with 2,126 additions and 225 deletions.
5 changes: 5 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ accountid
accountname
ACLs
aclspec
actionplans
acquisitionid
acrapi
activityruns
Expand Down Expand Up @@ -503,6 +504,7 @@ endpointkeys
endpointname
endswith
endtime
endTime
Enein
engagementfabric
endzone
Expand Down Expand Up @@ -1098,6 +1100,7 @@ PCNET
peerings
Pendingissuance
Pendingrevocation
percentComplete
perfcounters
perfmon
performant
Expand Down Expand Up @@ -1164,6 +1167,7 @@ projectable
Protectable
provisioner
provisioningservices
provisioningState
Psec
PSNR
ptrdname
Expand Down Expand Up @@ -1471,6 +1475,7 @@ startswith
starttask
starttaskfailed
starttime
startTime
stateful
staticsite
statusdir
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
{
"swagger": "2.0",
"info": {
"version": "2018-07-01",
"title": "DeploymentAdminClient",
"description": "Deployment Admin Client."
},
"host": "management.azure.com",
"schemes": [
"https"
],
"produces": [
"application/json"
],
"consumes": [
"application/json"
],
"paths": {
"/providers/Microsoft.Deployment.Admin/operations": {
"get": {
"x-ms-examples": {
"Returns the list of supported REST operations.": {
"$ref": "./examples/Operations/List.json"
}
},
"description": "Returns the list of supported REST operations.",
"tags": [
"Deployment"
],
"operationId": "Operations_List",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OperationList"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"Resource": {
"description": "Object model of azure resource manager base.",
"type": "object",
"properties": {
"id": {
"readOnly": true,
"description": "ID of the resource.",
"type": "string"
},
"name": {
"readOnly": true,
"description": "Name of the resource.",
"type": "string"
},
"type": {
"readOnly": true,
"description": "Type of Resource.",
"type": "string"
},
"location": {
"description": "Location of the resource.",
"type": "string"
}
},
"x-ms-azure-resource": true
},
"ExtendedErrorInfo": {
"type": "object",
"description": "Error response.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorDefinition",
"description": "The error details."
}
}
},
"ErrorDefinition": {
"type": "object",
"description": "Error definition.",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Internal error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"readOnly": true
}
}
},
"JTokenString": {
"description": "Error information",
"type": "object",
"properties": {
"value": {
"description": "Parameters as JToken string",
"type": "string"
}
}
},
"Operation": {
"description": "Describes the supported REST operation.",
"properties": {
"name": {
"description": "The name of the operation being performed on this particular object. This name should match the name that appears in RBAC or the event service.",
"type": "string"
},
"display": {
"description": "Contains the localized display information for this particular operation or action.",
"$ref": "#/definitions/Display"
},
"origin": {
"description": "Origin for the operation. Eg. User, System",
"type": "string"
}
}
},
"Display": {
"description": "Contains the localized display information for this particular operation or action.",
"properties": {
"provider": {
"description": "The localized, friendly version of the resource provider name. The provider name is expected to include the name of the publisher or company responsible. The provider name format should use title case and begin with \"Microsoft\" for first-party services. For example, the provider name may be\"Microsoft Monitoring Insights\" or \"Microsoft Compute.\"",
"type": "string"
},
"resource": {
"description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.",
"type": "string"
},
"operation": {
"description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.",
"type": "string"
},
"description": {
"description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.",
"type": "string"
}
}
},
"OperationList": {
"description": "List of Operations",
"properties": {
"value": {
"description": "Array of operations",
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"nextLink": {
"description": "URI to the next page of operations.",
"type": "string"
}
}
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"required": true,
"type": "string"
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "Client API Version.",
"required": true,
"type": "string",
"default": "2018-07-01"
},
"LocationParameter": {
"description": "Location of the resource.",
"name": "location",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"default": "2018-07-01"
},
"ProductIdParameter": {
"name": "productId",
"in": "path",
"description": "The product identifier.",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"PackageIdParameter": {
"name": "packageId",
"in": "path",
"description": "The package identifier.",
"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

0 comments on commit 7e32fc1

Please sign in to comment.