你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryApplicationVersionPublishingProfile 构造函数

定义

重载

GalleryApplicationVersionPublishingProfile()

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, UserArtifactManage, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, UserArtifactSettings, IDictionary<String, String>, Nullable<Boolean>, IList<GalleryApplicationCustomAction>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile()

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile ();
Public Sub New ()

适用于

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, UserArtifactManage, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions, int? replicaCount, bool? excludeFromLatest, DateTime? publishedDate, DateTime? endOfLifeDate, string storageAccountType, string replicationMode, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions, bool? enableHealthCheck = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * Microsoft.Azure.Management.Compute.Models.UserArtifactManage * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, targetRegions As IList(Of TargetRegion), replicaCount As Nullable(Of Integer), excludeFromLatest As Nullable(Of Boolean), publishedDate As Nullable(Of DateTime), endOfLifeDate As Nullable(Of DateTime), storageAccountType As String, replicationMode As String, manageActions As UserArtifactManage, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing)

参数

targetRegions
IList<TargetRegion>

映像版本要复制到的目标区域。 此属性可更新。

replicaCount
Nullable<Int32>

每个区域要创建的映像版本的副本数。 如果未指定 regionalReplicaCount,此属性将对区域生效。 此属性可更新。

excludeFromLatest
Nullable<Boolean>

如果设置为 true,则从最新版本的映像定义部署虚拟机将不会使用此映像版本。

publishedDate
Nullable<DateTime>

发布库映像版本的时间戳。

endOfLifeDate
Nullable<DateTime>

库映像版本的生命周期结束日期。 此属性可用于解除授权目的。 此属性可更新。

storageAccountType
String

指定要用于存储映像的存储帐户类型。 此属性不可更新。 可能的值包括:“Standard_LRS”、“Standard_ZRS”、“Premium_LRS”

replicationMode
String

可选参数,指定用于复制的模式。 此属性不可更新。 可能的值包括:“Full”、“Shallow”

manageActions
UserArtifactManage
enableHealthCheck
Nullable<Boolean>

可选。 此应用程序是否报告运行状况。

适用于

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions, int? replicaCount, bool? excludeFromLatest, DateTime? publishedDate, DateTime? endOfLifeDate, string storageAccountType, string replicationMode, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions, bool? enableHealthCheck = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> * Microsoft.Azure.Management.Compute.Models.UserArtifactManage * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, targetRegions As IList(Of TargetRegion), replicaCount As Nullable(Of Integer), excludeFromLatest As Nullable(Of Boolean), publishedDate As Nullable(Of DateTime), endOfLifeDate As Nullable(Of DateTime), storageAccountType As String, replicationMode As String, targetExtendedLocations As IList(Of GalleryTargetExtendedLocation), manageActions As UserArtifactManage, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing)

参数

targetRegions
IList<TargetRegion>

映像版本要复制到的目标区域。 此属性可更新。

replicaCount
Nullable<Int32>

每个区域要创建的映像版本的副本数。 如果未指定 regionalReplicaCount,此属性将对区域生效。 此属性可更新。

excludeFromLatest
Nullable<Boolean>

如果设置为 true,则从最新版本的映像定义部署虚拟机将不会使用此映像版本。

publishedDate
Nullable<DateTime>

发布库映像版本的时间戳。

endOfLifeDate
Nullable<DateTime>

库映像版本的生命周期结束日期。 此属性可用于解除授权目的。 此属性可更新。

storageAccountType
String

指定要用于存储映像的存储帐户类型。 此属性不可更新。 可能的值包括:“Standard_LRS”、“Standard_ZRS”、“Premium_LRS”

replicationMode
String

可选参数,指定用于复制的模式。 此属性不可更新。 可能的值包括:“Full”、“Shallow”

targetExtendedLocations
IList<GalleryTargetExtendedLocation>

映像版本要复制到的目标扩展位置。 此属性可更新。

manageActions
UserArtifactManage
enableHealthCheck
Nullable<Boolean>

可选。 此应用程序是否报告运行状况。

适用于

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, UserArtifactSettings, IDictionary<String, String>, Nullable<Boolean>, IList<GalleryApplicationCustomAction>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, string storageAccountType = default, string replicationMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations = default, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions = default, Microsoft.Azure.Management.Compute.Models.UserArtifactSettings settings = default, System.Collections.Generic.IDictionary<string,string> advancedSettings = default, bool? enableHealthCheck = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> customActions = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> * Microsoft.Azure.Management.Compute.Models.UserArtifactManage * Microsoft.Azure.Management.Compute.Models.UserArtifactSettings * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, Optional targetRegions As IList(Of TargetRegion) = Nothing, Optional replicaCount As Nullable(Of Integer) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional storageAccountType As String = Nothing, Optional replicationMode As String = Nothing, Optional targetExtendedLocations As IList(Of GalleryTargetExtendedLocation) = Nothing, Optional manageActions As UserArtifactManage = Nothing, Optional settings As UserArtifactSettings = Nothing, Optional advancedSettings As IDictionary(Of String, String) = Nothing, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing, Optional customActions As IList(Of GalleryApplicationCustomAction) = Nothing)

参数

targetRegions
IList<TargetRegion>

映像版本要复制到的目标区域。 此属性可更新。

replicaCount
Nullable<Int32>

每个区域要创建的映像版本的副本数。 如果未指定 regionalReplicaCount,此属性将对区域生效。 此属性可更新。

excludeFromLatest
Nullable<Boolean>

如果设置为 true,则从最新版本的映像定义部署虚拟机将不会使用此映像版本。

publishedDate
Nullable<DateTime>

发布库映像版本的时间戳。

endOfLifeDate
Nullable<DateTime>

库映像版本的生命周期结束日期。 此属性可用于解除授权目的。 此属性可更新。

storageAccountType
String

指定要用于存储映像的存储帐户类型。 此属性不可更新。 可能的值包括:“Standard_LRS”、“Standard_ZRS”、“Premium_LRS”

replicationMode
String

可选参数,指定用于复制的模式。 此属性不可更新。 可能的值包括:“Full”、“Shallow”

targetExtendedLocations
IList<GalleryTargetExtendedLocation>

映像版本要复制到的目标扩展位置。 此属性可更新。

manageActions
UserArtifactManage
advancedSettings
IDictionary<String,String>

可选。 要传递给 vm-application-manager 扩展的其他设置。 仅供高级使用。

enableHealthCheck
Nullable<Boolean>

可选。 此应用程序是否报告运行状况。

customActions
IList<GalleryApplicationCustomAction>

可使用此库应用程序版本执行的自定义操作的列表。

适用于