コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ClusterPatch class.
 /// </summary>
 /// <param name="keyVaultProperties">The associated key
 /// properties.</param>
 /// <param name="sku">The sku properties.</param>
 /// <param name="tags">Resource tags.</param>
 public ClusterPatch(KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), ClusterSku sku = default(ClusterSku), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     KeyVaultProperties = keyVaultProperties;
     Sku  = sku;
     Tags = tags;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the ClusterPatch class.
 /// </summary>
 /// <param name="keyVaultProperties">The associated key
 /// properties.</param>
 /// <param name="billingType">The cluster's billing type. Possible
 /// values include: 'Cluster', 'Workspaces'</param>
 /// <param name="identity">The identity of the resource.</param>
 /// <param name="sku">The sku properties.</param>
 /// <param name="tags">Resource tags.</param>
 public ClusterPatch(KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), string billingType = default(string), Identity identity = default(Identity), ClusterSku sku = default(ClusterSku), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     KeyVaultProperties = keyVaultProperties;
     BillingType        = billingType;
     Identity           = identity;
     Sku  = sku;
     Tags = tags;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the Cluster class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <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="identity">The identity of the resource.</param>
 /// <param name="sku">The sku properties.</param>
 /// <param name="nextLink">The link used to get the next page of
 /// recommendations.</param>
 /// <param name="clusterId">The ID associated with the cluster.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// cluster. Possible values include: 'Creating', 'Succeeded',
 /// 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount',
 /// 'Updating'</param>
 /// <param name="keyVaultProperties">The associated key
 /// properties.</param>
 public Cluster(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Identity identity = default(Identity), ClusterSku sku = default(ClusterSku), string nextLink = default(string), string clusterId = default(string), string provisioningState = default(string), KeyVaultProperties keyVaultProperties = default(KeyVaultProperties))
     : base(location, id, name, type, tags)
 {
     Identity           = identity;
     Sku                = sku;
     NextLink           = nextLink;
     ClusterId          = clusterId;
     ProvisioningState  = provisioningState;
     KeyVaultProperties = keyVaultProperties;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the Cluster class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <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="tags">Resource tags.</param>
 /// <param name="identity">The identity of the resource.</param>
 /// <param name="sku">The sku properties.</param>
 /// <param name="clusterId">The ID associated with the cluster.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// cluster. Possible values include: 'Creating', 'Succeeded',
 /// 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount',
 /// 'Updating'</param>
 /// <param name="isDoubleEncryptionEnabled">Configures whether cluster
 /// will use double encryption. This Property can not be modified after
 /// cluster creation. Default value is 'true'</param>
 /// <param name="isAvailabilityZonesEnabled">Sets whether the cluster
 /// will support availability zones. This can be set as true only in
 /// regions where Azure Data Explorer support Availability Zones. This
 /// Property can not be modified after cluster creation. Default value
 /// is 'true' if region supports Availability Zones.</param>
 /// <param name="billingType">The cluster's billing type. Possible
 /// values include: 'Cluster', 'Workspaces'</param>
 /// <param name="keyVaultProperties">The associated key
 /// properties.</param>
 /// <param name="lastModifiedDate">The last time the cluster was
 /// updated.</param>
 /// <param name="createdDate">The cluster creation time</param>
 /// <param name="associatedWorkspaces">The list of Log Analytics
 /// workspaces associated with the cluster</param>
 /// <param name="capacityReservationProperties">Additional properties
 /// for capacity reservation</param>
 public Cluster(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Identity identity = default(Identity), ClusterSku sku = default(ClusterSku), string clusterId = default(string), string provisioningState = default(string), bool?isDoubleEncryptionEnabled = default(bool?), bool?isAvailabilityZonesEnabled = default(bool?), string billingType = default(string), KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), string lastModifiedDate = default(string), string createdDate = default(string), IList <AssociatedWorkspace> associatedWorkspaces = default(IList <AssociatedWorkspace>), CapacityReservationProperties capacityReservationProperties = default(CapacityReservationProperties))
     : base(location, id, name, type, tags)
 {
     Identity                      = identity;
     Sku                           = sku;
     ClusterId                     = clusterId;
     ProvisioningState             = provisioningState;
     IsDoubleEncryptionEnabled     = isDoubleEncryptionEnabled;
     IsAvailabilityZonesEnabled    = isAvailabilityZonesEnabled;
     BillingType                   = billingType;
     KeyVaultProperties            = keyVaultProperties;
     LastModifiedDate              = lastModifiedDate;
     CreatedDate                   = createdDate;
     AssociatedWorkspaces          = associatedWorkspaces;
     CapacityReservationProperties = capacityReservationProperties;
     CustomInit();
 }