Skip to content

Commit

Permalink
added availability zone proto (#271)
Browse files Browse the repository at this point in the history
* added availability zone proto

* updated pb.go

* added status and virtualMachine reference in av zone

* added av zone reference in virtual machine proto

* updated virtual machine reference number

* updated avzone reference number

* ran make generate

* updated vitualMachineRef object

* updated avzonereference in vm

* updated avzonereference in vm

* added groupName property

* after make generate

* removed some properties

* moved availability zone to cloud

* moved the files to cloud

* added av zone update operation enum

* adding roles for avzones

* fixed indentation

* added precheck API of av zone

* :Revert "added precheck API of av zone"

This reverts commit 2720915.

* added precheck API of av zone

* updated name to zone

* built locally

* Revert "built locally"

This reverts commit c83fe87.

* make generate changes
  • Loading branch information
mkatturu authored Aug 23, 2024
1 parent 302d811 commit 9fbdaff
Show file tree
Hide file tree
Showing 6 changed files with 681 additions and 161 deletions.
4 changes: 4 additions & 0 deletions common/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const (
SecretContributorRoleName = "SecretContributor"
// AvailabilitySet Contributor Role - has permissions to run any operations on AvailabilitySets
AvailabilitySetContributorRoleName = "AvailabilitySetContributor"
// Zone Contributor Role - has permissions to run any operations on Zones
ZoneContributorRoleName = "ZoneContributor"
// Location Reader role - has permissions to run read operations on locations
LocationReaderRoleName = "LocationReader"
// Group Reader Role - has permissions to run read operations on the group resource
Expand Down Expand Up @@ -133,4 +135,6 @@ const (
AvailabilitySetReaderRoleName = "AvailabilitySetReader"
// Certificate Signer Role - has permissions to run sign and renew operations on Certificates
CertSignerRoleName = "CertificateSigner"
// Zone Reader Role - has permissions to run read operations on Zones
ZoneReaderRoleName = "ZoneReader"
)
Loading

0 comments on commit 9fbdaff

Please sign in to comment.