Skip to content

Commit

Permalink
[webapp]:Add endpoint for AppService CLI Github token endpoint (Azure…
Browse files Browse the repository at this point in the history
…#11036)

* Copied over from 2020-06-01

* Changed from 2020-06 to 2020-09

* Added api specs for github auth endpoint

* Copy over Microsoft.CertificateRegistration and Microsoft.DomainRegistration, and small fixes

* Add systemdata

* Add in missing commondefinitions and webapps.json that wasn't copied over from old version

Co-authored-by: Calvin Chan <calcha@microsoft.com>
  • Loading branch information
2 people authored and giromm2ms committed Dec 20, 2020
1 parent 32fc3a5 commit 688844c
Show file tree
Hide file tree
Showing 110 changed files with 54,668 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"swagger": "2.0",
"info": {
"version": "2020-09-01",
"title": "CertificateRegistrationProvider API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.CertificateRegistration/operations": {
"get": {
"tags": [
"CertificateRegistrationProvider"
],
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"description": "Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"operationId": "CertificateRegistrationProvider_ListOperations",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2020-09-01/CommonDefinitions.json#/definitions/CsmOperationCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2020-09-01/CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List operations": {
"$ref": "./examples/ListOperations.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {},
"parameters": {
"subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
"required": true,
"type": "string"
},
"apiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "API Version",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"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,184 @@
{
"parameters": {
"api-version": "2020-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Write",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Add or Update Certificate",
"description": "Add a new certificate or update an existing one"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Write",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Add or Update AppServiceCertificate",
"description": "Add a new certificateOrder or update an existing one"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Delete",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Delete Certificate",
"description": "Delete an existing certificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Delete",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Delete AppServiceCertificate",
"description": "Delete an existing AppServiceCertificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/Read",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Get CertificateOrders",
"description": "Get the list of CertificateOrders"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/certificates/Read",
"display": {
"provider": "Microsoft Certificates",
"resource": "Certificate",
"operation": "Get Certificates",
"description": "Get the list of certificates"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/reissue/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Reissue certificateorder",
"description": "Reissue an existing certificateorder"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/renew/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Renew certificateorder",
"description": "Renew an existing certificateorder"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/retrieveCertificateActions/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificateorder actions",
"description": "Retrieve the list of certificate actions"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/retrieveEmailHistory/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificateorder email history",
"description": "Retrieve certificate email history"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendEmail/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Resend Certificateorder email",
"description": "Resend certificate email"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/verifyDomainOwnership/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Verify domain ownership",
"description": "Verify domain ownership"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Resend request emails to another email address",
"description": "Resend request emails to another email address"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/certificateOrders/resendRequestEmails/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Retrieve site seal for an issued App Service Certificate",
"description": "Retrieve site seal for an issued App Service Certificate"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/provisionGlobalAppServicePrincipalInUserTenant/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Provision service principal",
"description": "Provision service principal for service app principal"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/validateCertificateRegistrationInformation/Action",
"display": {
"provider": "Microsoft Certificates",
"resource": "AppServiceCertificate",
"operation": "Certificate Purchase Info Validation",
"description": "Validate certificate purchase object without submitting it"
},
"origin": "user,system"
},
{
"name": "Microsoft.CertificateRegistration/register/action",
"display": {
"provider": "Microsoft Certificates",
"resource": "Microsoft Certificates resource provider",
"operation": "Register Microsoft Certificates resource provider",
"description": "Register the Microsoft Certificates resource provider for the subscription"
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"swagger": "2.0",
"info": {
"version": "2020-09-01",
"title": "DomainRegistrationProvider API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.DomainRegistration/operations": {
"get": {
"tags": [
"DomainRegistrationProvider"
],
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"description": "Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
"operationId": "DomainRegistrationProvider_ListOperations",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2020-09-01/CommonDefinitions.json#/definitions/CsmOperationCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2020-09-01/CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List operations": {
"$ref": "./examples/ListOperations.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {},
"parameters": {
"subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
"required": true,
"type": "string"
},
"apiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "API Version",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Loading

0 comments on commit 688844c

Please sign in to comment.