/// <summary> /// Initializes a new instance of the <see cref="CreateViewBoxParams" /> class. /// </summary> /// <param name="adDomainName">Specifies an active directory domain that this view box is mapped to..</param> /// <param name="clientSubnetWhiteList">Array of Subnets. Specifies the Subnets from which this Storage Domain (View Box) accepts requests..</param> /// <param name="cloudDownWaterfallThresholdPct">Specifies the cloud down water-fall threshold percentage. This indicates how full should a viewbox at least be before we down water-fall its data to cloud tier. If this field is set, the physical quota limit must be set also and will be used as viewbox capacity..</param> /// <param name="cloudDownWaterfallThresholdSecs">Specifies the cloud down water-fall threshold seconds. This indicates what's the time threshold on water-falling data to cloud tier..</param> /// <param name="clusterPartitionId">Specifies the Cluster Partition id where the Storage Domain (View Box) is located. (required).</param> /// <param name="defaultUserQuotaPolicy">Specifies an optional quota policy/limits that are inherited by all users within the views in this viewbox..</param> /// <param name="defaultViewQuotaPolicy">Specifies an optional default logical quota limit (in bytes) for the Views in this Storage Domain (View Box). (Logical data is when the data is fully hydrated and expanded.) However, this inherited quota can be overwritten at the View level. A new write is not allowed if the Storage Domain (View Box) will exceed the specified quota. However, it takes time for the Cohesity Cluster to calculate the usage across Nodes, so the limit may be exceeded by a small amount. In addition, if the limit is increased or data is removed, there may be delay before the Cohesity Cluster allows more data to be written to the Storage Domain (View Box), as the Cluster is calculating the usage across Nodes..</param> /// <param name="ldapProviderId">When set, the following provides the LDAP provider the view box is mapped to. For any view from this view box, when accessed via NFS the following LDAP provider is looked up for getting Unix IDs of the corresponding user. Similarly, when a view is accessed via SMB and if the AD user's domain matches with the view box's AD, the following LDAP provider will be used to lookup Unix IDs for the corresponding AD user. Additionally there is also a mapping between LDAP provider and AD domain that is stored in AD provider config. It will be used if AD is not set on the view box..</param> /// <param name="name">Specifies the name of the Storage Domain (View Box). (required).</param> /// <param name="physicalQuota">Specifies an optional quota limit (in bytes) for the physical usage of this Storage Domain (View Box). This quota limit defines a physical limit for size of the data that can be physically stored on the Storage Domain (View Box), after the data has been reduced by change block tracking, compression and deduplication. The physical usage is the aggregate sum of the data stored for this Storage Domain (View Box) on all disks in the Cluster. (The usage includes Cloud Tier data and user data.) A new write is not allowed if the Storage Domain (View Box) will exceed the specified quota. However, it takes time for the Cohesity Cluster to calculate the usage across Nodes, so the limit may be exceeded by a small amount. In addition, if the limit is increased or data is removed, there may be a delay before the Cohesity Cluster allows more data to be written to the Storage Domain (View Box), as the Cluster is calculating the usage across Nodes..</param> /// <param name="s3BucketsAllowed">Specifies whether creation of a S3 bucket is allowed in this Storage Domain (View Box). When a new S3 bucket creation request arrives, we'll look at all the View Boxes and the first Storage Domain (View Box) that allows creating S3 buckets in it will be the one where the bucket will be placed..</param> /// <param name="storagePolicy">storagePolicy.</param> /// <param name="tenantIdVec">Optional ids for the tenants that this view box belongs. This must be checked before granting access to users. Unless the cluster enables view box sharing between tenants is allowed, there shall be at most one item in this list. Note that if all tenant may be deleted - such viewboxes must be garbage collected. This is currently done by a background thread in iris..</param> public CreateViewBoxParams(string adDomainName = default(string), List <Subnet> clientSubnetWhiteList = default(List <Subnet>), int?cloudDownWaterfallThresholdPct = default(int?), int?cloudDownWaterfallThresholdSecs = default(int?), long?clusterPartitionId = default(long?), QuotaPolicy defaultUserQuotaPolicy = default(QuotaPolicy), QuotaPolicy defaultViewQuotaPolicy = default(QuotaPolicy), long?ldapProviderId = default(long?), string name = default(string), QuotaPolicy physicalQuota = default(QuotaPolicy), bool?s3BucketsAllowed = default(bool?), StoragePolicy storagePolicy = default(StoragePolicy), List <string> tenantIdVec = default(List <string>)) { this.AdDomainName = adDomainName; this.ClientSubnetWhiteList = clientSubnetWhiteList; this.CloudDownWaterfallThresholdPct = cloudDownWaterfallThresholdPct; this.CloudDownWaterfallThresholdSecs = cloudDownWaterfallThresholdSecs; this.ClusterPartitionId = clusterPartitionId; this.DefaultUserQuotaPolicy = defaultUserQuotaPolicy; this.DefaultViewQuotaPolicy = defaultViewQuotaPolicy; this.LdapProviderId = ldapProviderId; this.Name = name; this.PhysicalQuota = physicalQuota; this.S3BucketsAllowed = s3BucketsAllowed; this.TenantIdVec = tenantIdVec; this.AdDomainName = adDomainName; this.ClientSubnetWhiteList = clientSubnetWhiteList; this.CloudDownWaterfallThresholdPct = cloudDownWaterfallThresholdPct; this.CloudDownWaterfallThresholdSecs = cloudDownWaterfallThresholdSecs; this.DefaultUserQuotaPolicy = defaultUserQuotaPolicy; this.DefaultViewQuotaPolicy = defaultViewQuotaPolicy; this.LdapProviderId = ldapProviderId; this.PhysicalQuota = physicalQuota; this.S3BucketsAllowed = s3BucketsAllowed; this.StoragePolicy = storagePolicy; this.TenantIdVec = tenantIdVec; }
/// <summary> /// Initializes a new instance of the <see cref="ViewBox" /> class. /// </summary> /// <param name="adDomainName">Specifies an active directory domain that this view box is mapped to..</param> /// <param name="clientSubnetWhiteList">Array of Subnets. Specifies the Subnets from which this Storage Domain (View Box) accepts requests..</param> /// <param name="cloudDownWaterfallThresholdPct">Specifies the cloud down water-fall threshold percentage. This indicates how full should a viewbox at least be before we down water-fall its data to cloud tier. If this field is set, the physical quota limit must be set also and will be used as viewbox capacity..</param> /// <param name="cloudDownWaterfallThresholdSecs">Specifies the cloud down water-fall threshold seconds. This indicates what's the time threshold on water-falling data to cloud tier..</param> /// <param name="clusterPartitionId">Specifies the Cluster Partition id where the Storage Domain (View Box) is located. (required).</param> /// <param name="defaultUserQuotaPolicy">Specifies an optional quota policy/limits that are inherited by all users within the views in this viewbox..</param> /// <param name="defaultViewQuotaPolicy">Specifies an optional default logical quota limit (in bytes) for the Views in this Storage Domain (View Box). (Logical data is when the data is fully hydrated and expanded.) However, this inherited quota can be overwritten at the View level. A new write is not allowed if the Storage Domain (View Box) will exceed the specified quota. However, it takes time for the Cohesity Cluster to calculate the usage across Nodes, so the limit may be exceeded by a small amount. In addition, if the limit is increased or data is removed, there may be delay before the Cohesity Cluster allows more data to be written to the Storage Domain (View Box), as the Cluster is calculating the usage across Nodes..</param> /// <param name="id">Specifies the Id of the Storage Domain (View Box)..</param> /// <param name="ldapProviderId">When set, the following provides the LDAP provider the view box is mapped to. For any view from this view box, when accessed via NFS the following LDAP provider is looked up for getting Unix IDs of the corresponding user. Similarly, when a view is accessed via SMB and if the AD user's domain matches with the view box's AD, the following LDAP provider will be used to lookup Unix IDs for the corresponding AD user. Additionally there is also a mapping between LDAP provider and AD domain that is stored in AD provider config. It will be used if AD is not set on the view box..</param> /// <param name="name">Specifies the name of the Storage Domain (View Box). (required).</param> /// <param name="physicalQuota">Specifies an optional quota limit (in bytes) for the physical usage of this Storage Domain (View Box). This quota limit defines a physical limit for size of the data that can be physically stored on the Storage Domain (View Box), after the data has been reduced by change block tracking, compression and deduplication. The physical usage is the aggregate sum of the data stored for this Storage Domain (View Box) on all disks in the Cluster. (The usage includes Cloud Tier data and user data.) A new write is not allowed if the Storage Domain (View Box) will exceed the specified quota. However, it takes time for the Cohesity Cluster to calculate the usage across Nodes, so the limit may be exceeded by a small amount. In addition, if the limit is increased or data is removed, there may be a delay before the Cohesity Cluster allows more data to be written to the Storage Domain (View Box), as the Cluster is calculating the usage across Nodes..</param> /// <param name="removalState">Specifies the current removal state of the Storage Domain (View Box). 'kDontRemove' means the state of object is functional and it is not being removed. 'kMarkedForRemoval' means the object is being removed. 'kOkToRemove' means the object has been removed on the Cohesity Cluster and if the object is physical, it can be removed from the Cohesity Cluster..</param> /// <param name="s3BucketsAllowed">Specifies whether creation of a S3 bucket is allowed in this Storage Domain (View Box). When a new S3 bucket creation request arrives, we'll look at all the View Boxes and the first Storage Domain (View Box) that allows creating S3 buckets in it will be the one where the bucket will be placed..</param> /// <param name="stats">stats.</param> /// <param name="storagePolicy">storagePolicy.</param> /// <param name="tenantIdVec">Optional ids for the tenants that this view box belongs. This must be checked before granting access to users. Unless the cluster enables view box sharing between tenants is allowed, there shall be at most one item in this list. Note that if all tenant may be deleted - such viewboxes must be garbage collected. This is currently done by a background thread in iris..</param> /// <param name="treatFileSyncAsDataSync">If 'true', when the Cohesity Cluster is writing to a file, the file modification time is not persisted synchronously during the file write, so the modification time may not be accurate. (Typically the file modification time is off by 30 seconds but it can be longer.) Only set to 'false' if your environment requires a very accurate modification time. The default value is 'true' which provides the best Cohesity Cluster performance..</param> public ViewBox(string adDomainName = default(string), List <Subnet> clientSubnetWhiteList = default(List <Subnet>), int?cloudDownWaterfallThresholdPct = default(int?), int?cloudDownWaterfallThresholdSecs = default(int?), long?clusterPartitionId = default(long?), QuotaPolicy defaultUserQuotaPolicy = default(QuotaPolicy), QuotaPolicy defaultViewQuotaPolicy = default(QuotaPolicy), long?id = default(long?), long?ldapProviderId = default(long?), string name = default(string), QuotaPolicy physicalQuota = default(QuotaPolicy), RemovalStateEnum?removalState = default(RemovalStateEnum?), bool?s3BucketsAllowed = default(bool?), ViewBoxStats stats = default(ViewBoxStats), StoragePolicy storagePolicy = default(StoragePolicy), List <string> tenantIdVec = default(List <string>), bool?treatFileSyncAsDataSync = default(bool?)) { this.AdDomainName = adDomainName; this.ClientSubnetWhiteList = clientSubnetWhiteList; this.CloudDownWaterfallThresholdPct = cloudDownWaterfallThresholdPct; this.CloudDownWaterfallThresholdSecs = cloudDownWaterfallThresholdSecs; this.ClusterPartitionId = clusterPartitionId; this.DefaultUserQuotaPolicy = defaultUserQuotaPolicy; this.DefaultViewQuotaPolicy = defaultViewQuotaPolicy; this.Id = id; this.LdapProviderId = ldapProviderId; this.Name = name; this.PhysicalQuota = physicalQuota; this.RemovalState = removalState; this.S3BucketsAllowed = s3BucketsAllowed; this.TenantIdVec = tenantIdVec; this.TreatFileSyncAsDataSync = treatFileSyncAsDataSync; this.AdDomainName = adDomainName; this.ClientSubnetWhiteList = clientSubnetWhiteList; this.CloudDownWaterfallThresholdPct = cloudDownWaterfallThresholdPct; this.CloudDownWaterfallThresholdSecs = cloudDownWaterfallThresholdSecs; this.DefaultUserQuotaPolicy = defaultUserQuotaPolicy; this.DefaultViewQuotaPolicy = defaultViewQuotaPolicy; this.Id = id; this.LdapProviderId = ldapProviderId; this.PhysicalQuota = physicalQuota; this.RemovalState = removalState; this.S3BucketsAllowed = s3BucketsAllowed; this.Stats = stats; this.StoragePolicy = storagePolicy; this.TenantIdVec = tenantIdVec; this.TreatFileSyncAsDataSync = treatFileSyncAsDataSync; }