Skip to main content

governance_assignments

Overview

Namegovernance_assignments
TypeResource
Idazure.security.governance_assignments

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectDescribes properties of an governance assignment
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTapi-version, assessmentName, assignmentKey, scopeGet a specific governanceAssignment for the requested scope by AssignmentKey
listSELECTapi-version, assessmentName, scopeGet governance assignments on all of your resources inside a scope
create_or_updateINSERTapi-version, assessmentName, assignmentKey, scopeCreates or updates a governance assignment on the given subscription.
deleteDELETEapi-version, assessmentName, assignmentKey, scopeDelete a GovernanceAssignment over a given scope
_listEXECapi-version, assessmentName, scopeGet governance assignments on all of your resources inside a scope