Interface SecurityPoliciesClient
-
public interface SecurityPoliciesClientAn instance of this class provides access to all the operations defined in SecurityPoliciesClient.
-
-
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<SecurityPolicyInner>,SecurityPolicyInner>beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Creates a new security policy within the specified profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner>beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)Creates a new security policy within the specified profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner>beginCreateAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Creates a new security policy within the specified profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String profileName, String securityPolicyName)Deletes an existing security policy within profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String profileName, String securityPolicyName, com.azure.core.util.Context context)Deletes an existing security policy within profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String profileName, String securityPolicyName)Deletes an existing security policy within profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner>beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Updates an existing Secret within a profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner>beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)Updates an existing Secret within a profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner>beginPatchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Updates an existing Secret within a profile.SecurityPolicyInnercreate(String resourceGroupName, String profileName, String securityPolicyName)Creates a new security policy within the specified profile.SecurityPolicyInnercreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Creates a new security policy within the specified profile.SecurityPolicyInnercreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)Creates a new security policy within the specified profile.Mono<SecurityPolicyInner>createAsync(String resourceGroupName, String profileName, String securityPolicyName)Creates a new security policy within the specified profile.Mono<SecurityPolicyInner>createAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Creates a new security policy within the specified profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Creates a new security policy within the specified profile.voiddelete(String resourceGroupName, String profileName, String securityPolicyName)Deletes an existing security policy within profile.voiddelete(String resourceGroupName, String profileName, String securityPolicyName, com.azure.core.util.Context context)Deletes an existing security policy within profile.Mono<Void>deleteAsync(String resourceGroupName, String profileName, String securityPolicyName)Deletes an existing security policy within profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)Deletes an existing security policy within profile.SecurityPolicyInnerget(String resourceGroupName, String profileName, String securityPolicyName)Gets an existing security policy within a profile.Mono<SecurityPolicyInner>getAsync(String resourceGroupName, String profileName, String securityPolicyName)Gets an existing security policy within a profile.com.azure.core.http.rest.Response<SecurityPolicyInner>getWithResponse(String resourceGroupName, String profileName, String securityPolicyName, com.azure.core.util.Context context)Gets an existing security policy within a profile.Mono<com.azure.core.http.rest.Response<SecurityPolicyInner>>getWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)Gets an existing security policy within a profile.com.azure.core.http.rest.PagedIterable<SecurityPolicyInner>listByProfile(String resourceGroupName, String profileName)Lists security policies associated with the profile.com.azure.core.http.rest.PagedIterable<SecurityPolicyInner>listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)Lists security policies associated with the profile.com.azure.core.http.rest.PagedFlux<SecurityPolicyInner>listByProfileAsync(String resourceGroupName, String profileName)Lists security policies associated with the profile.SecurityPolicyInnerpatch(String resourceGroupName, String profileName, String securityPolicyName)Updates an existing Secret within a profile.SecurityPolicyInnerpatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Updates an existing Secret within a profile.SecurityPolicyInnerpatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)Updates an existing Secret within a profile.Mono<SecurityPolicyInner>patchAsync(String resourceGroupName, String profileName, String securityPolicyName)Updates an existing Secret within a profile.Mono<SecurityPolicyInner>patchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Updates an existing Secret within a profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>patchWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)Updates an existing Secret within a profile.
-
-
-
Method Detail
-
listByProfileAsync
com.azure.core.http.rest.PagedFlux<SecurityPolicyInner> listByProfileAsync(String resourceGroupName, String profileName)
Lists security policies associated with the profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- result of the request to list security policies.
- 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<SecurityPolicyInner> listByProfile(String resourceGroupName, String profileName)
Lists security policies associated with the profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- result of the request to list security policies.
- 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<SecurityPolicyInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Lists security policies associated with the profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- result of the request to list security policies.
- 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<SecurityPolicyInner>> getWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)
Gets an existing security policy within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- an existing security policy 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.
-
getAsync
Mono<SecurityPolicyInner> getAsync(String resourceGroupName, String profileName, String securityPolicyName)
Gets an existing security policy within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- an existing security policy 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.
-
get
SecurityPolicyInner get(String resourceGroupName, String profileName, String securityPolicyName)
Gets an existing security policy within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- an existing security policy 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.
-
getWithResponse
com.azure.core.http.rest.Response<SecurityPolicyInner> getWithResponse(String resourceGroupName, String profileName, String securityPolicyName, com.azure.core.util.Context context)
Gets an existing security policy within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.context- The context to associate with this operation.- Returns:
- an existing security policy 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 securityPolicyName, SecurityPolicyParameters parameters)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreateAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.context- The context to associate with this operation.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
createAsync
Mono<SecurityPolicyInner> createAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
createAsync
Mono<SecurityPolicyInner> createAsync(String resourceGroupName, String profileName, String securityPolicyName)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
create
SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
create
SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
create
SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)
Creates a new security policy within the specified profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.context- The context to associate with this operation.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patchWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> patchWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginPatchAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginPatch
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
beginPatch
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.context- The context to associate with this operation.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patchAsync
Mono<SecurityPolicyInner> patchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patchAsync
Mono<SecurityPolicyInner> patchAsync(String resourceGroupName, String profileName, String securityPolicyName)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patch
SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patch
SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
patch
SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyParameters parameters, com.azure.core.util.Context context)
Updates an existing Secret within a profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the security policy under the profile.parameters- object which contains security policy parameters.context- The context to associate with this operation.- Returns:
- securityPolicy association for AzureFrontDoor 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the Secret under the profile.- Returns:
- the completion.
- 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 securityPolicyName)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the Secret under the profile.- Returns:
- the completion.
- 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 securityPolicyName)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the Secret under the profile.- Returns:
- the completion.
- 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 securityPolicyName, com.azure.core.util.Context context)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the Secret under the profile.context- The context to associate with this operation.- Returns:
- the completion.
- 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
Mono<Void> deleteAsync(String resourceGroupName, String profileName, String securityPolicyName)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- Name of the Secret under the profile.- Returns:
- the completion.
- 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 securityPolicyName)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- 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 securityPolicyName, com.azure.core.util.Context context)
Deletes an existing security policy within profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.securityPolicyName- 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.
-
-