你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
File Shares - List
返回位于特定位置的所有结构文件共享的列表。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/fileShares?api-version=2016-05-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/fileShares?api-version=2016-05-01&$filter={$filter}&$top={$top}&$skip={$skip}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
location
|
path | True |
string |
资源的位置。 |
resource
|
path | True |
string |
资源组的名称。 |
subscription
|
path | True |
string |
唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。 |
api-version
|
query | True |
string |
客户端 API 版本。 |
$filter
|
query |
string |
OData 筛选器参数。 |
|
$skip
|
query |
string |
OData skip 参数。 |
|
$top
|
query |
string |
OData top 参数。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
404 Not Found |
未找到 |
安全性
azure_auth
授权使用 Azure Active Directory OAuth2 流。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Returns a list of all fabric file shares at a certain location.
Sample Request
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares?api-version=2016-05-01
Sample Response
{
"value": [
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1",
"name": "SU1_Infrastructure_1",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1"
}
},
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2",
"name": "SU1_Infrastructure_2",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_2"
}
},
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3",
"name": "SU1_Infrastructure_3",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_3"
}
},
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore",
"name": "SU1_ObjStore",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore"
}
},
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public",
"name": "SU1_Public",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Public"
}
},
{
"id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp",
"name": "SU1_VmTemp",
"type": "Microsoft.Fabric.Admin/fabricLocations/fileShares",
"location": "local",
"tags": {},
"properties": {
"associatedVolume": "05c1cbb7",
"uncPath": "\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_VmTemp"
}
}
]
}
定义
名称 | 说明 |
---|---|
File |
包含文件共享资源的属性的对象。 |
File |
构造文件共享位置的可分页列表。 |
FileShare
包含文件共享资源的属性的对象。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源的 URI。 |
location |
string |
资源所在的区域。 |
name |
string |
资源的名称。 |
properties.associatedVolume |
string |
关联的卷 ID。 |
properties.uncPath |
string |
文件共享的 UNCPath。 |
tags |
object |
键值对列表。 |
type |
string |
资源的类型。 |
FileShareList
构造文件共享位置的可分页列表。
名称 | 类型 | 说明 |
---|---|---|
value |
结构文件共享的列表。 |