Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the VolumePatch class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="serviceLevel">serviceLevel</param>
 /// <param name="usageThreshold">usageThreshold</param>
 /// <param name="exportPolicy">exportPolicy</param>
 /// <param name="throughputMibps">Maximum throughput in Mibps that can
 /// be achieved by this volume</param>
 /// <param name="dataProtection">DataProtection</param>
 public VolumePatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string serviceLevel = default(string), long?usageThreshold = default(long?), VolumePatchPropertiesExportPolicy exportPolicy = default(VolumePatchPropertiesExportPolicy), double?throughputMibps = default(double?), VolumePatchPropertiesDataProtection dataProtection = default(VolumePatchPropertiesDataProtection))
 {
     Location        = location;
     Id              = id;
     Name            = name;
     Type            = type;
     Tags            = tags;
     ServiceLevel    = serviceLevel;
     UsageThreshold  = usageThreshold;
     ExportPolicy    = exportPolicy;
     ThroughputMibps = throughputMibps;
     DataProtection  = dataProtection;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VolumePatch class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="serviceLevel">serviceLevel</param>
 /// <param name="usageThreshold">usageThreshold</param>
 /// <param name="exportPolicy">exportPolicy</param>
 /// <param name="throughputMibps">Maximum throughput in Mibps that can
 /// be achieved by this volume and this will be accepted as input only
 /// for manual qosType volume</param>
 /// <param name="dataProtection">DataProtection</param>
 /// <param name="isDefaultQuotaEnabled">Specifies if default quota is
 /// enabled for the volume.</param>
 /// <param name="defaultUserQuotaInKiBs">Default user quota for volume
 /// in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4
 /// KiBs applies .</param>
 /// <param name="defaultGroupQuotaInKiBs">Default group quota for
 /// volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value
 /// of 4 KiBs applies.</param>
 /// <param name="unixPermissions">UNIX permissions for NFS volume
 /// accepted in octal 4 digit format. First digit selects the set user
 /// ID(4), set group ID (2) and sticky (1) attributes. Second digit
 /// selects permission for the owner of the file: read (4), write (2)
 /// and execute (1). Third selects permissions for other users in the
 /// same group. the fourth for other users not in the group. 0755 -
 /// gives read/write/execute permissions to owner and read/execute to
 /// group and other users.</param>
 public VolumePatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string serviceLevel = default(string), long?usageThreshold = default(long?), VolumePatchPropertiesExportPolicy exportPolicy = default(VolumePatchPropertiesExportPolicy), double?throughputMibps = default(double?), VolumePatchPropertiesDataProtection dataProtection = default(VolumePatchPropertiesDataProtection), bool?isDefaultQuotaEnabled = default(bool?), long?defaultUserQuotaInKiBs = default(long?), long?defaultGroupQuotaInKiBs = default(long?), string unixPermissions = default(string))
 {
     Location                = location;
     Id                      = id;
     Name                    = name;
     Type                    = type;
     Tags                    = tags;
     ServiceLevel            = serviceLevel;
     UsageThreshold          = usageThreshold;
     ExportPolicy            = exportPolicy;
     ThroughputMibps         = throughputMibps;
     DataProtection          = dataProtection;
     IsDefaultQuotaEnabled   = isDefaultQuotaEnabled;
     DefaultUserQuotaInKiBs  = defaultUserQuotaInKiBs;
     DefaultGroupQuotaInKiBs = defaultGroupQuotaInKiBs;
     UnixPermissions         = unixPermissions;
     CustomInit();
 }