StandardAssignmentsClient Interface
public interface StandardAssignmentsClient
An instance of this class provides access to all the operations defined in StandardAssignmentsClient.
Method Summary
Method Details
create
public abstract StandardAssignmentInner create(String resourceId, String standardAssignmentName, StandardAssignmentInner standardAssignment)
Creates or updates a standard assignment. 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.
Parameters:
Returns:
createWithResponse
public abstract Response<StandardAssignmentInner> createWithResponse(String resourceId, String standardAssignmentName, StandardAssignmentInner standardAssignment, Context context)
Creates or updates a standard assignment. 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.
Parameters:
Returns:
delete
public abstract void delete(String resourceId, String standardAssignmentName)
Deletes a standard assignment. 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}'.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceId, String standardAssignmentName, Context context)
Deletes a standard assignment. 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}'.
Parameters:
Returns:
get
public abstract StandardAssignmentInner get(String resourceId, String standardAssignmentName)
Retrieves a standard assignment. This operation retrieves a single standard assignment, given its name and the scope it was created at.
Parameters:
Returns:
getWithResponse
public abstract Response<StandardAssignmentInner> getWithResponse(String resourceId, String standardAssignmentName, Context context)
Retrieves a standard assignment. This operation retrieves a single standard assignment, given its name and the scope it was created at.
Parameters:
Returns:
list
public abstract PagedIterable<StandardAssignmentInner> list(String scope)
Get a list of all relevant standard assignments over a scope.
Parameters:
Returns:
list
public abstract PagedIterable<StandardAssignmentInner> list(String scope, Context context)
Get a list of all relevant standard assignments over a scope.
Parameters:
Returns: