File Shares - List

Restituisce un elenco di tutte le condivisioni file di infrastruttura in un determinato percorso.

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}

Parametri dell'URI

Nome In Necessario Tipo Descrizione
location
path True

string

Posizione della risorsa.

resourceGroupName
path True

string

Nome del gruppo di risorse.

subscriptionId
path True

string

Credenziali di sottoscrizione che identificano in modo univoco la sottoscrizione di Microsoft Azure. L'ID sottoscrizione fa parte dell'URI per ogni chiamata di servizio.

api-version
query True

string

Versione dell'API client.

$filter
query

string

Parametro di filtro OData.

$skip
query

string

Parametro skip OData.

$top
query

string

Parametro top OData.

Risposte

Nome Tipo Descrizione
200 OK

FileShareList

OK

404 Not Found

NON TROVATO

Sicurezza

azure_auth

L'autorizzazione usa un flusso OAuth2 di Azure Active Directory.

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

Scopes

Nome Descrizione
user_impersonation rappresentare l'account utente

Esempio

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

Definizioni

Nome Descrizione
FileShare

Oggetto che contiene le proprietà della risorsa di condivisione file.

FileShareList

Elenco di condivisioni file di infrastruttura in cui è possibile eseguire il paging.

FileShare

Oggetto che contiene le proprietà della risorsa di condivisione file.

Nome Tipo Descrizione
id

string

URI della risorsa.

location

string

Area in cui si trova la risorsa.

name

string

Nome della risorsa.

properties.associatedVolume

string

ID volume associato.

properties.uncPath

string

UNCPath per la condivisione file.

tags

object

Elenco di coppie chiave-valore.

type

string

Tipo di risorsa.

FileShareList

Elenco di condivisioni file di infrastruttura in cui è possibile eseguire il paging.

Nome Tipo Descrizione
value

FileShare[]

Elenco di condivisioni file di infrastruttura.