ParentT - the stage of the container service definition to return to after attaching this definitionpublic static interface ContainerServiceAgentPool.DefinitionStages.WithPorts<ParentT>
| Modifier and Type | Method and Description |
|---|---|
ContainerServiceAgentPool.DefinitionStages.WithAttach<ParentT> |
withPorts(int... ports)
Ports to be exposed on this agent pool.
|
ContainerServiceAgentPool.DefinitionStages.WithAttach<ParentT> withPorts(int... ports)
The default exposed ports are different based on your choice of orchestrator.
ports - port numbers that will be exposed on this agent pool/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/