你当前正在访问 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 参数

Name In Required Type Description
location
path True
  • string

资源的位置。

resourceGroupName
path True
  • string

资源组的名称。

subscriptionId
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 参数。

响应

Name Type Description
200 OK

OK

404 Not Found

未找到

安全性

azure_auth

授权使用 Azure Active Directory OAuth2 流。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
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"
      }
    }
  ]
}

定义

FileShare

包含文件共享资源属性的对象。

FileShareList

构造文件共享位置的可分页列表。

FileShare

包含文件共享资源属性的对象。

Name Type Description
id
  • string

资源的 URI。

location
  • string

资源所在的区域。

name
  • string

资源的名称。

properties.associatedVolume
  • string

关联的卷 ID。

properties.uncPath
  • string

文件共享的 UNCPath。

tags
  • object

键值对的列表。

type
  • string

资源的类型。

FileShareList

构造文件共享位置的可分页列表。

Name Type Description
value

构造文件共享列表。