Packages - Delete

Menghapus Paket Dasar Pengujian.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}?api-version=2022-04-01-preview

Parameter URI

Name In Required Type Description
packageName
path True
  • string

Nama sumber daya Paket Dasar Pengujian.

resourceGroupName
path True
  • string

Nama grup sumber daya yang berisi sumber daya.

subscriptionId
path True
  • string

Atur ID Langganan Azure. Ini adalah string berformat GUID.

testBaseAccountName
path True
  • string

Nama sumber daya Akun Basis Pengujian.

api-version
query True
  • string

Versi API yang akan digunakan dengan permintaan HTTP.

Respons

Name Type Description
200 OK

Operasi 'hapus' Paket Dasar Pengujian berhasil diselesaikan.

202 Accepted

Operasi 'hapus' Paket Dasar Pengujian berhasil diantrekan. Ikuti header Lokasi untuk polling untuk hasil akhir.

Headers

  • Azure-AsyncOperation: string
  • Location: string
204 No Content

Operasi 'hapus' Paket Dasar Pengujian berhasil diselesaikan.

Other Status Codes

Respons kesalahan yang menjelaskan mengapa operasi gagal.

Keamanan

azure_auth

Azure Active Directory Flow OAuth2

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

Scopes

Name Description
user_impersonation meniru akun pengguna Anda

Contoh

PackageDelete

Sample Request

DELETE https://management.azure.com/subscriptions/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2?api-version=2022-04-01-preview

Sample Response

Azure-AsyncOperation: https://management.azure.com/subscriptions/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2022-04-01-preview
Location: https://management.azure.com/subscriptions/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2022-04-01-preview

Definisi

ErrorDefinition

Definisi kesalahan.

ErrorResponse

Respons kesalahan dikirim ketika operasi gagal.

ErrorDefinition

Definisi kesalahan.

Name Type Description
code
  • string

Kode kesalahan.

details

Detail kesalahan.

message
  • string

Pesan kesalahan.

target
  • string

Target kesalahan tertentu.

ErrorResponse

Respons kesalahan dikirim ketika operasi gagal.

Name Type Description
error

Detail kesalahan.