Skip to content

Commit f882282

Browse files
committed
Update godoc of CapacityReservationGroupID of AzureMachineSpec
1 parent 43e72a9 commit f882282

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/v1beta1/azuremachine_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ type AzureMachineSpec struct {
145145

146146
// CapacityReservationGroupID specifies the capacity reservation group resource id that should be
147147
// used for allocating the virtual machine.
148+
// The field size should be greater than 0 and the field input must start with '/'.
149+
// The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'.
150+
// The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
151+
// It is optional but may not be changed once set.
148152
// +optional
149153
CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
150154
}

0 commit comments

Comments
 (0)