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

Add GetVerificationId API #24286

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-02-preview",
"title": "ContainerApps API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/getVerificationId": {
"post": {
"tags": [
"Subscriptions"
],
"description": "Get the verification id of a subscription used for verifying custom domains",
"operationId": "GetVerificationId",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Seris370 marked this conversation as resolved.
Show resolved Hide resolved
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The verification id has been returned successfully.",
"schema": {
"$ref": "#/definitions/VerificationId"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List all operations": {
"$ref": "./examples/Subscriptions_GetVerificationId.json"
}
}
}
}
},
"definitions": {
"VerificationId": {
"description": "Verification Id of a subscription",
"type": "string",
"readOnly": true
}
},
"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,12 @@
{
"parameters": {
"subscriptionId": "d27c3573-f76e-4b26-b871-0ccd2203d08c",
"api-version": "2023-05-02-preview"
},
"responses": {
"200": {
"headers": {},
"body": "5B406D5E790BBD224468CE0AA814C396203C7CE755F135A80E35D41865E51967"
}
}
}
1 change: 1 addition & 0 deletions specification/app/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ input-file:
- Microsoft.App/preview/2023-05-02-preview/ManagedEnvironmentsDaprComponents.json
- Microsoft.App/preview/2023-05-02-preview/ManagedEnvironmentsStorages.json
- Microsoft.App/preview/2023-05-02-preview/SourceControls.json
- Microsoft.App/preview/2023-05-02-preview/Subscriptions.json
```
### Tag: package-preview-2023-04

Expand Down