Skip to content

Commit

Permalink
Merge pull request #4830 from arkadeepsen/capacity-reservation
Browse files Browse the repository at this point in the history
Update godoc of CapacityReservationGroupID of AzureMachineSpec
  • Loading branch information
k8s-ci-robot authored May 14, 2024
2 parents 4b1d9c1 + de135dc commit d475986
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/v1beta1/azuremachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ type AzureMachineSpec struct {

// CapacityReservationGroupID specifies the capacity reservation group resource id that should be
// used for allocating the virtual machine.
// The field size should be greater than 0 and the field input must start with '/'.
// The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'.
// The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
// It is optional but may not be changed once set.
// +optional
CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ spec:
description: |-
CapacityReservationGroupID specifies the capacity reservation group resource id that should be
used for allocating the virtual machine.
The field size should be greater than 0 and the field input must start with '/'.
The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'.
The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
It is optional but may not be changed once set.
type: string
dataDisks:
description: DataDisk specifies the parameters that are used to add
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ spec:
description: |-
CapacityReservationGroupID specifies the capacity reservation group resource id that should be
used for allocating the virtual machine.
The field size should be greater than 0 and the field input must start with '/'.
The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'.
The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
It is optional but may not be changed once set.
type: string
dataDisks:
description: DataDisk specifies the parameters that are used
Expand Down

0 comments on commit d475986

Please sign in to comment.