tomdds
b1adaf771d
state machine integration wip
2020-01-22 13:39:35 -05:00
tomdds
81f23ebc22
Finish first passes at baseline tenant integration
...
Add last of the integrations for setting up billing and reporting a CLIN.
2020-01-14 17:17:34 -05:00
tomdds
161462f3cb
Sample create and validate billing profile integration
...
Adds 2 methods to the azure csp interface to create and subsequently validate creation of the billing profile.
2020-01-14 17:16:54 -05:00
tomdds
7c22922d6d
Create new AliasModel for CSP datalcasses, ignore credentials when converting to dictionary.This will allow all of our dataclasses to convert automatically between python style snake_case and the camelCase that the Azure APIs use. This also allows us to default to that behavior while specifying aliases for any fields as necessary.Additionally, any dataclass including the creds schema will have those creds removed from their dict representation. This can help keep creds out of logs as well as making the dataclasses more consumable for API usage.
2020-01-14 17:16:54 -05:00
tomdds
2ac333e0b7
Sample create tenant itegration
...
This integration works with the happy path, we'll need to expand some fields and handle error states more coherently.
2020-01-14 17:16:54 -05:00
tomdds
dfee80680d
Skip legacy azure csp tests
2020-01-14 16:36:16 -05:00
dandds
b61956080e
Initial policies and method for creating policy definition.
...
This adds some initial example policies:
- One for region restrictions
- One for service restrictions
Note that the MS ARM team has said that region restrictions may be
controlled by ARM, so that policy might prove unnecessary. The
parameters list for the service restrictions is stubbed for now, pending
the full list.
I also added an internal method for adding policy definitions to a
management group. This method is agnostic about what tier of management
group the policy is being defined at. It requires that a dictionary
representing the properties section of a valid Azure JSON policy
definition be passed as an argument.
2019-12-20 10:34:12 -05:00
tomdds
8a1ed5b193
Sketch in Management Group integration for Azure
...
Add mocks and real implementations for creating nested management groups that reflect the Portfolio->Application->Environment->Subscription hierarchy.
2019-12-13 10:53:24 -05:00
tomdds
d0746a3bf6
Cleanup imports and formatting in azure testing code
2019-10-30 16:43:59 -04:00
tomdds
3e7a720ffb
Post-rebase fixes
2019-10-30 16:43:59 -04:00
tomdds
63ea7db390
Rudimentary tests to validate mocking
2019-10-30 16:43:59 -04:00
tomdds
99e306e602
First pass at mocking and testing azure integration
2019-10-30 16:43:59 -04:00