Interface ConfigurationPolicyGroupsClient
public interface ConfigurationPolicyGroupsClient
An instance of this class provides access to all the operations defined in ConfigurationPolicyGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationPolicyGroupInner>, VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationPolicyGroupInner>, VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, com.azure.core.util.Context context) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnServerConfigurationPolicyGroupInner>, VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.beginDelete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.beginDelete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Deletes a ConfigurationPolicyGroup.beginDeleteAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, com.azure.core.util.Context context) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.createOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.voiddelete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.voiddelete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Deletes a ConfigurationPolicyGroup.deleteAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.get(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.getAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.com.azure.core.http.rest.Response<VpnServerConfigurationPolicyGroupInner> getWithResponse(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Retrieves the details of a ConfigurationPolicyGroup.Mono<com.azure.core.http.rest.Response<VpnServerConfigurationPolicyGroupInner>> getWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfiguration(String resourceGroupName, String vpnServerConfigurationName) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.com.azure.core.http.rest.PagedIterable<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfiguration(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.com.azure.core.http.rest.PagedFlux<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfigurationAsync(String resourceGroupName, String vpnServerConfigurationName) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.- Returns:
- vpnServerConfigurationPolicyGroup Resource 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<VpnServerConfigurationPolicyGroupInner>,VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.- Returns:
- the
PollerFluxfor polling of vpnServerConfigurationPolicyGroup Resource. - 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<VpnServerConfigurationPolicyGroupInner>,VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.- Returns:
- the
SyncPollerfor polling of vpnServerConfigurationPolicyGroup Resource. - 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<VpnServerConfigurationPolicyGroupInner>,VpnServerConfigurationPolicyGroupInner> beginCreateOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, com.azure.core.util.Context context) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpnServerConfigurationPolicyGroup Resource. - 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<VpnServerConfigurationPolicyGroupInner> createOrUpdateAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.- Returns:
- vpnServerConfigurationPolicyGroup Resource 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
VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.- Returns:
- vpnServerConfigurationPolicyGroup Resource.
- 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
VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, com.azure.core.util.Context context) Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.vpnServerConfigurationPolicyGroupParameters- Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.context- The context to associate with this operation.- Returns:
- vpnServerConfigurationPolicyGroup Resource.
- 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 vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.- 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 vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.- 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 vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.- 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 vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.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
Mono<Void> deleteAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.- 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
void delete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.- 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 vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Deletes a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the ConfigurationPolicyGroup.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup.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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VpnServerConfigurationPolicyGroupInner>> getWithResponseAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup being retrieved.- Returns:
- vpnServerConfigurationPolicyGroup Resource 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<VpnServerConfigurationPolicyGroupInner> getAsync(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup being retrieved.- Returns:
- vpnServerConfigurationPolicyGroup Resource 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<VpnServerConfigurationPolicyGroupInner> getWithResponse(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, com.azure.core.util.Context context) Retrieves the details of a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup being retrieved.context- The context to associate with this operation.- Returns:
- vpnServerConfigurationPolicyGroup Resource 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
VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName) Retrieves the details of a ConfigurationPolicyGroup.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.configurationPolicyGroupName- The name of the ConfigurationPolicyGroup being retrieved.- Returns:
- vpnServerConfigurationPolicyGroup Resource.
- 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.
-
listByVpnServerConfigurationAsync
com.azure.core.http.rest.PagedFlux<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfigurationAsync(String resourceGroupName, String vpnServerConfigurationName) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.- Returns:
- result of the request to list VpnServerConfigurationPolicyGroups 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.
-
listByVpnServerConfiguration
com.azure.core.http.rest.PagedIterable<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfiguration(String resourceGroupName, String vpnServerConfigurationName) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.- Returns:
- result of the request to list VpnServerConfigurationPolicyGroups 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.
-
listByVpnServerConfiguration
com.azure.core.http.rest.PagedIterable<VpnServerConfigurationPolicyGroupInner> listByVpnServerConfiguration(String resourceGroupName, String vpnServerConfigurationName, com.azure.core.util.Context context) Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.- Parameters:
resourceGroupName- The resource group name of the VpnServerConfiguration.vpnServerConfigurationName- The name of the VpnServerConfiguration.context- The context to associate with this operation.- Returns:
- result of the request to list VpnServerConfigurationPolicyGroups 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.
-