Cloud Services - Delete Instances
Bulut hizmetindeki rol örneklerini siler.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete?api-version=2022-09-04
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
cloud
|
path | True |
string |
Bulut hizmetinin adı. |
resource
|
path | True |
string |
Kaynak grubunun adı. |
subscription
|
path | True |
string |
Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgileri. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur. |
api-version
|
query | True |
string |
İstemci Api Sürümü. |
İstek Gövdesi
Name | Gerekli | Tür | Description |
---|---|---|---|
roleInstances | True |
string[] |
Bulut hizmeti rol örneği adlarının listesi. '*' değeri, bulut hizmetinin tüm rol örneklerini gösterir. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam |
|
202 Accepted |
Kabul edildi |
|
Other Status Codes |
Hata |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow
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
Delete Cloud Service Role Instances in a Cloud Service
Örnek isteği
POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}/delete?api-version=2022-09-04
{
"roleInstances": [
"ContosoFrontend_IN_0",
"ContosoBackend_IN_1"
]
}
Örnek yanıt
location: https://foo.com/operationstatus
Tanımlar
Name | Description |
---|---|
Api |
Api hatası. |
Api |
Api hata tabanı. |
Cloud |
İşlem hizmetinden bir hata yanıtı. |
Inner |
İç hata ayrıntıları. |
Role |
Bulut hizmetinden rol örneklerinin listesini belirtir. |
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ü. |
RoleInstances
Bulut hizmetinden rol örneklerinin listesini belirtir.
Name | Tür | Description |
---|---|---|
roleInstances |
string[] |
Bulut hizmeti rol örneği adlarının listesi. '*' değeri, bulut hizmetinin tüm rol örneklerini gösterir. |