Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.md #9384

Merged
merged 4 commits into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"api-version": "2016-06-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"authorizationSource": "Legacy",
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"displayName": "Subscription2",
"state": "Enabled",
"subscriptionPolicies": {
"locationPlacementId": "Internal_2014-09-01",
"quotaId": "Internal_2014-09-01",
"spendingLimit": "Off"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"api-version": "2016-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/83aa47df-e3e9-49ff-877b-94304bf3d3ad/locations/eastasia",
"name": "eastasia",
"displayName": "East Asia",
"longitude": "114.188",
"latitude": "22.267"
},
{
"id": "/subscriptions/83aa47df-e3e9-49ff-877b-94304bf3d3ad/locations/southeastasia",
"name": "southeastasia",
"displayName": "Southeast Asia",
"longitude": "103.833",
"latitude": "1.283"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2016-06-01"
},
"responses": {
"200": {
"body": {
"nextLink": "string",
"value": [
{
"id": "/subscriptions/83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"authorizationSource": "Legacy",
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"displayName": "SubscriptionName",
"state": "Enabled",
"subscriptionPolicies": {
"locationPlacementId": "Internal_2014-09-01",
"quotaId": "Internal_2014-09-01",
"spendingLimit": "Off"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2016-06-01"
},
"responses": {
"200": {
"body": {
"nextLink": "string",
"value": [
{
"id": "/tenants/72f988bf-86f1-41af-91ab-2d7cd011db47",
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
},
{
"id": "/tenants/33e01921-4d64-4f8c-a055-5bdaffd5e33d",
"tenantId": "33e01921-4d64-4f8c-a055-5bdaffd5e33d"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"operationId": "Subscriptions_ListLocations",
"summary": "Gets all available geo-locations.",
"description": "This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.",
"x-ms-examples": {
"listLocations": {
"$ref": "./examples/listLocations.json"
}
},
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -70,6 +75,11 @@
],
"operationId": "Subscriptions_Get",
"description": "Gets details about a specified subscription.",
"x-ms-examples": {
"getSubscription": {
"$ref": "./examples/getSubscription.json"
}
},
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
Expand All @@ -95,6 +105,11 @@
],
"operationId": "Subscriptions_List",
"description": "Gets all subscriptions for a tenant.",
"x-ms-examples": {
"listSubscriptions": {
"$ref": "./examples/listSubscriptions.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -120,6 +135,11 @@
],
"operationId": "Tenants_List",
"description": "Gets the tenants for your account.",
"x-ms-examples": {
"listTenants": {
"$ref": "./examples/listTenants.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
1 change: 1 addition & 0 deletions specification/subscription/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ These settings apply only when `--tag=package-2019-10-preview` is specified on t

``` yaml $(tag) == 'package-2019-10-preview'
input-file:
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
- Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
title: SubscriptionClient
description: The subscription client
Expand Down