StandardAssignmentsOperations interface
Interface representing a StandardAssignments operations.
Properties
| create | This operation creates or updates a standard assignment with the given scope and name. standard assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group. |
| delete | This operation deletes a standard assignment, given its name and the scope it was created in. The scope of a standard assignment is the part of its ID preceding '/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}'. |
| get | This operation retrieves a single standard assignment, given its name and the scope it was created at. |
| list | Get a list of all relevant standard assignments over a scope |
Property Details
create
This operation creates or updates a standard assignment with the given scope and name. standard assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group.
create: (resourceId: string, standardAssignmentName: string, standardAssignment: StandardAssignment, options?: StandardAssignmentsCreateOptionalParams) => Promise<StandardAssignment>
Property Value
(resourceId: string, standardAssignmentName: string, standardAssignment: StandardAssignment, options?: StandardAssignmentsCreateOptionalParams) => Promise<StandardAssignment>
delete
This operation deletes a standard assignment, given its name and the scope it was created in. The scope of a standard assignment is the part of its ID preceding '/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}'.
delete: (resourceId: string, standardAssignmentName: string, options?: StandardAssignmentsDeleteOptionalParams) => Promise<void>
Property Value
(resourceId: string, standardAssignmentName: string, options?: StandardAssignmentsDeleteOptionalParams) => Promise<void>
get
This operation retrieves a single standard assignment, given its name and the scope it was created at.
get: (resourceId: string, standardAssignmentName: string, options?: StandardAssignmentsGetOptionalParams) => Promise<StandardAssignment>
Property Value
(resourceId: string, standardAssignmentName: string, options?: StandardAssignmentsGetOptionalParams) => Promise<StandardAssignment>
list
Get a list of all relevant standard assignments over a scope
list: (scope: string, options?: StandardAssignmentsListOptionalParams) => PagedAsyncIterableIterator<StandardAssignment, StandardAssignment[], PageSettings>
Property Value
(scope: string, options?: StandardAssignmentsListOptionalParams) => PagedAsyncIterableIterator<StandardAssignment, StandardAssignment[], PageSettings>