Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonitoringSubscription" /> class.
 /// </summary>
 /// <param name="Locator">Locator.</param>
 /// <param name="Component">Component.</param>
 /// <param name="UpdateInterval">UpdateInterval.</param>
 /// <param name="Properties">Properties.</param>
 /// <param name="Href">Href.</param>
 public MonitoringSubscription(Guid?Locator = default(Guid?), ComponentReference Component = default(ComponentReference), int?UpdateInterval = default(int?), List <string> Properties = default(List <string>), string Href = default(string))
 {
     this.Locator        = Locator;
     this.Component      = Component;
     this.UpdateInterval = UpdateInterval;
     this.Properties     = Properties;
     this.Href           = Href;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Workload" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Server">Server.</param>
 /// <param name="Component">Component.</param>
 /// <param name="ResourcePolicy">ResourcePolicy.</param>
 /// <param name="StorageQuota">StorageQuota.</param>
 /// <param name="StorageBlocks">StorageBlocks.</param>
 /// <param name="TenantCount">TenantCount.</param>
 /// <param name="Utilization">Utilization.</param>
 /// <param name="AllocatedPorts">AllocatedPorts.</param>
 /// <param name="DebugConnection">DebugConnection.</param>
 /// <param name="InstanceId">InstanceId.</param>
 /// <param name="JmxConnection">JmxConnection.</param>
 /// <param name="Href">Href.</param>
 public Workload(string Name = default(string), string Server = default(string), ComponentReference Component = default(ComponentReference), ResourceAllocationPolicyReference ResourcePolicy = default(ResourceAllocationPolicyReference), StorageQuotaReference StorageQuota = default(StorageQuotaReference), long?StorageBlocks = default(long?), int?TenantCount = default(int?), ResourceBase Utilization = default(ResourceBase), List <int?> AllocatedPorts = default(List <int?>), DebugConnection DebugConnection = default(DebugConnection), Guid?InstanceId = default(Guid?), JMXConnection JmxConnection = default(JMXConnection), string Href = default(string))
 {
     this.Name            = Name;
     this.Server          = Server;
     this.Component       = Component;
     this.ResourcePolicy  = ResourcePolicy;
     this.StorageQuota    = StorageQuota;
     this.StorageBlocks   = StorageBlocks;
     this.TenantCount     = TenantCount;
     this.Utilization     = Utilization;
     this.AllocatedPorts  = AllocatedPorts;
     this.DebugConnection = DebugConnection;
     this.InstanceId      = InstanceId;
     this.JmxConnection   = JmxConnection;
     this.Href            = Href;
 }