diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index a9ea4ce63..b5ddb9b7a 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -dbf9b0a4e0432e846520442b14c34fc7f0ca0d8c \ No newline at end of file +f21f4933da405cac4bc77c9732044dc45b4f0c5a \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 5df3d9f8a..18fc95d10 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -11,3 +11,4 @@ ### Internal Changes ### API Changes +* Add `Creating` and `CreateFailed` enum values for [settings.NccPrivateEndpointRulePrivateLinkConnectionState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccPrivateEndpointRulePrivateLinkConnectionState). \ No newline at end of file diff --git a/service/postgres/model.go b/service/postgres/model.go index 86d3bb94b..a081c5363 100644 --- a/service/postgres/model.go +++ b/service/postgres/model.go @@ -1258,7 +1258,11 @@ type RoleRoleSpec struct { // NOTE: this is ignored for the Databricks identity type GROUP, and // NO_LOGIN is implicitly assumed instead for the GROUP identity type. AuthMethod RoleAuthMethod `json:"auth_method,omitempty"` - // The type of the role. + // The type of the role. When specifying a managed-identity, the chosen + // role_id must be a valid: + // + // * application ID for SERVICE_PRINCIPAL * user email for USER * group name + // for GROUP IdentityType RoleIdentityType `json:"identity_type,omitempty"` } diff --git a/service/settings/model.go b/service/settings/model.go index 532196d7c..adb2a8c91 100644 --- a/service/settings/model.go +++ b/service/settings/model.go @@ -3500,6 +3500,10 @@ func (s NccPrivateEndpointRule) MarshalJSON() ([]byte, error) { type NccPrivateEndpointRulePrivateLinkConnectionState string +const NccPrivateEndpointRulePrivateLinkConnectionStateCreateFailed NccPrivateEndpointRulePrivateLinkConnectionState = `CREATE_FAILED` + +const NccPrivateEndpointRulePrivateLinkConnectionStateCreating NccPrivateEndpointRulePrivateLinkConnectionState = `CREATING` + const NccPrivateEndpointRulePrivateLinkConnectionStateDisconnected NccPrivateEndpointRulePrivateLinkConnectionState = `DISCONNECTED` const NccPrivateEndpointRulePrivateLinkConnectionStateEstablished NccPrivateEndpointRulePrivateLinkConnectionState = `ESTABLISHED` @@ -3518,11 +3522,11 @@ func (f *NccPrivateEndpointRulePrivateLinkConnectionState) String() string { // Set raw string value and validate it against allowed values func (f *NccPrivateEndpointRulePrivateLinkConnectionState) Set(v string) error { switch v { - case `DISCONNECTED`, `ESTABLISHED`, `EXPIRED`, `PENDING`, `REJECTED`: + case `CREATE_FAILED`, `CREATING`, `DISCONNECTED`, `ESTABLISHED`, `EXPIRED`, `PENDING`, `REJECTED`: *f = NccPrivateEndpointRulePrivateLinkConnectionState(v) return nil default: - return fmt.Errorf(`value "%s" is not one of "DISCONNECTED", "ESTABLISHED", "EXPIRED", "PENDING", "REJECTED"`, v) + return fmt.Errorf(`value "%s" is not one of "CREATE_FAILED", "CREATING", "DISCONNECTED", "ESTABLISHED", "EXPIRED", "PENDING", "REJECTED"`, v) } } @@ -3531,6 +3535,8 @@ func (f *NccPrivateEndpointRulePrivateLinkConnectionState) Set(v string) error { // There is no guarantee on the order of the values in the slice. func (f *NccPrivateEndpointRulePrivateLinkConnectionState) Values() []NccPrivateEndpointRulePrivateLinkConnectionState { return []NccPrivateEndpointRulePrivateLinkConnectionState{ + NccPrivateEndpointRulePrivateLinkConnectionStateCreateFailed, + NccPrivateEndpointRulePrivateLinkConnectionStateCreating, NccPrivateEndpointRulePrivateLinkConnectionStateDisconnected, NccPrivateEndpointRulePrivateLinkConnectionStateEstablished, NccPrivateEndpointRulePrivateLinkConnectionStateExpired,