diff --git a/arm-dns/2015-11-01/swagger/dns.json b/arm-dns/2015-11-01/swagger/dns.json deleted file mode 100644 index 58e1ed9c3928..000000000000 --- a/arm-dns/2015-11-01/swagger/dns.json +++ /dev/null @@ -1,983 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "DnsManagementClient", - "description": "Client for managing DNS zones and record.", - "version": "2015-11-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnszones/{zoneName}/{recordType}/{relativeRecordSetName}": { - "put": { - "tags": [ - "RecordSets" - ], - "operationId": "RecordSets_CreateOrUpdate", - "description": "Creates a RecordSet within a DNS zone.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "name": "recordType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of DNS record.", - "enum": [ - "A", - "AAAA", - "CNAME", - "MX", - "NS", - "PTR", - "SOA", - "SRV", - "TXT" - ], - "x-ms-enum": { - "name": "RecordType", - "modelAsString": "False" - } - }, - { - "name": "relativeRecordSetName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RecordSet, relative to the name of the zone.", - "x-ms-skip-url-encoding": true - }, - { - "name": "IfMatch", - "in": "header", - "required": false, - "description": "The etag of RecordSet." - }, - { - "name": "IfNoneMatch", - "in": "header", - "required": false, - "description": "Defines the If-None-Match condition. Set to '*' to force Create-If-Not-Exist. Other values will be ignored." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RecordSetCreateOrUpdateParameters" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/RecordSet" - } - }, - "202": { - "description": "" - } - } - }, - "delete": { - "tags": [ - "RecordSets" - ], - "operationId": "RecordSets_Delete", - "description": "Removes a RecordSet from a DNS zone.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "name": "recordType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of DNS record.", - "enum": [ - "A", - "AAAA", - "CNAME", - "MX", - "NS", - "PTR", - "SOA", - "SRV", - "TXT" - ], - "x-ms-enum": { - "name": "RecordType", - "modelAsString": "False" - } - }, - { - "name": "relativeRecordSetName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RecordSet, relative to the name of the zone.", - "x-ms-skip-url-encoding": true - }, - { - "name": "IfMatch", - "in": "header", - "required": false, - "description": "Defines the If-Match condition. The delete operation will be performed only if the ETag of the zone on the server matches this value." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "" - } - } - }, - "get": { - "tags": [ - "RecordSets" - ], - "operationId": "RecordSets_Get", - "description": "Gets a RecordSet.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "name": "recordType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of DNS record.", - "enum": [ - "A", - "AAAA", - "CNAME", - "MX", - "NS", - "PTR", - "SOA", - "SRV", - "TXT" - ], - "x-ms-enum": { - "name": "RecordType", - "modelAsString": "False" - } - }, - { - "name": "relativeRecordSetName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RecordSet, relative to the name of the zone.", - "x-ms-skip-url-encoding": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/RecordSet" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnszones/{zoneName}/{recordType}": { - "get": { - "tags": [ - "RecordSets" - ], - "operationId": "RecordSets_List", - "description": "Lists the RecordSets of a specified type in a DNS zone.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group that contains the zone." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone from which to enumerate RecordsSets." - }, - { - "name": "recordType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of record sets to enumerate.", - "enum": [ - "A", - "AAAA", - "CNAME", - "MX", - "NS", - "PTR", - "SOA", - "SRV", - "TXT" - ], - "x-ms-enum": { - "name": "RecordType", - "modelAsString": "False" - } - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "string", - "description": "Query parameters. If null is passed returns the default number of zones." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/RecordSetListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/RecordSet" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnszones/{zoneName}/recordsets": { - "get": { - "tags": [ - "RecordSets" - ], - "operationId": "RecordSets_ListAll", - "description": "Lists all RecordSets in a DNS zone.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group that contains the zone." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone from which to enumerate RecordSets." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "string", - "description": "Query parameters. If null is passed returns the default number of zones." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/RecordSetListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/RecordSet" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnszones/{zoneName}": { - "put": { - "tags": [ - "Zones" - ], - "operationId": "Zones_CreateOrUpdate", - "description": "Creates a DNS zone within a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "name": "IfMatch", - "in": "header", - "required": false, - "description": "The etag of Zone." - }, - { - "name": "IfNoneMatch", - "in": "header", - "required": false, - "description": "Defines the If-None-Match condition. Set to '*' to force Create-If-Not-Exist. Other values will be ignored." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ZoneCreateOrUpdateParameters" - }, - "description": "Parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/Zone" - } - }, - "202": { - "description": "" - } - } - }, - "delete": { - "tags": [ - "Zones" - ], - "operationId": "Zones_Delete", - "description": "Removes a DNS zone from a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "name": "IfMatch", - "in": "header", - "required": false, - "description": "Defines the If-Match condition. The delete operation will be performed only if the ETag of the zone on the server matches this value." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "" - } - } - }, - "get": { - "tags": [ - "Zones" - ], - "operationId": "Zones_Get", - "description": "Gets a DNS zone.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "zoneName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the zone without a terminating dot." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/Zone" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnszones": { - "get": { - "tags": [ - "Zones" - ], - "operationId": "Zones_ListZonesInResourceGroup", - "description": "Lists the DNS zones within a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "string", - "description": "Query parameters. If null is passed returns the default number of zones." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/ZoneListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/Zone" - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones": { - "get": { - "tags": [ - "Zones" - ], - "operationId": "Zones_ListZonesInSubscription", - "description": "Lists the DNS zones within a resource group.", - "parameters": [ - { - "name": "$top", - "in": "query", - "required": false, - "type": "string", - "description": "Query parameters. If null is passed returns the default number of zones." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/ZoneListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/Zone" - } - } - }, - "definitions": { - "ARecord": { - "properties": { - "ipv4Address": { - "type": "string", - "description": "Gets or sets the IPv4 address of this A record in string notation." - } - }, - "description": "An A record." - }, - "AaaaRecord": { - "properties": { - "ipv6Address": { - "type": "string", - "description": "Gets or sets the IPv6 address of this AAAA record in string notation." - } - }, - "description": "An AAAA record." - }, - "MxRecord": { - "properties": { - "preference": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the preference metric for this record." - }, - "exchange": { - "type": "string", - "description": "Gets or sets the domain name of the mail host, without a terminating dot." - } - }, - "description": "An MX record." - }, - "NsRecord": { - "properties": { - "nsdname": { - "type": "string", - "description": "Gets or sets the name server name for this record, without a terminating dot." - } - }, - "description": "An NS record." - }, - "PtrRecord": { - "properties": { - "ptrdname": { - "type": "string", - "description": "Gets or sets the PTR target domain name for this record without a terminating dot." - } - }, - "description": "A PTR record." - }, - "SrvRecord": { - "properties": { - "priority": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the priority metric for this record." - }, - "weight": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the weight metric for this this record." - }, - "port": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the port of the service for this record." - }, - "target": { - "type": "string", - "description": "Gets or sets the domain name of the target for this record, without a terminating dot." - } - }, - "description": "An SRV record." - }, - "TxtRecord": { - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets the text value of this record." - } - }, - "description": "A TXT record." - }, - "CnameRecord": { - "properties": { - "cname": { - "type": "string", - "description": "Gets or sets the canonical name for this record without a terminating dot." - } - }, - "description": "A CNAME record." - }, - "SoaRecord": { - "properties": { - "host": { - "type": "string", - "description": "Gets or sets the domain name of the authoritative name server, without a temrinating dot." - }, - "email": { - "type": "string", - "description": "Gets or sets the email for this record." - }, - "serialNumber": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the serial number for this record." - }, - "refreshTime": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the refresh value for this record." - }, - "retryTime": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the retry time for this record." - }, - "expireTime": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the expire time for this record." - }, - "minimumTTL": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the minimum TTL value for this record." - } - }, - "description": "An SOA record." - }, - "RecordSetProperties": { - "properties": { - "TTL": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the TTL of the records in the RecordSet." - }, - "ARecords": { - "type": "array", - "items": { - "$ref": "#/definitions/ARecord" - }, - "description": "Gets or sets the list of A records in the RecordSet." - }, - "AAAARecords": { - "type": "array", - "items": { - "$ref": "#/definitions/AaaaRecord" - }, - "description": "Gets or sets the list of AAAA records in the RecordSet." - }, - "MXRecords": { - "type": "array", - "items": { - "$ref": "#/definitions/MxRecord" - }, - "description": "Gets or sets the list of MX records in the RecordSet." - }, - "NSRecords": { - "type": "array", - "items": { - "$ref": "#/definitions/NsRecord" - }, - "description": "Gets or sets the list of NS records in the RecordSet." - }, - "PTRRecords": { - "type": "array", - "items": { - "$ref": "#/definitions/PtrRecord" - }, - "description": "Gets or sets the list of PTR records in the RecordSet." - }, - "SRVRecords": { - "type": "array", - "items": { - "$ref": "#/definitions/SrvRecord" - }, - "description": "Gets or sets the list of SRV records in the RecordSet." - }, - "TXTRecords": { - "type": "array", - "items": { - "$ref": "#/definitions/TxtRecord" - }, - "description": "Gets or sets the list of TXT records in the RecordSet." - }, - "CNAMERecord": { - "$ref": "#/definitions/CnameRecord", - "description": "Gets or sets the CNAME record in the RecordSet." - }, - "SOARecord": { - "$ref": "#/definitions/SoaRecord", - "description": "Gets or sets the SOA record in the RecordSet." - } - }, - "description": "Represents the properties of the records in the RecordSet." - }, - "RecordSet": { - "properties": { - "etag": { - "type": "string", - "description": "Gets or sets the ETag of the RecordSet." - }, - "properties": { - "$ref": "#/definitions/RecordSetProperties", - "description": "Gets or sets the properties of the RecordSet." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Describes a DNS RecordSet (a set of DNS records with the same name and type)." - }, - "RecordSetCreateOrUpdateParameters": { - "properties": { - "RecordSet": { - "$ref": "#/definitions/RecordSet", - "description": "Gets or sets information about the RecordSet being created or updated." - } - }, - "description": "Parameters supplied to create or update a RecordSet." - }, - "RecordSetListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RecordSet" - }, - "description": "Gets or sets information about the RecordSets in the response." - }, - "nextLink": { - "type": "string", - "description": "Gets or sets the continuation token for the next page." - } - }, - "description": "The response to a RecordSet List operation." - }, - "ZoneProperties": { - "properties": { - "maxNumberOfRecordSets": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the maximum number of record sets that can be created in this zone." - }, - "numberOfRecordSets": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the current number of record sets in this zone." - } - }, - "description": "Represents the properties of the zone." - }, - "Zone": { - "properties": { - "etag": { - "type": "string", - "description": "Gets or sets the ETag of the zone that is being updated, as received from a Get operation." - }, - "properties": { - "$ref": "#/definitions/ZoneProperties", - "description": "Gets or sets the properties of the zone." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Describes a DNS zone." - }, - "ZoneCreateOrUpdateParameters": { - "properties": { - "Zone": { - "$ref": "#/definitions/Zone", - "description": "Gets or sets information about the zone being created or updated." - } - }, - "description": "Parameters supplied to create a zone." - }, - "ZoneListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Zone" - }, - "description": "Gets or sets information about the zones in the response." - }, - "nextLink": { - "type": "string", - "description": "Gets or sets the continuation token for the next page." - } - }, - "description": "The response to a Zone List or ListAll operation." - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true - }, - "SubResource": { - "properties": { - "id": { - "type": "string", - "description": "Resource Id" - } - }, - "x-ms-azure-resource": true - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } - } -} \ No newline at end of file diff --git a/arm-graphrbac/1.42-previewInternal/swagger/graphrbac.json b/arm-graphrbac/1.42-previewInternal/swagger/graphrbac.json index 0c21c28f845f..0bc8edbe1cd4 100644 --- a/arm-graphrbac/1.42-previewInternal/swagger/graphrbac.json +++ b/arm-graphrbac/1.42-previewInternal/swagger/graphrbac.json @@ -28,13 +28,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "parameters", "in": "body", @@ -49,6 +42,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -72,13 +68,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "applicationObjectId", "in": "path", @@ -92,6 +81,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -110,13 +102,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "applicationObjectId", "in": "path", @@ -130,6 +115,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -151,13 +139,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "applicationObjectId", "in": "path", @@ -180,6 +161,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -197,19 +181,6 @@ "operationId": "Objects_GetObjectsByObjectIds", "description": "Gets AD group membership by provided AD object Ids", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string" - }, { "name": "parameters", "in": "body", @@ -219,8 +190,14 @@ }, "description": "Objects filtering parameters." }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -247,13 +224,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151607.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "groupObjectId", "in": "path", @@ -275,6 +245,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -295,13 +268,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151600.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "groupObjectId", "in": "path", @@ -324,6 +290,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -344,13 +313,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151608.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "groupObjectId", "in": "path", @@ -364,6 +326,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -384,13 +349,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151614.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "parameters", "in": "body", @@ -405,13 +363,16 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { "201": { "description": "", "schema": { - "$ref": "#/definitions/Group" + "$ref": "#/definitions/ADGroup" } } } @@ -423,13 +384,6 @@ "operationId": "Group_List", "description": "Gets list of groups for the current tenant.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "$filter", "in": "query", @@ -442,6 +396,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -455,7 +412,7 @@ "x-ms-pageable": { "nextLinkName": "odata.nextLink" }, - "x-ms-odata": "#/definitions/Group" + "x-ms-odata": "#/definitions/ADGroup" } }, "/{tenantID}/groups/{objectId}/members": { @@ -466,13 +423,6 @@ "operationId": "Group_GetGroupMembers", "description": "Gets the members of a group.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -486,6 +436,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -509,13 +462,6 @@ "operationId": "Group_Get", "description": "Gets group information from the directory.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -529,13 +475,16 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { "200": { "description": "", "schema": { - "$ref": "#/definitions/Group" + "$ref": "#/definitions/ADGroup" } } } @@ -549,13 +498,6 @@ "operationId": "Group_GetMemberGroups", "description": "Gets a collection that contains the Object IDs of the groups of which the group is a member.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -578,6 +520,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -601,13 +546,6 @@ "operationId": "ServicePrincipal_Create", "description": "Creates a service principal in the directory.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "parameters", "in": "body", @@ -622,6 +560,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -640,13 +581,6 @@ "operationId": "ServicePrincipal_List", "description": "Gets list of service principals from the current tenant.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "$filter", "in": "query", @@ -659,6 +593,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -683,13 +620,6 @@ "operationId": "ServicePrincipal_Delete", "description": "Deletes service principal from the directory.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -703,6 +633,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -718,13 +651,6 @@ "operationId": "ServicePrincipal_Get", "description": "Gets service principal information from the directory.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -738,6 +664,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -761,13 +690,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151676.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "user", "in": "path", @@ -781,6 +703,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -801,13 +726,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn130117.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "parameters", "in": "body", @@ -822,6 +740,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -840,13 +761,6 @@ "operationId": "User_List", "description": "Gets list of users for the current tenant.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "$filter", "in": "query", @@ -859,6 +773,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -886,13 +803,6 @@ "url": "http://msdn.microsoft.com/en-us/library/azure/dn151678.aspx" }, "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "upnOrObjectId", "in": "path", @@ -906,6 +816,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -926,13 +839,6 @@ "operationId": "User_GetMemberGroups", "description": "Gets a collection that contains the Object IDs of the groups of which the user is a member.", "parameters": [ - { - "name": "tenantID", - "in": "path", - "required": true, - "type": "string", - "description": "Gets or sets the tenant Id." - }, { "name": "objectId", "in": "path", @@ -955,6 +861,9 @@ }, { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" } ], "responses": { @@ -1230,7 +1139,7 @@ ], "description": "Request parameters for create a new group" }, - "Group": { + "ADGroup": { "properties": { "objectId": { "type": "string", @@ -1260,7 +1169,7 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/Group" + "$ref": "#/definitions/ADGroup" }, "description": "Gets or sets the list of groups." }, @@ -1530,6 +1439,13 @@ "required": true, "type": "string", "description": "Client Api Version." + }, + "tenantIDInPath": { + "name": "tenantID", + "in": "path", + "required": true, + "type": "string", + "description": "Gets or sets the tenant Id." } } } \ No newline at end of file