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

150 строки
14 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.NetworkProfile"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile"
name: "NetworkProfile"
nameWithType: "NetworkProfile"
summary: "Specifies the network interfaces or the networking configuration of the virtual machine."
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 **NetworkProfile**</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.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.NetworkProfile()"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.NetworkProfile()"
name: "NetworkProfile()"
nameWithType: "NetworkProfile.NetworkProfile()"
summary: "Creates an instance of Network<wbr>Profile class."
syntax: "public NetworkProfile()"
desc: "Creates an instance of NetworkProfile class."
methods:
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "NetworkProfile.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Network<wbr>Profile 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 NetworkProfile fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the NetworkProfile."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of NetworkProfile from the JsonReader."
returns:
description: "An instance of NetworkProfile 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.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.networkApiVersion()"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.networkApiVersion()"
name: "networkApiVersion()"
nameWithType: "NetworkProfile.networkApiVersion()"
summary: "Get the network<wbr>Api<wbr>Version property: specifies the Microsoft.<wbr>Network API version used when creating networking resources in the Network Interface Configurations."
syntax: "public NetworkApiVersion networkApiVersion()"
desc: "Get the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations."
returns:
description: "the networkApiVersion value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.NetworkApiVersion?alt=com.azure.resourcemanager.compute.models.NetworkApiVersion&text=NetworkApiVersion\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.networkInterfaceConfigurations()"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.networkInterfaceConfigurations()"
name: "networkInterfaceConfigurations()"
nameWithType: "NetworkProfile.networkInterfaceConfigurations()"
summary: "Get the network<wbr>Interface<wbr>Configurations property: Specifies the networking configurations that will be used to create the virtual machine networking resources."
syntax: "public List<VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations()"
desc: "Get the networkInterfaceConfigurations property: Specifies the networking configurations that will be used to create the virtual machine networking resources."
returns:
description: "the networkInterfaceConfigurations value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.VirtualMachineNetworkInterfaceConfiguration?alt=com.azure.resourcemanager.compute.models.VirtualMachineNetworkInterfaceConfiguration&text=VirtualMachineNetworkInterfaceConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.networkInterfaces()"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.networkInterfaces()"
name: "networkInterfaces()"
nameWithType: "NetworkProfile.networkInterfaces()"
summary: "Get the network<wbr>Interfaces property: Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
syntax: "public List<NetworkInterfaceReference> networkInterfaces()"
desc: "Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
returns:
description: "the networkInterfaces value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.NetworkInterfaceReference?alt=com.azure.resourcemanager.compute.models.NetworkInterfaceReference&text=NetworkInterfaceReference\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "NetworkProfile.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.compute.models.NetworkProfile.validate()"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.validate()"
name: "validate()"
nameWithType: "NetworkProfile.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkApiVersion(com.azure.resourcemanager.compute.models.NetworkApiVersion)"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkApiVersion(NetworkApiVersion networkApiVersion)"
name: "withNetworkApiVersion(NetworkApiVersion networkApiVersion)"
nameWithType: "NetworkProfile.withNetworkApiVersion(NetworkApiVersion networkApiVersion)"
summary: "Set the network<wbr>Api<wbr>Version property: specifies the Microsoft.<wbr>Network API version used when creating networking resources in the Network Interface Configurations."
parameters:
- description: "the networkApiVersion value to set."
name: "networkApiVersion"
type: "<xref href=\"com.azure.resourcemanager.compute.models.NetworkApiVersion?alt=com.azure.resourcemanager.compute.models.NetworkApiVersion&text=NetworkApiVersion\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkProfile withNetworkApiVersion(NetworkApiVersion networkApiVersion)"
desc: "Set the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations."
returns:
description: "the NetworkProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkInterfaceConfigurations(java.util.List<com.azure.resourcemanager.compute.models.VirtualMachineNetworkInterfaceConfiguration>)"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkInterfaceConfigurations(List<VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations)"
name: "withNetworkInterfaceConfigurations(List<VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations)"
nameWithType: "NetworkProfile.withNetworkInterfaceConfigurations(List<VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations)"
summary: "Set the network<wbr>Interface<wbr>Configurations property: Specifies the networking configurations that will be used to create the virtual machine networking resources."
parameters:
- description: "the networkInterfaceConfigurations value to set."
name: "networkInterfaceConfigurations"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.VirtualMachineNetworkInterfaceConfiguration?alt=com.azure.resourcemanager.compute.models.VirtualMachineNetworkInterfaceConfiguration&text=VirtualMachineNetworkInterfaceConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public NetworkProfile withNetworkInterfaceConfigurations(List<VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations)"
desc: "Set the networkInterfaceConfigurations property: Specifies the networking configurations that will be used to create the virtual machine networking resources."
returns:
description: "the NetworkProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkInterfaces(java.util.List<com.azure.resourcemanager.compute.models.NetworkInterfaceReference>)"
fullName: "com.azure.resourcemanager.compute.models.NetworkProfile.withNetworkInterfaces(List<NetworkInterfaceReference> networkInterfaces)"
name: "withNetworkInterfaces(List<NetworkInterfaceReference> networkInterfaces)"
nameWithType: "NetworkProfile.withNetworkInterfaces(List<NetworkInterfaceReference> networkInterfaces)"
summary: "Set the network<wbr>Interfaces property: Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
parameters:
- description: "the networkInterfaces value to set."
name: "networkInterfaces"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.NetworkInterfaceReference?alt=com.azure.resourcemanager.compute.models.NetworkInterfaceReference&text=NetworkInterfaceReference\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public NetworkProfile withNetworkInterfaces(List<NetworkInterfaceReference> networkInterfaces)"
desc: "Set the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
returns:
description: "the NetworkProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies the network interfaces or the networking configuration of the virtual machine."
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.compute.models.NetworkProfile?alt=com.azure.resourcemanager.compute.models.NetworkProfile&text=NetworkProfile\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0