共用方式為


IWithImage<ParentT>.WithImage(String) Method

Definition

Specifies the container image to be used.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOrWithoutPorts<ParentT> WithImage (string imageName);
abstract member WithImage : string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOrWithoutPorts<'ParentT>
Public Function WithImage (imageName As String) As IWithOrWithoutPorts(Of ParentT)

Parameters

imageName
String

The container image.

Returns

Applies to