コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewBoxStats" /> class.
 /// </summary>
 /// <param name="cloudUsagePerfStats">Provides the usage statistics for the data stored in the cloud for the Storage Domain (View Box). Performance statistics are not populated..</param>
 /// <param name="id">Specifies the id of the Storage Domain (View Box)..</param>
 /// <param name="localUsagePerfStats">Provides usage statistics for the locally stored data on the Storage Domain (View Box). Performance statistics are not populated..</param>
 /// <param name="logicalStats">Provides the logical usage statistics for the Storage Domain (View Box)..</param>
 /// <param name="usagePerfStats">Provides usage and performance statistics for the Storage Domain (View Box) (includes both local and cloud data)..</param>
 public ViewBoxStats(UsageAndPerformanceStats cloudUsagePerfStats = default(UsageAndPerformanceStats), long?id = default(long?), UsageAndPerformanceStats localUsagePerfStats = default(UsageAndPerformanceStats), LogicalStats logicalStats = default(LogicalStats), UsageAndPerformanceStats usagePerfStats = default(UsageAndPerformanceStats))
 {
     this.CloudUsagePerfStats = cloudUsagePerfStats;
     this.Id = id;
     this.LocalUsagePerfStats = localUsagePerfStats;
     this.LogicalStats        = logicalStats;
     this.UsagePerfStats      = usagePerfStats;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NodeStats" /> class.
 /// </summary>
 /// <param name="id">Id is the Id of the Node..</param>
 /// <param name="usagePerfStats">UsagePerfStats provides the usage and performance stats for the node..</param>
 public NodeStats(long?id = default(long?), UsageAndPerformanceStats usagePerfStats = default(UsageAndPerformanceStats))
 {
     this.Id             = id;
     this.UsagePerfStats = usagePerfStats;
 }