コード例 #1
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. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="etag">The current entity tag for the cluster. This is
 /// an opaque string. You can use it to detect whether the resource has
 /// changed between requests. You can also use it in the If-Match or
 /// If-None-Match headers for write operations for optimistic
 /// concurrency.</param>
 /// <param name="createdDate">The date this cluster was
 /// created.</param>
 /// <param name="clusterId">Unique identifier for the cluster.</param>
 /// <param name="provisioningState">Possible values include:
 /// 'Succeeded', 'Failed', 'Canceled', 'InProgress'</param>
 /// <param name="capacityAllocated">Represents the number of streaming
 /// units currently being used on the cluster.</param>
 /// <param name="capacityAssigned">Represents the sum of the SUs of all
 /// streaming jobs associated with the cluster. If all of the jobs were
 /// running, this would be the capacity allocated.</param>
 public Cluster(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), ClusterSku sku = default(ClusterSku), string etag = default(string), System.DateTime?createdDate = default(System.DateTime?), string clusterId = default(string), string provisioningState = default(string), int?capacityAllocated = default(int?), int?capacityAssigned = default(int?))
     : base(id, name, type, tags, location)
 {
     Sku               = sku;
     Etag              = etag;
     CreatedDate       = createdDate;
     ClusterId         = clusterId;
     ProvisioningState = provisioningState;
     CapacityAllocated = capacityAllocated;
     CapacityAssigned  = capacityAssigned;
     CustomInit();
 }
コード例 #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. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="etag">The current entity tag for the cluster. This is
 /// an opaque string. You can use it to detect whether the resource has
 /// changed between requests. You can also use it in the If-Match or
 /// If-None-Match headers for write operations for optimistic
 /// concurrency.</param>
 /// <param name="properties">The properties associated with a Stream
 /// Analytics cluster.</param>
 public Cluster(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), ClusterSku sku = default(ClusterSku), string etag = default(string), ClusterProperties properties = default(ClusterProperties))
     : base(id, name, type, tags, location)
 {
     Sku        = sku;
     Etag       = etag;
     Properties = properties;
     CustomInit();
 }