Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Cluster class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="sku">Properties of the cluster SKU.</param>
 /// <param name="created">The UTC time when the Event Hubs Cluster was
 /// created.</param>
 /// <param name="updated">The UTC time when the Event Hubs Cluster was
 /// last updated.</param>
 /// <param name="metricId">The metric ID of the cluster resource.
 /// Provided by the service and not modifiable by the user.</param>
 /// <param name="status">Status of the Cluster resource</param>
 public Cluster(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ClusterSku sku = default(ClusterSku), string created = default(string), string updated = default(string), string metricId = default(string), string status = default(string))
     : base(id, name, type, location, tags)
 {
     Sku      = sku;
     Created  = created;
     Updated  = updated;
     MetricId = metricId;
     Status   = status;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Cluster class.
 /// </summary>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="sku">Properties of the cluster SKU.</param>
 /// <param name="systemData">The system meta data relating to this
 /// resource.</param>
 /// <param name="createdAt">The UTC time when the Event Hubs Cluster
 /// was created.</param>
 /// <param name="updatedAt">The UTC time when the Event Hubs Cluster
 /// was last updated.</param>
 /// <param name="metricId">The metric ID of the cluster resource.
 /// Provided by the service and not modifiable by the user.</param>
 /// <param name="status">Status of the Cluster resource</param>
 /// <param name="supportsScaling">A value that indicates whether
 /// Scaling is Supported.</param>
 public Cluster(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ClusterSku sku = default(ClusterSku), SystemData systemData = default(SystemData), string createdAt = default(string), string updatedAt = default(string), string metricId = default(string), string status = default(string), bool?supportsScaling = default(bool?))
     : base(id, name, type, location, tags)
 {
     Sku             = sku;
     SystemData      = systemData;
     CreatedAt       = createdAt;
     UpdatedAt       = updatedAt;
     MetricId        = metricId;
     Status          = status;
     SupportsScaling = supportsScaling;
     CustomInit();
 }