Web Apps - Create Or Update Host Name Binding
説明: アプリのホスト名バインドを作成します。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}?api-version=2023-12-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
host
|
path | True |
string |
ホスト名バインディング内のホスト名。 |
name
|
path | True |
string |
アプリの名前。 |
resource
|
path | True |
string |
リソースが属しているリソース グループの名前。 Regex pattern: |
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-00000000000000)。 |
api-version
|
query | True |
string |
API バージョン |
要求本文
名前 | 型 | 説明 |
---|---|---|
kind |
string |
リソースの種類。 |
properties.azureResourceName |
string |
Azure リソース名。 |
properties.azureResourceType |
Azure リソースの種類。 |
|
properties.customHostNameDnsRecordType |
カスタム DNS レコードの種類。 |
|
properties.domainId |
string |
完全修飾 ARM ドメイン リソース URI。 |
properties.hostNameType |
ホスト名の種類。 |
|
properties.siteName |
string |
アプリ名をApp Serviceします。 |
properties.sslState |
SSL の種類 |
|
properties.thumbprint |
string |
SSL 証明書の拇印 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
エラー応答をApp Serviceします。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
定義
名前 | 説明 |
---|---|
Azure |
Azure リソースの種類。 |
Custom |
カスタム DNS レコードの種類。 |
Default |
エラー応答をApp Serviceします。 |
Details | |
Error |
エラー モデル。 |
Host |
ホスト名バインド オブジェクト。 |
Host |
ホスト名の種類。 |
Ssl |
SSL の種類 |
AzureResourceType
Azure リソースの種類。
名前 | 型 | 説明 |
---|---|---|
TrafficManager |
string |
|
Website |
string |
CustomHostNameDnsRecordType
カスタム DNS レコードの種類。
名前 | 型 | 説明 |
---|---|---|
A |
string |
|
CName |
string |
DefaultErrorResponse
エラー応答をApp Serviceします。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
デバッグ エラーの詳細。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
HostNameBinding
ホスト名バインド オブジェクト。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
リソースの種類。 |
name |
string |
リソース名。 |
properties.azureResourceName |
string |
Azure リソース名。 |
properties.azureResourceType |
Azure リソースの種類。 |
|
properties.customHostNameDnsRecordType |
カスタム DNS レコードの種類。 |
|
properties.domainId |
string |
完全修飾 ARM ドメイン リソース URI。 |
properties.hostNameType |
ホスト名の種類。 |
|
properties.siteName |
string |
アプリ名をApp Serviceします。 |
properties.sslState |
SSL の種類 |
|
properties.thumbprint |
string |
SSL 証明書の拇印 |
properties.virtualIP |
string |
IP ベースの SSL が有効になっている場合、ホスト名に割り当てられた仮想 IP アドレス。 |
type |
string |
リソースの種類。 |
HostNameType
ホスト名の種類。
名前 | 型 | 説明 |
---|---|---|
Managed |
string |
|
Verified |
string |
SslState
SSL の種類
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
IpBasedEnabled |
string |
|
SniEnabled |
string |