Example #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?), string storageAccountType = default(string), EncryptionImages encryption = default(EncryptionImages))
 {
     Name = name;
     RegionalReplicaCount = regionalReplicaCount;
     StorageAccountType   = storageAccountType;
     Encryption           = encryption;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the GalleryTargetExtendedLocation
 /// class.
 /// </summary>
 /// <param name="name">The name of the region.</param>
 /// <param name="extendedLocationReplicaCount">The number of replicas
 /// of the Image Version to be created per extended location. 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 GalleryTargetExtendedLocation(string name = default(string), GalleryExtendedLocation extendedLocation = default(GalleryExtendedLocation), int?extendedLocationReplicaCount = default(int?), string storageAccountType = default(string), EncryptionImages encryption = default(EncryptionImages))
 {
     Name                         = name;
     ExtendedLocation             = extendedLocation;
     ExtendedLocationReplicaCount = extendedLocationReplicaCount;
     StorageAccountType           = storageAccountType;
     Encryption                   = encryption;
     CustomInit();
 }