Skip to content

Commit

Permalink
Move BillingBenefits to main (#20706)
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-powershell-bot authored Jan 19, 2023
1 parent b5de2a7 commit ac1f259
Show file tree
Hide file tree
Showing 32 changed files with 791 additions and 3,561 deletions.
10 changes: 5 additions & 5 deletions src/BillingBenefits/Az.BillingBenefits.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@
<Label>CommitmentAmount</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>CommitmentCurrency</Label>
<Label>CommitmentCurrencyCode</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
Expand All @@ -1103,16 +1103,16 @@
<PropertyName>UserFriendlyAppliedScopeType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AppliedScopePropertiesDisplayName</PropertyName>
<PropertyName>AppliedScopePropertyDisplayName</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SkuName1</PropertyName>
<PropertyName>SkuName</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Amount</PropertyName>
<PropertyName>CommitmentAmount</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>CurrencyCode</PropertyName>
<PropertyName>CommitmentCurrencyCode</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
Expand Down
2 changes: 1 addition & 1 deletion src/BillingBenefits/Az.BillingBenefits.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/11/2023
# Generated on: 1/19/2023
#

@{
Expand Down
70 changes: 35 additions & 35 deletions src/BillingBenefits/BillingBenefits.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{33A2E5B4-9EF4-4CF7-91E9-40539CE59A7C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{99F1752D-0E5C-47E8-A67C-C9D8833A7BBB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{EB5E1131-2EAF-47A9-8D13-55F58A14879E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{54BE211D-66E1-4899-A230-DCA272ADA937}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{765E59E6-7980-49A1-B2DF-6FB34FC95111}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{E578F206-13D8-4437-9196-DB230FA890F2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{1A7B7B23-2FB4-4473-900B-F0F35BC367BA}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{80027DE0-BD6E-4D9E-AB2B-4EC1B6B92C5D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{D9A3DEB2-B4D9-44A7-B835-769AB4213B5D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{376057D3-585E-4C31-BAC4-F490214F2873}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{F762B24A-2EFB-4E9C-9C95-620357E7716F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{B899099B-CAE8-4A64-A920-435AD57BBDBE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.BillingBenefits", "Az.BillingBenefits.csproj", "{3F5307B5-C120-49AA-B742-5C5D5F99D014}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.BillingBenefits", "Az.BillingBenefits.csproj", "{F249873B-F533-4D8C-9EDF-E0B197684B36}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -26,33 +26,33 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{33A2E5B4-9EF4-4CF7-91E9-40539CE59A7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{33A2E5B4-9EF4-4CF7-91E9-40539CE59A7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{33A2E5B4-9EF4-4CF7-91E9-40539CE59A7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{33A2E5B4-9EF4-4CF7-91E9-40539CE59A7C}.Release|Any CPU.Build.0 = Release|Any CPU
{EB5E1131-2EAF-47A9-8D13-55F58A14879E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EB5E1131-2EAF-47A9-8D13-55F58A14879E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EB5E1131-2EAF-47A9-8D13-55F58A14879E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EB5E1131-2EAF-47A9-8D13-55F58A14879E}.Release|Any CPU.Build.0 = Release|Any CPU
{765E59E6-7980-49A1-B2DF-6FB34FC95111}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{765E59E6-7980-49A1-B2DF-6FB34FC95111}.Debug|Any CPU.Build.0 = Debug|Any CPU
{765E59E6-7980-49A1-B2DF-6FB34FC95111}.Release|Any CPU.ActiveCfg = Release|Any CPU
{765E59E6-7980-49A1-B2DF-6FB34FC95111}.Release|Any CPU.Build.0 = Release|Any CPU
{1A7B7B23-2FB4-4473-900B-F0F35BC367BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A7B7B23-2FB4-4473-900B-F0F35BC367BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A7B7B23-2FB4-4473-900B-F0F35BC367BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A7B7B23-2FB4-4473-900B-F0F35BC367BA}.Release|Any CPU.Build.0 = Release|Any CPU
{D9A3DEB2-B4D9-44A7-B835-769AB4213B5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D9A3DEB2-B4D9-44A7-B835-769AB4213B5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D9A3DEB2-B4D9-44A7-B835-769AB4213B5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D9A3DEB2-B4D9-44A7-B835-769AB4213B5D}.Release|Any CPU.Build.0 = Release|Any CPU
{F762B24A-2EFB-4E9C-9C95-620357E7716F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F762B24A-2EFB-4E9C-9C95-620357E7716F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F762B24A-2EFB-4E9C-9C95-620357E7716F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F762B24A-2EFB-4E9C-9C95-620357E7716F}.Release|Any CPU.Build.0 = Release|Any CPU
{3F5307B5-C120-49AA-B742-5C5D5F99D014}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3F5307B5-C120-49AA-B742-5C5D5F99D014}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3F5307B5-C120-49AA-B742-5C5D5F99D014}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3F5307B5-C120-49AA-B742-5C5D5F99D014}.Release|Any CPU.Build.0 = Release|Any CPU
{99F1752D-0E5C-47E8-A67C-C9D8833A7BBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{99F1752D-0E5C-47E8-A67C-C9D8833A7BBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{99F1752D-0E5C-47E8-A67C-C9D8833A7BBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{99F1752D-0E5C-47E8-A67C-C9D8833A7BBB}.Release|Any CPU.Build.0 = Release|Any CPU
{54BE211D-66E1-4899-A230-DCA272ADA937}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{54BE211D-66E1-4899-A230-DCA272ADA937}.Debug|Any CPU.Build.0 = Debug|Any CPU
{54BE211D-66E1-4899-A230-DCA272ADA937}.Release|Any CPU.ActiveCfg = Release|Any CPU
{54BE211D-66E1-4899-A230-DCA272ADA937}.Release|Any CPU.Build.0 = Release|Any CPU
{E578F206-13D8-4437-9196-DB230FA890F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E578F206-13D8-4437-9196-DB230FA890F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E578F206-13D8-4437-9196-DB230FA890F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E578F206-13D8-4437-9196-DB230FA890F2}.Release|Any CPU.Build.0 = Release|Any CPU
{80027DE0-BD6E-4D9E-AB2B-4EC1B6B92C5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80027DE0-BD6E-4D9E-AB2B-4EC1B6B92C5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80027DE0-BD6E-4D9E-AB2B-4EC1B6B92C5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80027DE0-BD6E-4D9E-AB2B-4EC1B6B92C5D}.Release|Any CPU.Build.0 = Release|Any CPU
{376057D3-585E-4C31-BAC4-F490214F2873}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{376057D3-585E-4C31-BAC4-F490214F2873}.Debug|Any CPU.Build.0 = Debug|Any CPU
{376057D3-585E-4C31-BAC4-F490214F2873}.Release|Any CPU.ActiveCfg = Release|Any CPU
{376057D3-585E-4C31-BAC4-F490214F2873}.Release|Any CPU.Build.0 = Release|Any CPU
{B899099B-CAE8-4A64-A920-435AD57BBDBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B899099B-CAE8-4A64-A920-435AD57BBDBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B899099B-CAE8-4A64-A920-435AD57BBDBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B899099B-CAE8-4A64-A920-435AD57BBDBE}.Release|Any CPU.Build.0 = Release|Any CPU
{F249873B-F533-4D8C-9EDF-E0B197684B36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F249873B-F533-4D8C-9EDF-E0B197684B36}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F249873B-F533-4D8C-9EDF-E0B197684B36}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F249873B-F533-4D8C-9EDF-E0B197684B36}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
18 changes: 10 additions & 8 deletions src/BillingBenefits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ resourcegroup-append: true
nested-object-to-string: true

directive:
### No inline
- no-inline:
- RenewProperties

### Rename Cmdlet names
- where:
verb: Get
Expand Down Expand Up @@ -96,20 +100,18 @@ directive:
- PurchaseDateTime
- Term
- UserFriendlyAppliedScopeType
- AppliedScopePropertiesDisplayName
- SkuName1
- Amount
- CurrencyCode
- AppliedScopePropertyDisplayName
- SkuName
- CommitmentAmount
- CommitmentCurrencyCode
labels:
DisplayName: Name
DisplayProvisioningState: Status
ExpiryDateTime: ExpiryDate
PurchaseDateTime: PurchaseDate
UserFriendlyAppliedScopeType: Scope
SkuName1: ProductName
Amount: CommitmentAmount
CurrencyCode: CommitmentCurrency
AppliedScopePropertiesDisplayName: AppliedScopeDisplayName
SkuName: ProductName
AppliedScopePropertyDisplayName: AppliedScopeDisplayName
- where:
model-name: SavingsPlanOrderModel
set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Get-AzBillingBenefitsSavingsPlan -OrderId d7ea1620-2bba-46e2-8434-11f31bfb984d
```

```output
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrency
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrencyCode
---- ------ ---------- ------------ ---- ----- ----------------------- ----------- ---------------- ------------------
PSTest7 Succeeded 11/29/2025 2:23:51 AM 11/29/2022 2:20:38 AM P3Y Shared Compute_Savings_Plan 0.001 USD
```
Expand All @@ -17,7 +17,7 @@ Get-AzBillingBenefitsSavingsPlan -OrderId d7ea1620-2bba-46e2-8434-11f31bfb984d -
```

```output
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrency
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrencyCode
---- ------ ---------- ------------ ---- ----- ----------------------- ----------- ---------------- ------------------
PSTest7 Succeeded 11/29/2025 2:23:51 AM 11/29/2022 2:20:38 AM P3Y Shared Compute_Savings_Plan 0.001 USD
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Get-AzBillingBenefitsSavingsPlanList
```

```output
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrency
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrencyCode
---- ------ ---------- ------------ ---- ----- ----------------------- ----------- ---------------- ------------------
Compute_SavingsPlan_11-30-2022_15-19 Succeeded 11/30/2023 11:22:53 PM 11/30/2022 11:19:31 PM P1Y Shared Compute_Savings_Plan 0.001 USD
PSTesth1234 Succeeded 11/30/2025 12:36:25 AM 11/30/2022 12:34:31 AM P3Y Shared Compute_Savings_Plan 0.001 USD
Expand All @@ -22,7 +22,7 @@ Get-AzBillingBenefitsSavingsPlanList -Filter "properties/userFriendlyAppliedScop
```

```output
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrency
Name Status ExpiryDate PurchaseDate Term Scope AppliedScopeDisplayName ProductName CommitmentAmount CommitmentCurrencyCode
---- ------ ---------- ------------ ---- ----- ----------------------- ----------- ---------------- ------------------
Compute_SavingsPlan_11-30-2022_15-19 Succeeded 11/30/2023 11:22:53 PM 11/30/2022 11:19:31 PM P1Y Shared Compute_Savings_Plan 0.001 USD
PSTesth1234 Succeeded 11/30/2025 12:36:25 AM 11/30/2022 12:34:31 AM P3Y Shared Compute_Savings_Plan 0.001 USD
Expand Down
Loading

0 comments on commit ac1f259

Please sign in to comment.