Uses of Class
com.azure.resourcemanager.containerinstance.models.ContainerPort
Packages that use ContainerPort
Package
Description
Package containing the inner data models for ContainerInstanceManagementClient.
null.
Package containing the data models for ContainerInstanceManagementClient.
null.
-
Uses of ContainerPort in com.azure.resourcemanager.containerinstance.fluent.models
Methods in com.azure.resourcemanager.containerinstance.fluent.models that return types with arguments of type ContainerPortModifier and TypeMethodDescriptionContainerProperties.ports()Get the ports property: The exposed ports on the container instance.Method parameters in com.azure.resourcemanager.containerinstance.fluent.models with type arguments of type ContainerPortModifier and TypeMethodDescriptionContainerProperties.withPorts(List<ContainerPort> ports) Set the ports property: The exposed ports on the container instance. -
Uses of ContainerPort in com.azure.resourcemanager.containerinstance.models
Classes in com.azure.resourcemanager.containerinstance.models that implement interfaces with type arguments of type ContainerPortModifier and TypeClassDescriptionfinal classThe port exposed on the container instance.Methods in com.azure.resourcemanager.containerinstance.models that return ContainerPortModifier and TypeMethodDescriptionstatic ContainerPortContainerPort.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerPort from the JsonReader.ContainerPort.withPort(int port) Set the port property: The port number exposed within the container group.ContainerPort.withProtocol(ContainerNetworkProtocol protocol) Set the protocol property: The protocol associated with the port.Methods in com.azure.resourcemanager.containerinstance.models that return types with arguments of type ContainerPortModifier and TypeMethodDescriptionContainer.ports()Get the ports property: The exposed ports on the container instance.Method parameters in com.azure.resourcemanager.containerinstance.models with type arguments of type ContainerPortModifier and TypeMethodDescriptionContainer.withPorts(List<ContainerPort> ports) Set the ports property: The exposed ports on the container instance.