示例#1
0
 /// <summary>
 /// Initializes a new instance of the TargetRegion class.
 /// </summary>
 /// <param name="name">The name of the region.</param>
 /// <param name="regionalReplicaCount">The number of replicas of the
 /// Image Version to be created per region. 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 TargetRegion(string name, int?regionalReplicaCount = default(int?), StorageAccountType storageAccountType = default(StorageAccountType))
 {
     Name = name;
     RegionalReplicaCount = regionalReplicaCount;
     StorageAccountType   = storageAccountType;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TargetRegion class.
 /// </summary>
 /// <param name="name">The name of the region.</param>
 /// <param name="regionalReplicaCount">The number of replicas of the
 /// Image Version to be created per region. 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',
 /// 'Premium_LRS'</param>
 public TargetRegion(string name, int?regionalReplicaCount = default(int?), StorageAccountType storageAccountType = default(StorageAccountType), EncryptionImages encryption = default(EncryptionImages))
 {
     Name = name;
     RegionalReplicaCount = regionalReplicaCount;
     StorageAccountType   = storageAccountType;
     Encryption           = encryption;
     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>
 /// <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',
 /// 'Premium_LRS'</param>
 public GalleryArtifactPublishingProfileBase(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))
 {
     TargetRegions      = targetRegions;
     ReplicaCount       = replicaCount;
     ExcludeFromLatest  = excludeFromLatest;
     PublishedDate      = publishedDate;
     EndOfLifeDate      = endOfLifeDate;
     StorageAccountType = storageAccountType;
     CustomInit();
 }
示例#4
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(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)
 {
     CustomInit();
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the
 /// GalleryApplicationVersionPublishingProfile 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',
 /// 'Premium_LRS'</param>
 /// <param name="contentType">Optional. May be used to help process
 /// this file. The type of file contained in the source, e.g. zip,
 /// json, etc.</param>
 /// <param name="enableHealthCheck">Optional. Whether or not this
 /// application reports health.</param>
 public GalleryApplicationVersionPublishingProfile(UserArtifactSource 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), string contentType = default(string), bool?enableHealthCheck = default(bool?))
     : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
 {
     Source            = source;
     ContentType       = contentType;
     EnableHealthCheck = enableHealthCheck;
     CustomInit();
 }