-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,336 additions
and
0 deletions.
There are no files selected for viewing
870 changes: 870 additions & 0 deletions
870
...ification/devops/resource-manager/Microsoft.DevOps/preview/2020-07-13-preview/devops.json
Large diffs are not rendered by default.
Oops, something went wrong.
74 changes: 74 additions & 0 deletions
74
.../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,74 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"pipelineName": "myAspNetWebAppPipeline", | ||
"api-version": "2019-07-01-preview", | ||
"createOperationParameters": { | ||
"location": "South India", | ||
"tags": {}, | ||
"properties": { | ||
"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 Azure 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": { | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...rce-manager/Microsoft.DevOps/preview/2020-07-13-preview/examples/DeleteAzurePipeline.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": "2019-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Pipeline has been deleted successfully." | ||
}, | ||
"204": { | ||
"description": "The Azure Pipeline is not found or has been deleted already." | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...source-manager/Microsoft.DevOps/preview/2020-07-13-preview/examples/GetAzurePipeline.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": "2019-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure 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": { | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...crosoft.DevOps/preview/2020-07-13-preview/examples/ListAzurePipelinesByResourceGroup.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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "myAspNetWebAppPipeline-rg", | ||
"api-version": "2019-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Pipelines has been fetched successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", | ||
"name": "myAspNetWebAppPipeline", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"location": "South India", | ||
"properties": { | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...icrosoft.DevOps/preview/2020-07-13-preview/examples/ListAzurePipelinesBySubscription.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,71 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"api-version": "2019-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Pipelines have been fetched successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline", | ||
"name": "myAspNetWebAppPipeline", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"location": "South India", | ||
"properties": { | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg1/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline1", | ||
"name": "myAspNetWebAppPipeline1", | ||
"type": "Microsoft.DevOps/pipelines", | ||
"location": "South India", | ||
"properties": { | ||
"organization": { | ||
"name": "myAspNetWebAppPipeline-org1" | ||
}, | ||
"project": { | ||
"name": "myAspNetWebAppPipeline-project1" | ||
}, | ||
"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": "2019-07-01-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.