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

Swagger for ASD Transfer out #16000

Merged
Show file tree
Hide file tree
Changes from all 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
Expand Up @@ -1404,6 +1404,7 @@
"properties": {
"$ref": "#/definitions/AppServiceCertificate",
"description": "Core resource properties",
"type": "object",
"x-ms-client-flatten": true
}
}
Expand All @@ -1420,6 +1421,7 @@
"properties": {
"$ref": "#/definitions/AppServiceCertificate",
"description": "Core resource properties",
"type": "object",
"x-ms-client-flatten": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,56 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut": {
"put": {
"tags": [
"Domains"
],
"summary": "Transfer out domain to another registrar",
"operationId": "Domains_TransferOut",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "domainName",
"in": "path",
"description": "Name of domain.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "Successfully returned transfer code to transfer domain to another registrar.",
"schema": {
"$ref": "#/definitions/Domain"
}
},
"400": {
"description": "Domain does not exist in Azure database",
"x-ms-error-response": true
},
calvinsID marked this conversation as resolved.
Show resolved Hide resolved
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "../../../Microsoft.Web/stable/2021-03-01/CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Transfer out domain": {
"$ref": "./examples/TransferOutDomain.json"
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"domainName": "example.com",
"api-version": "2021-03-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.DomainRegistration/domains/example.com",
"name": "example.com",
"type": "Microsoft.DomainRegistration/domains",
"location": "global",
"tags": {},
"properties": {
"authCode": "exampleAuthCode",
"registrationStatus": "Active",
"provisioningState": "Succeeded",
"nameServers": [
"ns01.ote.domaincontrol.com",
"ns02.ote.domaincontrol.com"
],
"privacy": false,
"createdTime": "2021-09-10T19:30:53Z",
"expirationTime": "2022-09-10T19:30:53Z",
"autoRenew": true,
"readyForDnsRecordManagement": true,
"managedHostNames": [],
"domainNotRenewableReasons": [
"ExpirationNotInRenewalTimeRange"
],
"dnsType": "DefaultDomainRegistrarDns"
}
}
},
"400": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8065,6 +8065,9 @@
}
],
"responses": {
"202": {
"description": "App restart started."
},
"200": {
"description": "Successfully restarted app."
},
Expand Down Expand Up @@ -17321,6 +17324,9 @@
}
],
"responses": {
"202": {
"description": "App restart started."
},
"200": {
"description": "Successfully restarted app."
},
Expand Down