Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Filiz Topatan committed Feb 21, 2020
2 parents 8c0eb82 + f9af8f5 commit 2e87b88
Show file tree
Hide file tree
Showing 41 changed files with 2,597 additions and 348 deletions.
4 changes: 4 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@ notstarted
nouploadcache
nsdname
nsku
nsxt
ntext
ntlm
numrecords
Expand Down Expand Up @@ -1598,6 +1599,7 @@ vaultusages
vcenter
Vcore
Vcores
vcsa
Vertica
Vfyc
vhds
Expand All @@ -1610,6 +1612,7 @@ virtualmachines
virtualnetworkgateways
virtualnetworkrules
virtualnetworks
Virtustream
viruela
visualsearch
visualstudio
Expand All @@ -1621,6 +1624,7 @@ vmextension
VMILR
vmimage
vmname
vmotion
VMQS
vmsizes
VMSS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
{
"swagger": "2.0",
"info": {
"description": "Nas Cluster operation endpoints and objects.",
"title": "FabricAdminClient",
"version": "2019-05-01"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/nasClusters/{nasCluster}": {
"get": {
"x-ms-examples": {
"Return the requested a nas cluster.": {
"$ref": "./examples/NasCluster/Get.json"
}
},
"tags": [
"NasClusters"
],
"description": "Return the requested nas cluster.",
"operationId": "NasClusters_Get",
"parameters": [
{
"$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "#/parameters/NasClusterParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/NasCluster"
}
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/nasClusters": {
"get": {
"x-ms-examples": {
"Returns a list of all storage nas clusters at a location.": {
"$ref": "./examples/NasCluster/List.json"
}
},
"tags": [
"NasClusters"
],
"description": "Returns a list of all nas clusters at a location.",
"operationId": "NasClusters_List",
"parameters": [
{
"$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
},
{
"$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/NasClusterList"
}
},
"default": {
"description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-odata": "#/definitions/NasCluster"
}
}
},
"definitions": {
"NasCluster": {
"description": "Representation of a nas cluster resource.",
"type": "object",
"properties": {
"properties": {
"description": "Properties of a nas cluster.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/NasClusterModel"
}
},
"allOf": [
{
"$ref": "../2016-05-01/Fabric.json#/definitions/Resource"
}
]
},
"NasClusterModel": {
"description": "Properties of a nas cluster.",
"type": "object",
"properties": {
"clusterName": {
"description": "Name of nas cluster",
"type": "string",
"readOnly": true
},
"portalUri": {
"description": "The portal Uri of Nas Cluster",
"type": "string",
"readOnly": true
},
"size": {
"description": "The size of Nas Cluster in bytes",
"format": "int64",
"type": "integer",
"readOnly": true
},
"sizeRemaining": {
"description": "The remaining size of Nas Cluster in bytes",
"format": "int64",
"type": "integer",
"readOnly": true
}
}
},
"NasClusterList": {
"description": "Pageable list of nas clusters.",
"type": "object",
"properties": {
"value": {
"description": "List of nas clusters.",
"type": "array",
"items": {
"$ref": "#/definitions/NasCluster"
}
},
"nextLink": {
"description": "URI to the next page.",
"type": "string"
}
}
}
},
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"description": "Client API Version.",
"required": true,
"type": "string",
"default": "2019-05-01"
},
"NasClusterParameter": {
"name": "nasCluster",
"description": "Name of the nas cluster.",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2019-05-01",
"subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
"resourceGroupName": "System.redmond",
"location": "redmond",
"nasCluster": "bc489b66-faa7-41f0-bee7-bcba258f10fb"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/nasClusters/bc489b66-faa7-41f0-bee7-bcba258f10fb",
"name": "redmond/bc489b66-faa7-41f0-bee7-bcba258f10fb",
"type": "Microsoft.Fabric.Admin/fabricLocations/nasClusters",
"location": "redmond",
"tags": {},
"properties": {
"size": 193273528320,
"sizeRemaining": 20185522176,
"clusterName": "IsilonR430",
"portalUri": "https://100.85.198.239:8080/"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2019-05-01",
"subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
"resourceGroupName": "System.redmond",
"location": "redmond"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/nasClusters/bc489b66-faa7-41f0-bee7-bcba258f10fb",
"name": "redmond/bc489b66-faa7-41f0-bee7-bcba258f10fb",
"type": "Microsoft.Fabric.Admin/fabricLocations/nasClusters",
"location": "redmond",
"tags": {},
"properties": {
"size": 193273528320,
"sizeRemaining": 20185522176,
"clusterName": "IsilonR430",
"portalUri": "https://100.85.198.239:8080/"
}
}
]
}
}
}
}
2 changes: 2 additions & 0 deletions specification/azsadmin/resource-manager/fabric/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ input-file:
- "Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json"
- "Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json"
- "Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json"
- "Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.json"
```

## Suppression
Expand Down Expand Up @@ -185,6 +186,7 @@ input-file:
- $(this-folder)/Microsoft.Fabric.Admin/preview/2018-10-01/Volume.json
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json
- $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.json
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6530,6 +6530,12 @@
},
"CreateUpdateOptions": {
"type": "object",
"properties": {
"throughput": {
"type": "string",
"description": "Request Units per second. For example, \"throughput\": \"10000\"."
}
},
"additionalProperties": {
"type": "string"
},
Expand Down
Loading

0 comments on commit 2e87b88

Please sign in to comment.