Interface ServiceEndpointPoliciesClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String serviceEndpointPolicyName)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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)
        Deletes the specified service endpoint policy.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the 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.
      • delete

        void delete​(String resourceGroupName,
                    String serviceEndpointPolicyName,
                    com.azure.core.util.Context context)
        Deletes the specified service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                                String serviceEndpointPolicyName,
                                                                                                                String expand)
        Gets the specified service Endpoint Policies in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        expand - Expands referenced resources.
        Returns:
        the specified service Endpoint Policies in a specified resource group 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.
      • getByResourceGroupAsync

        Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                 String serviceEndpointPolicyName,
                                                                 String expand)
        Gets the specified service Endpoint Policies in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        expand - Expands referenced resources.
        Returns:
        the specified service Endpoint Policies in a specified resource group 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.
      • getByResourceGroupAsync

        Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                 String serviceEndpointPolicyName)
        Gets the specified service Endpoint Policies in a specified resource group.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<ServiceEndpointPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        Returns:
        the specified service Endpoint Policies in a specified resource group 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.
      • getByResourceGroup

        ServiceEndpointPolicyInner getByResourceGroup​(String resourceGroupName,
                                                      String serviceEndpointPolicyName)
        Gets the specified service Endpoint Policies in a specified resource group.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<ServiceEndpointPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        Returns:
        the specified service Endpoint Policies in a specified resource group.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                     String serviceEndpointPolicyName,
                                                                                                     String expand,
                                                                                                     com.azure.core.util.Context context)
        Gets the specified service Endpoint Policies in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified service Endpoint Policies in a specified resource group 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String serviceEndpointPolicyName,
                                                                                                  ServiceEndpointPolicyInner parameters)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        Returns:
        service End point policy resource 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<ServiceEndpointPolicyInner>,​ServiceEndpointPolicyInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                   String serviceEndpointPolicyName,
                                                                                                                                                                                   ServiceEndpointPolicyInner parameters)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        Returns:
        the PollerFlux for polling of service End point policy 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<ServiceEndpointPolicyInner>,​ServiceEndpointPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                              String serviceEndpointPolicyName,
                                                                                                                                                                              ServiceEndpointPolicyInner parameters)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        Returns:
        the SyncPoller for polling of service End point policy 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<ServiceEndpointPolicyInner>,​ServiceEndpointPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                              String serviceEndpointPolicyName,
                                                                                                                                                                              ServiceEndpointPolicyInner parameters,
                                                                                                                                                                              com.azure.core.util.Context context)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - 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 End point policy 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<ServiceEndpointPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                             String serviceEndpointPolicyName,
                                                             ServiceEndpointPolicyInner parameters)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        Returns:
        service End point policy 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

        ServiceEndpointPolicyInner createOrUpdate​(String resourceGroupName,
                                                  String serviceEndpointPolicyName,
                                                  ServiceEndpointPolicyInner parameters)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        Returns:
        service End point policy 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

        ServiceEndpointPolicyInner createOrUpdate​(String resourceGroupName,
                                                  String serviceEndpointPolicyName,
                                                  ServiceEndpointPolicyInner parameters,
                                                  com.azure.core.util.Context context)
        Creates or updates a service Endpoint Policies.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to the create or update service endpoint policy operation.
        context - The context to associate with this operation.
        Returns:
        service End point policy 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.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                                        String serviceEndpointPolicyName,
                                                                                                        TagsObject parameters)
        Updates tags of a service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to update service endpoint policy tags.
        Returns:
        service End point policy resource 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.
      • updateTagsAsync

        Mono<ServiceEndpointPolicyInner> updateTagsAsync​(String resourceGroupName,
                                                         String serviceEndpointPolicyName,
                                                         TagsObject parameters)
        Updates tags of a service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to update service endpoint policy tags.
        Returns:
        service End point policy 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.
      • updateTags

        ServiceEndpointPolicyInner updateTags​(String resourceGroupName,
                                              String serviceEndpointPolicyName,
                                              TagsObject parameters)
        Updates tags of a service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to update service endpoint policy tags.
        Returns:
        service End point policy 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.
      • updateTagsWithResponse

        com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                             String serviceEndpointPolicyName,
                                                                                             TagsObject parameters,
                                                                                             com.azure.core.util.Context context)
        Updates tags of a service endpoint policy.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceEndpointPolicyName - The name of the service endpoint policy.
        parameters - Parameters supplied to update service endpoint policy tags.
        context - The context to associate with this operation.
        Returns:
        service End point policy 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listAsync()
        Gets all the service endpoint policies in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<ServiceEndpointPolicyInner>
        Returns:
        all the service endpoint policies in a subscription as paginated response with PagedFlux.
        Throws:
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> list()
        Gets all the service endpoint policies in a subscription.
        Specified by:
        list in interface InnerSupportsListing<ServiceEndpointPolicyInner>
        Returns:
        all the service endpoint policies in a subscription as paginated response with PagedIterable.
        Throws:
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> list​(com.azure.core.util.Context context)
        Gets all the service endpoint policies in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all the service endpoint policies in a subscription 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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets all service endpoint Policies in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<ServiceEndpointPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all service endpoint Policies in a resource group 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<ServiceEndpointPolicyInner> listByResourceGroup​(String resourceGroupName)
        Gets all service endpoint Policies in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<ServiceEndpointPolicyInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all service endpoint Policies in a resource group 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<ServiceEndpointPolicyInner> listByResourceGroup​(String resourceGroupName,
                                                                                               com.azure.core.util.Context context)
        Gets all service endpoint Policies in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all service endpoint Policies in a resource group 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.