Interface ServerAdvancedThreatProtectionSettingsClient
public interface ServerAdvancedThreatProtectionSettingsClient
An instance of this class provides access to all the operations defined in
ServerAdvancedThreatProtectionSettingsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates an Advanced Threat Protection state.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates an Advanced Threat Protection state.createOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.get(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.getAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.com.azure.core.http.rest.Response<ServerAdvancedThreatProtectionInner>getWithResponse(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, com.azure.core.util.Context context) Get a server's Advanced Threat Protection state.Mono<com.azure.core.http.rest.Response<ServerAdvancedThreatProtectionInner>>getWithResponseAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.com.azure.core.http.rest.PagedIterable<ServerAdvancedThreatProtectionInner>listByServer(String resourceGroupName, String serverName) Get a list of the server's Advanced Threat Protection states.com.azure.core.http.rest.PagedIterable<ServerAdvancedThreatProtectionInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Get a list of the server's Advanced Threat Protection states.com.azure.core.http.rest.PagedFlux<ServerAdvancedThreatProtectionInner>listByServerAsync(String resourceGroupName, String serverName) Get a list of the server's Advanced Threat Protection states.
-
Method Details
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServerAdvancedThreatProtectionInner> listByServerAsync(String resourceGroupName, String serverName) Get a list of the server's Advanced Threat Protection states.- 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 the server's Advanced Threat Protection states 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerAdvancedThreatProtectionInner> listByServer(String resourceGroupName, String serverName) Get a list of the server's Advanced Threat Protection states.- 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 the server's Advanced Threat Protection states 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerAdvancedThreatProtectionInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Get a list of the server's Advanced Threat Protection states.- 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 the server's Advanced Threat Protection states 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<ServerAdvancedThreatProtectionInner>> getWithResponseAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a server's Advanced Threat Protection state 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<ServerAdvancedThreatProtectionInner> getAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a server's Advanced Threat Protection state 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<ServerAdvancedThreatProtectionInner> getWithResponse(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, com.azure.core.util.Context context) Get a server's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.context- The context to associate with this operation.- Returns:
- a server's Advanced Threat Protection state 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
ServerAdvancedThreatProtectionInner get(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName) Get a server's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a server's Advanced Threat Protection state.
- 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, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.- Returns:
- a server Advanced Threat Protection 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<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.- Returns:
- the
PollerFluxfor polling of a server Advanced Threat Protection. - 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<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.- Returns:
- the
SyncPollerfor polling of a server Advanced Threat Protection. - 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<ServerAdvancedThreatProtectionInner>,ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a server Advanced Threat Protection. - 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<ServerAdvancedThreatProtectionInner> createOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.- Returns:
- a server Advanced Threat Protection 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
ServerAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.- Returns:
- a server Advanced Threat Protection.
- 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
ServerAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates an Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The server Advanced Threat Protection state.context- The context to associate with this operation.- Returns:
- a server Advanced Threat Protection.
- 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.
-