Registry Endpoint - Create Or Update
RegistryEndpointResource を作成する
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/registryEndpoints/{registryEndpointName}?api-version=2026-03-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
instance
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ |
インスタンスの名前。 |
|
registry
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ |
RegistryEndpoint リソースの名前 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前は大文字と小文字が区別されます。 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
要求本文
| 名前 | 型 | 説明 |
|---|---|---|
| extendedLocation |
リソースのエッジの場所。 |
|
| properties |
このリソースのリソース固有のプロパティ。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
リソース 'RegistryEndpointResource' の更新操作に成功しました |
|
| 201 Created |
リソース 'RegistryEndpointResource' の作成操作に成功しました ヘッダー
|
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| user_impersonation | ユーザーアカウントになりすます |
例
RegistryEndpoint_CreateOrUpdate_MaximumSet
要求のサンプル
PUT https://management.azure.com/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.IoTOperations/instances/resource-123/registryEndpoints/resource-123?api-version=2026-03-01
{
"properties": {
"host": "contoso.azurecr.io",
"authentication": {
"method": "Anonymous",
"anonymousSettings": {}
},
"codeSigningCas": [
{
"type": "Secret",
"secretRef": "my-secret"
},
{
"type": "ConfigMap",
"configMapRef": "my-configmap"
}
]
},
"extendedLocation": {
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
"type": "CustomLocation"
}
}
応答のサンプル
{
"properties": {
"host": "contoso.azurecr.io",
"authentication": {
"method": "Anonymous",
"anonymousSettings": {}
},
"codeSigningCas": [
{
"type": "Secret",
"secretRef": "my-secret"
},
{
"type": "ConfigMap",
"configMapRef": "my-configmap"
}
],
"provisioningState": "Succeeded"
},
"extendedLocation": {
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
"type": "CustomLocation"
},
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/registryEndpoints/resource-name123",
"name": "resource-name123",
"type": "Microsoft.IoTOperations/registryEndpoints",
"systemData": {
"createdBy": "contosouser",
"createdByType": "User",
"createdAt": "2024-08-09T18:13:29.389Z",
"lastModifiedBy": "contosouser",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
}
}
Azure-AsyncOperation: https://contoso.com/operationstatus
{
"properties": {
"host": "contoso.azurecr.io",
"authentication": {
"method": "Anonymous",
"anonymousSettings": {}
},
"provisioningState": "Accepted"
},
"extendedLocation": {
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
"type": "CustomLocation"
},
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/registryEndpoints/resource-name123",
"name": "resource-name123",
"type": "Microsoft.IoTOperations/registryEndpoints",
"systemData": {
"createdBy": "contosouser",
"createdByType": "User",
"createdAt": "2024-08-09T18:13:29.389Z",
"lastModifiedBy": "contosouser",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
}
}
定義
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細です。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
ExtendedLocation
拡張された場所は、Azure の場所の拡張機能です。 Azure ARC 対応 Kubernetes クラスターを、Azure サービス インスタンスをデプロイするためのターゲットの場所として使用する方法を提供します。
| 名前 | 型 | 説明 |
|---|---|---|
| name |
string |
拡張された場所の名前。 |
| type |
ExtendedLocation の種類。 |
ExtendedLocationType
ExtendedLocation の列挙型を定義する型が受け入れられます。
| 値 | 説明 |
|---|---|
| CustomLocation |
CustomLocation タイプ |
ProvisioningState
リソースの状態を定義する列挙型。
| 値 | 説明 |
|---|---|
| Succeeded |
リソースが作成されました。 |
| Failed |
リソースの作成に失敗しました。 |
| Canceled |
リソースの作成が取り消されました。 |
| Provisioning |
リソースがプロビジョニングされています。 |
| Updating |
リソースが更新中です。 |
| Deleting |
リソースが削除中です。 |
| Accepted |
リソースが受け入れられました。 |
RegistryEndpointAnonymousAuthentication
匿名認証
| 名前 | 型 | 説明 |
|---|---|---|
| anonymousSettings |
Registry |
匿名認証プロパティ |
| method |
string:
Anonymous |
認証方法。 |
RegistryEndpointArtifactPullSecretAuthentication
アーティファクトプルシークレット認証
| 名前 | 型 | 説明 |
|---|---|---|
| artifactPullSecretSettings |
アーティファクト・プル・シークレット認証プロパティー |
|
| method |
string:
Artifact |
認証方法。 |
RegistryEndpointArtifactPullSecretSettings
RegistryEndpoint アーティファクト プル シークレット認証プロパティ
| 名前 | 型 | 説明 |
|---|---|---|
| secretRef |
string |
アーティファクト・プル・シークレットを含むkubernetesシークレットの名前。 |
RegistryEndpointAuthenticationMethod
認証方法。
| 値 | 説明 |
|---|---|
| SystemAssignedManagedIdentity |
SystemAssignedManagedIdentity 型 |
| UserAssignedManagedIdentity |
UserAssignedManagedIdentity 型 |
| Anonymous |
匿名オプション |
| ArtifactPullSecret |
アーティファクトプルシークレット認証 |
RegistryEndpointProperties
RegistryEndpoint プロパティ
| 名前 | 型 | 規定値 | 説明 |
|---|---|---|---|
| authentication | RegistryEndpointAuthentication: |
Azure Container Registry の認証設定。 |
|
| codeSigningCas | RegistryEndpointTrustedSigningKey[]: |
レジストリエンドポイントの成果物によって使用される署名認証局 |
|
| healthState | Unknown |
リソースの正常性状態。 |
|
| host |
string minLength: 3maxLength: 63 |
コンテナー・レジストリ・エンドポイントのホスト名。 |
|
| provisioningState |
最後の操作の状態。 |
RegistryEndpointResource
RegistryEndpoint リソース
| 名前 | 型 | 説明 |
|---|---|---|
| extendedLocation |
リソースのエッジの場所。 |
|
| id |
string (arm-id) |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
リソースの名前 |
| properties |
このリソースのリソース固有のプロパティ。 |
|
| systemData |
createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
|
| type |
string |
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
RegistryEndpointSystemAssignedIdentityAuthentication
システム割り当て ID 認証
| 名前 | 型 | 説明 |
|---|---|---|
| method |
string:
System |
認証方法。 |
| systemAssignedManagedIdentitySettings |
システム割り当てマネージド ID プロパティ |
RegistryEndpointSystemAssignedManagedIdentitySettings
システム割り当てマネージド ID プロパティ
| 名前 | 型 | 説明 |
|---|---|---|
| audience |
string |
認証対象のサービスの対象ユーザー。 随意;は、サービス ホスト構成の対象ユーザーに既定で設定されます。 |
RegistryEndpointTrustedSigningKeyConfigMap
configmap を介して提供される RegistryEndpoint 信頼の設定。
| 名前 | 型 | 説明 |
|---|---|---|
| configMapRef |
string |
configmap の名前。 |
| type |
string:
Config |
レジストリエンドポイントの信頼の種類。 |
RegistryEndpointTrustedSigningKeySecret
シークレットを介して提供される RegistryEndpoint 信頼の設定。
| 名前 | 型 | 説明 |
|---|---|---|
| secretRef |
string |
シークレットの名前。 |
| type |
string:
Secret |
レジストリエンドポイントの信頼の種類。 |
RegistryEndpointTrustedSigningKeyType
RegistryEndpointTrustedSigningKeyType 値
| 値 | 説明 |
|---|---|
| Secret |
Kubernetes シークレットに格納されている信頼設定。 |
| ConfigMap |
Kubernetes ConfigMap に保存されている信頼設定。 |
RegistryEndpointUserAssignedIdentityAuthentication
ユーザー割り当て ID 認証
| 名前 | 型 | 説明 |
|---|---|---|
| method |
string:
User |
認証方法。 |
| userAssignedManagedIdentitySettings |
ユーザー割り当てマネージド ID プロパティ |
RegistryEndpointUserAssignedManagedIdentitySettings
ユーザー割り当てマネージド ID プロパティ
| 名前 | 型 | 説明 |
|---|---|---|
| clientId |
string |
ユーザー割り当てマネージド ID のクライアント ID。 |
| scope |
string |
リソースのリソース識別子 (アプリケーション ID URI) 。.default サフィックスが付いています。 |
| tenantId |
string |
テナント ID。 |
ResourceHealthState
リソースの正常性状態。
| 値 | 説明 |
|---|---|
| Available |
リソースは使用可能で、期待どおりに機能しています。 |
| Degraded |
リソースの正常性が低下します。 |
| Unavailable |
リソースが期待どおりに機能していません。 |
| Unknown |
リソースの状態は不明です。 |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |