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

93 строки
5.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.devtestlabs.models.Port"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port"
name: "Port"
nameWithType: "Port"
summary: "Properties of a network port."
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 **Port**"
constructors:
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.Port()"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.Port()"
name: "Port()"
nameWithType: "Port.Port()"
summary: "Creates an instance of Port class."
syntax: "public Port()"
desc: "Creates an instance of Port class."
methods:
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.backendPort()"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.backendPort()"
name: "backendPort()"
nameWithType: "Port.backendPort()"
summary: "Get the backend<wbr>Port property: Backend port of the target virtual machine."
syntax: "public Integer backendPort()"
desc: "Get the backendPort property: Backend port of the target virtual machine."
returns:
description: "the backendPort value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.transportProtocol()"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.transportProtocol()"
name: "transportProtocol()"
nameWithType: "Port.transportProtocol()"
summary: "Get the transport<wbr>Protocol property: Protocol type of the port."
syntax: "public TransportProtocol transportProtocol()"
desc: "Get the transportProtocol property: Protocol type of the port."
returns:
description: "the transportProtocol value."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.TransportProtocol?alt=com.azure.resourcemanager.devtestlabs.models.TransportProtocol&text=TransportProtocol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.validate()"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.validate()"
name: "validate()"
nameWithType: "Port.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.withBackendPort(java.lang.Integer)"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.withBackendPort(Integer backendPort)"
name: "withBackendPort(Integer backendPort)"
nameWithType: "Port.withBackendPort(Integer backendPort)"
summary: "Set the backend<wbr>Port property: Backend port of the target virtual machine."
parameters:
- description: "the backendPort value to set."
name: "backendPort"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public Port withBackendPort(Integer backendPort)"
desc: "Set the backendPort property: Backend port of the target virtual machine."
returns:
description: "the Port object itself."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.Port?alt=com.azure.resourcemanager.devtestlabs.models.Port&text=Port\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.devtestlabs.models.Port.withTransportProtocol(com.azure.resourcemanager.devtestlabs.models.TransportProtocol)"
fullName: "com.azure.resourcemanager.devtestlabs.models.Port.withTransportProtocol(TransportProtocol transportProtocol)"
name: "withTransportProtocol(TransportProtocol transportProtocol)"
nameWithType: "Port.withTransportProtocol(TransportProtocol transportProtocol)"
summary: "Set the transport<wbr>Protocol property: Protocol type of the port."
parameters:
- description: "the transportProtocol value to set."
name: "transportProtocol"
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.TransportProtocol?alt=com.azure.resourcemanager.devtestlabs.models.TransportProtocol&text=TransportProtocol\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Port withTransportProtocol(TransportProtocol transportProtocol)"
desc: "Set the transportProtocol property: Protocol type of the port."
returns:
description: "the Port object itself."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.Port?alt=com.azure.resourcemanager.devtestlabs.models.Port&text=Port\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Properties of a network port."
metadata: {}
package: "com.azure.resourcemanager.devtestlabs.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-devtestlabs:1.0.0