Skip to content

Commit

Permalink
commit dd09a40
Browse files Browse the repository at this point in the history
Author: bganapa <bganapa@microsoft.com>
Date:   Tue Mar 17 17:32:10 2020 -0700

    Update to camelCasing for resourceGroups

commit 4212dd0
Author: bganapa <bganapa@microsoft.com>
Date:   Tue Mar 17 17:30:07 2020 -0700

    Update to camelCasing for resourcegroups

commit 594441b
Author: Rakesh Kumar <rakku@microsoft.com>
Date:   Tue Nov 26 14:06:28 2019 -0800

    Rakku stackadmin issue (Azure#7852)

    * network admin module changes

    * remove readme.azsautogen.md from network

    * rename new[ModuleName] to [ModuleName]Definition for AcquiredPlan, DirectoryTenant, Offer, OfferDelegation, Plan and Subscription

    * fix for enum naming error in github issue Azure#7822

commit ac4e40d
Author: Rakesh Kumar <rakku@microsoft.com>
Date:   Wed Nov 20 16:47:44 2019 -0800

    Subscription Admin module parameter renaming (Azure#7816)

    * network admin module changes

    * remove readme.azsautogen.md from network

    * rename new[ModuleName] to [ModuleName]Definition for AcquiredPlan, DirectoryTenant, Offer, OfferDelegation, Plan and Subscription

commit 9e551f0
Author: bganapa <bganapa@microsoft.com>
Date:   Tue Nov 12 11:44:22 2019 -0800

    Reset to Stackadmin2 (Azure#7766)
  • Loading branch information
viananth committed Mar 31, 2020
1 parent 6049cf3 commit e9df406
Show file tree
Hide file tree
Showing 9 changed files with 162 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"$ref": "Subscriptions.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/NewAcquiredPlanParameter"
"$ref": "#/parameters/AcquiredPlanDefinitionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -268,8 +268,8 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"NewAcquiredPlanParameter": {
"name": "newAcquiredPlan",
"AcquiredPlanDefinitionParameter": {
"name": "acquiredPlanDefinition",
"in": "body",
"description": "The new acquired plan.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "Subscriptions.json#/definitions/Subscription"
"$ref": "Subscriptions.json#/definitions/SubscriptionDefinition"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"$ref": "Subscriptions.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/NewDirectoryTenantParameter"
"$ref": "#/parameters/DirectoryTenantDefinitionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -220,9 +220,9 @@
"in": "path",
"x-ms-parameter-location": "method"
},
"NewDirectoryTenantParameter": {
"DirectoryTenantDefinitionParameter": {
"description": "New directory tenant properties.",
"name": "newTenant",
"name": "tenantDefinition",
"required": true,
"in": "body",
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers": {
"get": {
"x-ms-examples": {
"Get the list of offers under a resource group.": {
Expand Down Expand Up @@ -85,7 +85,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}": {
"get": {
"x-ms-examples": {
"Get the specified offer.": {
Expand Down Expand Up @@ -145,7 +145,7 @@
"$ref": "Subscriptions.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/NewOfferParameter"
"$ref": "#/parameters/OfferDefinitionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -198,7 +198,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/metrics": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/metrics": {
"get": {
"x-ms-examples": {
"Get the offer metrics.": {
Expand Down Expand Up @@ -234,7 +234,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/metricDefinitions": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/metricDefinitions": {
"get": {
"x-ms-examples": {
"Get the metric definitions.": {
Expand Down Expand Up @@ -270,7 +270,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/link": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/link": {
"post": {
"x-ms-examples": {
"Links a plan to an offer.": {
Expand Down Expand Up @@ -309,7 +309,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/unlink": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/unlink": {
"post": {
"x-ms-examples": {
"Unlink a plan from an offer.": {
Expand Down Expand Up @@ -508,9 +508,9 @@
}
},
"parameters": {
"NewOfferParameter": {
"OfferDefinitionParameter": {
"description": "New offer.",
"name": "newOffer",
"name": "offerDefinition",
"in": "body",
"required": true,
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"$ref": "Subscriptions.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/NewOfferDelegationParameter"
"$ref": "#/parameters/OfferDelegationDefinitionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -231,9 +231,9 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"NewOfferDelegationParameter": {
"OfferDelegationDefinitionParameter": {
"description": "New offer delegation parameter.",
"name": "newOfferDelegation",
"name": "offerDelegationDefinition",
"in": "body",
"required": true,
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/plans": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/plans": {
"get": {
"x-ms-examples": {
"Get the list of plans under a resource group.": {
Expand Down Expand Up @@ -85,7 +85,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/plans/{plan}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/plans/{plan}": {
"get": {
"x-ms-examples": {
"Get the specified plan.": {
Expand Down Expand Up @@ -145,7 +145,7 @@
"$ref": "Subscriptions.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/NewPlanParameter"
"$ref": "#/parameters/PlanDefinitionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -346,9 +346,9 @@
}
},
"parameters": {
"NewPlanParameter": {
"PlanDefinitionParameter": {
"description": "New plan.",
"name": "newPlan",
"name": "planDefinition",
"in": "body",
"required": true,
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"x-ms-pageable": {
"nextLinkName": null
},
"x-ms-odata": "#/definitions/Subscription"
"x-ms-odata": "#/definitions/SubscriptionDefinition"
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/checkNameAvailability": {
Expand Down Expand Up @@ -274,7 +274,7 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/subscriptions/{subscription}": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/subscriptions/{targetSubscriptionId}": {
"get": {
"x-ms-examples": {
"Get a specified subscription.": {
Expand All @@ -291,7 +291,7 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/SubscriptionParameter"
"$ref": "#/parameters/TargetSubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -301,7 +301,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Subscription"
"$ref": "#/definitions/SubscriptionDefinition"
}
}
}
Expand All @@ -322,10 +322,10 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/SubscriptionParameter"
"$ref": "#/parameters/TargetSubscriptionIdParameter"
},
{
"$ref": "#/parameters/NewSubscriptionParameter"
"$ref": "#/parameters/SubscriptionDefinitionParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -335,13 +335,13 @@
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/Subscription"
"$ref": "#/definitions/SubscriptionDefinition"
}
},
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Subscription"
"$ref": "#/definitions/SubscriptionDefinition"
}
}
}
Expand All @@ -362,7 +362,7 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/SubscriptionParameter"
"$ref": "#/parameters/TargetSubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -767,8 +767,8 @@
}
}
},
"Subscription": {
"description": "List of supported operations.",
"SubscriptionDefinition": {
"description": "Subscription object properties.",
"type": "object",
"properties": {
"delegatedProviderSubscriptionId": {
Expand Down Expand Up @@ -820,7 +820,7 @@
"type": "array",
"description": "Subscription definition.",
"items": {
"$ref": "#/definitions/Subscription"
"$ref": "#/definitions/SubscriptionDefinition"
}
},
"nextLink": {
Expand Down Expand Up @@ -1215,20 +1215,20 @@
"required": true,
"x-ms-parameter-location": "method"
},
"SubscriptionParameter": {
"description": "Subscription parameter.",
"name": "subscription",
"TargetSubscriptionIdParameter": {
"description": "The target subscription ID.",
"name": "targetSubscriptionId",
"in": "path",
"type": "string",
"required": true,
"x-ms-parameter-location": "method"
},
"NewSubscriptionParameter": {
"SubscriptionDefinitionParameter": {
"description": "Subscription parameter.",
"name": "newSubscription",
"name": "subscriptionDefinition",
"in": "body",
"schema": {
"$ref": "#/definitions/Subscription"
"$ref": "#/definitions/SubscriptionDefinition"
},
"required": true,
"x-ms-parameter-location": "method"
Expand Down
Loading

0 comments on commit e9df406

Please sign in to comment.