199 строки
18 KiB
YAML
199 строки
18 KiB
YAML
|
### YamlMime:JavaType
|
||
|
uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment"
|
||
|
name: "NetworkAttachment"
|
||
|
nameWithType: "NetworkAttachment"
|
||
|
summary: "Network<wbr>Attachment represents the single network attachment."
|
||
|
inheritances:
|
||
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
||
|
inheritedClassMethods:
|
||
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
||
|
methodsRef:
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
||
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
||
|
syntax: "public final class **NetworkAttachment**"
|
||
|
constructors:
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.NetworkAttachment()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.NetworkAttachment()"
|
||
|
name: "NetworkAttachment()"
|
||
|
nameWithType: "NetworkAttachment.NetworkAttachment()"
|
||
|
summary: "Creates an instance of Network<wbr>Attachment class."
|
||
|
syntax: "public NetworkAttachment()"
|
||
|
desc: "Creates an instance of NetworkAttachment class."
|
||
|
methods:
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.attachedNetworkId()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.attachedNetworkId()"
|
||
|
name: "attachedNetworkId()"
|
||
|
nameWithType: "NetworkAttachment.attachedNetworkId()"
|
||
|
summary: "Get the attached<wbr>Network<wbr>Id property: The resource ID of the associated network attached to the virtual machine."
|
||
|
syntax: "public String attachedNetworkId()"
|
||
|
desc: "Get the attachedNetworkId property: The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources."
|
||
|
returns:
|
||
|
description: "the attachedNetworkId value."
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.defaultGateway()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.defaultGateway()"
|
||
|
name: "defaultGateway()"
|
||
|
nameWithType: "NetworkAttachment.defaultGateway()"
|
||
|
summary: "Get the default<wbr>Gateway property: The indicator of whether this is the default gateway."
|
||
|
syntax: "public DefaultGateway defaultGateway()"
|
||
|
desc: "Get the defaultGateway property: The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True."
|
||
|
returns:
|
||
|
description: "the defaultGateway value."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.DefaultGateway?alt=com.azure.resourcemanager.networkcloud.models.DefaultGateway&text=DefaultGateway\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipAllocationMethod()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipAllocationMethod()"
|
||
|
name: "ipAllocationMethod()"
|
||
|
nameWithType: "NetworkAttachment.ipAllocationMethod()"
|
||
|
summary: "Get the ip<wbr>Allocation<wbr>Method property: The IP allocation mechanism for the virtual machine."
|
||
|
syntax: "public VirtualMachineIpAllocationMethod ipAllocationMethod()"
|
||
|
desc: "Get the ipAllocationMethod property: The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value."
|
||
|
returns:
|
||
|
description: "the ipAllocationMethod value."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.VirtualMachineIpAllocationMethod?alt=com.azure.resourcemanager.networkcloud.models.VirtualMachineIpAllocationMethod&text=VirtualMachineIpAllocationMethod\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipv4Address()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipv4Address()"
|
||
|
name: "ipv4Address()"
|
||
|
nameWithType: "NetworkAttachment.ipv4Address()"
|
||
|
summary: "Get the ipv4Address property: The IPv4 address of the virtual machine."
|
||
|
syntax: "public String ipv4Address()"
|
||
|
desc: "Get the ipv4Address property: The IPv4 address of the virtual machine.\n\nThis field is used only if the attached network has IPAllocationType of IPV4 or DualStack.\n\nIf IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty."
|
||
|
returns:
|
||
|
description: "the ipv4Address value."
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipv6Address()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.ipv6Address()"
|
||
|
name: "ipv6Address()"
|
||
|
nameWithType: "NetworkAttachment.ipv6Address()"
|
||
|
summary: "Get the ipv6Address property: The IPv6 address of the virtual machine."
|
||
|
syntax: "public String ipv6Address()"
|
||
|
desc: "Get the ipv6Address property: The IPv6 address of the virtual machine.\n\nThis field is used only if the attached network has IPAllocationType of IPV6 or DualStack.\n\nIf IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty."
|
||
|
returns:
|
||
|
description: "the ipv6Address value."
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.macAddress()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.macAddress()"
|
||
|
name: "macAddress()"
|
||
|
nameWithType: "NetworkAttachment.macAddress()"
|
||
|
summary: "Get the mac<wbr>Address property: The MAC address of the interface for the virtual machine that corresponds to this network attachment."
|
||
|
syntax: "public String macAddress()"
|
||
|
desc: "Get the macAddress property: The MAC address of the interface for the virtual machine that corresponds to this network attachment."
|
||
|
returns:
|
||
|
description: "the macAddress value."
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.networkAttachmentName()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.networkAttachmentName()"
|
||
|
name: "networkAttachmentName()"
|
||
|
nameWithType: "NetworkAttachment.networkAttachmentName()"
|
||
|
summary: "Get the network<wbr>Attachment<wbr>Name property: The associated network's interface name."
|
||
|
syntax: "public String networkAttachmentName()"
|
||
|
desc: "Get the networkAttachmentName property: The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn\\\\u2019t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored."
|
||
|
returns:
|
||
|
description: "the networkAttachmentName value."
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.validate()"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.validate()"
|
||
|
name: "validate()"
|
||
|
nameWithType: "NetworkAttachment.validate()"
|
||
|
summary: "Validates the instance."
|
||
|
syntax: "public void validate()"
|
||
|
desc: "Validates the instance."
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withAttachedNetworkId(java.lang.String)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withAttachedNetworkId(String attachedNetworkId)"
|
||
|
name: "withAttachedNetworkId(String attachedNetworkId)"
|
||
|
nameWithType: "NetworkAttachment.withAttachedNetworkId(String attachedNetworkId)"
|
||
|
summary: "Set the attached<wbr>Network<wbr>Id property: The resource ID of the associated network attached to the virtual machine."
|
||
|
parameters:
|
||
|
- description: "the attachedNetworkId value to set."
|
||
|
name: "attachedNetworkId"
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
syntax: "public NetworkAttachment withAttachedNetworkId(String attachedNetworkId)"
|
||
|
desc: "Set the attachedNetworkId property: The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withDefaultGateway(com.azure.resourcemanager.networkcloud.models.DefaultGateway)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withDefaultGateway(DefaultGateway defaultGateway)"
|
||
|
name: "withDefaultGateway(DefaultGateway defaultGateway)"
|
||
|
nameWithType: "NetworkAttachment.withDefaultGateway(DefaultGateway defaultGateway)"
|
||
|
summary: "Set the default<wbr>Gateway property: The indicator of whether this is the default gateway."
|
||
|
parameters:
|
||
|
- description: "the defaultGateway value to set."
|
||
|
name: "defaultGateway"
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.DefaultGateway?alt=com.azure.resourcemanager.networkcloud.models.DefaultGateway&text=DefaultGateway\" data-throw-if-not-resolved=\"False\" />"
|
||
|
syntax: "public NetworkAttachment withDefaultGateway(DefaultGateway defaultGateway)"
|
||
|
desc: "Set the defaultGateway property: The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpAllocationMethod(com.azure.resourcemanager.networkcloud.models.VirtualMachineIpAllocationMethod)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpAllocationMethod(VirtualMachineIpAllocationMethod ipAllocationMethod)"
|
||
|
name: "withIpAllocationMethod(VirtualMachineIpAllocationMethod ipAllocationMethod)"
|
||
|
nameWithType: "NetworkAttachment.withIpAllocationMethod(VirtualMachineIpAllocationMethod ipAllocationMethod)"
|
||
|
summary: "Set the ip<wbr>Allocation<wbr>Method property: The IP allocation mechanism for the virtual machine."
|
||
|
parameters:
|
||
|
- description: "the ipAllocationMethod value to set."
|
||
|
name: "ipAllocationMethod"
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.VirtualMachineIpAllocationMethod?alt=com.azure.resourcemanager.networkcloud.models.VirtualMachineIpAllocationMethod&text=VirtualMachineIpAllocationMethod\" data-throw-if-not-resolved=\"False\" />"
|
||
|
syntax: "public NetworkAttachment withIpAllocationMethod(VirtualMachineIpAllocationMethod ipAllocationMethod)"
|
||
|
desc: "Set the ipAllocationMethod property: The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpv4Address(java.lang.String)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpv4Address(String ipv4Address)"
|
||
|
name: "withIpv4Address(String ipv4Address)"
|
||
|
nameWithType: "NetworkAttachment.withIpv4Address(String ipv4Address)"
|
||
|
summary: "Set the ipv4Address property: The IPv4 address of the virtual machine."
|
||
|
parameters:
|
||
|
- description: "the ipv4Address value to set."
|
||
|
name: "ipv4Address"
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
syntax: "public NetworkAttachment withIpv4Address(String ipv4Address)"
|
||
|
desc: "Set the ipv4Address property: The IPv4 address of the virtual machine.\n\nThis field is used only if the attached network has IPAllocationType of IPV4 or DualStack.\n\nIf IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpv6Address(java.lang.String)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withIpv6Address(String ipv6Address)"
|
||
|
name: "withIpv6Address(String ipv6Address)"
|
||
|
nameWithType: "NetworkAttachment.withIpv6Address(String ipv6Address)"
|
||
|
summary: "Set the ipv6Address property: The IPv6 address of the virtual machine."
|
||
|
parameters:
|
||
|
- description: "the ipv6Address value to set."
|
||
|
name: "ipv6Address"
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
syntax: "public NetworkAttachment withIpv6Address(String ipv6Address)"
|
||
|
desc: "Set the ipv6Address property: The IPv6 address of the virtual machine.\n\nThis field is used only if the attached network has IPAllocationType of IPV6 or DualStack.\n\nIf IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
- uid: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withNetworkAttachmentName(java.lang.String)"
|
||
|
fullName: "com.azure.resourcemanager.networkcloud.models.NetworkAttachment.withNetworkAttachmentName(String networkAttachmentName)"
|
||
|
name: "withNetworkAttachmentName(String networkAttachmentName)"
|
||
|
nameWithType: "NetworkAttachment.withNetworkAttachmentName(String networkAttachmentName)"
|
||
|
summary: "Set the network<wbr>Attachment<wbr>Name property: The associated network's interface name."
|
||
|
parameters:
|
||
|
- description: "the networkAttachmentName value to set."
|
||
|
name: "networkAttachmentName"
|
||
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
||
|
syntax: "public NetworkAttachment withNetworkAttachmentName(String networkAttachmentName)"
|
||
|
desc: "Set the networkAttachmentName property: The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn\\\\u2019t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored."
|
||
|
returns:
|
||
|
description: "the NetworkAttachment object itself."
|
||
|
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.NetworkAttachment?alt=com.azure.resourcemanager.networkcloud.models.NetworkAttachment&text=NetworkAttachment\" data-throw-if-not-resolved=\"False\" />"
|
||
|
type: "class"
|
||
|
desc: "NetworkAttachment represents the single network attachment."
|
||
|
metadata: {}
|
||
|
package: "com.azure.resourcemanager.networkcloud.models"
|
||
|
artifact: com.azure.resourcemanager:azure-resourcemanager-networkcloud:1.0.0
|