Class VirtualNetworkLinkInner


  • public final class VirtualNetworkLinkInner
    extends com.azure.core.management.ProxyResource
    Describes a virtual network link.
    • Constructor Detail

      • VirtualNetworkLinkInner

        public VirtualNetworkLinkInner()
    • Method Detail

      • etag

        public String etag()
        Get the etag property: ETag of the virtual network link.
        Returns:
        the etag value.
      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Metadata pertaining to creation and last modification of the resource.
        Returns:
        the systemData value.
      • virtualNetwork

        public com.azure.core.management.SubResource virtualNetwork()
        Get the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.
        Returns:
        the virtualNetwork value.
      • withVirtualNetwork

        public VirtualNetworkLinkInner withVirtualNetwork​(com.azure.core.management.SubResource virtualNetwork)
        Set the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.
        Parameters:
        virtualNetwork - the virtualNetwork value to set.
        Returns:
        the VirtualNetworkLinkInner object itself.
      • metadata

        public Map<String,​String> metadata()
        Get the metadata property: Metadata attached to the virtual network link.
        Returns:
        the metadata value.
      • withMetadata

        public VirtualNetworkLinkInner withMetadata​(Map<String,​String> metadata)
        Set the metadata property: Metadata attached to the virtual network link.
        Parameters:
        metadata - the metadata value to set.
        Returns:
        the VirtualNetworkLinkInner object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.
        Returns:
        the provisioningState value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.