public interface ServerKeysClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters)
Creates or updates a server key.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters,
com.azure.core.util.Context context)
Creates or updates a server key.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters)
Creates or updates a server key.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String keyName)
Deletes the server key with the given name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String keyName,
com.azure.core.util.Context context)
Deletes the server key with the given name.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName,
String keyName)
Deletes the server key with the given name.
|
ServerKeyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters)
Creates or updates a server key.
|
ServerKeyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters,
com.azure.core.util.Context context)
Creates or updates a server key.
|
Mono<ServerKeyInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters)
Creates or updates a server key.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String keyName,
ServerKeyInner parameters)
Creates or updates a server key.
|
void |
delete(String resourceGroupName,
String serverName,
String keyName)
Deletes the server key with the given name.
|
void |
delete(String resourceGroupName,
String serverName,
String keyName,
com.azure.core.util.Context context)
Deletes the server key with the given name.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String keyName)
Deletes the server key with the given name.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String keyName)
Deletes the server key with the given name.
|
ServerKeyInner |
get(String resourceGroupName,
String serverName,
String keyName)
Gets a server key.
|
Mono<ServerKeyInner> |
getAsync(String resourceGroupName,
String serverName,
String keyName)
Gets a server key.
|
com.azure.core.http.rest.Response<ServerKeyInner> |
getWithResponse(String resourceGroupName,
String serverName,
String keyName,
com.azure.core.util.Context context)
Gets a server key.
|
Mono<com.azure.core.http.rest.Response<ServerKeyInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String keyName)
Gets a server key.
|
com.azure.core.http.rest.PagedIterable<ServerKeyInner> |
listByServer(String resourceGroupName,
String serverName)
Gets a list of server keys.
|
com.azure.core.http.rest.PagedIterable<ServerKeyInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Gets a list of server keys.
|
com.azure.core.http.rest.PagedFlux<ServerKeyInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Gets a list of server keys.
|
com.azure.core.http.rest.PagedFlux<ServerKeyInner> listByServerAsync(String resourceGroupName, String serverName)
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.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.com.azure.core.http.rest.PagedIterable<ServerKeyInner> listByServer(String resourceGroupName, String serverName)
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.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.com.azure.core.http.rest.PagedIterable<ServerKeyInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<ServerKeyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be retrieved.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.Mono<ServerKeyInner> getAsync(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be retrieved.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.ServerKeyInner get(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be retrieved.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.com.azure.core.http.rest.Response<ServerKeyInner> getWithResponse(String resourceGroupName, String serverName, String keyName, com.azure.core.util.Context context)
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.keyName - The name of the server key to be retrieved.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String keyName, ServerKeyInner 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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String keyName, ServerKeyInner 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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String keyName, ServerKeyInner 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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerKeyInner>,ServerKeyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String keyName, ServerKeyInner parameters, com.azure.core.util.Context context)
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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.context - The context to associate with this operation.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.Mono<ServerKeyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String keyName, ServerKeyInner 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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.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.ServerKeyInner createOrUpdate(String resourceGroupName, String serverName, String keyName, ServerKeyInner 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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.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.ServerKeyInner createOrUpdate(String resourceGroupName, String serverName, String keyName, ServerKeyInner parameters, com.azure.core.util.Context context)
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.keyName - The name of the server key to be operated on (updated or created). The key name is required to be
in the format of 'vault_key_version'. For example, if the keyId is
https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then the server key
name should be formatted as: YourVaultName_YourKeyName_01234567890123456789012345678901.parameters - A server key.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be deleted.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String keyName, com.azure.core.util.Context context)
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.keyName - The name of the server key to be deleted.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be deleted.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.void delete(String resourceGroupName, String serverName, String keyName)
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.keyName - The name of the server key to be deleted.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.void delete(String resourceGroupName, String serverName, String keyName, com.azure.core.util.Context context)
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.keyName - The name of the server key to be deleted.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.