你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Synchronization Settings - Get
获取 synchronizationSetting in a share.
获取 synchronizationSetting in a share
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}?api-version=2021-08-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
account
|
path | True |
string |
共享帐户的名称。 |
resource
|
path | True |
string |
资源组名称。 |
share
|
path | True |
string |
共享的名称。 |
subscription
|
path | True |
string |
订阅标识符 |
synchronization
|
path | True |
string |
synchronizationSetting 的名称。 |
api-version
|
query | True |
string |
要使用的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK | SynchronizationSetting: |
成功 |
Other Status Codes |
从 Microsoft.DataShare 资源提供程序收到的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
SynchronizationSettings_Get
Sample Request
Sample Response
Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-tenant-reads: 14999
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
{
"kind": "ScheduleBased",
"properties": {
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
"recurrenceInterval": "Day",
"provisioningState": "Succeeded",
"userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/synchronizationSettings/SynchronizationSetting1",
"name": "SynchronizationSetting1",
"type": "Microsoft.DataShare/accounts/shares/synchronizationSettings"
}
定义
名称 | 说明 |
---|---|
created |
创建资源的标识类型。 |
Data |
数据共享错误模型。 |
Data |
数据共享错误主体模型。 |
last |
上次修改资源的标识类型。 |
provisioning |
帐户的预配状态 |
recurrence |
定期间隔 |
Scheduled |
一种基于计划的同步设置 |
System |
与资源的创建和上次修改相关的元数据。 |
createdByType
创建资源的标识类型。
名称 | 类型 | 说明 |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
DataShareError
数据共享错误模型。
名称 | 类型 | 说明 |
---|---|---|
error |
数据共享错误正文 |
DataShareErrorInfo
数据共享错误主体模型。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误的代码 |
details |
错误模型的嵌套详细信息 |
|
message |
string |
错误消息 |
target |
string |
错误的目标 |
lastModifiedByType
上次修改资源的标识类型。
名称 | 类型 | 说明 |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
provisioningState
帐户的预配状态
名称 | 类型 | 说明 |
---|---|---|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Moving |
string |
|
Succeeded |
string |
recurrenceInterval
定期间隔
名称 | 类型 | 说明 |
---|---|---|
Day |
string |
|
Hour |
string |
ScheduledSynchronizationSetting
一种基于计划的同步设置
名称 | 类型 | 说明 |
---|---|---|
id |
string |
Azure 资源的资源 ID |
kind |
string:
Schedule |
同步设置的类型。 |
name |
string |
Azure 资源的名称 |
properties.createdAt |
string |
同步设置的创建时间。 |
properties.provisioningState |
获取或设置预配状态 |
|
properties.recurrenceInterval |
定期间隔 |
|
properties.synchronizationTime |
string |
同步时间 |
properties.userName |
string |
创建同步设置的用户的名称。 |
systemData |
Azure 资源的系统数据。 |
|
type |
string |
Azure 资源的类型 |
SystemData
与资源的创建和上次修改相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string |
资源的创建时间戳 (UTC) 。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识类型。 |
|
lastModifiedAt |
string |
上次修改资源的标识类型。 |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识类型。 |