Domains - List
サブスクリプション内のすべてのドメインを取得する方法の説明。
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains?api-version=2023-12-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
subscription
|
path | True |
string |
Azure サブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-000000000000)。 |
api-version
|
query | True |
string |
API バージョン |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
わかりました |
|
Other Status Codes |
App Service エラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントを偽装する |
例
List domains by subscription
要求のサンプル
応答のサンプル
{
"value": [
{
"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",
"consent": {
"agreementKeys": [
"agreementKey1"
],
"agreedBy": "192.0.2.1",
"agreedAt": "2021-09-10T19:30:53Z"
},
"contactTech": {
"email": "tech@email.com",
"fax": "1-245-534-2242",
"nameFirst": "John",
"nameLast": "Doe",
"nameMiddle": "",
"jobTitle": "Tech",
"organization": "Microsoft Inc.",
"phone": "1-245-534-2242",
"addressMailing": {
"address1": "3400 State St",
"city": "Chicago",
"state": "IL",
"country": "United States",
"postalCode": "67098"
}
},
"contactBilling": {
"email": "billing@email.com",
"fax": "1-245-534-2242",
"nameFirst": "John",
"nameLast": "Doe",
"nameMiddle": "",
"jobTitle": "Billing",
"organization": "Microsoft Inc.",
"phone": "1-245-534-2242",
"addressMailing": {
"address1": "3400 State St",
"city": "Chicago",
"state": "IL",
"country": "United States",
"postalCode": "67098"
}
},
"contactAdmin": {
"email": "admin@email.com",
"fax": "1-245-534-2242",
"nameFirst": "John",
"nameLast": "Doe",
"nameMiddle": "",
"jobTitle": "Admin",
"organization": "Microsoft Inc.",
"phone": "1-245-534-2242",
"addressMailing": {
"address1": "3400 State St",
"city": "Chicago",
"state": "IL",
"country": "United States",
"postalCode": "67098"
}
},
"contactRegistrant": {
"email": "registrant@email.com",
"fax": "1-245-534-2242",
"nameFirst": "John",
"nameLast": "Doe",
"nameMiddle": "",
"jobTitle": "Registrant",
"organization": "Microsoft Inc.",
"phone": "1-245-534-2242",
"addressMailing": {
"address1": "3400 State St",
"city": "Chicago",
"state": "IL",
"country": "United States",
"postalCode": "67098"
}
}
}
}
]
}
定義
名前 | 説明 |
---|---|
Address |
ドメイン登録のアドレス情報。 |
Azure |
ホスト名が割り当てられている Azure リソースの種類。 |
Contact |
ドメイン登録の連絡先情報。 [ドメイン プライバシー] オプションが選択されていない場合、連絡先情報は ICANN 要件に従って Whois ディレクトリを通じて一般公開されます。 |
Custom |
DNS レコードの種類。 |
Default |
App Service エラー応答。 |
Details | |
Dns |
現在の DNS の種類 |
Domain |
ドメインに関する情報。 |
Domain |
ドメインのコレクション。 |
Domain |
該当する法的契約への同意を表すドメイン購入の同意オブジェクト。 |
Domain |
ドメイン登録の状態。 |
Error |
エラー モデル。 |
Host |
ドメインから派生したホスト名の詳細。 |
Host |
ホスト名の種類。 |
Provisioning |
ドメイン プロビジョニングの状態。 |
Resource |
ドメインが更新できない理由。 |
Address
ドメイン登録のアドレス情報。
名前 | 型 | 説明 |
---|---|---|
address1 |
string |
アドレスの最初の行。 |
address2 |
string |
アドレスの 2 行目。 随意。 |
city |
string |
住所の市区町村。 |
country |
string |
住所の国。 |
postalCode |
string |
住所の郵便番号。 |
state |
string |
住所の都道府県。 |
AzureResourceType
ホスト名が割り当てられている Azure リソースの種類。
値 | 説明 |
---|---|
TrafficManager | |
Website |
Contact
ドメイン登録の連絡先情報。 [ドメイン プライバシー] オプションが選択されていない場合、連絡先情報は ICANN 要件に従って Whois ディレクトリを通じて一般公開されます。
名前 | 型 | 説明 |
---|---|---|
addressMailing |
住所。 |
|
string |
アドレス。 |
|
fax |
string |
FAX 番号。 |
jobTitle |
string |
役職。 |
nameFirst |
string |
名前。 |
nameLast |
string |
名字。 |
nameMiddle |
string |
ミドルネーム。 |
organization |
string |
組織の連絡先が属しています。 |
phone |
string |
電話番号。 |
CustomHostNameDnsRecordType
DNS レコードの種類。
値 | 説明 |
---|---|
A | |
CName |
DefaultErrorResponse
App Service エラー応答。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
DnsType
現在の DNS の種類
値 | 説明 |
---|---|
AzureDns | |
DefaultDomainRegistrarDns |
Domain
ドメインに関する情報。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
id |
string |
リソース ID。 |
|
kind |
string |
リソースの種類。 |
|
location |
string |
リソースの場所。 |
|
name |
string |
リソース名。 |
|
properties.authCode |
string |
||
properties.autoRenew |
boolean |
True |
ドメインを自動的に更新する必要があるかどうかを |
properties.consent |
法的契約の同意。 |
||
properties.contactAdmin |
管理者の連絡先。 |
||
properties.contactBilling |
請求先の連絡先。 |
||
properties.contactRegistrant |
登録者の連絡先。 |
||
properties.contactTech |
技術的な連絡先。 |
||
properties.createdTime |
string (date-time) |
ドメイン作成のタイムスタンプ。 |
|
properties.dnsType |
現在の DNS の種類 |
||
properties.dnsZoneId |
string |
使用する Azure DNS ゾーン |
|
properties.domainNotRenewableReasons |
ドメインが更新できない理由。 |
||
properties.expirationTime |
string (date-time) |
ドメインの有効期限のタイムスタンプ。 |
|
properties.lastRenewedTime |
string (date-time) |
ドメインが最後に更新されたときのタイムスタンプ。 |
|
properties.managedHostNames |
Host |
ドメインから派生し、Azure リソースに割り当てられているすべてのホスト名。 |
|
properties.nameServers |
string[] |
ネーム サーバー。 |
|
properties.privacy |
boolean |
このドメインのドメイン プライバシーが有効になっている場合に |
|
properties.provisioningState |
ドメイン プロビジョニングの状態。 |
||
properties.readyForDnsRecordManagement |
boolean |
Azure がこのドメインを App Service アプリに割り当てることができるかどうかを |
|
properties.registrationStatus |
ドメイン登録の状態。 |
||
properties.targetDnsType |
ターゲット DNS の種類 (移行に使用されます) |
||
tags |
object |
リソース タグ。 |
|
type |
string |
リソースの種類。 |
DomainCollection
ドメインのコレクション。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
リソースの次のページへのリンク。 |
value |
Domain[] |
リソースのコレクション。 |
DomainPurchaseConsent
該当する法的契約への同意を表すドメイン購入の同意オブジェクト。
名前 | 型 | 説明 |
---|---|---|
agreedAt |
string (date-time) |
契約が承認されたときのタイムスタンプ。 |
agreedBy |
string |
クライアント IP アドレス。 |
agreementKeys |
string[] |
適用される法的契約キーの一覧。 このリストは、リソースの下の ListLegalAgreements API |
DomainStatus
ドメイン登録の状態。
値 | 説明 |
---|---|
Active | |
Awaiting | |
Cancelled | |
Confiscated | |
Disabled | |
Excluded | |
Expired | |
Failed | |
Held | |
JsonConverterFailed | |
Locked | |
Parked | |
Pending | |
Reserved | |
Reverted | |
Suspended | |
Transferred | |
Unknown | |
Unlocked | |
Unparked | |
Updated |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
デバッグ エラーの詳細。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
HostName
ドメインから派生したホスト名の詳細。
名前 | 型 | 説明 |
---|---|---|
azureResourceName |
string |
ホスト名が割り当てられている Azure リソースの名前。 Traffic Manager に割り当てられている場合は、Traffic Manager 名になります。それ以外の場合はアプリ名になります。 |
azureResourceType |
ホスト名が割り当てられている Azure リソースの種類。 |
|
customHostNameDnsRecordType |
DNS レコードの種類。 |
|
hostNameType |
ホスト名の種類。 |
|
name |
string |
ホスト名の名前。 |
siteNames |
string[] |
ホスト名が割り当てられているアプリの一覧。 この一覧には、ホスト名が Traffic Manager を指している場合にのみ、複数のアプリが含まれます。 |
HostNameType
ホスト名の種類。
値 | 説明 |
---|---|
Managed | |
Verified |
ProvisioningState
ドメイン プロビジョニングの状態。
値 | 説明 |
---|---|
Canceled | |
Deleting | |
Failed | |
InProgress | |
Succeeded |
ResourceNotRenewableReason
ドメインが更新できない理由。
値 | 説明 |
---|---|
ExpirationNotInRenewalTimeRange | |
RegistrationStatusNotSupportedForRenewal | |
SubscriptionNotActive |