共用方式為


ArmCosmosDBModelFactory.CassandraClusterDataCenterNodeItem Method

Definition

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>)
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>)

Initializes a new instance of CassandraClusterDataCenterNodeItem.

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
status
String
load
String
size
Nullable<Int32>
hostId
Nullable<Guid>
rack
String
timestamp
String
diskUsedKB
Nullable<Int64>
diskFreeKB
Nullable<Int64>
memoryUsedKB
Nullable<Int64>
memoryBuffersAndCachedKB
Nullable<Int64>
memoryFreeKB
Nullable<Int64>
memoryTotalKB
Nullable<Int64>
cpuUsage
Nullable<Double>

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.

size
Nullable<Int32>
hostId
Nullable<Guid>

The network ID of the node.

rack
String

The rack this node is part of.

timestamp
String

The timestamp when these statistics were captured.

diskUsedKB
Nullable<Int64>

The amount of disk used, in kB, of the directory /var/lib/cassandra.

diskFreeKB
Nullable<Int64>

The amount of disk free, in kB, of the directory /var/lib/cassandra.

memoryUsedKB
Nullable<Int64>

Used memory (calculated as total - free - buffers - cache), in kB.

memoryBuffersAndCachedKB
Nullable<Int64>

Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.

memoryFreeKB
Nullable<Int64>

Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.

memoryTotalKB
Nullable<Int64>

Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.

cpuUsage
Nullable<Double>

A float representing the current system-wide CPU utilization as a percentage.

isLatestModel
Nullable<Boolean>

If node has been updated to latest model.

Returns

A new CassandraClusterDataCenterNodeItem instance for mocking.

Applies to