Skip to content

Commit

Permalink
Update NodePool provisioning state type to arm.ProvisioningState
Browse files Browse the repository at this point in the history
* This allows for a nodepool to be represented with non-terminal states

Signed-off-by: Michael Shen <[email protected]>
  • Loading branch information
mjlshen committed Jun 7, 2024
1 parent d32f1b6 commit 3369d63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/redhatopenshift/HcpCluster/hcpCluster-models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ model IngressProfile {
model NodePoolProperties {
/** Provisioning state */
@visibility("read")
provisioningState?: ResourceProvisioningState;
provisioningState?: ProvisioningState;

/** The node pool resource specification */
spec: NodePoolSpec;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@
"description": "Represents the node pool properties",
"properties": {
"provisioningState": {
"$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState",
"$ref": "#/definitions/ProvisioningState",
"description": "Provisioning state",
"readOnly": true
},
Expand Down
2 changes: 1 addition & 1 deletion internal/api/v20240610preview/generated/models.go

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

0 comments on commit 3369d63

Please sign in to comment.