Interface ManagedServerSecurityAlertPoliciesClient
public interface ManagedServerSecurityAlertPoliciesClient
An instance of this class provides access to all the operations defined in ManagedServerSecurityAlertPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>, ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>, ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>, ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.createOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.createOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.get(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.getAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.com.azure.core.http.rest.Response<ManagedServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get a managed server's threat detection policy.Mono<com.azure.core.http.rest.Response<ManagedServerSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance(String resourceGroupName, String managedInstanceName) Get the managed server's threat detection policies.com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Get the managed server's threat detection policies.com.azure.core.http.rest.PagedFlux<ManagedServerSecurityAlertPolicyInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Get the managed server's threat detection policies.
-
Method Details
-
listByInstanceAsync
com.azure.core.http.rest.PagedFlux<ManagedServerSecurityAlertPolicyInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Get the managed server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- the managed server's threat detection policies as paginated response with
PagedFlux. - 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance(String resourceGroupName, String managedInstanceName) Get the managed server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- the managed server's threat detection policies as paginated response with
PagedIterable. - 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Get the managed server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.context- The context to associate with this operation.- Returns:
- the managed server's threat detection policies as paginated response with
PagedIterable. - 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedServerSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a managed server's threat detection policy along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<ManagedServerSecurityAlertPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a managed server's threat detection policy on successful completion of
Mono. - 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<ManagedServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get a managed server's threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.context- The context to associate with this operation.- Returns:
- a managed server's threat detection policy 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.
-
get
ManagedServerSecurityAlertPolicyInner get(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a managed server's threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a managed server's threat detection policy.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.- Returns:
- a managed server security alert policy along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>,ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.- Returns:
- the
PollerFluxfor polling of a managed server security alert policy. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>,ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.- Returns:
- the
SyncPollerfor polling of a managed server security alert policy. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerSecurityAlertPolicyInner>,ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a managed server security alert policy. - 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.
-
createOrUpdateAsync
Mono<ManagedServerSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.- Returns:
- a managed server security alert policy on successful completion of
Mono. - 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
ManagedServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.- Returns:
- a managed server security alert policy.
- 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
ManagedServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ManagedServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.securityAlertPolicyName- The name of the security alert policy.parameters- The managed server security alert policy.context- The context to associate with this operation.- Returns:
- a managed server security alert policy.
- 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.
-