Cluster Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Cluster() |
Initializes a new instance of the Cluster class. |
Cluster(String, String, String, String, String, String, IDictionary<String, String>, String, String, String, ClusterReportedProperties, Nullable<Double>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>) |
Initializes a new instance of the Cluster class. |
Cluster()
Initializes a new instance of the Cluster class.
public Cluster();
Public Sub New ()
Applies to
Cluster(String, String, String, String, String, String, IDictionary<String, String>, String, String, String, ClusterReportedProperties, Nullable<Double>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the Cluster class.
public Cluster(string location, string aadClientId, string aadTenantId, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string provisioningState = default, string status = default, string cloudId = default, Microsoft.Azure.Management.AzureStackHCI.Models.ClusterReportedProperties reportedProperties = default, double? trialDaysRemaining = default, string billingModel = default, DateTime? registrationTimestamp = default, DateTime? lastSyncTimestamp = default, DateTime? lastBillingTimestamp = default);
new Microsoft.Azure.Management.AzureStackHCI.Models.Cluster : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * Microsoft.Azure.Management.AzureStackHCI.Models.ClusterReportedProperties * Nullable<double> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.AzureStackHCI.Models.Cluster
Public Sub New (location As String, aadClientId As String, aadTenantId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing, Optional status As String = Nothing, Optional cloudId As String = Nothing, Optional reportedProperties As ClusterReportedProperties = Nothing, Optional trialDaysRemaining As Nullable(Of Double) = Nothing, Optional billingModel As String = Nothing, Optional registrationTimestamp As Nullable(Of DateTime) = Nothing, Optional lastSyncTimestamp As Nullable(Of DateTime) = Nothing, Optional lastBillingTimestamp As Nullable(Of DateTime) = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- aadClientId
- String
App id of cluster AAD identity.
- aadTenantId
- String
Tenant id of cluster AAD identity.
- id
- String
Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- tags
- IDictionary<String,String>
Resource tags.
- provisioningState
- String
Provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Accepted', 'Provisioning'
- status
- String
Status of the cluster agent. Possible values include: 'NotYetRegistered', 'ConnectedRecently', 'NotConnectedRecently', 'Disconnected', 'Error'
- cloudId
- String
Unique, immutable resource id.
- reportedProperties
- ClusterReportedProperties
Properties reported by cluster agent.
- billingModel
- String
Type of billing applied to the resource.
Applies to
Azure SDK for .NET