Interface ServiceEndpointPolicyDefinitionsClient


public interface ServiceEndpointPolicyDefinitionsClient
An instance of this class provides access to all the operations defined in ServiceEndpointPolicyDefinitionsClient.
  • Method Details

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      Returns:
      the Response 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      Returns:
      the PollerFlux for 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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      Returns:
      the SyncPoller for 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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, com.azure.core.util.Context context)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      Returns:
      A Mono that 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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, com.azure.core.util.Context context)
      Deletes the specified ServiceEndpoint policy definitions.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the Service Endpoint Policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition.
      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<ServiceEndpointPolicyDefinitionInner>> getWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Get the specified service endpoint policy definitions from service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      Returns:
      the specified service endpoint policy definitions from service endpoint policy along with Response 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.
    • getAsync

      Mono<ServiceEndpointPolicyDefinitionInner> getAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Get the specified service endpoint policy definitions from service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      Returns:
      the specified service endpoint policy definitions from service endpoint policy 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<ServiceEndpointPolicyDefinitionInner> getWithResponse(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, com.azure.core.util.Context context)
      Get the specified service endpoint policy definitions from service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      context - The context to associate with this operation.
      Returns:
      the specified service endpoint policy definitions from service endpoint policy 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

      ServiceEndpointPolicyDefinitionInner get(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName)
      Get the specified service endpoint policy definitions from service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      Returns:
      the specified service endpoint policy definitions from service endpoint policy.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      Returns:
      service Endpoint policy definitions along with Response 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyDefinitionInner>,ServiceEndpointPolicyDefinitionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      Returns:
      the PollerFlux for polling of service Endpoint policy definitions.
      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<ServiceEndpointPolicyDefinitionInner>,ServiceEndpointPolicyDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      Returns:
      the SyncPoller for polling of service Endpoint policy definitions.
      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<ServiceEndpointPolicyDefinitionInner>,ServiceEndpointPolicyDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions, com.azure.core.util.Context context)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of service Endpoint policy definitions.
      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<ServiceEndpointPolicyDefinitionInner> createOrUpdateAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      Returns:
      service Endpoint policy definitions 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

      ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      Returns:
      service Endpoint policy definitions.
      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

      ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions, com.azure.core.util.Context context)
      Creates or updates a service endpoint policy definition in the specified service endpoint policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy.
      serviceEndpointPolicyDefinitionName - The name of the service endpoint policy definition name.
      serviceEndpointPolicyDefinitions - Parameters supplied to the create or update service endpoint policy operation.
      context - The context to associate with this operation.
      Returns:
      service Endpoint policy definitions.
      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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyDefinitionInner> listByResourceGroupAsync(String resourceGroupName, String serviceEndpointPolicyName)
      Gets all service endpoint policy definitions in a service end point policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      Returns:
      all service endpoint policy definitions in a service end point policy 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyDefinitionInner> listByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName)
      Gets all service endpoint policy definitions in a service end point policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      Returns:
      all service endpoint policy definitions in a service end point policy 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyDefinitionInner> listByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName, com.azure.core.util.Context context)
      Gets all service endpoint policy definitions in a service end point policy.
      Parameters:
      resourceGroupName - The name of the resource group.
      serviceEndpointPolicyName - The name of the service endpoint policy name.
      context - The context to associate with this operation.
      Returns:
      all service endpoint policy definitions in a service end point policy 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.