Interface ServerBlobAuditingPoliciesClient
-
public interface ServerBlobAuditingPoliciesClientAn instance of this class provides access to all the operations defined in ServerBlobAuditingPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner>beginCreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)Creates or updates a server's blob auditing policy.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner>beginCreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters, com.azure.core.util.Context context)Creates or updates a server's blob auditing policy.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner>beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)Creates or updates a server's blob auditing policy.ServerBlobAuditingPolicyInnercreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)Creates or updates a server's blob auditing policy.ServerBlobAuditingPolicyInnercreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters, com.azure.core.util.Context context)Creates or updates a server's blob auditing policy.Mono<ServerBlobAuditingPolicyInner>createOrUpdateAsync(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)Creates or updates a server's blob auditing policy.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)Creates or updates a server's blob auditing policy.ServerBlobAuditingPolicyInnerget(String resourceGroupName, String serverName)Gets a server's blob auditing policy.Mono<ServerBlobAuditingPolicyInner>getAsync(String resourceGroupName, String serverName)Gets a server's blob auditing policy.com.azure.core.http.rest.Response<ServerBlobAuditingPolicyInner>getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context)Gets a server's blob auditing policy.Mono<com.azure.core.http.rest.Response<ServerBlobAuditingPolicyInner>>getWithResponseAsync(String resourceGroupName, String serverName)Gets a server's blob auditing policy.com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicyInner>listByServer(String resourceGroupName, String serverName)Lists auditing settings of a server.com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicyInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)Lists auditing settings of a server.com.azure.core.http.rest.PagedFlux<ServerBlobAuditingPolicyInner>listByServerAsync(String resourceGroupName, String serverName)Lists auditing settings of a server.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerBlobAuditingPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName)
Gets a server's blob auditing 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.serverName- The name of the server.- Returns:
- a server's blob auditing 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.
-
getAsync
Mono<ServerBlobAuditingPolicyInner> getAsync(String resourceGroupName, String serverName)
Gets a server's blob auditing 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.serverName- The name of the server.- Returns:
- a server's blob auditing 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.
-
get
ServerBlobAuditingPolicyInner get(String resourceGroupName, String serverName)
Gets a server's blob auditing 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.serverName- The name of the server.- Returns:
- a server's blob auditing 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.
-
getWithResponse
com.azure.core.http.rest.Response<ServerBlobAuditingPolicyInner> getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Gets a server's blob auditing 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.serverName- The name of the server.context- The context to associate with this operation.- Returns:
- a server's blob auditing 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 serverName, ServerBlobAuditingPolicyInner parameters)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.- Returns:
- a server blob auditing 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.- Returns:
- a server blob auditing 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<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.- Returns:
- a server blob auditing 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<ServerBlobAuditingPolicyInner>,ServerBlobAuditingPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters, com.azure.core.util.Context context)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.context- The context to associate with this operation.- Returns:
- a server blob auditing 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<ServerBlobAuditingPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.- Returns:
- a server blob auditing 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
ServerBlobAuditingPolicyInner createOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.- Returns:
- a server blob auditing 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
ServerBlobAuditingPolicyInner createOrUpdate(String resourceGroupName, String serverName, ServerBlobAuditingPolicyInner parameters, com.azure.core.util.Context context)
Creates or updates a server's blob auditing 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.serverName- The name of the server.parameters- A server blob auditing policy.context- The context to associate with this operation.- Returns:
- a server blob auditing 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServerBlobAuditingPolicyInner> listByServerAsync(String resourceGroupName, String serverName)
Lists auditing settings of a server.- 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.serverName- The name of the server.- Returns:
- a list of server auditing settings.
- 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicyInner> listByServer(String resourceGroupName, String serverName)
Lists auditing settings of a server.- 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.serverName- The name of the server.- Returns:
- a list of server auditing settings.
- 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicyInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Lists auditing settings of a server.- 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.serverName- The name of the server.context- The context to associate with this operation.- Returns:
- a list of server auditing settings.
- 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.
-
-