次の方法で共有


AFD Endpoints - Update

既存の AzureFrontDoor エンドポイントを、指定したサブスクリプション、リソース グループ、およびプロファイルの下の指定されたエンドポイント名で更新します。 エンドポイントの作成後に更新できるのはタグのみです。 配信元を更新するには、配信元の更新操作を使用します。 配信元グループを更新するには、配信元グループの更新操作を使用します。 ドメインを更新するには、カスタム ドメインの更新操作を使用します。

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}?api-version=2025-04-15

URI パラメーター

名前 / 必須 説明
endpointName
path True

string

グローバルに一意であるプロファイルの下のエンドポイントの名前。

profileName
path True

string

minLength: 1
maxLength: 260
pattern: ^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$

リソース グループ内で一意である Azure Front Door Standard または Azure Front Door Premium の名前。

resourceGroupName
path True

string

minLength: 1
maxLength: 90

リソース グループの名前。 名前は大文字と小文字が区別されます。

subscriptionId
path True

string (uuid)

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

api-version
query True

string

minLength: 1

この操作に使用する API バージョン。

要求本文

名前 説明
properties.enabledState

EnabledState

この規則の使用を有効にするかどうかを指定します。 許可される値は 'Enabled' または 'Disabled' です

tags

object

エンドポイント タグ。

応答

名前 説明
200 OK

AFDEndpoint

[OK]

202 Accepted

AFDEndpoint

承認された。 要求は処理のために受け入れられ、操作は非同期的に完了します。

ヘッダー

location: string

Other Status Codes

ErrorResponse

操作が失敗した理由を説明する Azure Front Door エラー応答

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

AFDEndpoints_Update

要求のサンプル

PATCH https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1?api-version=2025-04-15

{
  "tags": {},
  "properties": {
    "enabledState": "Enabled"
  }
}

応答のサンプル

{
  "name": "endpoint1",
  "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdendpoints/endpoint1",
  "type": "Microsoft.Cdn/profiles/afdendpoints",
  "tags": {},
  "location": "global",
  "properties": {
    "hostName": "endpoint1-ezh7ddcmguaeajfu.z01.azureedge.net",
    "enabledState": "Enabled",
    "provisioningState": "Succeeded",
    "deploymentStatus": "NotStarted",
    "autoGeneratedDomainNameLabelScope": "TenantReuse"
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2025-04-15
{
  "name": "endpoint1",
  "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdendpoints/endpoint1",
  "type": "Microsoft.Cdn/profiles/afdendpoints",
  "tags": {},
  "location": "global",
  "properties": {
    "hostName": "endpoint1-abcdefghijklmnop.z01.azurefd.net",
    "enabledState": "Enabled",
    "provisioningState": "Updating",
    "deploymentStatus": "NotStarted",
    "autoGeneratedDomainNameLabelScope": "TenantReuse"
  }
}

定義

名前 説明
AFDEndpoint

Azure Front Door エンドポイントは、配信元、プロトコル、コンテンツ キャッシュ、配信動作などの構成情報を含む Azure Front Door プロファイル内のエンティティです。 AzureFrontDoor エンドポイントでは、URL 形式の .azureedge.net が使用されます。

AFDEndpointUpdateParameters

エンドポイントを作成または更新するために必要なプロパティ。

AfdProvisioningState

プロビジョニング状態

AutoGeneratedDomainNameLabelScope

エンドポイント名の再利用スコープを示します。 既定値は TenantReuse です。

createdByType

リソースを作成した ID の種類。

DeploymentStatus
EnabledState

この規則の使用を有効にするかどうかを指定します。 許可される値は 'Enabled' または 'Disabled' です

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

systemData

リソースの作成と最後の変更に関連するメタデータ。

AFDEndpoint

Azure Front Door エンドポイントは、配信元、プロトコル、コンテンツ キャッシュ、配信動作などの構成情報を含む Azure Front Door プロファイル内のエンティティです。 AzureFrontDoor エンドポイントでは、URL 形式の .azureedge.net が使用されます。

名前 説明
id

string (arm-id)

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

リソースが存在する地理的な場所

name

string

リソースの名前

properties.autoGeneratedDomainNameLabelScope

AutoGeneratedDomainNameLabelScope

エンドポイント名の再利用スコープを示します。 既定値は TenantReuse です。

properties.deploymentStatus

DeploymentStatus

properties.enabledState

EnabledState

この規則の使用を有効にするかどうかを指定します。 許可される値は 'Enabled' または 'Disabled' です

properties.hostName

string

{endpointName} として構造化されたエンドポイントのホスト名。{DNSZone} (例: contoso.azureedge.net)

properties.profileName

string

エンドポイントを保持するプロファイルの名前。

properties.provisioningState

AfdProvisioningState

プロビジョニング状態

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソース タグ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

AFDEndpointUpdateParameters

エンドポイントを作成または更新するために必要なプロパティ。

名前 説明
properties.enabledState

EnabledState

この規則の使用を有効にするかどうかを指定します。 許可される値は 'Enabled' または 'Disabled' です

properties.profileName

string

エンドポイントを保持するプロファイルの名前。

tags

object

エンドポイント タグ。

AfdProvisioningState

プロビジョニング状態

説明
Creating
Deleting
Failed
Succeeded
Updating

AutoGeneratedDomainNameLabelScope

エンドポイント名の再利用スコープを示します。 既定値は TenantReuse です。

説明
NoReuse
ResourceGroupReuse
SubscriptionReuse
TenantReuse

createdByType

リソースを作成した ID の種類。

説明
Application
Key
ManagedIdentity
User

DeploymentStatus

説明
Failed
InProgress
NotStarted
Succeeded

EnabledState

この規則の使用を有効にするかどうかを指定します。 許可される値は 'Enabled' または 'Disabled' です

説明
Disabled
Enabled

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string (date-time)

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。