Skip to content

Commit 40fd627

Browse files
authored
[Hub Generated] Review request for Microsoft.CostManagement to add version preview/2023-04-01-preview (#23883)
1 parent 1488328 commit 40fd627

20 files changed

+223
-1
lines changed

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,18 @@
416416
}
417417
],
418418
"properties": {
419+
"identity": {
420+
"description": "The managed identity associated with Export",
421+
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity"
422+
},
423+
"location": {
424+
"type": "string",
425+
"description": "The location of the Export's managed identity. Only required when utilizing managed identity.",
426+
"x-ms-mutability": [
427+
"create",
428+
"read"
429+
]
430+
},
419431
"properties": {
420432
"x-ms-client-flatten": true,
421433
"$ref": "#/definitions/ExportProperties",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateByBillingAccount.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"scope": "providers/Microsoft.Billing/billingAccounts/123456",
66
"exportName": "TestExport",
77
"parameters": {
8+
"identity": {
9+
"type": "SystemAssigned"
10+
},
11+
"location": "centralus",
812
"properties": {
913
"schedule": {
1014
"status": "Active",
@@ -47,6 +51,12 @@
4751
"id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport",
4852
"name": "TestExport",
4953
"type": "Microsoft.CostManagement/exports",
54+
"identity": {
55+
"type": "SystemAssigned",
56+
"principalId": "00000000-0000-0000-0000-000000000000",
57+
"tenantId": "00000000-0000-0000-0000-000000000000"
58+
},
59+
"location": "centralus",
5060
"properties": {
5161
"schedule": {
5262
"status": "Active",
@@ -88,6 +98,12 @@
8898
"id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.CostManagement/exports/TestExport",
8999
"name": "TestExport",
90100
"type": "Microsoft.CostManagement/exports",
101+
"identity": {
102+
"type": "SystemAssigned",
103+
"principalId": "00000000-0000-0000-0000-000000000000",
104+
"tenantId": "00000000-0000-0000-0000-000000000000"
105+
},
106+
"location": "centralus",
91107
"properties": {
92108
"schedule": {
93109
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateByDepartment.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"scope": "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
77
"exportName": "TestExport",
88
"parameters": {
9+
"identity": {
10+
"type": "SystemAssigned"
11+
},
12+
"location": "centralus",
913
"properties": {
1014
"schedule": {
1115
"status": "Active",
@@ -48,6 +52,12 @@
4852
"id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
4953
"name": "TestExport",
5054
"type": "Microsoft.CostManagement/exports",
55+
"identity": {
56+
"type": "SystemAssigned",
57+
"principalId": "00000000-0000-0000-0000-000000000000",
58+
"tenantId": "00000000-0000-0000-0000-000000000000"
59+
},
60+
"location": "centralus",
5161
"properties": {
5262
"schedule": {
5363
"status": "Active",
@@ -89,6 +99,12 @@
8999
"id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
90100
"name": "TestExport",
91101
"type": "Microsoft.CostManagement/exports",
102+
"identity": {
103+
"type": "SystemAssigned",
104+
"principalId": "00000000-0000-0000-0000-000000000000",
105+
"tenantId": "00000000-0000-0000-0000-000000000000"
106+
},
107+
"location": "centralus",
92108
"properties": {
93109
"schedule": {
94110
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateByEnrollmentAccount.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"scope": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
77
"exportName": "TestExport",
88
"parameters": {
9+
"identity": {
10+
"type": "SystemAssigned"
11+
},
12+
"location": "centralus",
913
"properties": {
1014
"schedule": {
1115
"status": "Active",
@@ -48,6 +52,12 @@
4852
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
4953
"name": "TestExport",
5054
"type": "Microsoft.CostManagement/exports",
55+
"identity": {
56+
"type": "SystemAssigned",
57+
"principalId": "00000000-0000-0000-0000-000000000000",
58+
"tenantId": "00000000-0000-0000-0000-000000000000"
59+
},
60+
"location": "centralus",
5161
"properties": {
5262
"schedule": {
5363
"status": "Active",
@@ -89,6 +99,12 @@
8999
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
90100
"name": "TestExport",
91101
"type": "Microsoft.CostManagement/exports",
102+
"identity": {
103+
"type": "SystemAssigned",
104+
"principalId": "00000000-0000-0000-0000-000000000000",
105+
"tenantId": "00000000-0000-0000-0000-000000000000"
106+
},
107+
"location": "centralus",
92108
"properties": {
93109
"schedule": {
94110
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateByManagementGroup.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"scope": "providers/Microsoft.Management/managementGroups/TestMG",
66
"exportName": "TestExport",
77
"parameters": {
8+
"identity": {
9+
"type": "SystemAssigned"
10+
},
11+
"location": "centralus",
812
"properties": {
913
"schedule": {
1014
"status": "Active",
@@ -47,6 +51,12 @@
4751
"id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport",
4852
"name": "TestExport",
4953
"type": "Microsoft.CostManagement/exports",
54+
"identity": {
55+
"type": "SystemAssigned",
56+
"principalId": "00000000-0000-0000-0000-000000000000",
57+
"tenantId": "00000000-0000-0000-0000-000000000000"
58+
},
59+
"location": "centralus",
5060
"properties": {
5161
"schedule": {
5262
"status": "Active",
@@ -88,6 +98,12 @@
8898
"id": "providers/Microsoft.Management/managementGroups/TestMG/providers/Microsoft.CostManagement/exports/TestExport",
8999
"name": "TestExport",
90100
"type": "Microsoft.CostManagement/exports",
101+
"identity": {
102+
"type": "SystemAssigned",
103+
"principalId": "00000000-0000-0000-0000-000000000000",
104+
"tenantId": "00000000-0000-0000-0000-000000000000"
105+
},
106+
"location": "centralus",
91107
"properties": {
92108
"schedule": {
93109
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateByResourceGroup.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
77
"exportName": "TestExport",
88
"parameters": {
9+
"identity": {
10+
"type": "SystemAssigned"
11+
},
12+
"location": "centralus",
913
"properties": {
1014
"schedule": {
1115
"status": "Active",
@@ -48,6 +52,12 @@
4852
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport",
4953
"name": "TestExport",
5054
"type": "Microsoft.CostManagement/exports",
55+
"identity": {
56+
"type": "SystemAssigned",
57+
"principalId": "00000000-0000-0000-0000-000000000000",
58+
"tenantId": "00000000-0000-0000-0000-000000000000"
59+
},
60+
"location": "centralus",
5161
"properties": {
5262
"schedule": {
5363
"status": "Active",
@@ -89,6 +99,12 @@
8999
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.CostManagement/exports/TestExport",
90100
"name": "TestExport",
91101
"type": "Microsoft.CostManagement/exports",
102+
"identity": {
103+
"type": "SystemAssigned",
104+
"principalId": "00000000-0000-0000-0000-000000000000",
105+
"tenantId": "00000000-0000-0000-0000-000000000000"
106+
},
107+
"location": "centralus",
92108
"properties": {
93109
"schedule": {
94110
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportCreateOrUpdateBySubscription.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
66
"exportName": "TestExport",
77
"parameters": {
8+
"identity": {
9+
"type": "SystemAssigned"
10+
},
11+
"location": "centralus",
812
"properties": {
913
"schedule": {
1014
"status": "Active",
@@ -47,6 +51,12 @@
4751
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport",
4852
"name": "TestExport",
4953
"type": "Microsoft.CostManagement/exports",
54+
"identity": {
55+
"type": "SystemAssigned",
56+
"principalId": "00000000-0000-0000-0000-000000000000",
57+
"tenantId": "00000000-0000-0000-0000-000000000000"
58+
},
59+
"location": "centralus",
5060
"properties": {
5161
"schedule": {
5262
"status": "Active",
@@ -88,6 +98,12 @@
8898
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport",
8999
"name": "TestExport",
90100
"type": "Microsoft.CostManagement/exports",
101+
"identity": {
102+
"type": "SystemAssigned",
103+
"principalId": "00000000-0000-0000-0000-000000000000",
104+
"tenantId": "00000000-0000-0000-0000-000000000000"
105+
},
106+
"location": "centralus",
91107
"properties": {
92108
"schedule": {
93109
"status": "Active",

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportGetByBillingAccount.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
"id": "providers/Microsoft.Billing/billingAccounts/{billingAccount-Id}/providers/Microsoft.CostManagement/exports/TestExport",
1212
"name": "TestExport",
1313
"type": "Microsoft.CostManagement/exports",
14+
"identity": {
15+
"type": "SystemAssigned",
16+
"principalId": "00000000-0000-0000-0000-000000000000",
17+
"tenantId": "00000000-0000-0000-0000-000000000000"
18+
},
19+
"location": "centralus",
1420
"properties": {
1521
"format": "Csv",
1622
"deliveryInfo": {

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportGetByDepartment.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"id": "providers/Microsoft.Billing/billingAccounts/12/departments/1234/providers/Microsoft.CostManagement/exports/TestExport",
1313
"name": "TestExport",
1414
"type": "Microsoft.CostManagement/exports",
15+
"identity": {
16+
"type": "SystemAssigned",
17+
"principalId": "00000000-0000-0000-0000-000000000000",
18+
"tenantId": "00000000-0000-0000-0000-000000000000"
19+
},
20+
"location": "centralus",
1521
"properties": {
1622
"format": "Csv",
1723
"deliveryInfo": {

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/ExportGetByEnrollmentAccount.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/exports/TestExport",
1313
"name": "TestExport",
1414
"type": "Microsoft.CostManagement/exports",
15+
"identity": {
16+
"type": "SystemAssigned",
17+
"principalId": "00000000-0000-0000-0000-000000000000",
18+
"tenantId": "00000000-0000-0000-0000-000000000000"
19+
},
20+
"location": "centralus",
1521
"properties": {
1622
"format": "Csv",
1723
"deliveryInfo": {

0 commit comments

Comments
 (0)