Guest Configuration Assignments - Delete
Delete a guest configuration assignment
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}?api-version=2024-04-05
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
guest
|
path | True |
string |
The guest configuration assignment name. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
vm
|
path | True |
string pattern: ^[a-zA-Z0-9][-a-zA-Z0-9_.]*[a-zA-Z0-9]$ |
The name of the virtual machine. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Resource deleted successfully. |
|
Other Status Codes |
An unexpected error response. |
Security
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 | impersonate your user account |
Examples
Delete an guest configuration assignment
Sample request
DELETE https://management.azure.com/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/SecureProtocol?api-version=2024-04-05
Sample response
Definitions
Name | Description |
---|---|
Error | |
Error |
Error response of an operation failure. |
Error
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
message |
string |
Detail error message indicating why the operation failed. |
ErrorResponse
Error response of an operation failure.
Name | Type | Description |
---|---|---|
error |