GovernanceAssignments Interface
public interface GovernanceAssignments
Resource collection API of GovernanceAssignments.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Blank |
define(String name)
Begins definition for a new Governance |
abstract void |
delete(String scope, String assessmentName, String assignmentKey)
Delete a Governance |
abstract void |
deleteById(String id)
Delete a Governance |
abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Delete a Governance |
abstract Response<Void> |
deleteWithResponse(String scope, String assessmentName, String assignmentKey, Context context)
Delete a Governance |
abstract
Governance |
get(String scope, String assessmentName, String assignmentKey)
Get a specific governance |
abstract
Governance |
getById(String id)
Get a specific governance |
abstract
Response<Governance |
getByIdWithResponse(String id, Context context)
Get a specific governance |
abstract
Response<Governance |
getWithResponse(String scope, String assessmentName, String assignmentKey, Context context)
Get a specific governance |
abstract
Paged |
list(String scope, String assessmentName)
Get governance assignments on all of your resources inside a scope. |
abstract
Paged |
list(String scope, String assessmentName, Context context)
Get governance assignments on all of your resources inside a scope. |
Method Details
define
public abstract GovernanceAssignment.DefinitionStages.Blank define(String name)
Begins definition for a new GovernanceAssignment resource.
Parameters:
Returns:
delete
public abstract void delete(String scope, String assessmentName, String assignmentKey)
Delete a GovernanceAssignment over a given scope.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete a GovernanceAssignment over a given scope.
Parameters:
deleteByIdWithResponse
public abstract Response
Delete a GovernanceAssignment over a given scope.
Parameters:
Returns:
deleteWithResponse
public abstract Response
Delete a GovernanceAssignment over a given scope.
Parameters:
Returns:
get
public abstract GovernanceAssignment get(String scope, String assessmentName, String assignmentKey)
Get a specific governanceAssignment for the requested scope by AssignmentKey.
Parameters:
Returns:
getById
public abstract GovernanceAssignment getById(String id)
Get a specific governanceAssignment for the requested scope by AssignmentKey.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Get a specific governanceAssignment for the requested scope by AssignmentKey.
Parameters:
Returns:
getWithResponse
public abstract Response
Get a specific governanceAssignment for the requested scope by AssignmentKey.
Parameters:
Returns:
list
public abstract PagedIterable
Get governance assignments on all of your resources inside a scope.
Parameters:
Returns:
list
public abstract PagedIterable
Get governance assignments on all of your resources inside a scope.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for