你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSImageReference Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PSImageReference() | |
PSImageReference(String) | |
PSImageReference(String, String, String, String) |
PSImageReference()
public PSImageReference ();
Public Sub New ()
Applies to
PSImageReference(String)
public PSImageReference (string virtualMachineImageId);
new Microsoft.Azure.Commands.Batch.Models.PSImageReference : string -> Microsoft.Azure.Commands.Batch.Models.PSImageReference
Public Sub New (virtualMachineImageId As String)
Parameters
- virtualMachineImageId
- String
Applies to
PSImageReference(String, String, String, String)
public PSImageReference (string offer, string publisher, string sku, string version = default);
new Microsoft.Azure.Commands.Batch.Models.PSImageReference : string * string * string * string -> Microsoft.Azure.Commands.Batch.Models.PSImageReference
Public Sub New (offer As String, publisher As String, sku As String, Optional version As String = Nothing)
Parameters
- offer
- String
- publisher
- String
- sku
- String
- version
- String