Update-AzManagedCassandraDataCenter
更新 Apache Cassandra 數據中心的現有 Azure 受控實例。
語法
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
Update-AzManagedCassandraDataCenter Cmdlet 會更新現有的受控 Cassandra 數據中心。
範例
範例 1
Update-AzManagedCassandraDataCenter `
-ResourceGroupName "resourceGroupName" `
-ClusterName "clusterName" `
-DataCenterName "dataCenterName" `
-NodeCount 3
參數
-BackupStorageCustomerKeyUri
用來加密 Cassandra 備份之 KeyVault 金鑰的 URI。 如果未設定,則會使用 Azure 自己的金鑰。 請確定叢集的系統指派身分識別已獲指派適當的許可權(金鑰取得/包裝/解除包裝許可權)密鑰。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Base64EncodedCassandraYamlFragment
要包含在此數據中心節點 base64 編碼之節點 cassandra.yaml
的組態片段。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ClusterName
受控 Cassandra 叢集的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DatacenterName
受控 Cassandra Datacenter 名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
受控 Cassandra Datacenter 物件
類型: | PSDataCenterResource |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-NodeCount
要在此數據中心建立的節點數目。
類型: | Nullable<T>[Int32] |
Position: | Named |
預設值: | 3 |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ParentObject
用來建立數據中心的 Cassandra 叢集物件。
類型: | PSClusterResource |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
資源的 ResourceId。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |