GovernanceRulesClient Interface
public interface GovernanceRulesClient
An instance of this class provides access to all the operations defined in GovernanceRulesClient.
Method Summary
Method Details
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String scope, String ruleId)
Delete a Governance rule over a given scope.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String scope, String ruleId, Context context)
Delete a Governance rule over a given scope.
Parameters:
Returns:
beginExecute
public abstract SyncPoller<PollResult<Void>,Void> beginExecute(String scope, String ruleId)
Execute a governance rule.
Parameters:
Returns:
beginExecute
public abstract SyncPoller<PollResult<Void>,Void> beginExecute(String scope, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, Context context)
Execute a governance rule.
Parameters:
Returns:
createOrUpdate
public abstract GovernanceRuleInner createOrUpdate(String scope, String ruleId, GovernanceRuleInner governanceRule)
Creates or updates a governance rule over a given scope.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<GovernanceRuleInner> createOrUpdateWithResponse(String scope, String ruleId, GovernanceRuleInner governanceRule, Context context)
Creates or updates a governance rule over a given scope.
Parameters:
Returns:
delete
public abstract void delete(String scope, String ruleId)
Delete a Governance rule over a given scope.
Parameters:
delete
public abstract void delete(String scope, String ruleId, Context context)
Delete a Governance rule over a given scope.
Parameters:
execute
public abstract void execute(String scope, String ruleId)
Execute a governance rule.
Parameters:
execute
public abstract void execute(String scope, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, Context context)
Execute a governance rule.
Parameters:
get
public abstract GovernanceRuleInner get(String scope, String ruleId)
Get a specific governance rule for the requested scope by ruleId.
Parameters:
Returns:
getWithResponse
public abstract Response<GovernanceRuleInner> getWithResponse(String scope, String ruleId, Context context)
Get a specific governance rule for the requested scope by ruleId.
Parameters:
Returns:
list
public abstract PagedIterable<GovernanceRuleInner> list(String scope)
Get a list of all relevant governance rules over a scope.
Parameters:
Returns:
list
public abstract PagedIterable<GovernanceRuleInner> list(String scope, Context context)
Get a list of all relevant governance rules over a scope.
Parameters:
Returns:
operationResults
public abstract OperationResultInner operationResults(String scope, String ruleId, String operationId)
Get governance rules long run operation result for the requested scope by ruleId and operationId.
Parameters:
Returns:
operationResultsWithResponse
public abstract GovernanceRulesOperationResultsResponse operationResultsWithResponse(String scope, String ruleId, String operationId, Context context)
Get governance rules long run operation result for the requested scope by ruleId and operationId.
Parameters:
Returns: