Portal Revision - Get

Geliştirici portalının tanımlayıcısı tarafından belirtilen düzeltmesini alır.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}?api-version=2022-08-01

URI Parametreleri

Name İçinde Gerekli Tür Description
portalRevisionId
path True

string

Portal düzeltme tanımlayıcısı. Geçerli API Management hizmet örneğinde benzersiz olmalıdır.

resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

serviceName
path True

string

API Management hizmetinin adı.

Regex pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$

subscriptionId
path True

string

Hedef aboneliğin kimliği.

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

PortalRevisionContract

Belirtilen portalın düzeltmesini alır.

Headers

ETag: string

Other Status Codes

ErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

ApiManagementGetPortalRevision

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalRevisions/20201112101010?api-version=2022-08-01

Sample Response

{
  "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalRevisions/20201112101010",
  "type": "Microsoft.ApiManagement/service/portalRevisions",
  "name": "20201112101010",
  "properties": {
    "description": "portal revision 1",
    "statusDetails": null,
    "status": "completed",
    "isCurrent": true,
    "createdDateTime": "2020-11-12T22:51:36.47Z",
    "updatedDateTime": "2020-11-12T22:52:00.097Z"
  }
}

Tanımlar

Name Description
ErrorFieldContract

Hata Alanı sözleşmesi.

ErrorResponse

Hata Yanıtı.

PortalRevisionContract

Portal Düzeltmesi'nin sözleşme ayrıntıları.

portalRevisionStatus

Portalın düzeltmesinin durumu.

ErrorFieldContract

Hata Alanı sözleşmesi.

Name Tür Description
code

string

Özellik düzeyi hata kodu.

message

string

Özellik düzeyi hatanın insan tarafından okunabilir gösterimi.

target

string

Özellik adı.

ErrorResponse

Hata Yanıtı.

Name Tür Description
error.code

string

Hizmet tanımlı hata kodu. Bu kod, yanıtta belirtilen HTTP hata kodu için bir alt durum görevi görür.

error.details

ErrorFieldContract[]

Doğrulama hatası durumunda istekte gönderilen geçersiz alanların listesi.

error.message

string

Hatanın insan tarafından okunabilen gösterimi.

PortalRevisionContract

Portal Düzeltmesi'nin sözleşme ayrıntıları.

Name Tür Description
id

string

Kaynağın tam kaynak kimliği. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Kaynağın adı

properties.createdDateTime

string

Portalın düzeltme oluşturma tarihi ve saati.

properties.description

string

Portal düzeltme açıklaması.

properties.isCurrent

boolean

Portalın düzeltmesinin genel olup olmadığını gösterir.

properties.status

portalRevisionStatus

Portalın düzeltmesinin durumu.

properties.statusDetails

string

Portal düzeltme yayımlama durumu ayrıntıları.

properties.updatedDateTime

string

Son güncelleştirme tarihi ve saati.

type

string

Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts"

portalRevisionStatus

Portalın düzeltmesinin durumu.

Name Tür Description
completed

string

Portalın düzeltme yayımlaması tamamlandı.

failed

string

Portalın düzeltme yayımlaması başarısız oldu.

pending

string

Portalın düzeltmesi sıraya alındı.

publishing

string

Portalın düzeltmesi yayımlanıyor.