StandardAssignments Interface
public interface StandardAssignments
Resource collection API of StandardAssignments.
Method Summary
Method Details
define
public abstract StandardAssignment.DefinitionStages.Blank define(String name)
Begins definition for a new StandardAssignment resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
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:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, 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:
deleteByResourceGroup
public abstract void deleteByResourceGroup(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:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(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 StandardAssignment 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:
getById
public abstract StandardAssignment getById(String id)
Retrieves a standard assignment. This operation retrieves a single standard assignment, given its name and the scope it was created at.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<StandardAssignment> getByIdWithResponse(String id, 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:
getWithResponse
public abstract Response<StandardAssignment> 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<StandardAssignment> list(String scope)
Get a list of all relevant standard assignments over a scope.
Parameters:
Returns:
list
public abstract PagedIterable<StandardAssignment> list(String scope, Context context)
Get a list of all relevant standard assignments over a scope.
Parameters:
Returns: