Disks - Revoke Access
Diske erişimi iptal eder.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess?api-version=2025-01-02
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
disk
|
path | True |
string |
Oluşturulan yönetilen diskin adı. Disk oluşturulduktan sonra ad değiştirilemez. Ad için desteklenen karakterler a-z, A-Z, 0-9, _ ve - şeklindedir. Maksimum ad uzunluğu 80 karakterdir. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız. |
|
subscription
|
path | True |
string minLength: 1 |
Hedef aboneliğin kimliği. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
İstek başarılı oldu. |
|
| 202 Accepted |
Kaynak işlemi kabul edildi. Ü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
revoke access to a managed disk.
Örnek isteği
POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk/endGetAccess?api-version=2025-01-02
Örnek yanıt
Location: https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/operations/{operationId}&monitor=true&api-version=2025-01-02
Tanımlar
| Name | Description |
|---|---|
|
Api |
API hatası. |
|
Api |
Api hata tabanı. |
|
Cloud |
İşlem hizmetinden bir hata yanıtı. |
|
Inner |
İç hata ayrıntıları. |
ApiError
API hatası.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Hata kodu. |
| details |
Api hata ayrıntıları |
|
| innererror |
Api iç hatası |
|
| message |
string |
Hata iletisi. |
| target |
string |
Belirli bir hatanın hedefi. |
ApiErrorBase
Api hata tabanı.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Hata kodu. |
| message |
string |
Hata iletisi. |
| target |
string |
Belirli bir hatanın hedefi. |
CloudError
İşlem hizmetinden bir hata yanıtı.
| Name | Tür | Description |
|---|---|---|
| error |
API hatası. |
InnerError
İç hata ayrıntıları.
| Name | Tür | Description |
|---|---|---|
| errordetail |
string |
İç hata iletisi veya özel durum dökümü. |
| exceptiontype |
string |
Özel durum türü. |