다음을 통해 공유


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 매개 변수

Name In(다음 안에) 필수 형식 Description
instanceName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$

인스턴스의 이름입니다.

registryEndpointName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$

RegistryEndpoint 리소스의 이름

resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

subscriptionId
path True

string (uuid)

대상 구독의 ID입니다. 값은 UUID여야 합니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

요청 본문

Name 형식 Description
extendedLocation

ExtendedLocation

리소스의 에지 위치입니다.

properties

RegistryEndpointProperties

이 리소스에 대한 리소스별 속성입니다.

응답

Name 형식 Description
200 OK

RegistryEndpointResource

리소스 'RegistryEndpointResource' 업데이트 작업에 성공했습니다.

201 Created

RegistryEndpointResource

리소스 'RegistryEndpointResource' 만들기 작업에 성공했습니다.

헤더

  • Azure-AsyncOperation: string
  • Retry-After: integer
Other Status Codes

ErrorResponse

예기치 않은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
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"
  }
}

정의

Name Description
createdByType

리소스를 만든 ID의 형식입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

ExtendedLocation

확장된 위치는 Azure 위치의 확장입니다. Azure ARC 지원 Kubernetes 클러스터를 Azure 서비스 인스턴스를 배포하기 위한 대상 위치로 사용하는 방법을 제공합니다.

ExtendedLocationType

ExtendedLocation의 열거형 정의 형식이 허용됩니다.

ProvisioningState

자원의 상태를 정의하는 열거형입니다.

RegistryEndpointAnonymousAuthentication

익명 인증

RegistryEndpointArtifactPullSecretAuthentication

아티팩트 끌어오기 시크릿 인증

RegistryEndpointArtifactPullSecretSettings

RegistryEndpoint 아티팩트 끌어오기 시크릿 인증 속성

RegistryEndpointAuthenticationMethod

인증 방법입니다.

RegistryEndpointProperties

RegistryEndpoint 속성

RegistryEndpointResource

RegistryEndpoint 리소스

RegistryEndpointSystemAssignedIdentityAuthentication

시스템 할당 ID 인증

RegistryEndpointSystemAssignedManagedIdentitySettings

시스템 할당 관리 ID 속성

RegistryEndpointTrustedSigningKeyConfigMap

configmap을 통해 제공되는 RegistryEndpoint 신뢰에 대한 설정입니다.

RegistryEndpointTrustedSigningKeySecret

RegistryEndpoint 트러스트에 대한 설정은 비밀을 통해 제공됩니다.

RegistryEndpointTrustedSigningKeyType

RegistryEndpointTrustedSigningKeyType 값

RegistryEndpointUserAssignedIdentityAuthentication

사용자 지정 ID 인증

RegistryEndpointUserAssignedManagedIdentitySettings

사용자 할당 관리 ID 속성

ResourceHealthState

리소스의 상태입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

createdByType

리소스를 만든 ID의 형식입니다.

