你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzManagedCassandraCluster
Update an existing Azure Managed Instances for Apache Cassandra cluster.
Syntax
Update-AzManagedCassandraCluster
-ResourceGroupName <String>
-ClusterName <String>
[-Tag <Hashtable>]
[-ExternalGossipCertificate <String[]>]
[-ClientCertificate <String[]>]
[-RepairEnabled <Boolean>]
[-TimeBetweenBackupInHours <Int32>]
[-AuthenticationMethod <String>]
[-CassandraVersion <String>]
[-ExternalSeedNode <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzManagedCassandraCluster
-ResourceId <String>
[-Tag <Hashtable>]
[-ExternalGossipCertificate <String[]>]
[-ClientCertificate <String[]>]
[-RepairEnabled <Boolean>]
[-TimeBetweenBackupInHours <Int32>]
[-AuthenticationMethod <String>]
[-CassandraVersion <String>]
[-ExternalSeedNode <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzManagedCassandraCluster
-InputObject <PSClusterResource>
[-Tag <Hashtable>]
[-ExternalGossipCertificate <String[]>]
[-ClientCertificate <String[]>]
[-RepairEnabled <Boolean>]
[-TimeBetweenBackupInHours <Int32>]
[-AuthenticationMethod <String>]
[-CassandraVersion <String>]
[-ExternalSeedNode <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Update-AzManagedCassandraCluster cmdlet alters an existing managed Cassandra cluster.
Examples
Example 1
Update-AzManagedCassandraCluster `
-ResourceGroupName "resourceGroupName" `
-ClusterName "clusterName" `
-ExternalGossipCertificate "certificates" `
-ClientCertificate "certificates" `
-RepairEnabled $true
Example 2
Update-AzManagedCassandraCluster `
-ResourceId "clusterResourceId" `
-ExternalGossipCertificate "certificates" `
-ClientCertificate "certificates" `
-RepairEnabled $true
Example 3
$clusterResource | Update-AzManagedCassandraCluster `
-ExternalGossipCertificate "certificates" `
-ClientCertificate "certificates" `
-RepairEnabled $true
Parameters
-AuthenticationMethod
How to authenticate clients, one of Cassandra
(for password authentication), Ldap
(for LDAP/AD authentication), or None
(for no authentication required).
Type: | String |
Position: | Named |
Default value: | Cassandra |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CassandraVersion
Which version of Cassandra to run. Currently only 3.11 is supported.
Type: | String |
Position: | Named |
Default value: | 3.11 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClientCertificate
The list of TLS certificates to use to authenticate clients. If this is omitted, all client connections still connect with TLS, but are not required to provide valid client certificates. If this is provided, clients most provide a valid TLS client certificate to connect to the cluster.
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 |
-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 |
-ExternalGossipCertificate
A list of additional TLS certificates the managed Cassandra cluster will use to authenticate gossip.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExternalSeedNode
List of IP addresses of external seed nodes to bridge this cluster to.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Managed Cassandra Cluster object
Type: | PSClusterResource |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RepairEnabled
If true, managed Cassandra will run reaper to repair the database regularly. This should only be disabled for hybrid clusters which run their own repair process outside of Azure.
Type: | Nullable<T>[Boolean] |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
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 |
-Tag
Hashtable of tags to set on the data center resource.
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeBetweenBackupInHours
Hours between taking full backups of the cluster.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
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 |