azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

286 строки
20 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface"
name: "NetworkInterface"
nameWithType: "NetworkInterface"
summary: "Network Interface model."
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 **NetworkInterface**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.NetworkInterface()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.NetworkInterface()"
name: "NetworkInterface()"
nameWithType: "NetworkInterface.NetworkInterface()"
summary: "Creates an instance of Network<wbr>Interface class."
syntax: "public NetworkInterface()"
desc: "Creates an instance of NetworkInterface class."
methods:
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.displayName()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.displayName()"
name: "displayName()"
nameWithType: "NetworkInterface.displayName()"
summary: "Get the display<wbr>Name property: Gets the display name of the network interface as shown in the vmm<wbr>Server."
syntax: "public String displayName()"
desc: "Get the displayName property: Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set."
returns:
description: "the displayName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "NetworkInterface.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Network<wbr>Interface from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static NetworkInterface fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the NetworkInterface."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of NetworkInterface from the JsonReader."
returns:
description: "An instance of NetworkInterface if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv4AddressType()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv4AddressType()"
name: "ipv4AddressType()"
nameWithType: "NetworkInterface.ipv4AddressType()"
summary: "Get the ipv4Address<wbr>Type property: Gets or sets the ipv4 address type."
syntax: "public AllocationMethod ipv4AddressType()"
desc: "Get the ipv4AddressType property: Gets or sets the ipv4 address type."
returns:
description: "the ipv4AddressType value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv4Addresses()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv4Addresses()"
name: "ipv4Addresses()"
nameWithType: "NetworkInterface.ipv4Addresses()"
summary: "Get the ipv4Addresses property: Gets the nic ipv4 addresses."
syntax: "public List<String> ipv4Addresses()"
desc: "Get the ipv4Addresses property: Gets the nic ipv4 addresses."
returns:
description: "the ipv4Addresses value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv6AddressType()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv6AddressType()"
name: "ipv6AddressType()"
nameWithType: "NetworkInterface.ipv6AddressType()"
summary: "Get the ipv6Address<wbr>Type property: Gets or sets the ipv6 address type."
syntax: "public AllocationMethod ipv6AddressType()"
desc: "Get the ipv6AddressType property: Gets or sets the ipv6 address type."
returns:
description: "the ipv6AddressType value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv6Addresses()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.ipv6Addresses()"
name: "ipv6Addresses()"
nameWithType: "NetworkInterface.ipv6Addresses()"
summary: "Get the ipv6Addresses property: Gets the nic ipv6 addresses."
syntax: "public List<String> ipv6Addresses()"
desc: "Get the ipv6Addresses property: Gets the nic ipv6 addresses."
returns:
description: "the ipv6Addresses value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.macAddress()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.macAddress()"
name: "macAddress()"
nameWithType: "NetworkInterface.macAddress()"
summary: "Get the mac<wbr>Address property: Gets or sets the nic MAC address."
syntax: "public String macAddress()"
desc: "Get the macAddress property: Gets or sets the nic MAC address."
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.scvmm.models.NetworkInterface.macAddressType()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.macAddressType()"
name: "macAddressType()"
nameWithType: "NetworkInterface.macAddressType()"
summary: "Get the mac<wbr>Address<wbr>Type property: Gets or sets the mac address type."
syntax: "public AllocationMethod macAddressType()"
desc: "Get the macAddressType property: Gets or sets the mac address type."
returns:
description: "the macAddressType value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.name()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.name()"
name: "name()"
nameWithType: "NetworkInterface.name()"
summary: "Get the name property: Gets or sets the name of the network interface."
syntax: "public String name()"
desc: "Get the name property: Gets or sets the name of the network interface."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.networkName()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.networkName()"
name: "networkName()"
nameWithType: "NetworkInterface.networkName()"
summary: "Get the network<wbr>Name property: Gets the name of the virtual network in vmm<wbr>Server that the nic is connected to."
syntax: "public String networkName()"
desc: "Get the networkName property: Gets the name of the virtual network in vmmServer that the nic is connected to."
returns:
description: "the networkName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.nicId()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.nicId()"
name: "nicId()"
nameWithType: "NetworkInterface.nicId()"
summary: "Get the nic<wbr>Id property: Gets or sets the nic id."
syntax: "public String nicId()"
desc: "Get the nicId property: Gets or sets the nic id."
returns:
description: "the nicId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "NetworkInterface.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.validate()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.validate()"
name: "validate()"
nameWithType: "NetworkInterface.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.virtualNetworkId()"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.virtualNetworkId()"
name: "virtualNetworkId()"
nameWithType: "NetworkInterface.virtualNetworkId()"
summary: "Get the virtual<wbr>Network<wbr>Id property: Gets or sets the ARM Id of the Microsoft.<wbr>Sc<wbr>Vmm/virtual<wbr>Network resource to connect the nic."
syntax: "public String virtualNetworkId()"
desc: "Get the virtualNetworkId property: Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic."
returns:
description: "the virtualNetworkId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withIpv4AddressType(com.azure.resourcemanager.scvmm.models.AllocationMethod)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withIpv4AddressType(AllocationMethod ipv4AddressType)"
name: "withIpv4AddressType(AllocationMethod ipv4AddressType)"
nameWithType: "NetworkInterface.withIpv4AddressType(AllocationMethod ipv4AddressType)"
summary: "Set the ipv4Address<wbr>Type property: Gets or sets the ipv4 address type."
parameters:
- description: "the ipv4AddressType value to set."
name: "ipv4AddressType"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkInterface withIpv4AddressType(AllocationMethod ipv4AddressType)"
desc: "Set the ipv4AddressType property: Gets or sets the ipv4 address type."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withIpv6AddressType(com.azure.resourcemanager.scvmm.models.AllocationMethod)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withIpv6AddressType(AllocationMethod ipv6AddressType)"
name: "withIpv6AddressType(AllocationMethod ipv6AddressType)"
nameWithType: "NetworkInterface.withIpv6AddressType(AllocationMethod ipv6AddressType)"
summary: "Set the ipv6Address<wbr>Type property: Gets or sets the ipv6 address type."
parameters:
- description: "the ipv6AddressType value to set."
name: "ipv6AddressType"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkInterface withIpv6AddressType(AllocationMethod ipv6AddressType)"
desc: "Set the ipv6AddressType property: Gets or sets the ipv6 address type."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withMacAddress(java.lang.String)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withMacAddress(String macAddress)"
name: "withMacAddress(String macAddress)"
nameWithType: "NetworkInterface.withMacAddress(String macAddress)"
summary: "Set the mac<wbr>Address property: Gets or sets the nic MAC address."
parameters:
- description: "the macAddress value to set."
name: "macAddress"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkInterface withMacAddress(String macAddress)"
desc: "Set the macAddress property: Gets or sets the nic MAC address."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withMacAddressType(com.azure.resourcemanager.scvmm.models.AllocationMethod)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withMacAddressType(AllocationMethod macAddressType)"
name: "withMacAddressType(AllocationMethod macAddressType)"
nameWithType: "NetworkInterface.withMacAddressType(AllocationMethod macAddressType)"
summary: "Set the mac<wbr>Address<wbr>Type property: Gets or sets the mac address type."
parameters:
- description: "the macAddressType value to set."
name: "macAddressType"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.AllocationMethod?alt=com.azure.resourcemanager.scvmm.models.AllocationMethod&text=AllocationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkInterface withMacAddressType(AllocationMethod macAddressType)"
desc: "Set the macAddressType property: Gets or sets the mac address type."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withName(String name)"
name: "withName(String name)"
nameWithType: "NetworkInterface.withName(String name)"
summary: "Set the name property: Gets or sets the name of the network interface."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkInterface withName(String name)"
desc: "Set the name property: Gets or sets the name of the network interface."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withNicId(java.lang.String)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withNicId(String nicId)"
name: "withNicId(String nicId)"
nameWithType: "NetworkInterface.withNicId(String nicId)"
summary: "Set the nic<wbr>Id property: Gets or sets the nic id."
parameters:
- description: "the nicId value to set."
name: "nicId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkInterface withNicId(String nicId)"
desc: "Set the nicId property: Gets or sets the nic id."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withVirtualNetworkId(java.lang.String)"
fullName: "com.azure.resourcemanager.scvmm.models.NetworkInterface.withVirtualNetworkId(String virtualNetworkId)"
name: "withVirtualNetworkId(String virtualNetworkId)"
nameWithType: "NetworkInterface.withVirtualNetworkId(String virtualNetworkId)"
summary: "Set the virtual<wbr>Network<wbr>Id property: Gets or sets the ARM Id of the Microsoft.<wbr>Sc<wbr>Vmm/virtual<wbr>Network resource to connect the nic."
parameters:
- description: "the virtualNetworkId value to set."
name: "virtualNetworkId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkInterface withVirtualNetworkId(String virtualNetworkId)"
desc: "Set the virtualNetworkId property: Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic."
returns:
description: "the NetworkInterface object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Network Interface model."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.scvmm.models.NetworkInterface?alt=com.azure.resourcemanager.scvmm.models.NetworkInterface&text=NetworkInterface\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.scvmm.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-scvmm:1.0.0