Assignments Interface
public interface Assignments
Resource collection API of Assignments.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Assignment resource. |
| abstract void |
deleteById(String id)
Delete a standard assignment over a given scope. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Delete a standard assignment over a given scope. |
| abstract void |
deleteByResourceGroup(String resourceGroupName, String assignmentId)
Delete a standard assignment over a given scope. |
| abstract Response<Void> |
deleteByResourceGroupWithResponse(String resourceGroupName, String assignmentId, Context context)
Delete a standard assignment over a given scope. |
| abstract Assignment |
getById(String id)
Get a specific standard assignment for the requested scope by resource |
| abstract Response<Assignment> |
getByIdWithResponse(String id, Context context)
Get a specific standard assignment for the requested scope by resource |
| abstract Assignment |
getByResourceGroup(String resourceGroupName, String assignmentId)
Get a specific standard assignment for the requested scope by resource |
| abstract Response<Assignment> |
getByResourceGroupWithResponse(String resourceGroupName, String assignmentId, Context context)
Get a specific standard assignment for the requested scope by resource |
|
abstract
Paged |
list()
Get a list of all relevant standard |
|
abstract
Paged |
list(Context context)
Get a list of all relevant standard |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName)
Get a list of all relevant standard |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName, Context context)
Get a list of all relevant standard |
Method Details
define
public abstract Assignment.DefinitionStages.Blank define(String name)
Begins definition for a new Assignment resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Delete a standard assignment over a given scope.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Delete a standard assignment over a given scope.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String assignmentId)
Delete a standard assignment over a given scope.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String assignmentId, Context context)
Delete a standard assignment over a given scope.
Parameters:
Returns:
getById
public abstract Assignment getById(String id)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<Assignment> getByIdWithResponse(String id, Context context)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
getByResourceGroup
public abstract Assignment getByResourceGroup(String resourceGroupName, String assignmentId)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<Assignment> getByResourceGroupWithResponse(String resourceGroupName, String assignmentId, Context context)
Get a specific standard assignment for the requested scope by resourceId.
Parameters:
Returns:
list
public abstract PagedIterable<Assignment> list()
Get a list of all relevant standardAssignments over a subscription level scope.
Returns:
list
public abstract PagedIterable<Assignment> list(Context context)
Get a list of all relevant standardAssignments over a subscription level scope.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Assignment> listByResourceGroup(String resourceGroupName)
Get a list of all relevant standardAssignments available for scope.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Assignment> listByResourceGroup(String resourceGroupName, Context context)
Get a list of all relevant standardAssignments available for scope.
Parameters:
Returns: