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

Adding new api version to devops RP #11585

Merged
merged 11 commits into from
Dec 24, 2020

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myAspNetWebAppPipeline-rg",
"pipelineName": "myAspNetWebAppPipeline",
"api-version": "2020-07-13-preview",
"createOperationParameters": {
"location": "South India",
"tags": {},
"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",
"location": "South India",
"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
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myAspNetWebAppPipeline-rg",
"pipelineName": "myAspNetWebAppPipeline",
"api-version": "2020-07-13-preview",
"createOperationParameters": {
"location": "South India",
"tags": {},
"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",
"location": "South India",
"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
}
}
}
}
}
}
}
}
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."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"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",
"location": "South India",
"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
}
}
}
}
}
}
}
}
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"
}
}
]
}
}
}
}
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": []
}
]
}
]
}
}
}
}
Loading