Registry Endpoint - Create Or Update
RegistryEndpointResource oluşturma
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/registryEndpoints/{registryEndpointName}?api-version=2026-03-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
instance
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ |
Örneğin adı. |
|
registry
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ |
RegistryEndpoint kaynağının adı |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız. |
|
subscription
|
path | True |
string (uuid) |
Hedef aboneliğin kimliği. Değer bir UUID olmalıdır. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
İstek Gövdesi
| Name | Tür | Description |
|---|---|---|
| extendedLocation |
Kaynağın kenar konumu. |
|
| properties |
Bu kaynağın kaynağa özgü özellikleri. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Kaynak 'RegistryEndpointResource' güncelleştirme işlemi başarılı oldu |
|
| 201 Created |
Kaynak 'RegistryEndpointResource' oluşturma işlemi başarılı oldu Üst Bilgiler
|
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 akışı.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
| Name | Description |
|---|---|
| user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
RegistryEndpoint_CreateOrUpdate_MaximumSet
Örnek isteği
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"
}
}
Örnek yanıt
{
"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"
}
}
Tanımlar
| Name | Description |
|---|---|
|
created |
Kaynağı oluşturan kimliğin türü. |
|
Error |
Kaynak yönetimi hatası ek bilgileri. |
|
Error |
Hata ayrıntısı. |
|
Error |
Hata yanıtı |
|
Extended |
Genişletilmiş konum, Azure konumlarının bir uzantısıdır. Azure ARC özellikli Kubernetes kümelerini Azure hizmetleri örneklerini dağıtmak için hedef konumlar olarak kullanmanın bir yolunu sağlar. |
|
Extended |
ExtendedLocation sabit listesi tanımlayıcı türü kabul edildi. |
|
Provisioning |
Kaynağın durumunu tanımlayan numaralandırma. |
|
Registry |
Anonim kimlik doğrulaması |
|
Registry |
Yapıt Çekme Gizli Dizisi kimlik doğrulaması |
|
Registry |
RegistryEndpoint Yapıt Çekme Gizli Dizisi kimlik doğrulama özellikleri |
|
Registry |
Kimlik doğrulama yöntemi. |
|
Registry |
RegistryEndpoint özellikleri |
|
Registry |
RegistryEndpoint kaynağı |
|
Registry |
Sistem tarafından atanan kimlik doğrulama |
|
Registry |
Sistem tarafından atanan yönetilen kimlik özellikleri |
|
Registry |
RegistryEndpoint güveni ayarları bir yapılandırma haritası aracılığıyla sağlanır. |
|
Registry |
Gizli dizi aracılığıyla sağlanan RegistryEndpoint güveni ayarları. |
|
Registry |
RegistryEndpointTrustedSigningKeyType değerleri |
|
Registry |
Kullanıcı tarafından atanan kimlik doğrulama |
|
Registry |
Kullanıcı tarafından atanan yönetilen kimlik özellikleri |
|
Resource |
Kaynağın sistem durumu. |
|
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
createdByType
Kaynağı oluşturan kimliğin türü.
| Değer | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
| Name | Tür | Description |
|---|---|---|
| info |
object |
Ek bilgiler. |
| type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
| Name | Tür | Description |
|---|---|---|
| additionalInfo |
Hata ek bilgileri. |
|
| code |
string |
Hata kodu. |
| details |
Hata ayrıntıları. |
|
| message |
string |
Hata iletisi. |
| target |
string |
Hata hedefi. |
ErrorResponse
Hata yanıtı
| Name | Tür | Description |
|---|---|---|
| error |
Hata nesnesi. |
ExtendedLocation
Genişletilmiş konum, Azure konumlarının bir uzantısıdır. Azure ARC özellikli Kubernetes kümelerini Azure hizmetleri örneklerini dağıtmak için hedef konumlar olarak kullanmanın bir yolunu sağlar.
| Name | Tür | Description |
|---|---|---|
| name |
string |
Genişletilmiş konumun adı. |
| type |
ExtendedLocation türü. |
ExtendedLocationType
ExtendedLocation sabit listesi tanımlayıcı türü kabul edildi.
| Değer | Description |
|---|---|
| CustomLocation |
CustomLocation türü |
ProvisioningState
Kaynağın durumunu tanımlayan numaralandırma.
| Değer | Description |
|---|---|
| Succeeded |
Kaynak oluşturuldu. |
| Failed |
Kaynak oluşturulamadı. |
| Canceled |
Kaynak oluşturma işlemi iptal edildi. |
| Provisioning |
Kaynak sağlanıyor. |
| Updating |
Kaynak Güncelleniyor. |
| Deleting |
Kaynak Siliniyor. |
| Accepted |
Kaynak Kabul Edildi. |
RegistryEndpointAnonymousAuthentication
Anonim kimlik doğrulaması
| Name | Tür | Description |
|---|---|---|
| anonymousSettings |
Registry |
Anonim kimlik doğrulama özellikleri |
| method |
string:
Anonymous |
Kimlik doğrulama yöntemi. |
RegistryEndpointArtifactPullSecretAuthentication
Yapıt Çekme Gizli Dizisi kimlik doğrulaması
| Name | Tür | Description |
|---|---|---|
| artifactPullSecretSettings |
Yapıt Çekme Gizli Anahtarı kimlik doğrulama özellikleri |
|
| method |
string:
Artifact |
Kimlik doğrulama yöntemi. |
RegistryEndpointArtifactPullSecretSettings
RegistryEndpoint Yapıt Çekme Gizli Dizisi kimlik doğrulama özellikleri
| Name | Tür | Description |
|---|---|---|
| secretRef |
string |
Yapıt çekme gizli dizisini içeren kubernetes gizli dizisinin adı. |
RegistryEndpointAuthenticationMethod
Kimlik doğrulama yöntemi.
| Değer | Description |
|---|---|
| SystemAssignedManagedIdentity |
SystemAssignedManagedIdentity türü |
| UserAssignedManagedIdentity |
UserAssignedManagedIdentity türü |
| Anonymous |
Anonim Seçenek |
| ArtifactPullSecret |
Yapıt Çekme Gizli Dizisi kimlik doğrulaması |
RegistryEndpointProperties
RegistryEndpoint özellikleri
| Name | Tür | Default value | Description |
|---|---|---|---|
| authentication | RegistryEndpointAuthentication: |
Azure Container Registry için kimlik doğrulama ayarları. |
|
| codeSigningCas | RegistryEndpointTrustedSigningKey[]: |
Kayıt defteri uç noktasındaki yapıtlar tarafından kullanılan imzalama sertifikası yetkilileri |
|
| healthState | Unknown |
Kaynağın sistem durumu. |
|
| host |
string minLength: 3maxLength: 63 |
Container Registry uç nokta ana bilgisayar adı. |
|
| provisioningState |
Son işlemin durumu. |
RegistryEndpointResource
RegistryEndpoint kaynağı
| Name | Tür | Description |
|---|---|---|
| extendedLocation |
Kaynağın kenar konumu. |
|
| id |
string (arm-id) |
Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
Kaynağın adı |
| properties |
Bu kaynağın kaynağa özgü özellikleri. |
|
| systemData |
createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri. |
|
| type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
RegistryEndpointSystemAssignedIdentityAuthentication
Sistem tarafından atanan kimlik doğrulama
| Name | Tür | Description |
|---|---|---|
| method |
string:
System |
Kimlik doğrulama yöntemi. |
| systemAssignedManagedIdentitySettings |
Sistem tarafından atanan yönetilen kimlik özellikleri |
RegistryEndpointSystemAssignedManagedIdentitySettings
Sistem tarafından atanan yönetilen kimlik özellikleri
| Name | Tür | Description |
|---|---|---|
| audience |
string |
Kimlik doğrulaması için hizmetin hedef kitlesi. Opsiyonel; varsayılan olarak Hizmet ana bilgisayar yapılandırması için hedef kitleyi kullanır. |
RegistryEndpointTrustedSigningKeyConfigMap
RegistryEndpoint güveni ayarları bir yapılandırma haritası aracılığıyla sağlanır.
| Name | Tür | Description |
|---|---|---|
| configMapRef |
string |
Configmap'in adı. |
| type |
string:
Config |
Kayıt defteri uç noktası için güven türü. |
RegistryEndpointTrustedSigningKeySecret
Gizli dizi aracılığıyla sağlanan RegistryEndpoint güveni ayarları.
| Name | Tür | Description |
|---|---|---|
| secretRef |
string |
Gizli dizinin adı. |
| type |
string:
Secret |
Kayıt defteri uç noktası için güven türü. |
RegistryEndpointTrustedSigningKeyType
RegistryEndpointTrustedSigningKeyType değerleri
| Değer | Description |
|---|---|
| Secret |
Kubernetes Gizli Dizisinde depolanan güven ayarları. |
| ConfigMap |
Kubernetes ConfigMap'te depolanan güven ayarları. |
RegistryEndpointUserAssignedIdentityAuthentication
Kullanıcı tarafından atanan kimlik doğrulama
| Name | Tür | Description |
|---|---|---|
| method |
string:
User |
Kimlik doğrulama yöntemi. |
| userAssignedManagedIdentitySettings |
Kullanıcı tarafından atanan yönetilen kimlik özellikleri |
RegistryEndpointUserAssignedManagedIdentitySettings
Kullanıcı tarafından atanan yönetilen kimlik özellikleri
| Name | Tür | Description |
|---|---|---|
| clientId |
string |
Kullanıcı tarafından atanan yönetilen kimliğin istemci kimliği. |
| scope |
string |
Kaynağın kaynak tanımlayıcısı (uygulama kimliği URI'si), .default soneki ile yapıştırılmıştır. |
| tenantId |
string |
Kiracı Kimliği. |
ResourceHealthState
Kaynağın sistem durumu.
| Değer | Description |
|---|---|
| Available |
Kaynak Kullanılabilir ve beklendiği gibi çalışıyor. |
| Degraded |
Kaynak sağlığı bozulur. |
| Unavailable |
Kaynak beklendiği gibi çalışmıyor. |
| Unknown |
Kaynak durumu bilinmiyor. |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
| Name | Tür | Description |
|---|---|---|
| createdAt |
string (date-time) |
Kaynak oluşturma (UTC) zaman damgası. |
| createdBy |
string |
Kaynağı oluşturan kimlik. |
| createdByType |
Kaynağı oluşturan kimliğin türü. |
|
| lastModifiedAt |
string (date-time) |
Kaynağın son değişikliğinin zaman damgası (UTC) |
| lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
| lastModifiedByType |
Kaynağı en son değiştiren kimlik türü. |