Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the
 /// GalleryImageVersionPublishingProfile class.
 /// </summary>
 /// <param name="targetRegions">The target regions where the artifact
 /// is going to be published.</param>
 /// <param name="replicaCount">This is the number of source blob copies
 /// in a region.</param>
 /// <param name="excludeFromLatest">The flag means that if it is set to
 /// true, people deploying VMs with 'latest' as version will not use
 /// this version.</param>
 /// <param name="publishedDate">The time when the gallery image version
 /// is published.</param>
 /// <param name="endOfLifeDate">The end of life date of the gallery
 /// image version.</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();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the
 /// GalleryArtifactPublishingProfileBase class.
 /// </summary>
 /// <param name="regions">The regions where the artifact is going to be
 /// published.</param>
 public GalleryArtifactPublishingProfileBase(IList <string> regions = default(IList <string>), GalleryArtifactSource source = default(GalleryArtifactSource))
 {
     Regions = regions;
     Source  = source;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// GalleryImageVersionPublishingProfile class.
 /// </summary>
 /// <param name="regions">The regions where the artifact is going to be
 /// published.</param>
 /// <param name="scaleTier">The scale tier of the gallery image
 /// version. Valid values are 'S30' and 'S100'. Possible values
 /// include: 'S30', 'S100'</param>
 /// <param name="excludeFromLatest">The flag means that if it is set to
 /// true, people deploying VMs with 'latest' as version will not use
 /// this version.</param>
 /// <param name="publishedDate">The time when the gallery image version
 /// is published.</param>
 /// <param name="endOfLifeDate">The end of life date of the gallery
 /// image version.</param>
 public GalleryImageVersionPublishingProfile(IList <string> regions = default(IList <string>), GalleryArtifactSource source = default(GalleryArtifactSource), ScaleTier scaleTier = default(ScaleTier), bool?excludeFromLatest = default(bool?), System.DateTime?publishedDate = default(System.DateTime?), System.DateTime?endOfLifeDate = default(System.DateTime?))
     : base(regions, source)
 {
     ScaleTier         = scaleTier;
     ExcludeFromLatest = excludeFromLatest;
     PublishedDate     = publishedDate;
     EndOfLifeDate     = endOfLifeDate;
     CustomInit();
 }
Esempio n. 4
0
 /// <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();
 }
Esempio n. 5
0
 /// <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>
 /// <param name="storageAccountType">Specifies the storage account type
 /// to be used to store the image. This property is not updatable.
 /// Possible values include: 'Standard_LRS', 'Standard_ZRS'</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?), StorageAccountType storageAccountType = default(StorageAccountType))
     : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
 {
     Source = source;
     CustomInit();
 }