共用方式為


Get-AzStorageSyncCloudEndpoint

此命令會列出指定同步群組內的所有雲端端點。

語法

Get-AzStorageSyncCloudEndpoint
   [-ResourceGroupName] <String>
   [-StorageSyncServiceName] <String>
   [-SyncGroupName] <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]
Get-AzStorageSyncCloudEndpoint
   [-ParentObject] <PSSyncGroup>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]
Get-AzStorageSyncCloudEndpoint
   [-ParentResourceId] <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]

Description

此命令會列出指定同步群組內的所有雲端端點。 它可以用來列出每個雲端端點的屬性。

範例

範例 1

Get-AzStorageSyncCloudEndpoint -ResourceGroupName "myResourceGroup" -StorageSyncServiceName "myStorageSyncServiceName" -SyncGroupName "mySyncGroupName"

此命令會取得指定同步群組中包含的所有雲端端點。 指定 -CloudEndpointName 以傳回特定的 。

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

CloudEndpoint 的名稱。

類型:String
別名:CloudEndpointName
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-ParentObject

StorageSyncService 物件,通常透過 參數傳遞。

類型:PSSyncGroup
別名:SyncGroup
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ParentResourceId

StorageSyncService 物件,通常透過 參數傳遞。

類型:String
別名:SyncGroupId
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ProgressAction

{{ 填滿 ProgressAction 描述 }}

類型:ActionPreference
別名:proga
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源群組名稱。

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-StorageSyncServiceName

StorageSyncService 的名稱。

類型:String
別名:ParentName
Position:1
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-SyncGroupName

SyncGroup 的名稱。

類型:String
Position:2
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

String

PSSyncGroup

輸出

PSCloudEndpoint