Interface VirtualNetworkLinksClient


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

      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkLinkInner>,​VirtualNetworkLinkInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String dnsForwardingRulesetName,
                                                                                                                                                                        String virtualNetworkLinkName,
                                                                                                                                                                        VirtualNetworkLinkInner parameters,
                                                                                                                                                                        String ifMatch,
                                                                                                                                                                        String ifNoneMatch)
        Creates or updates a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        ifNoneMatch - Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.
        Returns:
        the SyncPoller for polling of describes a 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.
      • beginCreateOrUpdate

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

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

        VirtualNetworkLinkInner createOrUpdate​(String resourceGroupName,
                                               String dnsForwardingRulesetName,
                                               String virtualNetworkLinkName,
                                               VirtualNetworkLinkInner parameters)
        Creates or updates a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the CreateOrUpdate operation.
        Returns:
        describes a 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.
      • createOrUpdate

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

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

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

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String dnsForwardingRulesetName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkPatch parameters,
                                       String ifMatch)
        Updates a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        Returns:
        describes a 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.
      • update

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String dnsForwardingRulesetName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkPatch parameters)
        Updates a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        Returns:
        describes a 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.
      • update

        VirtualNetworkLinkInner update​(String resourceGroupName,
                                       String dnsForwardingRulesetName,
                                       String virtualNetworkLinkName,
                                       VirtualNetworkLinkPatch parameters,
                                       String ifMatch,
                                       com.azure.core.util.Context context)
        Updates a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        parameters - Parameters supplied to the Update operation.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        context - The context to associate with this operation.
        Returns:
        describes a 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String dnsForwardingRulesetName,
                                                                                                                          String virtualNetworkLinkName,
                                                                                                                          String ifMatch)
        Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        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 dnsForwardingRulesetName,
                                                                                                                          String virtualNetworkLinkName,
                                                                                                                          String ifMatch,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String dnsForwardingRulesetName,
                    String virtualNetworkLinkName,
                    String ifMatch)
        Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting 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 dnsForwardingRulesetName,
                    String virtualNetworkLinkName)
        Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        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 dnsForwardingRulesetName,
                    String virtualNetworkLinkName,
                    String ifMatch,
                    com.azure.core.util.Context context)
        Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting 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.
      • get

        VirtualNetworkLinkInner get​(String resourceGroupName,
                                    String dnsForwardingRulesetName,
                                    String virtualNetworkLinkName)
        Gets properties of a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        Returns:
        properties of a virtual network link to a DNS forwarding ruleset.
        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 dnsForwardingRulesetName,
                                                                                   String virtualNetworkLinkName,
                                                                                   com.azure.core.util.Context context)
        Gets properties of a virtual network link to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        virtualNetworkLinkName - The name of the virtual network link.
        context - The context to associate with this operation.
        Returns:
        properties of a virtual network link to a DNS forwarding ruleset 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.
      • list

        com.azure.core.http.rest.PagedIterable<VirtualNetworkLinkInner> list​(String resourceGroupName,
                                                                             String dnsForwardingRulesetName)
        Lists virtual network links to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        Returns:
        the response to an enumeration operation on virtual network links 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.
      • list

        com.azure.core.http.rest.PagedIterable<VirtualNetworkLinkInner> list​(String resourceGroupName,
                                                                             String dnsForwardingRulesetName,
                                                                             Integer top,
                                                                             com.azure.core.util.Context context)
        Lists virtual network links to a DNS forwarding ruleset.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
        top - The maximum number of results to return. If not specified, returns up to 100 results.
        context - The context to associate with this operation.
        Returns:
        the response to an enumeration operation on virtual network links 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.