你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzStorageSyncCloudEndpoint

此命令列出给定同步组中的所有云终结点。

语法

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

说明

此命令列出给定同步组中的所有云终结点。 它还可用于列出每个云终结点的属性。

示例

示例 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

-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

输入

输出