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

[Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-01-01 #5612

Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@
},
"ResourceGroupQuery": {
"$ref": "./examples/ResourceGroupQuery.json"
},
"ResourceGroupQueryGrouping": {
"$ref": "./examples/ResourceGroupQueryGrouping.json"
},
"BillingAccountQuery": {
"$ref": "./examples/BillingAccountQuery.json"
Expand Down Expand Up @@ -252,7 +255,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -300,7 +303,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -352,7 +355,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -419,7 +422,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -470,7 +473,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -521,7 +524,7 @@
},
"parameters": [
{
"$ref": "#/parameters/scopeQueryParameter"
"$ref": "#/parameters/scopeExportsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand Down Expand Up @@ -1344,7 +1347,16 @@
"in": "path",
"required": true,
"type": "string",
"description": "The scope associated with query and export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope..",
"description": "The scope associated with query operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope..",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
"scopeExportsParameter": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope associated with export operations. This includes '/subscriptions/{subscriptionId}' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope.",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100"
"billingAccountId": "100",
"scope": "providers/Microsoft.Billing/billingAccounts/100"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"api-version": "2019-01-01",
"billingAccountId": "100",
"$expand": "properties/data",
"$top": 5
"$top": 5,
"scope": "providers/Microsoft.Billing/billingAccounts/100"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"billingAccountId": "100",
"$expand": "properties/data",
"$top": 5,
"$filter": "properties/category eq 'resourceId'"
"$filter": "properties/category eq 'resourceId'",
"scope": "providers/Microsoft.Billing/billingAccounts/100"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"scope": "providers/Microsoft.Billing/billingAccounts/70664866",
"parameters":{
"type": "Usage",
"timeframe": "MonthToDate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"scope": "providers/Microsoft.Billing/billingAccounts/70664866",
"parameters":{
"type": "Usage",
"timeframe": "TheLastMonth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"departmentId": "123"
"departmentId": "123",
"scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"billingAccountId": "100",
"departmentId": "123",
"$expand": "properties/data",
"$top": 5
"$top": 5,
"scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"departmentId": "123",
"$expand": "properties/data",
"$top": 5,
"$filter": "properties/category eq 'resourceId'"
"$filter": "properties/category eq 'resourceId'",
"scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"departmentId": "123",
"scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123",
"parameters":{
"type": "Usage",
"timeframe": "MonthToDate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"departmentId": "123",
"scope": "providers/Microsoft.Billing/billingAccounts/100/departments/123",
"parameters":{
"type": "Usage",
"timeframe": "TheLastMonth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"enrollmentAccountId": "456"
"enrollmentAccountId": "456",
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"billingAccountId": "100",
"enrollmentAccountId": "456",
"$expand": "properties/data",
"$top": 5
"$top": 5,
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"enrollmentAccountId": "456",
"$expand": "properties/data",
"$top": 5,
"$filter": "properties/category eq 'resourceId'"
"$filter": "properties/category eq 'resourceId'",
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"enrollmentAccountId": "456",
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
"parameters": {
"type": "Usage",
"timeframe": "MonthToDate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"api-version": "2019-01-01",
"billingAccountId": "70664866",
"enrollmentAccountId": "456",
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
"parameters":{
"type": "Usage",
"timeframe": "TheLastMonth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"api-version": "2019-01-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "123456",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccount-Id}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"departmentId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"enrollmentAccountId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"id": "providers/Microsoft.Billing/billingAccounts/12/enrollmentAccounts/1234/providers/Microsoft.CostManagement/exports/TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"exportName": "TestExport",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"schedule":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"api-version": "2019-01-01",
"billingAccountId": "123456",
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}",
"parameters": {
"properties": {
"schedule":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"departmentId": "1234",
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments",
"parameters": {
"properties": {
"schedule":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"enrollmentAccountId": "1234",
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}",
"parameters": {
"properties": {
"schedule":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"api-version": "2019-01-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "subscriptions/{subscriptionId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "123456",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "123456",
"departmentId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"enrollmentAccountId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"api-version": "2019-01-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "subscriptions/{subscriptionId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "123456",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"departmentId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"parameters": {
"api-version": "2019-01-01",
"billingAccountId": "100",
"enrollmentAccountId": "1234",
"exportName": "TestExport"
"exportName": "TestExport",
"scope": "providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}"
},
"responses": {
"200": {
Expand Down
Loading