azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

84 строки
5.4 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.containerinstance.Port"
fullName: "com.microsoft.azure.management.containerinstance.Port"
name: "Port"
nameWithType: "Port"
summary: "The port exposed on the container group."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **Port**"
constructors:
- uid: "com.microsoft.azure.management.containerinstance.Port.Port()"
fullName: "com.microsoft.azure.management.containerinstance.Port.Port()"
name: "Port()"
nameWithType: "Port.Port()"
syntax: "public Port()"
methods:
- uid: "com.microsoft.azure.management.containerinstance.Port.port()"
fullName: "com.microsoft.azure.management.containerinstance.Port.port()"
name: "port()"
nameWithType: "Port.port()"
summary: "Get the port number."
syntax: "public int port()"
desc: "Get the port number."
returns:
description: "the port value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.Port.protocol()"
fullName: "com.microsoft.azure.management.containerinstance.Port.protocol()"
name: "protocol()"
nameWithType: "Port.protocol()"
summary: "Get the protocol associated with the port."
syntax: "public ContainerGroupNetworkProtocol protocol()"
desc: "Get the protocol associated with the port. Possible values include: 'TCP', 'UDP'."
returns:
description: "the protocol value"
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ContainerGroupNetworkProtocol?alt=com.microsoft.azure.management.containerinstance.ContainerGroupNetworkProtocol&text=ContainerGroupNetworkProtocol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.Port.withPort(int)"
fullName: "com.microsoft.azure.management.containerinstance.Port.withPort(int port)"
name: "withPort(int port)"
nameWithType: "Port.withPort(int port)"
summary: "Set the port number."
parameters:
- description: "the port value to set"
name: "port"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Port withPort(int port)"
desc: "Set the port number."
returns:
description: "the Port object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.Port?alt=com.microsoft.azure.management.containerinstance.Port&text=Port\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.Port.withProtocol(com.microsoft.azure.management.containerinstance.ContainerGroupNetworkProtocol)"
fullName: "com.microsoft.azure.management.containerinstance.Port.withProtocol(ContainerGroupNetworkProtocol protocol)"
name: "withProtocol(ContainerGroupNetworkProtocol protocol)"
nameWithType: "Port.withProtocol(ContainerGroupNetworkProtocol protocol)"
summary: "Set the protocol associated with the port."
parameters:
- description: "the protocol value to set"
name: "protocol"
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ContainerGroupNetworkProtocol?alt=com.microsoft.azure.management.containerinstance.ContainerGroupNetworkProtocol&text=ContainerGroupNetworkProtocol\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Port withProtocol(ContainerGroupNetworkProtocol protocol)"
desc: "Set the protocol associated with the port. Possible values include: 'TCP', 'UDP'."
returns:
description: "the Port object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.Port?alt=com.microsoft.azure.management.containerinstance.Port&text=Port\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The port exposed on the container group."
metadata: {}
package: "com.microsoft.azure.management.containerinstance"
artifact: com.microsoft.azure:azure-mgmt-containerinstance:1.41.4