Skip to content

Commit

Permalink
Updated Doc
Browse files Browse the repository at this point in the history
Signed-off-by: anirudhAgniRedhat <aagnihot@redhat.com>
  • Loading branch information
anirudhAgniRedhat committed Apr 25, 2024
1 parent b7fa50a commit 76df252
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions machine/v1beta1/types_azureprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ type AzureMachineProviderSpec 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 similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/<CapacityReservationGroupName>'.
// The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' following by valid ID or names respectively.
// 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.
// +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="CapacityReservationGroupID is immutable once set"
// +optional
Expand Down
2 changes: 1 addition & 1 deletion machine/v1beta1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20559,7 +20559,7 @@
"type": "string"
},
"capacityReservationGroupID": {
"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 similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/<CapacityReservationGroupName>'. The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' following by valid ID or names respectively. It is optional but may not be changed once set.",
"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"
},
"credentialsSecret": {
Expand Down

0 comments on commit 76df252

Please sign in to comment.