Reputation: 720
I am trying to set storage lifecycle with azure-sdk-for-go unsuccessfully. How can it be done using Golang?
Upvotes: 0
Views: 196
Reputation: 720
I first tried it with AccountsClient
which only creates the account.
The solution was to use ManagementPoliciesClient
which can be used for adding lifecycle rules, after the account was created.
Upvotes: 1