forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new api version to devops RP (Azure#11585)
* Initial commit as per PR review * Actual changes to api spec for new version * Switching to multi-api build for python * Fix python spec to correct namespaces in multiapi mode * Revert changes to python generation * Add systemdata * Fix the path for sys data reference * Fix path once more * remove additional properties after including systemdata * Remove more addtional properties * Move system data to root
- Loading branch information
suyash691
authored and
josuh
committed
Jan 6, 2021
1 parent
90e6543
commit 5231d14
Showing
15 changed files
with
1,515 additions
and
2 deletions.
There are no files selected for viewing
925 changes: 925 additions & 0 deletions
925
...ification/devops/resource-manager/Microsoft.DevOps/preview/2020-07-13-preview/devops.json
Large diffs are not rendered by default.
Oops, something went wrong.
73 changes: 73 additions & 0 deletions
73
.../preview/2020-07-13-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"pipelineName": "myAspNetWebAppPipeline", | ||
"api-version": "2020-07-13-preview", | ||
"createOperationParameters": { | ||
"properties": { | ||
"pipelineType": "azurePipeline", | ||
"organization": { | ||
"name": "myAspNetWebAppPipeline-org" | ||
}, | ||
"project": { | ||
"name": "myAspNetWebAppPipeline-project" | ||
}, | ||
"bootstrapConfiguration": { | ||
"template": { | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroup": "myAspNetWebAppPipeline-rg", | ||
"webAppName": "myAspNetWebApp", | ||
"location": "South India", | ||
"appServicePlan": "S1 Standard", | ||
"appInsightLocation": "South India", | ||
"azureAuth": "{\"scheme\":\"ServicePrincipal\",\"parameters\":{\"tenantid\":\"{subscriptionTenantId}\",\"objectid\":\"{appObjectId}\",\"serviceprincipalid\":\"{appId}\",\"serviceprincipalkey\":\"{appSecret}\"}}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously.", | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline/operations/{operationId}", | ||
"retry-after": "5" | ||
} | ||
}, | ||
"200": { | ||
"description": "The Pipeline has been configured successfully.", | ||
"body": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", | ||
"name": "myAspNetWebAppPipeline", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"properties": { | ||
"pipelineType": "azurePipeline", | ||
"organization": { | ||
"name": "myAspNetWebAppPipeline-org" | ||
}, | ||
"project": { | ||
"name": "myAspNetWebAppPipeline-project" | ||
}, | ||
"bootstrapConfiguration": { | ||
"template": { | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroup": "myAspNetWebAppPipeline-rg", | ||
"webAppName": "myAspNetWebApp", | ||
"location": "South India", | ||
"appServicePlan": "S1 Standard", | ||
"appInsightLocation": "South India", | ||
"azureAuth": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
...preview/2020-07-13-preview/examples/CreateGitHubPipeline-Sample-AspNet-WindowsWebApp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"pipelineName": "myAspNetWebAppPipeline", | ||
"api-version": "2020-07-13-preview", | ||
"createOperationParameters": { | ||
"properties": { | ||
"pipelineType": "githubWorkflow", | ||
"repository": { | ||
"repositoryType": "gitHub", | ||
"id": "contoso/myAspNetWebAppPipeline-org", | ||
"defaultBranch": "master", | ||
"authorization": { | ||
"authorizationType": "personalAccessToken", | ||
"parameters": { | ||
"token": "mypat" | ||
} | ||
} | ||
}, | ||
"bootstrapConfiguration": { | ||
"template": { | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroup": "myAspNetWebAppPipeline-rg", | ||
"webAppName": "myAspNetWebApp", | ||
"location": "South India", | ||
"appServicePlan": "S1 Standard", | ||
"appInsightLocation": "South India", | ||
"azureAuth": "{\"scheme\":\"ServicePrincipal\",\"parameters\":{\"tenantid\":\"{subscriptionTenantId}\",\"objectid\":\"{appObjectId}\",\"serviceprincipalid\":\"{appId}\",\"serviceprincipalkey\":\"{appSecret}\"}}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously.", | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline/operations/{operationId}", | ||
"retry-after": "5" | ||
} | ||
}, | ||
"200": { | ||
"description": "The Pipeline has been configured successfully.", | ||
"body": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", | ||
"name": "myAspNetWebAppPipeline", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"properties": { | ||
"pipelineType": "githubWorkflow", | ||
"repository": { | ||
"repositoryType": "gitHub", | ||
"id": "contoso/myAspNetWebAppPipeline-org", | ||
"defaultBranch": "master" | ||
}, | ||
"bootstrapConfiguration": { | ||
"template": { | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroup": "myAspNetWebAppPipeline-rg", | ||
"webAppName": "myAspNetWebApp", | ||
"location": "South India", | ||
"appServicePlan": "S1 Standard", | ||
"appInsightLocation": "South India", | ||
"azureAuth": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...resource-manager/Microsoft.DevOps/preview/2020-07-13-preview/examples/DeletePipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"pipelineName": "myAspNetWebAppPipeline", | ||
"api-version": "2020-07-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Pipeline has been deleted successfully." | ||
}, | ||
"204": { | ||
"description": "The Pipeline is not found or has been deleted already." | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...ps/resource-manager/Microsoft.DevOps/preview/2020-07-13-preview/examples/GetPipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"pipelineName": "myAspNetWebAppPipeline", | ||
"api-version": "2020-07-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Pipeline has been configured successfully.", | ||
"body": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", | ||
"name": "myAspNetWebAppPipeline", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"properties": { | ||
"pipelineType": "azurePipeline", | ||
"organization": { | ||
"name": "myAspNetWebAppPipeline-org" | ||
}, | ||
"project": { | ||
"name": "myAspNetWebAppPipeline-project" | ||
}, | ||
"bootstrapConfiguration": { | ||
"template": { | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroup": "myAspNetWebAppPipeline-rg", | ||
"webAppName": "myAspNetWebApp", | ||
"location": "South India", | ||
"appServicePlan": "S1 Standard", | ||
"appInsightLocation": "South India", | ||
"azureAuth": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...resource-manager/Microsoft.DevOps/preview/2020-07-13-preview/examples/ListOperations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of supported operations has been fetched successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.DevOps/register/action", | ||
"isDataAction": "false", | ||
"display": { | ||
"provider": "Microsoft DevOps", | ||
"resource": "register", | ||
"operation": "Register for Microsoft.DevOps", | ||
"description": "Registers the specified subscription with Microsoft.DevOps resource provider and enables the creation of Pipelines" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.DevOps/pipelines/write", | ||
"isDataAction": "false", | ||
"display": { | ||
"provider": "Microsoft DevOps", | ||
"resource": "Pipelines", | ||
"operation": "Create or Update Pipeline", | ||
"description": "Creates or Updates any Pipeline" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.DevOps/pipelines/read", | ||
"isDataAction": "false", | ||
"display": { | ||
"provider": "Microsoft DevOps", | ||
"resource": "Pipelines", | ||
"operation": "Read Pipeline", | ||
"description": "Reads any Pipeline" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.DevOps/pipelines/delete", | ||
"isDataAction": "false", | ||
"display": { | ||
"provider": "Microsoft DevOps", | ||
"resource": "Pipelines", | ||
"operation": "Delete Pipeline", | ||
"description": "Deletes any Pipeline" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.DevOps/pipelineTemplateDefinitions/read", | ||
"isDataAction": "false", | ||
"display": { | ||
"provider": "Microsoft DevOps", | ||
"resource": "PipelineTemplateDefinitions", | ||
"operation": "Read PipelineTemplateDefinition", | ||
"description": "Reads any PipelineTemplateDefinition" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
107 changes: 107 additions & 0 deletions
107
...Microsoft.DevOps/preview/2020-07-13-preview/examples/ListPipelineTemplateDefinitions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The pipeline template definitions have been fetched successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp", | ||
"description": "Template for configuring CI/CD pipeline for ASP.Net app on Azure windows app service", | ||
"inputs": [ | ||
{ | ||
"id": "azureAuth", | ||
"description": "Authorization for Azure ARM endpoints.", | ||
"type": "String", | ||
"possibleValues": [] | ||
}, | ||
{ | ||
"id": "subscriptionId", | ||
"description": "Id of subscription where azure resources will be created.", | ||
"type": "String", | ||
"possibleValues": [] | ||
}, | ||
{ | ||
"id": "resourceGroup", | ||
"description": "A resource group is a collection of resources that share the same lifecycle, permissions, and policies. Name of resource group which should contain web app.", | ||
"type": "String", | ||
"possibleValues": [] | ||
}, | ||
{ | ||
"id": "webAppName", | ||
"description": "Name of web app to be created", | ||
"type": "String", | ||
"possibleValues": [] | ||
}, | ||
{ | ||
"id": "location", | ||
"description": "Choose the Azure region that's right for you and your customers.", | ||
"type": "String", | ||
"possibleValues": [] | ||
}, | ||
{ | ||
"id": "appServicePlan", | ||
"description": "Details of cost and compute resource associated with the web app", | ||
"type": "String", | ||
"possibleValues": [ | ||
{ | ||
"value": "P1 Premium", | ||
"displayValue": "P1 Premium (1 Core, 1.75 GB RAM)" | ||
}, | ||
{ | ||
"value": "P2 Premium", | ||
"displayValue": "P2 Premium (2 Core, 3.5 GB RAM)" | ||
}, | ||
{ | ||
"value": "P3 Premium", | ||
"displayValue": "P3 Premium (4 Core, 7 GB RAM)" | ||
}, | ||
{ | ||
"value": "S1 Standard", | ||
"displayValue": "S1 Standard (1 Core, 1.75 GB RAM)" | ||
}, | ||
{ | ||
"value": "S2 Standard", | ||
"displayValue": "S2 Standard (2 Core, 3.5 GB RAM)" | ||
}, | ||
{ | ||
"value": "S3 Standard", | ||
"displayValue": "S3 Standard (4 Core, 7 GB RAM)" | ||
}, | ||
{ | ||
"value": "B1 Basic", | ||
"displayValue": "B1 Basic (1 Core, 1.75 GB RAM)" | ||
}, | ||
{ | ||
"value": "B2 Basic", | ||
"displayValue": "B2 Basic (2 Core, 3.5 GB RAM)" | ||
}, | ||
{ | ||
"value": "B3 Basic", | ||
"displayValue": "B3 Basic (4 Core, 7 GB RAM)" | ||
}, | ||
{ | ||
"value": "F1 Free", | ||
"displayValue": "F1 Free" | ||
}, | ||
{ | ||
"value": "D1 Shared", | ||
"displayValue": "D1 Shared" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "appInsightLocation", | ||
"description": "Collect application monitoring data using Application Insights.", | ||
"type": "String", | ||
"possibleValues": [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.