ArmCosmosDBModelFactory.CassandraClusterDataCenterNodeItem Method
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
CassandraClusterDataCenterNodeItem(String, Nullable<CassandraNodeState>, String, String, IEnumerable<String>, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Double>)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.CassandraClusterDataCenterNodeItem CassandraClusterDataCenterNodeItem (string address = default, Azure.ResourceManager.CosmosDB.Models.CassandraNodeState? state = default, string status = default, string load = default, System.Collections.Generic.IEnumerable<string> tokens = default, int? size = default, Guid? hostId = default, string rack = default, string timestamp = default, long? diskUsedKB = default, long? diskFreeKB = default, long? memoryUsedKB = default, long? memoryBuffersAndCachedKB = default, long? memoryFreeKB = default, long? memoryTotalKB = default, double? cpuUsage = default);
static member CassandraClusterDataCenterNodeItem : string * Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraNodeState> * string * string * seq<string> * Nullable<int> * Nullable<Guid> * string * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<double> -> Azure.ResourceManager.CosmosDB.Models.CassandraClusterDataCenterNodeItem
Public Shared Function CassandraClusterDataCenterNodeItem (Optional address As String = Nothing, Optional state As Nullable(Of CassandraNodeState) = Nothing, Optional status As String = Nothing, Optional load As String = Nothing, Optional tokens As IEnumerable(Of String) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional hostId As Nullable(Of Guid) = Nothing, Optional rack As String = Nothing, Optional timestamp As String = Nothing, Optional diskUsedKB As Nullable(Of Long) = Nothing, Optional diskFreeKB As Nullable(Of Long) = Nothing, Optional memoryUsedKB As Nullable(Of Long) = Nothing, Optional memoryBuffersAndCachedKB As Nullable(Of Long) = Nothing, Optional memoryFreeKB As Nullable(Of Long) = Nothing, Optional memoryTotalKB As Nullable(Of Long) = Nothing, Optional cpuUsage As Nullable(Of Double) = Nothing) As CassandraClusterDataCenterNodeItem
Parameters
- address
- String
- state
- Nullable<CassandraNodeState>
- status
- String
- load
- String
- tokens
- IEnumerable<String>
- rack
- String
- timestamp
- String
Returns
Applies to
CassandraClusterDataCenterNodeItem(String, Nullable<CassandraNodeState>, String, String, String, IEnumerable<String>, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Double>, Nullable<Boolean>)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of CassandraClusterDataCenterNodeItem.
public static Azure.ResourceManager.CosmosDB.Models.CassandraClusterDataCenterNodeItem CassandraClusterDataCenterNodeItem (string address = default, Azure.ResourceManager.CosmosDB.Models.CassandraNodeState? state = default, string status = default, string cassandraProcessStatus = default, string load = default, System.Collections.Generic.IEnumerable<string> tokens = default, int? size = default, Guid? hostId = default, string rack = default, string timestamp = default, long? diskUsedKB = default, long? diskFreeKB = default, long? memoryUsedKB = default, long? memoryBuffersAndCachedKB = default, long? memoryFreeKB = default, long? memoryTotalKB = default, double? cpuUsage = default, bool? isLatestModel = default);
static member CassandraClusterDataCenterNodeItem : string * Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraNodeState> * string * string * string * seq<string> * Nullable<int> * Nullable<Guid> * string * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<double> * Nullable<bool> -> Azure.ResourceManager.CosmosDB.Models.CassandraClusterDataCenterNodeItem
Public Shared Function CassandraClusterDataCenterNodeItem (Optional address As String = Nothing, Optional state As Nullable(Of CassandraNodeState) = Nothing, Optional status As String = Nothing, Optional cassandraProcessStatus As String = Nothing, Optional load As String = Nothing, Optional tokens As IEnumerable(Of String) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional hostId As Nullable(Of Guid) = Nothing, Optional rack As String = Nothing, Optional timestamp As String = Nothing, Optional diskUsedKB As Nullable(Of Long) = Nothing, Optional diskFreeKB As Nullable(Of Long) = Nothing, Optional memoryUsedKB As Nullable(Of Long) = Nothing, Optional memoryBuffersAndCachedKB As Nullable(Of Long) = Nothing, Optional memoryFreeKB As Nullable(Of Long) = Nothing, Optional memoryTotalKB As Nullable(Of Long) = Nothing, Optional cpuUsage As Nullable(Of Double) = Nothing, Optional isLatestModel As Nullable(Of Boolean) = Nothing) As CassandraClusterDataCenterNodeItem
Parameters
- address
- String
The node's IP address.
- state
- Nullable<CassandraNodeState>
The state of the node in Cassandra ring.
- status
- String
- cassandraProcessStatus
- String
Cassandra service status on this node.
- load
- String
The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted.
- tokens
- IEnumerable<String>
List of tokens this node covers.
- rack
- String
The rack this node is part of.
- timestamp
- String
The timestamp when these statistics were captured.
Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.
Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.
A float representing the current system-wide CPU utilization as a percentage.
Returns
A new CassandraClusterDataCenterNodeItem instance for mocking.
Applies to
Azure SDK for .NET