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
guestConfigurationAssignmentName
path True

string

Name of the guest configuration assignment

resourceGroupName
path True

string

The resource group name.

Regex pattern: ^[-\w\._]+$

subscriptionId
path True

string

Subscription ID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

vmName
path True

string

The name of the virtual machine.

Regex pattern: ^[a-zA-Z0-9][-a-zA-Z0-9_.]*[a-zA-Z0-9]$

api-version
query True

string

Client Api Version.

Responses

Name Type Description
200 OK

OK

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

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
ErrorResponse

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

Error