/// <summary> /// Initializes a new instance of the /// GalleryImageVersionPublishingProfile class. /// </summary> /// <param name="targetRegions">The target regions where the Image /// Version is going to be replicated to. This property is /// updatable.</param> /// <param name="replicaCount">The number of replicas of the Image /// Version to be created per region. This property would take effect /// for a region when regionalReplicaCount is not specified. This /// property is updatable.</param> /// <param name="excludeFromLatest">If set to true, Virtual Machines /// deployed from the latest version of the Image Definition won't use /// this Image Version.</param> /// <param name="publishedDate">The timestamp for when the gallery /// Image Version is published.</param> /// <param name="endOfLifeDate">The end of life date of the gallery /// Image Version. This property can be used for decommissioning /// purposes. This property is updatable.</param> public GalleryImageVersionPublishingProfile(GalleryArtifactSource source, IList <TargetRegion> targetRegions = default(IList <TargetRegion>), int?replicaCount = default(int?), bool?excludeFromLatest = default(bool?), System.DateTime?publishedDate = default(System.DateTime?), System.DateTime?endOfLifeDate = default(System.DateTime?)) : base(source, targetRegions) { ReplicaCount = replicaCount; ExcludeFromLatest = excludeFromLatest; PublishedDate = publishedDate; EndOfLifeDate = endOfLifeDate; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// GalleryArtifactPublishingProfileBase class. /// </summary> /// <param name="targetRegions">The target regions where the Image /// Version is going to be replicated to. This property is /// updatable.</param> public GalleryArtifactPublishingProfileBase(GalleryArtifactSource source, IList <TargetRegion> targetRegions = default(IList <TargetRegion>)) { TargetRegions = targetRegions; Source = source; CustomInit(); }