Interface GovernanceRulesOperationsClient
public interface GovernanceRulesOperationsClient
An instance of this class provides access to all the operations defined in GovernanceRulesOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginRuleIdExecuteSingleSecurityConnector
(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given security connector.beginRuleIdExecuteSingleSecurityConnector
(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given security connector.beginRuleIdExecuteSingleSubscription
(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given subscription.beginRuleIdExecuteSingleSubscription
(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given subscription.createOrUpdate
(String ruleId, GovernanceRuleInner governanceRule) Creates or update a security GovernanceRule on the given subscription.com.azure.core.http.rest.Response<GovernanceRuleInner>
createOrUpdateWithResponse
(String ruleId, GovernanceRuleInner governanceRule, com.azure.core.util.Context context) Creates or update a security GovernanceRule on the given subscription.void
Delete a GovernanceRule over a given scope.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String ruleId, com.azure.core.util.Context context) Delete a GovernanceRule over a given scope.Get a specific governanceRule for the requested scope by ruleId.com.azure.core.http.rest.Response<GovernanceRuleInner>
getWithResponse
(String ruleId, com.azure.core.util.Context context) Get a specific governanceRule for the requested scope by ruleId.void
ruleIdExecuteSingleSecurityConnector
(String resourceGroupName, String securityConnectorName, String ruleId) Execute a security GovernanceRule on the given security connector.void
ruleIdExecuteSingleSecurityConnector
(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given security connector.void
ruleIdExecuteSingleSecurityConnector
(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given security connector.void
Execute a security GovernanceRule on the given subscription.void
ruleIdExecuteSingleSubscription
(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given subscription.void
ruleIdExecuteSingleSubscription
(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given subscription.
-
Method Details
-
get
Get a specific governanceRule for the requested scope by ruleId.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.- Returns:
- a specific governanceRule for the requested scope by ruleId.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<GovernanceRuleInner> getWithResponse(String ruleId, com.azure.core.util.Context context) Get a specific governanceRule for the requested scope by ruleId.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.context
- The context to associate with this operation.- Returns:
- a specific governanceRule for the requested scope by ruleId along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
Creates or update a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.governanceRule
- GovernanceRule over a subscription scope.- Returns:
- security GovernanceRule over a given scope.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<GovernanceRuleInner> createOrUpdateWithResponse(String ruleId, GovernanceRuleInner governanceRule, com.azure.core.util.Context context) Creates or update a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.governanceRule
- GovernanceRule over a subscription scope.context
- The context to associate with this operation.- Returns:
- security GovernanceRule over a given scope along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a GovernanceRule over a given scope.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String ruleId, com.azure.core.util.Context context) Delete a GovernanceRule over a given scope.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginRuleIdExecuteSingleSubscription
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRuleIdExecuteSingleSubscription(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginRuleIdExecuteSingleSubscription
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRuleIdExecuteSingleSubscription(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSubscription
void ruleIdExecuteSingleSubscription(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSubscription
Execute a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSubscription
void ruleIdExecuteSingleSubscription(String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given subscription.- Parameters:
ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginRuleIdExecuteSingleSecurityConnector
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRuleIdExecuteSingleSecurityConnector(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginRuleIdExecuteSingleSecurityConnector
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRuleIdExecuteSingleSecurityConnector(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSecurityConnector
void ruleIdExecuteSingleSecurityConnector(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams) Execute a security GovernanceRule on the given security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSecurityConnector
void ruleIdExecuteSingleSecurityConnector(String resourceGroupName, String securityConnectorName, String ruleId) Execute a security GovernanceRule on the given security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
ruleIdExecuteSingleSecurityConnector
void ruleIdExecuteSingleSecurityConnector(String resourceGroupName, String securityConnectorName, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, com.azure.core.util.Context context) Execute a security GovernanceRule on the given security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.ruleId
- The security GovernanceRule key - unique key for the standard GovernanceRule.executeGovernanceRuleParams
- GovernanceRule over a subscription scope.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-