Get-AzSqlServerTrustGroup
取得伺服器信任群組的相關信息。
PowerShell
Get-AzSqlServerTrustGroup
[-ResourceGroupName] <String>
[-Location] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
PowerShell
Get-AzSqlServerTrustGroup
[-ResourceGroupName] <String>
[-Location] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
PowerShell
Get-AzSqlServerTrustGroup
[-ResourceGroupName] <String>
[-InstanceName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
PowerShell
Get-AzSqlServerTrustGroup
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSqlServerTrustGroup Cmdlet 會取得伺服器信任群組及其目前訂用帳戶成員的相關信息。 根據設定這個 Cmdlet 的參數,可以擷取指定的伺服器信任群組、指定位置中的所有伺服器信任群組,或已將 AzureSQL 受控實例指定為成員的伺服器信任群組。
PowerShell
Get-AzSqlServerTrustGroup -ResourceGroupName "ResourceGroup01" -Location "West Europe" -Name "ServerTrustGroup01"
取得位於西歐之資源群組 ResourceGroup01 中名為 ServerTrustGroup01 的伺服器信任群組相關信息。
PowerShell
Get-AzSqlServerTrustGroup -ResourceGroupName "ResourceGroup01" -Location "West Europe"
取得資源群組 ResourceGroup01 中西歐位置中所有伺服器信任群組的相關信息。
PowerShell
Get-AzSqlServerTrustGroup -ResourceGroupName "ResourceGroup01" -InstanceName "ManagedInstance01"
取得具有受控實例 ManagedInstance01 做為成員之所有伺服器信任群組的相關信息。
PowerShell
Get-AzSqlServerTrustGroup -ResourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup01/providers/Microsoft.Sql/locations/WestEurope/serverTrustGroups/ServerTrustGroup01"
取得其標識碼所指定之伺服器信任群組的相關信息。
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
要擷取之伺服器信任群組成員的受控實例名稱。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
要擷取的伺服器信任群組位置。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
要擷取的伺服器信任群組名稱。
類型: | String |
Position: | 2 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
要使用的實例資源標識碼
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |