Bewerken

Delen via


Update-AzManagedCassandraDataCenter

Update an existing Azure Managed Instances for Apache Cassandra data center.

Syntax

Update-AzManagedCassandraDataCenter
      -ResourceGroupName <String>
      -ClusterName <String>
      -DatacenterName <String>
      [-NodeCount <Int32>]
      [-Base64EncodedCassandraYamlFragment <String>]
      [-BackupStorageCustomerKeyUri <String>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzManagedCassandraDataCenter
      -ResourceId <String>
      [-NodeCount <Int32>]
      [-Base64EncodedCassandraYamlFragment <String>]
      [-BackupStorageCustomerKeyUri <String>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzManagedCassandraDataCenter
      -InputObject <PSDataCenterResource>
      [-NodeCount <Int32>]
      [-Base64EncodedCassandraYamlFragment <String>]
      [-BackupStorageCustomerKeyUri <String>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzManagedCassandraDataCenter
      -ParentObject <PSClusterResource>
      [-NodeCount <Int32>]
      [-Base64EncodedCassandraYamlFragment <String>]
      [-BackupStorageCustomerKeyUri <String>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Update-AzManagedCassandraDataCenter cmdlet updates an existing managed Cassandra data center.

Examples

Example 1

Update-AzManagedCassandraDataCenter `
 -ResourceGroupName "resourceGroupName" `
 -ClusterName "clusterName" `
 -DataCenterName "dataCenterName" `
 -NodeCount 3

Parameters

-BackupStorageCustomerKeyUri

URI to KeyVault key that is used to encrypt Cassandra backups. If not set, will use Azure's own keys. Ensure the system assigned identity of the cluster has been assigned appropriate permissions (key get/wrap/unwrap permissions) on the key.

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

-InputObject

Managed Cassandra Datacenter object

Type:PSDataCenterResource
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-ResourceId

ResourceId of the resource.

Type:String
Position:Named
Default value:None
Required:True
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

PSDataCenterResource

Outputs

PSDataCenterResource