Interface VirtualNetworkLinksClient


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

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String privateZoneName,
                                                                                                  String virtualNetworkLinkName,
                                                                                                  VirtualNetworkLinkInner parameters,
                                                                                                  String ifMatch,
                                                                                                  String ifNoneMatch)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                             String privateZoneName,
                                                                                                                                                                             String virtualNetworkLinkName,
                                                                                                                                                                             VirtualNetworkLinkInner parameters,
                                                                                                                                                                             String ifMatch,
                                                                                                                                                                             String ifNoneMatch)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String privateZoneName,
                                                                                                                                                                        String virtualNetworkLinkName,
                                                                                                                                                                        VirtualNetworkLinkInner parameters,
                                                                                                                                                                        String ifMatch,
                                                                                                                                                                        String ifNoneMatch)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String privateZoneName,
                                                                                                                                                                        String virtualNetworkLinkName,
                                                                                                                                                                        VirtualNetworkLinkInner parameters,
                                                                                                                                                                        String ifMatch,
                                                                                                                                                                        String ifNoneMatch,
                                                                                                                                                                        com.azure.core.util.Context context)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        context - The context to associate with this operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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<VirtualNetworkLinkInner> createOrUpdateAsync​(String resourceGroupName,
                                                          String privateZoneName,
                                                          String virtualNetworkLinkName,
                                                          VirtualNetworkLinkInner parameters,
                                                          String ifMatch,
                                                          String ifNoneMatch)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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<VirtualNetworkLinkInner> createOrUpdateAsync​(String resourceGroupName,
                                                          String privateZoneName,
                                                          String virtualNetworkLinkName,
                                                          VirtualNetworkLinkInner parameters)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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

        VirtualNetworkLinkInner createOrUpdate​(String resourceGroupName,
                                               String privateZoneName,
                                               String virtualNetworkLinkName,
                                               VirtualNetworkLinkInner parameters,
                                               String ifMatch,
                                               String ifNoneMatch)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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

        VirtualNetworkLinkInner createOrUpdate​(String resourceGroupName,
                                               String privateZoneName,
                                               String virtualNetworkLinkName,
                                               VirtualNetworkLinkInner parameters)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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

        VirtualNetworkLinkInner createOrUpdate​(String resourceGroupName,
                                               String privateZoneName,
                                               String virtualNetworkLinkName,
                                               VirtualNetworkLinkInner parameters,
                                               String ifMatch,
                                               String ifNoneMatch,
                                               com.azure.core.util.Context context)
        Creates or updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        context - The context to associate with this operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String privateZoneName,
                                                                                          String virtualNetworkLinkName,
                                                                                          VirtualNetworkLinkInner parameters,
                                                                                          String ifMatch)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                                     String privateZoneName,
                                                                                                                                                                     String virtualNetworkLinkName,
                                                                                                                                                                     VirtualNetworkLinkInner parameters,
                                                                                                                                                                     String ifMatch)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                String privateZoneName,
                                                                                                                                                                String virtualNetworkLinkName,
                                                                                                                                                                VirtualNetworkLinkInner parameters,
                                                                                                                                                                String ifMatch)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                String privateZoneName,
                                                                                                                                                                String virtualNetworkLinkName,
                                                                                                                                                                VirtualNetworkLinkInner parameters,
                                                                                                                                                                String ifMatch,
                                                                                                                                                                com.azure.core.util.Context context)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        context - The context to associate with this operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • updateAsync

        Mono<VirtualNetworkLinkInner> updateAsync​(String resourceGroupName,
                                                  String privateZoneName,
                                                  String virtualNetworkLinkName,
                                                  VirtualNetworkLinkInner parameters,
                                                  String ifMatch)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • updateAsync

        Mono<VirtualNetworkLinkInner> updateAsync​(String resourceGroupName,
                                                  String privateZoneName,
                                                  String virtualNetworkLinkName,
                                                  VirtualNetworkLinkInner parameters)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • update

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String privateZoneName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkInner parameters,
                                       String ifMatch)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • update

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String privateZoneName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkInner parameters)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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.
      • update

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String privateZoneName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkInner parameters,
                                       String ifMatch,
                                       com.azure.core.util.Context context)
        Updates a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        context - The context to associate with this operation.
        Returns:
        describes a link to virtual network for a Private DNS zone.
        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 privateZoneName,
                                                                                          String virtualNetworkLinkName,
                                                                                          String ifMatch)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                                                                                                                               String virtualNetworkLinkName,
                                                                                                                               String ifMatch)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                                                                                                                          String virtualNetworkLinkName,
                                                                                                                          String ifMatch)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                                                                                                                          String virtualNetworkLinkName,
                                                                                                                          String ifMatch,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                               String virtualNetworkLinkName,
                               String ifMatch)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                               String virtualNetworkLinkName)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        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 privateZoneName,
                    String virtualNetworkLinkName,
                    String ifMatch)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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 privateZoneName,
                    String virtualNetworkLinkName)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        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 privateZoneName,
                    String virtualNetworkLinkName,
                    String ifMatch,
                    com.azure.core.util.Context context)
        Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        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<VirtualNetworkLinkInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                              String privateZoneName,
                                                                                              String virtualNetworkLinkName)
        Gets a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        Returns:
        a virtual network link to the specified Private DNS zone.
        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<VirtualNetworkLinkInner> getAsync​(String resourceGroupName,
                                               String privateZoneName,
                                               String virtualNetworkLinkName)
        Gets a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        Returns:
        a virtual network link to the specified Private DNS zone.
        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

        VirtualNetworkLinkInner get​(String resourceGroupName,
                                    String privateZoneName,
                                    String virtualNetworkLinkName)
        Gets a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        Returns:
        a virtual network link to the specified Private DNS zone.
        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<VirtualNetworkLinkInner> getWithResponse​(String resourceGroupName,
                                                                                   String privateZoneName,
                                                                                   String virtualNetworkLinkName,
                                                                                   com.azure.core.util.Context context)
        Gets a virtual network link to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        virtualNetworkLinkName - The name of the virtual network link.
        context - The context to associate with this operation.
        Returns:
        a virtual network link to the specified Private DNS zone.
        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<VirtualNetworkLinkInner> listAsync​(String resourceGroupName,
                                                                              String privateZoneName,
                                                                              Integer top)
        Lists the virtual network links to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        top - The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.
        Returns:
        the response to a list virtual network link to Private DNS zone 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<VirtualNetworkLinkInner> listAsync​(String resourceGroupName,
                                                                              String privateZoneName)
        Lists the virtual network links to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        Returns:
        the response to a list virtual network link to Private DNS zone 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.
      • list

        com.azure.core.http.rest.PagedIterable<VirtualNetworkLinkInner> list​(String resourceGroupName,
                                                                             String privateZoneName)
        Lists the virtual network links to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        Returns:
        the response to a list virtual network link to Private DNS zone 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.
      • list

        com.azure.core.http.rest.PagedIterable<VirtualNetworkLinkInner> list​(String resourceGroupName,
                                                                             String privateZoneName,
                                                                             Integer top,
                                                                             com.azure.core.util.Context context)
        Lists the virtual network links to the specified Private DNS zone.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateZoneName - The name of the Private DNS zone (without a terminating dot).
        top - The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.
        context - The context to associate with this operation.
        Returns:
        the response to a list virtual network link to Private DNS zone 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.