Language

GarnetClusterResourceProperties Class

Definition

Properties of a Garnet cache cluster.

public class GarnetClusterResourceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.GarnetClusterResourceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.GarnetClusterResourceProperties>
type GarnetClusterResourceProperties = class
    interface IJsonModel<GarnetClusterResourceProperties>
    interface IPersistableModel<GarnetClusterResourceProperties>
Public Class GarnetClusterResourceProperties
Implements IJsonModel(Of GarnetClusterResourceProperties), IPersistableModel(Of GarnetClusterResourceProperties)
Inheritance
GarnetClusterResourceProperties
Implements

Constructors

Name Description
GarnetClusterResourceProperties()

Initializes a new instance of GarnetClusterResourceProperties.

Properties

Name Description
AllocationState

Allocation state of the cluster and data center resources. Active implies the virtual machines of the cluster are allocated, deallocated implies virtual machines and resources are deallocated.

AuthenticationMethod

The authentication method used for the Garnet cluster.

ClusterType

Type of the cluster. If set to Production, some operations might not be permitted on cluster.

EndPoints

Endpoints for clients to connect to the cluster.

Extensions

Extensions to be added or updated on cluster.

IsAvailabilityZoneEnabled

If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the garnet cluster virtual machines.

IsPersistenceEnabled

Flag to indicate if persistence is enabled for the Garnet cluster.

NodeSku

Virtual Machine SKU used for clusters. Default value is Standard_DS14_v2.

ProvisionError

Error related to resource provisioning.

ProvisioningState

The provisioning state of the resource.

ReplicationFactor

Number of copies of data maintained by the cluster.

ShardCount

Number of shards in the cluster.

SubnetId

Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<GarnetClusterResourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<GarnetClusterResourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<GarnetClusterResourceProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<GarnetClusterResourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<GarnetClusterResourceProperties>.Write(ModelReaderWriterOptions)

Applies to