Interface SecretsClient
public interface SecretsClient
An instance of this class provides access to all the operations defined in SecretsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecretInner>, SecretInner> beginCreate(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecretInner>, SecretInner> beginCreate(String resourceGroupName, String profileName, String secretName, SecretInner secret, com.azure.core.util.Context context) Creates a new Secret within the specified profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecretInner>, SecretInner> beginCreateAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.beginDelete(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.beginDelete(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Deletes an existing Secret within profile.beginDeleteAsync(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.create(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.create(String resourceGroupName, String profileName, String secretName, SecretInner secret, com.azure.core.util.Context context) Creates a new Secret within the specified profile.createAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.voidDeletes an existing Secret within profile.voiddelete(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Deletes an existing Secret within profile.deleteAsync(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.Gets an existing Secret within a profile.Gets an existing Secret within a profile.com.azure.core.http.rest.Response<SecretInner> getWithResponse(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Gets an existing Secret within a profile.Mono<com.azure.core.http.rest.Response<SecretInner>> getWithResponseAsync(String resourceGroupName, String profileName, String secretName) Gets an existing Secret within a profile.com.azure.core.http.rest.PagedIterable<SecretInner> listByProfile(String resourceGroupName, String profileName) Lists existing AzureFrontDoor secrets.com.azure.core.http.rest.PagedIterable<SecretInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context) Lists existing AzureFrontDoor secrets.com.azure.core.http.rest.PagedFlux<SecretInner> listByProfileAsync(String resourceGroupName, String profileName) Lists existing AzureFrontDoor secrets.
-
Method Details
-
listByProfileAsync
com.azure.core.http.rest.PagedFlux<SecretInner> listByProfileAsync(String resourceGroupName, String profileName) Lists existing AzureFrontDoor secrets.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.- Returns:
- result of the request to list secrets 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.
-
listByProfile
com.azure.core.http.rest.PagedIterable<SecretInner> listByProfile(String resourceGroupName, String profileName) Lists existing AzureFrontDoor secrets.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.- Returns:
- result of the request to list secrets 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.
-
listByProfile
com.azure.core.http.rest.PagedIterable<SecretInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context) Lists existing AzureFrontDoor secrets.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- result of the request to list secrets 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<SecretInner>> getWithResponseAsync(String resourceGroupName, String profileName, String secretName) Gets an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- an existing Secret within a profile 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
Gets an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- an existing Secret within a profile 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<SecretInner> getWithResponse(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Gets an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.context- The context to associate with this operation.- Returns:
- an existing Secret within a profile 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
Gets an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- an existing Secret within a profile.
- 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.- Returns:
- friendly Secret name mapping to the any Secret or secret related information 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecretInner>,SecretInner> beginCreateAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.- Returns:
- the
PollerFluxfor polling of friendly Secret name mapping to the any Secret or secret related information. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecretInner>,SecretInner> beginCreate(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.- Returns:
- the
SyncPollerfor polling of friendly Secret name mapping to the any Secret or secret related information. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecretInner>,SecretInner> beginCreate(String resourceGroupName, String profileName, String secretName, SecretInner secret, com.azure.core.util.Context context) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of friendly Secret name mapping to the any Secret or secret related information. - 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.
-
createAsync
Mono<SecretInner> createAsync(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.- Returns:
- friendly Secret name mapping to the any Secret or secret related information 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.
-
create
SecretInner create(String resourceGroupName, String profileName, String secretName, SecretInner secret) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.- Returns:
- friendly Secret name mapping to the any Secret or secret related information.
- 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.
-
create
SecretInner create(String resourceGroupName, String profileName, String secretName, SecretInner secret, com.azure.core.util.Context context) Creates a new Secret within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.secret- The Secret properties.context- The context to associate with this operation.- Returns:
- friendly Secret name mapping to the any Secret or secret related information.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- the
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- the
PollerFluxfor 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String secretName) Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- the
SyncPollerfor 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.
-
deleteAsync
Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- Returns:
- A
Monothat completes when a successful response is received. - 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
Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.- 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
void delete(String resourceGroupName, String profileName, String secretName, com.azure.core.util.Context context) Deletes an existing Secret within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.secretName- Name of the Secret under the profile.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.
-