GovernanceRulesOperationsExtensions.Delete Method

Definition

Delete a Governance rule over a given scope

public static Microsoft.Azure.Management.Security.Models.GovernanceRulesDeleteHeaders Delete(this Microsoft.Azure.Management.Security.IGovernanceRulesOperations operations, string scope, string ruleId);
static member Delete : Microsoft.Azure.Management.Security.IGovernanceRulesOperations * string * string -> Microsoft.Azure.Management.Security.Models.GovernanceRulesDeleteHeaders
<Extension()>
Public Function Delete (operations As IGovernanceRulesOperations, scope As String, ruleId As String) As GovernanceRulesDeleteHeaders

Parameters

operations
IGovernanceRulesOperations

The operations group for this extension method.

scope
String

The scope of the Governance rules. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'

ruleId
String

The governance rule key - unique key for the standard governance rule (GUID)

Returns

Applies to