Düzenle

Aracılığıyla paylaş


New-AzManagedCassandraDataCenter

Create a new Azure Managed Instances for Apache Cassandra data center.

Syntax

New-AzManagedCassandraDataCenter
   -Location <String>
   -DelegatedSubnetId <String>
   [-Sku <String>]
   [-DiskCapacity <Int32>]
   [-ManagedDiskCustomerKeyUri <String>]
   [-UseAvailabilityZone]
   -ResourceGroupName <String>
   -ClusterName <String>
   -DatacenterName <String>
   [-NodeCount <Int32>]
   [-Base64EncodedCassandraYamlFragment <String>]
   [-BackupStorageCustomerKeyUri <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzManagedCassandraDataCenter
   -Location <String>
   -DelegatedSubnetId <String>
   -ParentObject <PSClusterResource>
   [-Sku <String>]
   [-DiskCapacity <Int32>]
   [-ManagedDiskCustomerKeyUri <String>]
   [-UseAvailabilityZone]
   [-NodeCount <Int32>]
   [-Base64EncodedCassandraYamlFragment <String>]
   [-BackupStorageCustomerKeyUri <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-AzManagedCassandraDataCenter cmdlet creates a new managed Cassandra data center.

Examples

Example 1

New-AzManagedCassandraDataCenter `
 -ResourceGroupName "resourceGroupName" `
 -ClusterName "clusterName" `
 -DataCenterName "dataCenterName" `
 -DelegatedSubnetId "resourceId" `
 -Location "location" `
 -NodeCount 3

Parameters

-BackupStorageCustomerKeyUri

URI to a KeyVault key used to encrypt backups of the cluster. If omitted, Azure's own keys will be used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Base64EncodedCassandraYamlFragment

Fragment of configuration to include in cassandra.yaml on nodes of this data center, Base64 encoded.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClusterName

Name of the managed Cassandra cluster.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DatacenterName

Managed Cassandra Datacenter Name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DelegatedSubnetId

The resource id of the virtual network subnet where managed Cassandra should attach network interfaces.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DiskCapacity

The number of data disks to connect to each node in the cluster.

Type:Nullable<T>[Int32]
Position:Named
Default value:4
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

The location to create the managed Cassandra cluster in.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ManagedDiskCustomerKeyUri

URI of a KeyVault key used to encrypt data at rest in the cluster. If omitted, Azure's own keys will be used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NodeCount

The number of nodes to create in this data center.

Type:Nullable<T>[Int32]
Position:Named
Default value:3
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ParentObject

Cassandra cluster object to create a data center in.

Type:PSClusterResource
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Name of resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Sku

Name of the virtual machine sku to use for nodes in this data center. See the documentation for supported skus.

Type:String
Position:Named
Default value:Standard_DS14_v2
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseAvailabilityZone

If set, allocate nodes in this data center using availability zones if they are supported in the region.

Type:SwitchParameter
Position:Named
Default value:True
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSClusterResource

Outputs

PSDataCenterResource