共用方式為


IWithoutPorts<ParentT>.WithoutPorts Method

Definition

Specifies that not ports will be opened internally or externally for this container instance.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithoutPorts ();
abstract member WithoutPorts : unit -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithoutPorts () As IWithContainerInstanceAttach(Of ParentT)

Returns

Applies to