Description
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorDetail[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

ExtendedLocation

확장된 위치는 Azure 위치의 확장입니다. Azure ARC 지원 Kubernetes 클러스터를 Azure 서비스 인스턴스를 배포하기 위한 대상 위치로 사용하는 방법을 제공합니다.

Name 형식 Description
name

string

확장된 위치의 이름입니다.

type

ExtendedLocationType

ExtendedLocation의 형식입니다.

ExtendedLocationType

ExtendedLocation의 열거형 정의 형식이 허용됩니다.

Description
CustomLocation

CustomLocation 유형

ProvisioningState

자원의 상태를 정의하는 열거형입니다.

Description
Succeeded

리소스가 만들어졌습니다.

Failed

리소스를 만들지 못했습니다.

Canceled

리소스 만들기가 취소되었습니다.

Provisioning

리소스가 프로비전되고 있습니다.

Updating

리소스가 업데이트 중입니다.

Deleting

리소스가 삭제 중입니다.

Accepted

리소스가 수락되었습니다.

RegistryEndpointAnonymousAuthentication

익명 인증

Name 형식 Description
anonymousSettings

RegistryEndpointAnonymousSettings

익명 인증 속성

method string:

Anonymous

인증 방법입니다.

RegistryEndpointArtifactPullSecretAuthentication

아티팩트 끌어오기 시크릿 인증

Name 형식 Description
artifactPullSecretSettings

RegistryEndpointArtifactPullSecretSettings

아티팩트 끌어오기 시크릿 인증 속성

method string:

ArtifactPullSecret

인증 방법입니다.

RegistryEndpointArtifactPullSecretSettings

RegistryEndpoint 아티팩트 끌어오기 시크릿 인증 속성

Name 형식 Description
secretRef

string

아티팩트 풀 시크릿을 포함하는 쿠버네티스 시크릿의 이름입니다.

RegistryEndpointAuthenticationMethod

인증 방법입니다.

Description
SystemAssignedManagedIdentity

SystemAssignedManagedIdentity 형식

UserAssignedManagedIdentity

UserAssignedManagedIdentity 형식

Anonymous

익명 옵션

ArtifactPullSecret

아티팩트 끌어오기 시크릿 인증

RegistryEndpointProperties

RegistryEndpoint 속성

Name 형식 Default value Description
authentication RegistryEndpointAuthentication:

Azure Container Registry에 대한 인증 설정입니다.

codeSigningCas RegistryEndpointTrustedSigningKey[]:

레지스트리 엔드포인트의 아티팩트에서 사용하는 서명 인증 기관

healthState

ResourceHealthState

Unknown

리소스의 상태입니다.

host

string

minLength: 3
maxLength: 63

Container Registry 엔드포인트 호스트 이름입니다.

provisioningState

ProvisioningState

마지막 작업의 상태입니다.

RegistryEndpointResource

RegistryEndpoint 리소스

Name 형식 Description
extendedLocation

ExtendedLocation

리소스의 에지 위치입니다.

id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

리소스의 이름

properties

RegistryEndpointProperties

이 리소스에 대한 리소스별 속성입니다.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

RegistryEndpointSystemAssignedIdentityAuthentication

시스템 할당 ID 인증

Name 형식 Description
method string:

SystemAssignedManagedIdentity

인증 방법입니다.

systemAssignedManagedIdentitySettings

RegistryEndpointSystemAssignedManagedIdentitySettings

시스템 할당 관리 ID 속성

RegistryEndpointSystemAssignedManagedIdentitySettings

시스템 할당 관리 ID 속성

Name 형식 Description
audience

string

인증할 서비스의 대상 그룹입니다. 선택적; 는 서비스 호스트 구성에 대한 대상 그룹을 기본값으로 설정합니다.

RegistryEndpointTrustedSigningKeyConfigMap

configmap을 통해 제공되는 RegistryEndpoint 신뢰에 대한 설정입니다.

Name 형식 Description
configMapRef

string

configmap의 이름입니다.

type string:

ConfigMap

레지스트리 엔드포인트의 신뢰 유형입니다.

RegistryEndpointTrustedSigningKeySecret

RegistryEndpoint 트러스트에 대한 설정은 비밀을 통해 제공됩니다.

Name 형식 Description
secretRef

string

비밀의 이름입니다.

type string:

Secret

레지스트리 엔드포인트의 신뢰 유형입니다.

RegistryEndpointTrustedSigningKeyType

RegistryEndpointTrustedSigningKeyType 값

Description
Secret

Kubernetes 시크릿에 저장된 신뢰 설정.

ConfigMap

Kubernetes ConfigMap에 저장된 신뢰 설정.

RegistryEndpointUserAssignedIdentityAuthentication

사용자 지정 ID 인증

Name 형식 Description
method string:

UserAssignedManagedIdentity

인증 방법입니다.

userAssignedManagedIdentitySettings

RegistryEndpointUserAssignedManagedIdentitySettings

사용자 할당 관리 ID 속성

RegistryEndpointUserAssignedManagedIdentitySettings

사용자 할당 관리 ID 속성

Name 형식 Description
clientId

string

사용자가 할당한 관리 ID에 대한 클라이언트 ID입니다.

scope

string

.default 접미사가 부착된 리소스의 리소스 식별자(애플리케이션 ID URI)입니다.

tenantId

string

테넌트 ID.

ResourceHealthState

리소스의 상태입니다.

Description
Available

리소스가 사용 가능하고 예상대로 작동합니다.

Degraded

리소스 상태가 저하됩니다.

Unavailable

리소스가 예상대로 작동하지 않습니다.

Unknown

리소스 상태를 알 수 없습니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.