AssignmentsClient Interface
public interface AssignmentsClient
An instance of this class provides access to all the operations defined in AssignmentsClient.
Method Summary
Method Details
createOrUpdate
public abstract AssignmentInner createOrUpdate(String resourceGroupName, String assignmentId, AssignmentInner assignment)
Create a security assignment on the given scope. Will create/update the required standard assignment.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<AssignmentInner> createOrUpdateWithResponse(String resourceGroupName, String assignmentId, AssignmentInner assignment, Context context)
Create a security assignment on the given scope. Will create/update the required standard assignment.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String assignmentId)
Delete a standard assignment over a given scope.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String assignmentId, Context context)
Delete a standard assignment over a given scope.
Parameters:
Returns:
getByResourceGroup
public abstract AssignmentInner getByResourceGroup(String resourceGroupName, String assignmentId)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<AssignmentInner> getByResourceGroupWithResponse(String resourceGroupName, String assignmentId, Context context)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
list
public abstract PagedIterable<AssignmentInner> list()
Get a list of all relevant standardAssignments over a subscription level scope.
Returns:
list
public abstract PagedIterable<AssignmentInner> list(Context context)
Get a list of all relevant standardAssignments over a subscription level scope.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<AssignmentInner> listByResourceGroup(String resourceGroupName)
Get a list of all relevant standardAssignments available for scope.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<AssignmentInner> listByResourceGroup(String resourceGroupName, Context context)
Get a list of all relevant standardAssignments available for scope.
Parameters:
Returns: