Documentation ¶
Index ¶
- type AddInstanceProfile
- func (c AddInstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AddInstanceProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile)
- func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile)
- func (o AddInstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AddInstanceProfile) Type(ctx context.Context) attr.Type
- type AddInstanceProfile_SdkV2
- func (c AddInstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AddInstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile_SdkV2)
- func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile_SdkV2)
- func (o AddInstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AddInstanceProfile_SdkV2) Type(ctx context.Context) attr.Type
- type AddResponse
- type AddResponse_SdkV2
- type Adlsgen2Info
- func (c Adlsgen2Info) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Adlsgen2Info) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info)
- func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info)
- func (o Adlsgen2Info) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Adlsgen2Info) Type(ctx context.Context) attr.Type
- type Adlsgen2Info_SdkV2
- func (c Adlsgen2Info_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Adlsgen2Info_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info_SdkV2)
- func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info_SdkV2)
- func (o Adlsgen2Info_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Adlsgen2Info_SdkV2) Type(ctx context.Context) attr.Type
- type AutoScale
- func (c AutoScale) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AutoScale) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AutoScale) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScale)
- func (newState *AutoScale) SyncEffectiveFieldsDuringRead(existingState AutoScale)
- func (o AutoScale) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AutoScale) Type(ctx context.Context) attr.Type
- type AutoScale_SdkV2
- func (c AutoScale_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AutoScale_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScale_SdkV2)
- func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoScale_SdkV2)
- func (o AutoScale_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AutoScale_SdkV2) Type(ctx context.Context) attr.Type
- type AwsAttributes
- func (c AwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes)
- func (newState *AwsAttributes) SyncEffectiveFieldsDuringRead(existingState AwsAttributes)
- func (o AwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AwsAttributes) Type(ctx context.Context) attr.Type
- type AwsAttributes_SdkV2
- func (c AwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes_SdkV2)
- func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsAttributes_SdkV2)
- func (o AwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AwsAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type AzureAttributes
- func (c AzureAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AzureAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AzureAttributes) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo, bool)
- func (o *AzureAttributes) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo)
- func (newState *AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes)
- func (newState *AzureAttributes) SyncEffectiveFieldsDuringRead(existingState AzureAttributes)
- func (o AzureAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AzureAttributes) Type(ctx context.Context) attr.Type
- type AzureAttributes_SdkV2
- func (c AzureAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a AzureAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AzureAttributes_SdkV2) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo_SdkV2, bool)
- func (o *AzureAttributes_SdkV2) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo_SdkV2)
- func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes_SdkV2)
- func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureAttributes_SdkV2)
- func (o AzureAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AzureAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type CancelCommand
- func (c CancelCommand) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelCommand) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelCommand) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand)
- func (newState *CancelCommand) SyncEffectiveFieldsDuringRead(existingState CancelCommand)
- func (o CancelCommand) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelCommand) Type(ctx context.Context) attr.Type
- type CancelCommand_SdkV2
- func (c CancelCommand_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CancelCommand_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand_SdkV2)
- func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelCommand_SdkV2)
- func (o CancelCommand_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CancelCommand_SdkV2) Type(ctx context.Context) attr.Type
- type CancelResponse
- type CancelResponse_SdkV2
- type ChangeClusterOwner
- func (c ChangeClusterOwner) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ChangeClusterOwner) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner)
- func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner)
- func (o ChangeClusterOwner) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ChangeClusterOwner) Type(ctx context.Context) attr.Type
- type ChangeClusterOwnerResponse
- func (c ChangeClusterOwnerResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ChangeClusterOwnerResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse)
- func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse)
- func (o ChangeClusterOwnerResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ChangeClusterOwnerResponse) Type(ctx context.Context) attr.Type
- type ChangeClusterOwnerResponse_SdkV2
- func (c ChangeClusterOwnerResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ChangeClusterOwnerResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse_SdkV2)
- func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse_SdkV2)
- func (o ChangeClusterOwnerResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ChangeClusterOwnerResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ChangeClusterOwner_SdkV2
- func (c ChangeClusterOwner_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ChangeClusterOwner_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner_SdkV2)
- func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner_SdkV2)
- func (o ChangeClusterOwner_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ChangeClusterOwner_SdkV2) Type(ctx context.Context) attr.Type
- type ClientsTypes
- func (c ClientsTypes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClientsTypes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClientsTypes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes)
- func (newState *ClientsTypes) SyncEffectiveFieldsDuringRead(existingState ClientsTypes)
- func (o ClientsTypes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClientsTypes) Type(ctx context.Context) attr.Type
- type ClientsTypes_SdkV2
- func (c ClientsTypes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClientsTypes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes_SdkV2)
- func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClientsTypes_SdkV2)
- func (o ClientsTypes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClientsTypes_SdkV2) Type(ctx context.Context) attr.Type
- type CloneCluster
- func (c CloneCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CloneCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CloneCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster)
- func (newState *CloneCluster) SyncEffectiveFieldsDuringRead(existingState CloneCluster)
- func (o CloneCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CloneCluster) Type(ctx context.Context) attr.Type
- type CloneCluster_SdkV2
- func (c CloneCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CloneCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster_SdkV2)
- func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloneCluster_SdkV2)
- func (o CloneCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CloneCluster_SdkV2) Type(ctx context.Context) attr.Type
- type CloudProviderNodeInfo
- func (c CloudProviderNodeInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CloudProviderNodeInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CloudProviderNodeInfo) GetStatus(ctx context.Context) ([]types.String, bool)
- func (o *CloudProviderNodeInfo) SetStatus(ctx context.Context, v []types.String)
- func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo)
- func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo)
- func (o CloudProviderNodeInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CloudProviderNodeInfo) Type(ctx context.Context) attr.Type
- type CloudProviderNodeInfo_SdkV2
- func (c CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CloudProviderNodeInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CloudProviderNodeInfo_SdkV2) GetStatus(ctx context.Context) ([]types.String, bool)
- func (o *CloudProviderNodeInfo_SdkV2) SetStatus(ctx context.Context, v []types.String)
- func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo_SdkV2)
- func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo_SdkV2)
- func (o CloudProviderNodeInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CloudProviderNodeInfo_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterAccessControlRequest
- func (c ClusterAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest)
- func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest)
- func (o ClusterAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAccessControlRequest) Type(ctx context.Context) attr.Type
- type ClusterAccessControlRequest_SdkV2
- func (c ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest_SdkV2)
- func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest_SdkV2)
- func (o ClusterAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAccessControlRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterAccessControlResponse
- func (c ClusterAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ClusterPermission, bool)
- func (a ClusterAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterAccessControlResponse) SetAllPermissions(ctx context.Context, v []ClusterPermission)
- func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse)
- func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse)
- func (o ClusterAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAccessControlResponse) Type(ctx context.Context) attr.Type
- type ClusterAccessControlResponse_SdkV2
- func (c ClusterAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]ClusterPermission_SdkV2, bool)
- func (a ClusterAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []ClusterPermission_SdkV2)
- func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse_SdkV2)
- func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse_SdkV2)
- func (o ClusterAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAccessControlResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterAttributes
- func (c ClusterAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterAttributes) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *ClusterAttributes) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *ClusterAttributes) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (a ClusterAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterAttributes) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *ClusterAttributes) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *ClusterAttributes) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *ClusterAttributes) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterAttributes) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *ClusterAttributes) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *ClusterAttributes) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *ClusterAttributes) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *ClusterAttributes) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *ClusterAttributes) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *ClusterAttributes) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *ClusterAttributes) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterAttributes) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes)
- func (newState *ClusterAttributes) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes)
- func (o ClusterAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAttributes) Type(ctx context.Context) attr.Type
- type ClusterAttributes_SdkV2
- func (c ClusterAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterAttributes_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (a ClusterAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterAttributes_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterAttributes_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterAttributes_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *ClusterAttributes_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *ClusterAttributes_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterAttributes_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterAttributes_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes_SdkV2)
- func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes_SdkV2)
- func (o ClusterAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterCompliance
- func (c ClusterCompliance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterCompliance) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterCompliance) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterCompliance) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance)
- func (newState *ClusterCompliance) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance)
- func (o ClusterCompliance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterCompliance) Type(ctx context.Context) attr.Type
- type ClusterCompliance_SdkV2
- func (c ClusterCompliance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterCompliance_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterCompliance_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterCompliance_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance_SdkV2)
- func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance_SdkV2)
- func (o ClusterCompliance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterCompliance_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterDetails
- func (c ClusterDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterDetails) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (o *ClusterDetails) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *ClusterDetails) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *ClusterDetails) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (o *ClusterDetails) GetClusterLogStatus(ctx context.Context) (LogSyncStatus, bool)
- func (a ClusterDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterDetails) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *ClusterDetails) GetDriver(ctx context.Context) (SparkNode, bool)
- func (o *ClusterDetails) GetExecutors(ctx context.Context) ([]SparkNode, bool)
- func (o *ClusterDetails) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *ClusterDetails) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *ClusterDetails) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails) GetSpec(ctx context.Context) (ClusterSpec, bool)
- func (o *ClusterDetails) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterDetails) GetTerminationReason(ctx context.Context) (TerminationReason, bool)
- func (o *ClusterDetails) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *ClusterDetails) SetAutoscale(ctx context.Context, v AutoScale)
- func (o *ClusterDetails) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *ClusterDetails) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *ClusterDetails) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *ClusterDetails) SetClusterLogStatus(ctx context.Context, v LogSyncStatus)
- func (o *ClusterDetails) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *ClusterDetails) SetDriver(ctx context.Context, v SparkNode)
- func (o *ClusterDetails) SetExecutors(ctx context.Context, v []SparkNode)
- func (o *ClusterDetails) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *ClusterDetails) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *ClusterDetails) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails) SetSpec(ctx context.Context, v ClusterSpec)
- func (o *ClusterDetails) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterDetails) SetTerminationReason(ctx context.Context, v TerminationReason)
- func (o *ClusterDetails) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails)
- func (newState *ClusterDetails) SyncEffectiveFieldsDuringRead(existingState ClusterDetails)
- func (o ClusterDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterDetails) Type(ctx context.Context) attr.Type
- type ClusterDetails_SdkV2
- func (c ClusterDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterDetails_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetClusterLogStatus(ctx context.Context) (LogSyncStatus_SdkV2, bool)
- func (a ClusterDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterDetails_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetDriver(ctx context.Context) (SparkNode_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetExecutors(ctx context.Context) ([]SparkNode_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterDetails_SdkV2) GetSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterDetails_SdkV2) GetTerminationReason(ctx context.Context) (TerminationReason_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *ClusterDetails_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (o *ClusterDetails_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *ClusterDetails_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *ClusterDetails_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *ClusterDetails_SdkV2) SetClusterLogStatus(ctx context.Context, v LogSyncStatus_SdkV2)
- func (o *ClusterDetails_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *ClusterDetails_SdkV2) SetDriver(ctx context.Context, v SparkNode_SdkV2)
- func (o *ClusterDetails_SdkV2) SetExecutors(ctx context.Context, v []SparkNode_SdkV2)
- func (o *ClusterDetails_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *ClusterDetails_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *ClusterDetails_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterDetails_SdkV2) SetSpec(ctx context.Context, v ClusterSpec_SdkV2)
- func (o *ClusterDetails_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterDetails_SdkV2) SetTerminationReason(ctx context.Context, v TerminationReason_SdkV2)
- func (o *ClusterDetails_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails_SdkV2)
- func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterDetails_SdkV2)
- func (o ClusterDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterDetails_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterEvent
- func (c ClusterEvent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterEvent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterEvent) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails, bool)
- func (o *ClusterEvent) GetDetails(ctx context.Context) (EventDetails, bool)
- func (o *ClusterEvent) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails)
- func (o *ClusterEvent) SetDetails(ctx context.Context, v EventDetails)
- func (newState *ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent)
- func (newState *ClusterEvent) SyncEffectiveFieldsDuringRead(existingState ClusterEvent)
- func (o ClusterEvent) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterEvent) Type(ctx context.Context) attr.Type
- type ClusterEvent_SdkV2
- func (c ClusterEvent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterEvent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterEvent_SdkV2) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails_SdkV2, bool)
- func (o *ClusterEvent_SdkV2) GetDetails(ctx context.Context) (EventDetails_SdkV2, bool)
- func (o *ClusterEvent_SdkV2) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails_SdkV2)
- func (o *ClusterEvent_SdkV2) SetDetails(ctx context.Context, v EventDetails_SdkV2)
- func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent_SdkV2)
- func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterEvent_SdkV2)
- func (o ClusterEvent_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterEvent_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterLibraryStatuses
- func (c ClusterLibraryStatuses) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterLibraryStatuses) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterLibraryStatuses) GetLibraryStatuses(ctx context.Context) ([]LibraryFullStatus, bool)
- func (o *ClusterLibraryStatuses) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus)
- func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses)
- func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses)
- func (o ClusterLibraryStatuses) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterLibraryStatuses) Type(ctx context.Context) attr.Type
- type ClusterLibraryStatuses_SdkV2
- func (c ClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterLibraryStatuses_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterLibraryStatuses_SdkV2) GetLibraryStatuses(ctx context.Context) ([]LibraryFullStatus_SdkV2, bool)
- func (o *ClusterLibraryStatuses_SdkV2) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus_SdkV2)
- func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses_SdkV2)
- func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses_SdkV2)
- func (o ClusterLibraryStatuses_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterLibraryStatuses_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterLogConf
- func (c ClusterLogConf) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterLogConf) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterLogConf) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)
- func (o *ClusterLogConf) GetS3(ctx context.Context) (S3StorageInfo, bool)
- func (o *ClusterLogConf) SetDbfs(ctx context.Context, v DbfsStorageInfo)
- func (o *ClusterLogConf) SetS3(ctx context.Context, v S3StorageInfo)
- func (newState *ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf)
- func (newState *ClusterLogConf) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf)
- func (o ClusterLogConf) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterLogConf) Type(ctx context.Context) attr.Type
- type ClusterLogConf_SdkV2
- func (c ClusterLogConf_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterLogConf_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterLogConf_SdkV2) GetDbfs(ctx context.Context) (DbfsStorageInfo_SdkV2, bool)
- func (o *ClusterLogConf_SdkV2) GetS3(ctx context.Context) (S3StorageInfo_SdkV2, bool)
- func (o *ClusterLogConf_SdkV2) SetDbfs(ctx context.Context, v DbfsStorageInfo_SdkV2)
- func (o *ClusterLogConf_SdkV2) SetS3(ctx context.Context, v S3StorageInfo_SdkV2)
- func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf_SdkV2)
- func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf_SdkV2)
- func (o ClusterLogConf_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterLogConf_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPermission
- func (c ClusterPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *ClusterPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission)
- func (newState *ClusterPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPermission)
- func (o ClusterPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermission) Type(ctx context.Context) attr.Type
- type ClusterPermission_SdkV2
- func (c ClusterPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *ClusterPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission_SdkV2)
- func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermission_SdkV2)
- func (o ClusterPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermission_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPermissions
- func (c ClusterPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPermissions) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlResponse, bool)
- func (a ClusterPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermissions) SetAccessControlList(ctx context.Context, v []ClusterAccessControlResponse)
- func (newState *ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions)
- func (newState *ClusterPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions)
- func (o ClusterPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissions) Type(ctx context.Context) attr.Type
- type ClusterPermissionsDescription
- func (c ClusterPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription)
- func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription)
- func (o ClusterPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissionsDescription) Type(ctx context.Context) attr.Type
- type ClusterPermissionsDescription_SdkV2
- func (c ClusterPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription_SdkV2)
- func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription_SdkV2)
- func (o ClusterPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissionsDescription_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPermissionsRequest
- func (c ClusterPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlRequest, bool)
- func (a ClusterPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermissionsRequest) SetAccessControlList(ctx context.Context, v []ClusterAccessControlRequest)
- func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest)
- func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest)
- func (o ClusterPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissionsRequest) Type(ctx context.Context) attr.Type
- type ClusterPermissionsRequest_SdkV2
- func (c ClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlRequest_SdkV2, bool)
- func (a ClusterPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterAccessControlRequest_SdkV2)
- func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest_SdkV2)
- func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest_SdkV2)
- func (o ClusterPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPermissions_SdkV2
- func (c ClusterPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlResponse_SdkV2, bool)
- func (a ClusterPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterAccessControlResponse_SdkV2)
- func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions_SdkV2)
- func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions_SdkV2)
- func (o ClusterPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPermissions_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyAccessControlRequest
- func (c ClusterPolicyAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest)
- func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest)
- func (o ClusterPolicyAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyAccessControlRequest) Type(ctx context.Context) attr.Type
- type ClusterPolicyAccessControlRequest_SdkV2
- func (c ClusterPolicyAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest_SdkV2)
- func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest_SdkV2)
- func (o ClusterPolicyAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyAccessControlRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyAccessControlResponse
- func (c ClusterPolicyAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ClusterPolicyPermission, bool)
- func (a ClusterPolicyAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyAccessControlResponse) SetAllPermissions(ctx context.Context, v []ClusterPolicyPermission)
- func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse)
- func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse)
- func (o ClusterPolicyAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyAccessControlResponse) Type(ctx context.Context) attr.Type
- type ClusterPolicyAccessControlResponse_SdkV2
- func (c ClusterPolicyAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]ClusterPolicyPermission_SdkV2, bool)
- func (a ClusterPolicyAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []ClusterPolicyPermission_SdkV2)
- func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse_SdkV2)
- func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse_SdkV2)
- func (o ClusterPolicyAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyAccessControlResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermission
- func (c ClusterPolicyPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *ClusterPolicyPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission)
- func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission)
- func (o ClusterPolicyPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermission) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermission_SdkV2
- func (c ClusterPolicyPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *ClusterPolicyPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission_SdkV2)
- func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission_SdkV2)
- func (o ClusterPolicyPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermission_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissions
- func (c ClusterPolicyPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyPermissions) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlResponse, bool)
- func (a ClusterPolicyPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermissions) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlResponse)
- func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions)
- func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions)
- func (o ClusterPolicyPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissions) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissionsDescription
- func (c ClusterPolicyPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription)
- func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription)
- func (o ClusterPolicyPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissionsDescription) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissionsDescription_SdkV2
- func (c ClusterPolicyPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterPolicyPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription_SdkV2)
- func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription_SdkV2)
- func (o ClusterPolicyPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissionsDescription_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissionsRequest
- func (c ClusterPolicyPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlRequest, bool)
- func (a ClusterPolicyPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermissionsRequest) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlRequest)
- func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest)
- func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest)
- func (o ClusterPolicyPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissionsRequest) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissionsRequest_SdkV2
- func (c ClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlRequest_SdkV2, bool)
- func (a ClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlRequest_SdkV2)
- func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest_SdkV2)
- func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest_SdkV2)
- func (o ClusterPolicyPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterPolicyPermissions_SdkV2
- func (c ClusterPolicyPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterPolicyPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlResponse_SdkV2, bool)
- func (a ClusterPolicyPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterPolicyPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlResponse_SdkV2)
- func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions_SdkV2)
- func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions_SdkV2)
- func (o ClusterPolicyPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterPolicyPermissions_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterSettingsChange
- func (c ClusterSettingsChange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterSettingsChange) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange)
- func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange)
- func (o ClusterSettingsChange) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSettingsChange) Type(ctx context.Context) attr.Type
- type ClusterSettingsChange_SdkV2
- func (c ClusterSettingsChange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ClusterSettingsChange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange_SdkV2)
- func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange_SdkV2)
- func (o ClusterSettingsChange_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSettingsChange_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterSize
- func (c ClusterSize) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterSize) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (a ClusterSize) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSize) SetAutoscale(ctx context.Context, v AutoScale)
- func (newState *ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize)
- func (newState *ClusterSize) SyncEffectiveFieldsDuringRead(existingState ClusterSize)
- func (o ClusterSize) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSize) Type(ctx context.Context) attr.Type
- type ClusterSize_SdkV2
- func (c ClusterSize_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterSize_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (a ClusterSize_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSize_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize_SdkV2)
- func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSize_SdkV2)
- func (o ClusterSize_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSize_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterSpec
- func (c ClusterSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterSpec) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (o *ClusterSpec) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *ClusterSpec) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *ClusterSpec) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (a ClusterSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSpec) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *ClusterSpec) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *ClusterSpec) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *ClusterSpec) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterSpec) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *ClusterSpec) SetAutoscale(ctx context.Context, v AutoScale)
- func (o *ClusterSpec) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *ClusterSpec) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *ClusterSpec) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *ClusterSpec) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *ClusterSpec) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *ClusterSpec) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *ClusterSpec) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterSpec) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec)
- func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec)
- func (o ClusterSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSpec) Type(ctx context.Context) attr.Type
- type ClusterSpec_SdkV2
- func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ClusterSpec_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (a ClusterSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ClusterSpec_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ClusterSpec_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *ClusterSpec_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *ClusterSpec_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (o *ClusterSpec_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *ClusterSpec_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *ClusterSpec_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *ClusterSpec_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *ClusterSpec_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *ClusterSpec_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *ClusterSpec_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *ClusterSpec_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *ClusterSpec_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec_SdkV2)
- func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2)
- func (o ClusterSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ClusterSpec_SdkV2) Type(ctx context.Context) attr.Type
- type ClusterStatus
- type ClusterStatus_SdkV2
- type Command
- func (c Command) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Command) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Command) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command)
- func (newState *Command) SyncEffectiveFieldsDuringRead(existingState Command)
- func (o Command) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Command) Type(ctx context.Context) attr.Type
- type CommandStatusRequest
- type CommandStatusRequest_SdkV2
- type CommandStatusResponse
- func (c CommandStatusResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CommandStatusResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CommandStatusResponse) GetResults(ctx context.Context) (Results, bool)
- func (o *CommandStatusResponse) SetResults(ctx context.Context, v Results)
- func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse)
- func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse)
- func (o CommandStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CommandStatusResponse) Type(ctx context.Context) attr.Type
- type CommandStatusResponse_SdkV2
- func (c CommandStatusResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CommandStatusResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CommandStatusResponse_SdkV2) GetResults(ctx context.Context) (Results_SdkV2, bool)
- func (o *CommandStatusResponse_SdkV2) SetResults(ctx context.Context, v Results_SdkV2)
- func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse_SdkV2)
- func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse_SdkV2)
- func (o CommandStatusResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CommandStatusResponse_SdkV2) Type(ctx context.Context) attr.Type
- type Command_SdkV2
- func (c Command_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Command_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Command_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command_SdkV2)
- func (newState *Command_SdkV2) SyncEffectiveFieldsDuringRead(existingState Command_SdkV2)
- func (o Command_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Command_SdkV2) Type(ctx context.Context) attr.Type
- type ContextStatusRequest
- type ContextStatusRequest_SdkV2
- type ContextStatusResponse
- func (c ContextStatusResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ContextStatusResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse)
- func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse)
- func (o ContextStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ContextStatusResponse) Type(ctx context.Context) attr.Type
- type ContextStatusResponse_SdkV2
- func (c ContextStatusResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ContextStatusResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse_SdkV2)
- func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse_SdkV2)
- func (o ContextStatusResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ContextStatusResponse_SdkV2) Type(ctx context.Context) attr.Type
- type CreateCluster
- func (c CreateCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (o *CreateCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *CreateCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *CreateCluster) GetCloneFrom(ctx context.Context) (CloneCluster, bool)
- func (o *CreateCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (a CreateCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateCluster) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *CreateCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *CreateCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *CreateCluster) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *CreateCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *CreateCluster) SetAutoscale(ctx context.Context, v AutoScale)
- func (o *CreateCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *CreateCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *CreateCluster) SetCloneFrom(ctx context.Context, v CloneCluster)
- func (o *CreateCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *CreateCluster) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *CreateCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *CreateCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *CreateCluster) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *CreateCluster) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster)
- func (newState *CreateCluster) SyncEffectiveFieldsDuringRead(existingState CreateCluster)
- func (o CreateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateCluster) Type(ctx context.Context) attr.Type
- type CreateClusterResponse
- func (c CreateClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse)
- func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse)
- func (o CreateClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateClusterResponse) Type(ctx context.Context) attr.Type
- type CreateClusterResponse_SdkV2
- func (c CreateClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse_SdkV2)
- func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse_SdkV2)
- func (o CreateClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type CreateCluster_SdkV2
- func (c CreateCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetCloneFrom(ctx context.Context) (CloneCluster_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (a CreateCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateCluster_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *CreateCluster_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateCluster_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *CreateCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *CreateCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (o *CreateCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *CreateCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *CreateCluster_SdkV2) SetCloneFrom(ctx context.Context, v CloneCluster_SdkV2)
- func (o *CreateCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *CreateCluster_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *CreateCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *CreateCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *CreateCluster_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *CreateCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *CreateCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster_SdkV2)
- func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCluster_SdkV2)
- func (o CreateCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateCluster_SdkV2) Type(ctx context.Context) attr.Type
- type CreateContext
- func (c CreateContext) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateContext) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext)
- func (newState *CreateContext) SyncEffectiveFieldsDuringRead(existingState CreateContext)
- func (o CreateContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateContext) Type(ctx context.Context) attr.Type
- type CreateContext_SdkV2
- func (c CreateContext_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateContext_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext_SdkV2)
- func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateContext_SdkV2)
- func (o CreateContext_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateContext_SdkV2) Type(ctx context.Context) attr.Type
- type CreateInstancePool
- func (c CreateInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
- func (o *CreateInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
- func (a CreateInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
- func (o *CreateInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
- func (o *CreateInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
- func (o *CreateInstancePool) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *CreateInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
- func (o *CreateInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
- func (o *CreateInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *CreateInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)
- func (o *CreateInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
- func (o *CreateInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
- func (o *CreateInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (newState *CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool)
- func (newState *CreateInstancePool) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool)
- func (o CreateInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateInstancePool) Type(ctx context.Context) attr.Type
- type CreateInstancePoolResponse
- func (c CreateInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse)
- func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse)
- func (o CreateInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateInstancePoolResponse) Type(ctx context.Context) attr.Type
- type CreateInstancePoolResponse_SdkV2
- func (c CreateInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreateInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse_SdkV2)
- func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse_SdkV2)
- func (o CreateInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateInstancePoolResponse_SdkV2) Type(ctx context.Context) attr.Type
- type CreateInstancePool_SdkV2
- func (c CreateInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *CreateInstancePool_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
- func (o *CreateInstancePool_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
- func (a CreateInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *CreateInstancePool_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
- func (o *CreateInstancePool_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
- func (o *CreateInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
- func (o *CreateInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *CreateInstancePool_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
- func (o *CreateInstancePool_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
- func (o *CreateInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *CreateInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
- func (o *CreateInstancePool_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
- func (o *CreateInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
- func (o *CreateInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool_SdkV2)
- func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool_SdkV2)
- func (o CreateInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateInstancePool_SdkV2) Type(ctx context.Context) attr.Type
- type CreatePolicy
- func (c CreatePolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreatePolicy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreatePolicy) GetLibraries(ctx context.Context) ([]Library, bool)
- func (o *CreatePolicy) SetLibraries(ctx context.Context, v []Library)
- func (newState *CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy)
- func (newState *CreatePolicy) SyncEffectiveFieldsDuringRead(existingState CreatePolicy)
- func (o CreatePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreatePolicy) Type(ctx context.Context) attr.Type
- type CreatePolicyResponse
- func (c CreatePolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreatePolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse)
- func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse)
- func (o CreatePolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreatePolicyResponse) Type(ctx context.Context) attr.Type
- type CreatePolicyResponse_SdkV2
- func (c CreatePolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreatePolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse_SdkV2)
- func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse_SdkV2)
- func (o CreatePolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreatePolicyResponse_SdkV2) Type(ctx context.Context) attr.Type
- type CreatePolicy_SdkV2
- func (c CreatePolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a CreatePolicy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreatePolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
- func (o *CreatePolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
- func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy_SdkV2)
- func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicy_SdkV2)
- func (o CreatePolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreatePolicy_SdkV2) Type(ctx context.Context) attr.Type
- type CreateResponse
- type CreateResponse_SdkV2
- type Created
- func (c Created) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Created) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Created) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created)
- func (newState *Created) SyncEffectiveFieldsDuringRead(existingState Created)
- func (o Created) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Created) Type(ctx context.Context) attr.Type
- type Created_SdkV2
- func (c Created_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Created_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Created_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created_SdkV2)
- func (newState *Created_SdkV2) SyncEffectiveFieldsDuringRead(existingState Created_SdkV2)
- func (o Created_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Created_SdkV2) Type(ctx context.Context) attr.Type
- type DataPlaneEventDetails
- func (c DataPlaneEventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DataPlaneEventDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails)
- func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails)
- func (o DataPlaneEventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DataPlaneEventDetails) Type(ctx context.Context) attr.Type
- type DataPlaneEventDetails_SdkV2
- func (c DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DataPlaneEventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails_SdkV2)
- func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails_SdkV2)
- func (o DataPlaneEventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DataPlaneEventDetails_SdkV2) Type(ctx context.Context) attr.Type
- type DbfsStorageInfo
- func (c DbfsStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DbfsStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo)
- func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo)
- func (o DbfsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbfsStorageInfo) Type(ctx context.Context) attr.Type
- type DbfsStorageInfo_SdkV2
- func (c DbfsStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DbfsStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo_SdkV2)
- func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo_SdkV2)
- func (o DbfsStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DbfsStorageInfo_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteCluster
- func (c DeleteCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster)
- func (newState *DeleteCluster) SyncEffectiveFieldsDuringRead(existingState DeleteCluster)
- func (o DeleteCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteCluster) Type(ctx context.Context) attr.Type
- type DeleteClusterResponse
- func (c DeleteClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse)
- func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse)
- func (o DeleteClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteClusterResponse) Type(ctx context.Context) attr.Type
- type DeleteClusterResponse_SdkV2
- func (c DeleteClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse_SdkV2)
- func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse_SdkV2)
- func (o DeleteClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteCluster_SdkV2
- func (c DeleteCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster_SdkV2)
- func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCluster_SdkV2)
- func (o DeleteCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteCluster_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteGlobalInitScriptRequest
- type DeleteGlobalInitScriptRequest_SdkV2
- type DeleteInstancePool
- func (c DeleteInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool)
- func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool)
- func (o DeleteInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteInstancePool) Type(ctx context.Context) attr.Type
- type DeleteInstancePoolResponse
- func (c DeleteInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse)
- func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse)
- func (o DeleteInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteInstancePoolResponse) Type(ctx context.Context) attr.Type
- type DeleteInstancePoolResponse_SdkV2
- func (c DeleteInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse_SdkV2)
- func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse_SdkV2)
- func (o DeleteInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteInstancePoolResponse_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteInstancePool_SdkV2
- func (c DeleteInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeleteInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool_SdkV2)
- func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool_SdkV2)
- func (o DeleteInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteInstancePool_SdkV2) Type(ctx context.Context) attr.Type
- type DeletePolicy
- func (c DeletePolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeletePolicy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeletePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy)
- func (newState *DeletePolicy) SyncEffectiveFieldsDuringRead(existingState DeletePolicy)
- func (o DeletePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeletePolicy) Type(ctx context.Context) attr.Type
- type DeletePolicyResponse
- func (c DeletePolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeletePolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse)
- func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse)
- func (o DeletePolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeletePolicyResponse) Type(ctx context.Context) attr.Type
- type DeletePolicyResponse_SdkV2
- func (c DeletePolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeletePolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse_SdkV2)
- func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse_SdkV2)
- func (o DeletePolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeletePolicyResponse_SdkV2) Type(ctx context.Context) attr.Type
- type DeletePolicy_SdkV2
- func (c DeletePolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DeletePolicy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy_SdkV2)
- func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicy_SdkV2)
- func (o DeletePolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeletePolicy_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteResponse
- type DeleteResponse_SdkV2
- type DestroyContext
- func (c DestroyContext) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DestroyContext) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DestroyContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext)
- func (newState *DestroyContext) SyncEffectiveFieldsDuringRead(existingState DestroyContext)
- func (o DestroyContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DestroyContext) Type(ctx context.Context) attr.Type
- type DestroyContext_SdkV2
- func (c DestroyContext_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DestroyContext_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext_SdkV2)
- func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState DestroyContext_SdkV2)
- func (o DestroyContext_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DestroyContext_SdkV2) Type(ctx context.Context) attr.Type
- type DestroyResponse
- type DestroyResponse_SdkV2
- type DiskSpec
- func (c DiskSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DiskSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DiskSpec) GetDiskType(ctx context.Context) (DiskType, bool)
- func (o *DiskSpec) SetDiskType(ctx context.Context, v DiskType)
- func (newState *DiskSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec)
- func (newState *DiskSpec) SyncEffectiveFieldsDuringRead(existingState DiskSpec)
- func (o DiskSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DiskSpec) Type(ctx context.Context) attr.Type
- type DiskSpec_SdkV2
- func (c DiskSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DiskSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DiskSpec_SdkV2) GetDiskType(ctx context.Context) (DiskType_SdkV2, bool)
- func (o *DiskSpec_SdkV2) SetDiskType(ctx context.Context, v DiskType_SdkV2)
- func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec_SdkV2)
- func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskSpec_SdkV2)
- func (o DiskSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DiskSpec_SdkV2) Type(ctx context.Context) attr.Type
- type DiskType
- func (c DiskType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DiskType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DiskType) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType)
- func (newState *DiskType) SyncEffectiveFieldsDuringRead(existingState DiskType)
- func (o DiskType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DiskType) Type(ctx context.Context) attr.Type
- type DiskType_SdkV2
- func (c DiskType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DiskType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType_SdkV2)
- func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskType_SdkV2)
- func (o DiskType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DiskType_SdkV2) Type(ctx context.Context) attr.Type
- type DockerBasicAuth
- func (c DockerBasicAuth) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DockerBasicAuth) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth)
- func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth)
- func (o DockerBasicAuth) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DockerBasicAuth) Type(ctx context.Context) attr.Type
- type DockerBasicAuth_SdkV2
- func (c DockerBasicAuth_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a DockerBasicAuth_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth_SdkV2)
- func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth_SdkV2)
- func (o DockerBasicAuth_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DockerBasicAuth_SdkV2) Type(ctx context.Context) attr.Type
- type DockerImage
- func (c DockerImage) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DockerImage) GetBasicAuth(ctx context.Context) (DockerBasicAuth, bool)
- func (a DockerImage) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DockerImage) SetBasicAuth(ctx context.Context, v DockerBasicAuth)
- func (newState *DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage)
- func (newState *DockerImage) SyncEffectiveFieldsDuringRead(existingState DockerImage)
- func (o DockerImage) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DockerImage) Type(ctx context.Context) attr.Type
- type DockerImage_SdkV2
- func (c DockerImage_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *DockerImage_SdkV2) GetBasicAuth(ctx context.Context) (DockerBasicAuth_SdkV2, bool)
- func (a DockerImage_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DockerImage_SdkV2) SetBasicAuth(ctx context.Context, v DockerBasicAuth_SdkV2)
- func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage_SdkV2)
- func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerImage_SdkV2)
- func (o DockerImage_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DockerImage_SdkV2) Type(ctx context.Context) attr.Type
- type EditCluster
- func (c EditCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EditCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (o *EditCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *EditCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *EditCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (a EditCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditCluster) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *EditCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *EditCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *EditCluster) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *EditCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *EditCluster) SetAutoscale(ctx context.Context, v AutoScale)
- func (o *EditCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *EditCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *EditCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *EditCluster) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *EditCluster) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *EditCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *EditCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *EditCluster) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *EditCluster) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *EditCluster) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *EditCluster) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster)
- func (newState *EditCluster) SyncEffectiveFieldsDuringRead(existingState EditCluster)
- func (o EditCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditCluster) Type(ctx context.Context) attr.Type
- type EditClusterResponse
- func (c EditClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse)
- func (newState *EditClusterResponse) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse)
- func (o EditClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditClusterResponse) Type(ctx context.Context) attr.Type
- type EditClusterResponse_SdkV2
- func (c EditClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse_SdkV2)
- func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse_SdkV2)
- func (o EditClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type EditCluster_SdkV2
- func (c EditCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EditCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (a EditCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditCluster_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *EditCluster_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *EditCluster_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *EditCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *EditCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (o *EditCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *EditCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *EditCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *EditCluster_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *EditCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *EditCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *EditCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *EditCluster_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *EditCluster_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *EditCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *EditCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster_SdkV2)
- func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditCluster_SdkV2)
- func (o EditCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditCluster_SdkV2) Type(ctx context.Context) attr.Type
- type EditInstancePool
- func (c EditInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *EditInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (newState *EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool)
- func (newState *EditInstancePool) SyncEffectiveFieldsDuringRead(existingState EditInstancePool)
- func (o EditInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditInstancePool) Type(ctx context.Context) attr.Type
- type EditInstancePoolResponse
- func (c EditInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse)
- func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse)
- func (o EditInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditInstancePoolResponse) Type(ctx context.Context) attr.Type
- type EditInstancePoolResponse_SdkV2
- func (c EditInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse_SdkV2)
- func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse_SdkV2)
- func (o EditInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditInstancePoolResponse_SdkV2) Type(ctx context.Context) attr.Type
- type EditInstancePool_SdkV2
- func (c EditInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *EditInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool_SdkV2)
- func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePool_SdkV2)
- func (o EditInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditInstancePool_SdkV2) Type(ctx context.Context) attr.Type
- type EditPolicy
- func (c EditPolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditPolicy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditPolicy) GetLibraries(ctx context.Context) ([]Library, bool)
- func (o *EditPolicy) SetLibraries(ctx context.Context, v []Library)
- func (newState *EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy)
- func (newState *EditPolicy) SyncEffectiveFieldsDuringRead(existingState EditPolicy)
- func (o EditPolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditPolicy) Type(ctx context.Context) attr.Type
- type EditPolicyResponse
- func (c EditPolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditPolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse)
- func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse)
- func (o EditPolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditPolicyResponse) Type(ctx context.Context) attr.Type
- type EditPolicyResponse_SdkV2
- func (c EditPolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditPolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse_SdkV2)
- func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse_SdkV2)
- func (o EditPolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditPolicyResponse_SdkV2) Type(ctx context.Context) attr.Type
- type EditPolicy_SdkV2
- func (c EditPolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EditPolicy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EditPolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
- func (o *EditPolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
- func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy_SdkV2)
- func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicy_SdkV2)
- func (o EditPolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EditPolicy_SdkV2) Type(ctx context.Context) attr.Type
- type EditResponse
- type EditResponse_SdkV2
- type EnforceClusterComplianceRequest
- func (c EnforceClusterComplianceRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforceClusterComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest)
- func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest)
- func (o EnforceClusterComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforceClusterComplianceRequest) Type(ctx context.Context) attr.Type
- type EnforceClusterComplianceRequest_SdkV2
- func (c EnforceClusterComplianceRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a EnforceClusterComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest_SdkV2)
- func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest_SdkV2)
- func (o EnforceClusterComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforceClusterComplianceRequest_SdkV2) Type(ctx context.Context) attr.Type
- type EnforceClusterComplianceResponse
- func (c EnforceClusterComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EnforceClusterComplianceResponse) GetChanges(ctx context.Context) ([]ClusterSettingsChange, bool)
- func (a EnforceClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EnforceClusterComplianceResponse) SetChanges(ctx context.Context, v []ClusterSettingsChange)
- func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse)
- func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse)
- func (o EnforceClusterComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforceClusterComplianceResponse) Type(ctx context.Context) attr.Type
- type EnforceClusterComplianceResponse_SdkV2
- func (c EnforceClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EnforceClusterComplianceResponse_SdkV2) GetChanges(ctx context.Context) ([]ClusterSettingsChange_SdkV2, bool)
- func (a EnforceClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EnforceClusterComplianceResponse_SdkV2) SetChanges(ctx context.Context, v []ClusterSettingsChange_SdkV2)
- func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse_SdkV2)
- func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse_SdkV2)
- func (o EnforceClusterComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EnforceClusterComplianceResponse_SdkV2) Type(ctx context.Context) attr.Type
- type Environment
- func (c Environment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Environment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Environment) GetDependencies(ctx context.Context) ([]types.String, bool)
- func (o *Environment) SetDependencies(ctx context.Context, v []types.String)
- func (newState *Environment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment)
- func (newState *Environment) SyncEffectiveFieldsDuringRead(existingState Environment)
- func (o Environment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Environment) Type(ctx context.Context) attr.Type
- type Environment_SdkV2
- func (c Environment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Environment_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Environment_SdkV2) GetDependencies(ctx context.Context) ([]types.String, bool)
- func (o *Environment_SdkV2) SetDependencies(ctx context.Context, v []types.String)
- func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment_SdkV2)
- func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringRead(existingState Environment_SdkV2)
- func (o Environment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Environment_SdkV2) Type(ctx context.Context) attr.Type
- type EventDetails
- func (c EventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EventDetails) GetAttributes(ctx context.Context) (ClusterAttributes, bool)
- func (o *EventDetails) GetClusterSize(ctx context.Context) (ClusterSize, bool)
- func (a EventDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EventDetails) GetInitScripts(ctx context.Context) (InitScriptEventDetails, bool)
- func (o *EventDetails) GetPreviousAttributes(ctx context.Context) (ClusterAttributes, bool)
- func (o *EventDetails) GetPreviousClusterSize(ctx context.Context) (ClusterSize, bool)
- func (o *EventDetails) GetReason(ctx context.Context) (TerminationReason, bool)
- func (o *EventDetails) SetAttributes(ctx context.Context, v ClusterAttributes)
- func (o *EventDetails) SetClusterSize(ctx context.Context, v ClusterSize)
- func (o *EventDetails) SetInitScripts(ctx context.Context, v InitScriptEventDetails)
- func (o *EventDetails) SetPreviousAttributes(ctx context.Context, v ClusterAttributes)
- func (o *EventDetails) SetPreviousClusterSize(ctx context.Context, v ClusterSize)
- func (o *EventDetails) SetReason(ctx context.Context, v TerminationReason)
- func (newState *EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails)
- func (newState *EventDetails) SyncEffectiveFieldsDuringRead(existingState EventDetails)
- func (o EventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EventDetails) Type(ctx context.Context) attr.Type
- type EventDetails_SdkV2
- func (c EventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *EventDetails_SdkV2) GetAttributes(ctx context.Context) (ClusterAttributes_SdkV2, bool)
- func (o *EventDetails_SdkV2) GetClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)
- func (a EventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EventDetails_SdkV2) GetInitScripts(ctx context.Context) (InitScriptEventDetails_SdkV2, bool)
- func (o *EventDetails_SdkV2) GetPreviousAttributes(ctx context.Context) (ClusterAttributes_SdkV2, bool)
- func (o *EventDetails_SdkV2) GetPreviousClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)
- func (o *EventDetails_SdkV2) GetReason(ctx context.Context) (TerminationReason_SdkV2, bool)
- func (o *EventDetails_SdkV2) SetAttributes(ctx context.Context, v ClusterAttributes_SdkV2)
- func (o *EventDetails_SdkV2) SetClusterSize(ctx context.Context, v ClusterSize_SdkV2)
- func (o *EventDetails_SdkV2) SetInitScripts(ctx context.Context, v InitScriptEventDetails_SdkV2)
- func (o *EventDetails_SdkV2) SetPreviousAttributes(ctx context.Context, v ClusterAttributes_SdkV2)
- func (o *EventDetails_SdkV2) SetPreviousClusterSize(ctx context.Context, v ClusterSize_SdkV2)
- func (o *EventDetails_SdkV2) SetReason(ctx context.Context, v TerminationReason_SdkV2)
- func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails_SdkV2)
- func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState EventDetails_SdkV2)
- func (o EventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EventDetails_SdkV2) Type(ctx context.Context) attr.Type
- type GcpAttributes
- func (c GcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GcpAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes)
- func (newState *GcpAttributes) SyncEffectiveFieldsDuringRead(existingState GcpAttributes)
- func (o GcpAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GcpAttributes) Type(ctx context.Context) attr.Type
- type GcpAttributes_SdkV2
- func (c GcpAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GcpAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes_SdkV2)
- func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpAttributes_SdkV2)
- func (o GcpAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GcpAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type GcsStorageInfo
- func (c GcsStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GcsStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo)
- func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo)
- func (o GcsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GcsStorageInfo) Type(ctx context.Context) attr.Type
- type GcsStorageInfo_SdkV2
- func (c GcsStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GcsStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo_SdkV2)
- func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo_SdkV2)
- func (o GcsStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GcsStorageInfo_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterComplianceRequest
- type GetClusterComplianceRequest_SdkV2
- type GetClusterComplianceResponse
- func (c GetClusterComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterComplianceResponse) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *GetClusterComplianceResponse) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse)
- func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse)
- func (o GetClusterComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterComplianceResponse) Type(ctx context.Context) attr.Type
- type GetClusterComplianceResponse_SdkV2
- func (c GetClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterComplianceResponse_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
- func (o *GetClusterComplianceResponse_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
- func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse_SdkV2)
- func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse_SdkV2)
- func (o GetClusterComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterComplianceResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPermissionLevelsRequest
- type GetClusterPermissionLevelsRequest_SdkV2
- func (a GetClusterPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetClusterPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPermissionLevelsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPermissionLevelsResponse
- func (c GetClusterPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ClusterPermissionsDescription, bool)
- func (o *GetClusterPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ClusterPermissionsDescription)
- func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse)
- func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse)
- func (o GetClusterPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetClusterPermissionLevelsResponse_SdkV2
- func (c GetClusterPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]ClusterPermissionsDescription_SdkV2, bool)
- func (o *GetClusterPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []ClusterPermissionsDescription_SdkV2)
- func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse_SdkV2)
- func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse_SdkV2)
- func (o GetClusterPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPermissionLevelsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPermissionsRequest
- type GetClusterPermissionsRequest_SdkV2
- type GetClusterPolicyPermissionLevelsRequest
- func (a GetClusterPolicyPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetClusterPolicyPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPolicyPermissionLevelsRequest) Type(ctx context.Context) attr.Type
- type GetClusterPolicyPermissionLevelsRequest_SdkV2
- func (a GetClusterPolicyPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetClusterPolicyPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPolicyPermissionLevelsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPolicyPermissionLevelsResponse
- func (c GetClusterPolicyPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterPolicyPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterPolicyPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ClusterPolicyPermissionsDescription, bool)
- func (o *GetClusterPolicyPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ClusterPolicyPermissionsDescription)
- func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse)
- func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse)
- func (o GetClusterPolicyPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPolicyPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetClusterPolicyPermissionLevelsResponse_SdkV2
- func (c GetClusterPolicyPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetClusterPolicyPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetClusterPolicyPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]ClusterPolicyPermissionsDescription_SdkV2, bool)
- func (o *GetClusterPolicyPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []ClusterPolicyPermissionsDescription_SdkV2)
- func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse_SdkV2)
- func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse_SdkV2)
- func (o GetClusterPolicyPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPolicyPermissionLevelsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPolicyPermissionsRequest
- type GetClusterPolicyPermissionsRequest_SdkV2
- func (a GetClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetClusterPolicyPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetClusterPolicyPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetClusterPolicyRequest
- type GetClusterPolicyRequest_SdkV2
- type GetClusterRequest
- type GetClusterRequest_SdkV2
- type GetEvents
- func (c GetEvents) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetEvents) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetEvents) GetEventTypes(ctx context.Context) ([]types.String, bool)
- func (o *GetEvents) SetEventTypes(ctx context.Context, v []types.String)
- func (newState *GetEvents) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvents)
- func (newState *GetEvents) SyncEffectiveFieldsDuringRead(existingState GetEvents)
- func (o GetEvents) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetEvents) Type(ctx context.Context) attr.Type
- type GetEventsResponse
- func (c GetEventsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetEventsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetEventsResponse) GetEvents(ctx context.Context) ([]ClusterEvent, bool)
- func (o *GetEventsResponse) GetNextPage(ctx context.Context) (GetEvents, bool)
- func (o *GetEventsResponse) SetEvents(ctx context.Context, v []ClusterEvent)
- func (o *GetEventsResponse) SetNextPage(ctx context.Context, v GetEvents)
- func (newState *GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse)
- func (newState *GetEventsResponse) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse)
- func (o GetEventsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetEventsResponse) Type(ctx context.Context) attr.Type
- type GetEventsResponse_SdkV2
- func (c GetEventsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetEventsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetEventsResponse_SdkV2) GetEvents(ctx context.Context) ([]ClusterEvent_SdkV2, bool)
- func (o *GetEventsResponse_SdkV2) GetNextPage(ctx context.Context) (GetEvents_SdkV2, bool)
- func (o *GetEventsResponse_SdkV2) SetEvents(ctx context.Context, v []ClusterEvent_SdkV2)
- func (o *GetEventsResponse_SdkV2) SetNextPage(ctx context.Context, v GetEvents_SdkV2)
- func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse_SdkV2)
- func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse_SdkV2)
- func (o GetEventsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetEventsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetEvents_SdkV2
- func (c GetEvents_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetEvents_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetEvents_SdkV2) GetEventTypes(ctx context.Context) ([]types.String, bool)
- func (o *GetEvents_SdkV2) SetEventTypes(ctx context.Context, v []types.String)
- func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvents_SdkV2)
- func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEvents_SdkV2)
- func (o GetEvents_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetEvents_SdkV2) Type(ctx context.Context) attr.Type
- type GetGlobalInitScriptRequest
- type GetGlobalInitScriptRequest_SdkV2
- type GetInstancePool
- func (c GetInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *GetInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
- func (o *GetInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
- func (a GetInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *GetInstancePool) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *GetInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
- func (o *GetInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
- func (o *GetInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
- func (o *GetInstancePool) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *GetInstancePool) GetStats(ctx context.Context) (InstancePoolStats, bool)
- func (o *GetInstancePool) GetStatus(ctx context.Context) (InstancePoolStatus, bool)
- func (o *GetInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
- func (o *GetInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
- func (o *GetInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *GetInstancePool) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *GetInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)
- func (o *GetInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
- func (o *GetInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
- func (o *GetInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (o *GetInstancePool) SetStats(ctx context.Context, v InstancePoolStats)
- func (o *GetInstancePool) SetStatus(ctx context.Context, v InstancePoolStatus)
- func (newState *GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool)
- func (newState *GetInstancePool) SyncEffectiveFieldsDuringRead(existingState GetInstancePool)
- func (o GetInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePool) Type(ctx context.Context) attr.Type
- type GetInstancePoolPermissionLevelsRequest
- func (a GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetInstancePoolPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePoolPermissionLevelsRequest) Type(ctx context.Context) attr.Type
- type GetInstancePoolPermissionLevelsRequest_SdkV2
- func (a GetInstancePoolPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetInstancePoolPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePoolPermissionLevelsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetInstancePoolPermissionLevelsResponse
- func (c GetInstancePoolPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetInstancePoolPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetInstancePoolPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]InstancePoolPermissionsDescription, bool)
- func (o *GetInstancePoolPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []InstancePoolPermissionsDescription)
- func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse)
- func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse)
- func (o GetInstancePoolPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePoolPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetInstancePoolPermissionLevelsResponse_SdkV2
- func (c GetInstancePoolPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetInstancePoolPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetInstancePoolPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]InstancePoolPermissionsDescription_SdkV2, bool)
- func (o *GetInstancePoolPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []InstancePoolPermissionsDescription_SdkV2)
- func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse_SdkV2)
- func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse_SdkV2)
- func (o GetInstancePoolPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePoolPermissionLevelsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GetInstancePoolPermissionsRequest
- type GetInstancePoolPermissionsRequest_SdkV2
- func (a GetInstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o GetInstancePoolPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePoolPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetInstancePoolRequest
- type GetInstancePoolRequest_SdkV2
- type GetInstancePool_SdkV2
- func (c GetInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *GetInstancePool_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
- func (a GetInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *GetInstancePool_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *GetInstancePool_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *GetInstancePool_SdkV2) GetStats(ctx context.Context) (InstancePoolStats_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) GetStatus(ctx context.Context) (InstancePoolStatus_SdkV2, bool)
- func (o *GetInstancePool_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
- func (o *GetInstancePool_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
- func (o *GetInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *GetInstancePool_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *GetInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
- func (o *GetInstancePool_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
- func (o *GetInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
- func (o *GetInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (o *GetInstancePool_SdkV2) SetStats(ctx context.Context, v InstancePoolStats_SdkV2)
- func (o *GetInstancePool_SdkV2) SetStatus(ctx context.Context, v InstancePoolStatus_SdkV2)
- func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool_SdkV2)
- func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePool_SdkV2)
- func (o GetInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetInstancePool_SdkV2) Type(ctx context.Context) attr.Type
- type GetPolicyFamilyRequest
- type GetPolicyFamilyRequest_SdkV2
- type GetSparkVersionsResponse
- func (c GetSparkVersionsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetSparkVersionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetSparkVersionsResponse) GetVersions(ctx context.Context) ([]SparkVersion, bool)
- func (o *GetSparkVersionsResponse) SetVersions(ctx context.Context, v []SparkVersion)
- func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse)
- func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse)
- func (o GetSparkVersionsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetSparkVersionsResponse) Type(ctx context.Context) attr.Type
- type GetSparkVersionsResponse_SdkV2
- func (c GetSparkVersionsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GetSparkVersionsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetSparkVersionsResponse_SdkV2) GetVersions(ctx context.Context) ([]SparkVersion_SdkV2, bool)
- func (o *GetSparkVersionsResponse_SdkV2) SetVersions(ctx context.Context, v []SparkVersion_SdkV2)
- func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse_SdkV2)
- func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse_SdkV2)
- func (o GetSparkVersionsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetSparkVersionsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type GlobalInitScriptCreateRequest
- func (c GlobalInitScriptCreateRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptCreateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest)
- func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest)
- func (o GlobalInitScriptCreateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptCreateRequest) Type(ctx context.Context) attr.Type
- type GlobalInitScriptCreateRequest_SdkV2
- func (c GlobalInitScriptCreateRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptCreateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest_SdkV2)
- func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest_SdkV2)
- func (o GlobalInitScriptCreateRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptCreateRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GlobalInitScriptDetails
- func (c GlobalInitScriptDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails)
- func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails)
- func (o GlobalInitScriptDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptDetails) Type(ctx context.Context) attr.Type
- type GlobalInitScriptDetailsWithContent
- func (c GlobalInitScriptDetailsWithContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptDetailsWithContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent)
- func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent)
- func (o GlobalInitScriptDetailsWithContent) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptDetailsWithContent) Type(ctx context.Context) attr.Type
- type GlobalInitScriptDetailsWithContent_SdkV2
- func (c GlobalInitScriptDetailsWithContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptDetailsWithContent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent_SdkV2)
- func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent_SdkV2)
- func (o GlobalInitScriptDetailsWithContent_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptDetailsWithContent_SdkV2) Type(ctx context.Context) attr.Type
- type GlobalInitScriptDetails_SdkV2
- func (c GlobalInitScriptDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails_SdkV2)
- func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails_SdkV2)
- func (o GlobalInitScriptDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptDetails_SdkV2) Type(ctx context.Context) attr.Type
- type GlobalInitScriptUpdateRequest
- func (c GlobalInitScriptUpdateRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptUpdateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest)
- func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest)
- func (o GlobalInitScriptUpdateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptUpdateRequest) Type(ctx context.Context) attr.Type
- type GlobalInitScriptUpdateRequest_SdkV2
- func (c GlobalInitScriptUpdateRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a GlobalInitScriptUpdateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest_SdkV2)
- func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest_SdkV2)
- func (o GlobalInitScriptUpdateRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GlobalInitScriptUpdateRequest_SdkV2) Type(ctx context.Context) attr.Type
- type InitScriptEventDetails
- func (c InitScriptEventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InitScriptEventDetails) GetCluster(ctx context.Context) ([]InitScriptInfoAndExecutionDetails, bool)
- func (a InitScriptEventDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptEventDetails) GetGlobal(ctx context.Context) ([]InitScriptInfoAndExecutionDetails, bool)
- func (o *InitScriptEventDetails) SetCluster(ctx context.Context, v []InitScriptInfoAndExecutionDetails)
- func (o *InitScriptEventDetails) SetGlobal(ctx context.Context, v []InitScriptInfoAndExecutionDetails)
- func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails)
- func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails)
- func (o InitScriptEventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptEventDetails) Type(ctx context.Context) attr.Type
- type InitScriptEventDetails_SdkV2
- func (c InitScriptEventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InitScriptEventDetails_SdkV2) GetCluster(ctx context.Context) ([]InitScriptInfoAndExecutionDetails_SdkV2, bool)
- func (a InitScriptEventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptEventDetails_SdkV2) GetGlobal(ctx context.Context) ([]InitScriptInfoAndExecutionDetails_SdkV2, bool)
- func (o *InitScriptEventDetails_SdkV2) SetCluster(ctx context.Context, v []InitScriptInfoAndExecutionDetails_SdkV2)
- func (o *InitScriptEventDetails_SdkV2) SetGlobal(ctx context.Context, v []InitScriptInfoAndExecutionDetails_SdkV2)
- func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails_SdkV2)
- func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails_SdkV2)
- func (o InitScriptEventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptEventDetails_SdkV2) Type(ctx context.Context) attr.Type
- type InitScriptExecutionDetails
- func (c InitScriptExecutionDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InitScriptExecutionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails)
- func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails)
- func (o InitScriptExecutionDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptExecutionDetails) Type(ctx context.Context) attr.Type
- type InitScriptExecutionDetails_SdkV2
- func (c InitScriptExecutionDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InitScriptExecutionDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails_SdkV2)
- func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails_SdkV2)
- func (o InitScriptExecutionDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptExecutionDetails_SdkV2) Type(ctx context.Context) attr.Type
- type InitScriptInfo
- func (c InitScriptInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InitScriptInfo) GetAbfss(ctx context.Context) (Adlsgen2Info, bool)
- func (a InitScriptInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptInfo) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)
- func (o *InitScriptInfo) GetFile(ctx context.Context) (LocalFileInfo, bool)
- func (o *InitScriptInfo) GetGcs(ctx context.Context) (GcsStorageInfo, bool)
- func (o *InitScriptInfo) GetS3(ctx context.Context) (S3StorageInfo, bool)
- func (o *InitScriptInfo) GetVolumes(ctx context.Context) (VolumesStorageInfo, bool)
- func (o *InitScriptInfo) GetWorkspace(ctx context.Context) (WorkspaceStorageInfo, bool)
- func (o *InitScriptInfo) SetAbfss(ctx context.Context, v Adlsgen2Info)
- func (o *InitScriptInfo) SetDbfs(ctx context.Context, v DbfsStorageInfo)
- func (o *InitScriptInfo) SetFile(ctx context.Context, v LocalFileInfo)
- func (o *InitScriptInfo) SetGcs(ctx context.Context, v GcsStorageInfo)
- func (o *InitScriptInfo) SetS3(ctx context.Context, v S3StorageInfo)
- func (o *InitScriptInfo) SetVolumes(ctx context.Context, v VolumesStorageInfo)
- func (o *InitScriptInfo) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo)
- func (newState *InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo)
- func (newState *InitScriptInfo) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo)
- func (o InitScriptInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptInfo) Type(ctx context.Context) attr.Type
- type InitScriptInfoAndExecutionDetails
- func (c InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InitScriptInfoAndExecutionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptInfoAndExecutionDetails) GetExecutionDetails(ctx context.Context) (InitScriptExecutionDetails, bool)
- func (o *InitScriptInfoAndExecutionDetails) GetScript(ctx context.Context) (InitScriptInfo, bool)
- func (o *InitScriptInfoAndExecutionDetails) SetExecutionDetails(ctx context.Context, v InitScriptExecutionDetails)
- func (o *InitScriptInfoAndExecutionDetails) SetScript(ctx context.Context, v InitScriptInfo)
- func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails)
- func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails)
- func (o InitScriptInfoAndExecutionDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptInfoAndExecutionDetails) Type(ctx context.Context) attr.Type
- type InitScriptInfoAndExecutionDetails_SdkV2
- func (c InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InitScriptInfoAndExecutionDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptInfoAndExecutionDetails_SdkV2) GetExecutionDetails(ctx context.Context) (InitScriptExecutionDetails_SdkV2, bool)
- func (o *InitScriptInfoAndExecutionDetails_SdkV2) GetScript(ctx context.Context) (InitScriptInfo_SdkV2, bool)
- func (o *InitScriptInfoAndExecutionDetails_SdkV2) SetExecutionDetails(ctx context.Context, v InitScriptExecutionDetails_SdkV2)
- func (o *InitScriptInfoAndExecutionDetails_SdkV2) SetScript(ctx context.Context, v InitScriptInfo_SdkV2)
- func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails_SdkV2)
- func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails_SdkV2)
- func (o InitScriptInfoAndExecutionDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptInfoAndExecutionDetails_SdkV2) Type(ctx context.Context) attr.Type
- type InitScriptInfo_SdkV2
- func (c InitScriptInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InitScriptInfo_SdkV2) GetAbfss(ctx context.Context) (Adlsgen2Info_SdkV2, bool)
- func (a InitScriptInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InitScriptInfo_SdkV2) GetDbfs(ctx context.Context) (DbfsStorageInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) GetFile(ctx context.Context) (LocalFileInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) GetGcs(ctx context.Context) (GcsStorageInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) GetS3(ctx context.Context) (S3StorageInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) GetVolumes(ctx context.Context) (VolumesStorageInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) GetWorkspace(ctx context.Context) (WorkspaceStorageInfo_SdkV2, bool)
- func (o *InitScriptInfo_SdkV2) SetAbfss(ctx context.Context, v Adlsgen2Info_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetDbfs(ctx context.Context, v DbfsStorageInfo_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetFile(ctx context.Context, v LocalFileInfo_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetGcs(ctx context.Context, v GcsStorageInfo_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetS3(ctx context.Context, v S3StorageInfo_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetVolumes(ctx context.Context, v VolumesStorageInfo_SdkV2)
- func (o *InitScriptInfo_SdkV2) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo_SdkV2)
- func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo_SdkV2)
- func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo_SdkV2)
- func (o InitScriptInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InitScriptInfo_SdkV2) Type(ctx context.Context) attr.Type
- type InstallLibraries
- func (c InstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstallLibraries) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)
- func (o *InstallLibraries) SetLibraries(ctx context.Context, v []Library)
- func (newState *InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries)
- func (newState *InstallLibraries) SyncEffectiveFieldsDuringRead(existingState InstallLibraries)
- func (o InstallLibraries) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstallLibraries) Type(ctx context.Context) attr.Type
- type InstallLibrariesResponse
- func (c InstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstallLibrariesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse)
- func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse)
- func (o InstallLibrariesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstallLibrariesResponse) Type(ctx context.Context) attr.Type
- type InstallLibrariesResponse_SdkV2
- func (c InstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse_SdkV2)
- func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse_SdkV2)
- func (o InstallLibrariesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstallLibrariesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type InstallLibraries_SdkV2
- func (c InstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstallLibraries_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
- func (o *InstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
- func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries_SdkV2)
- func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibraries_SdkV2)
- func (o InstallLibraries_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstallLibraries_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolAccessControlRequest
- func (c InstancePoolAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest)
- func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest)
- func (o InstancePoolAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAccessControlRequest) Type(ctx context.Context) attr.Type
- type InstancePoolAccessControlRequest_SdkV2
- func (c InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest_SdkV2)
- func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest_SdkV2)
- func (o InstancePoolAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAccessControlRequest_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolAccessControlResponse
- func (c InstancePoolAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolAccessControlResponse) GetAllPermissions(ctx context.Context) ([]InstancePoolPermission, bool)
- func (a InstancePoolAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolAccessControlResponse) SetAllPermissions(ctx context.Context, v []InstancePoolPermission)
- func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse)
- func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse)
- func (o InstancePoolAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAccessControlResponse) Type(ctx context.Context) attr.Type
- type InstancePoolAccessControlResponse_SdkV2
- func (c InstancePoolAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]InstancePoolPermission_SdkV2, bool)
- func (a InstancePoolAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []InstancePoolPermission_SdkV2)
- func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse_SdkV2)
- func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse_SdkV2)
- func (o InstancePoolAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAccessControlResponse_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolAndStats
- func (c InstancePoolAndStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolAndStats) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
- func (o *InstancePoolAndStats) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
- func (a InstancePoolAndStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolAndStats) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *InstancePoolAndStats) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *InstancePoolAndStats) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
- func (o *InstancePoolAndStats) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
- func (o *InstancePoolAndStats) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
- func (o *InstancePoolAndStats) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *InstancePoolAndStats) GetStats(ctx context.Context) (InstancePoolStats, bool)
- func (o *InstancePoolAndStats) GetStatus(ctx context.Context) (InstancePoolStatus, bool)
- func (o *InstancePoolAndStats) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
- func (o *InstancePoolAndStats) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
- func (o *InstancePoolAndStats) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *InstancePoolAndStats) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *InstancePoolAndStats) SetDiskSpec(ctx context.Context, v DiskSpec)
- func (o *InstancePoolAndStats) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
- func (o *InstancePoolAndStats) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
- func (o *InstancePoolAndStats) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (o *InstancePoolAndStats) SetStats(ctx context.Context, v InstancePoolStats)
- func (o *InstancePoolAndStats) SetStatus(ctx context.Context, v InstancePoolStatus)
- func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats)
- func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats)
- func (o InstancePoolAndStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAndStats) Type(ctx context.Context) attr.Type
- type InstancePoolAndStats_SdkV2
- func (c InstancePoolAndStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolAndStats_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
- func (a InstancePoolAndStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolAndStats_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *InstancePoolAndStats_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
- func (o *InstancePoolAndStats_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
- func (o *InstancePoolAndStats_SdkV2) GetStats(ctx context.Context) (InstancePoolStats_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) GetStatus(ctx context.Context) (InstancePoolStatus_SdkV2, bool)
- func (o *InstancePoolAndStats_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *InstancePoolAndStats_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)
- func (o *InstancePoolAndStats_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
- func (o *InstancePoolAndStats_SdkV2) SetStats(ctx context.Context, v InstancePoolStats_SdkV2)
- func (o *InstancePoolAndStats_SdkV2) SetStatus(ctx context.Context, v InstancePoolStatus_SdkV2)
- func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats_SdkV2)
- func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats_SdkV2)
- func (o InstancePoolAndStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAndStats_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolAwsAttributes
- func (c InstancePoolAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes)
- func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes)
- func (o InstancePoolAwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAwsAttributes) Type(ctx context.Context) attr.Type
- type InstancePoolAwsAttributes_SdkV2
- func (c InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes_SdkV2)
- func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes_SdkV2)
- func (o InstancePoolAwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAwsAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolAzureAttributes
- func (c InstancePoolAzureAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAzureAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes)
- func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes)
- func (o InstancePoolAzureAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAzureAttributes) Type(ctx context.Context) attr.Type
- type InstancePoolAzureAttributes_SdkV2
- func (c InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes_SdkV2)
- func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes_SdkV2)
- func (o InstancePoolAzureAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolAzureAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolGcpAttributes
- func (c InstancePoolGcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolGcpAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes)
- func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes)
- func (o InstancePoolGcpAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolGcpAttributes) Type(ctx context.Context) attr.Type
- type InstancePoolGcpAttributes_SdkV2
- func (c InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes_SdkV2)
- func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes_SdkV2)
- func (o InstancePoolGcpAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolGcpAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolPermission
- func (c InstancePoolPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *InstancePoolPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission)
- func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission)
- func (o InstancePoolPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermission) Type(ctx context.Context) attr.Type
- type InstancePoolPermission_SdkV2
- func (c InstancePoolPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *InstancePoolPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission_SdkV2)
- func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission_SdkV2)
- func (o InstancePoolPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermission_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolPermissions
- func (c InstancePoolPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolPermissions) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlResponse, bool)
- func (a InstancePoolPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermissions) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlResponse)
- func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions)
- func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions)
- func (o InstancePoolPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissions) Type(ctx context.Context) attr.Type
- type InstancePoolPermissionsDescription
- func (c InstancePoolPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription)
- func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription)
- func (o InstancePoolPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissionsDescription) Type(ctx context.Context) attr.Type
- type InstancePoolPermissionsDescription_SdkV2
- func (c InstancePoolPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription_SdkV2)
- func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription_SdkV2)
- func (o InstancePoolPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissionsDescription_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolPermissionsRequest
- func (c InstancePoolPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolPermissionsRequest) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlRequest, bool)
- func (a InstancePoolPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermissionsRequest) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlRequest)
- func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest)
- func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest)
- func (o InstancePoolPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissionsRequest) Type(ctx context.Context) attr.Type
- type InstancePoolPermissionsRequest_SdkV2
- func (c InstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlRequest_SdkV2, bool)
- func (a InstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlRequest_SdkV2)
- func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest_SdkV2)
- func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest_SdkV2)
- func (o InstancePoolPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissionsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolPermissions_SdkV2
- func (c InstancePoolPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *InstancePoolPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlResponse_SdkV2, bool)
- func (a InstancePoolPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlResponse_SdkV2)
- func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions_SdkV2)
- func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions_SdkV2)
- func (o InstancePoolPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolPermissions_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolStats
- func (c InstancePoolStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats)
- func (newState *InstancePoolStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats)
- func (o InstancePoolStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolStats) Type(ctx context.Context) attr.Type
- type InstancePoolStats_SdkV2
- func (c InstancePoolStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats_SdkV2)
- func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats_SdkV2)
- func (o InstancePoolStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolStats_SdkV2) Type(ctx context.Context) attr.Type
- type InstancePoolStatus
- func (c InstancePoolStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolStatus) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError, bool)
- func (o *InstancePoolStatus) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError)
- func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus)
- func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus)
- func (o InstancePoolStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolStatus) Type(ctx context.Context) attr.Type
- type InstancePoolStatus_SdkV2
- func (c InstancePoolStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstancePoolStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *InstancePoolStatus_SdkV2) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError_SdkV2, bool)
- func (o *InstancePoolStatus_SdkV2) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError_SdkV2)
- func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus_SdkV2)
- func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus_SdkV2)
- func (o InstancePoolStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstancePoolStatus_SdkV2) Type(ctx context.Context) attr.Type
- type InstanceProfile
- func (c InstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstanceProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile)
- func (newState *InstanceProfile) SyncEffectiveFieldsDuringRead(existingState InstanceProfile)
- func (o InstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstanceProfile) Type(ctx context.Context) attr.Type
- type InstanceProfile_SdkV2
- func (c InstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a InstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile_SdkV2)
- func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstanceProfile_SdkV2)
- func (o InstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o InstanceProfile_SdkV2) Type(ctx context.Context) attr.Type
- type Library
- func (c Library) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Library) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Library) GetCran(ctx context.Context) (RCranLibrary, bool)
- func (o *Library) GetMaven(ctx context.Context) (MavenLibrary, bool)
- func (o *Library) GetPypi(ctx context.Context) (PythonPyPiLibrary, bool)
- func (o *Library) SetCran(ctx context.Context, v RCranLibrary)
- func (o *Library) SetMaven(ctx context.Context, v MavenLibrary)
- func (o *Library) SetPypi(ctx context.Context, v PythonPyPiLibrary)
- func (newState *Library) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library)
- func (newState *Library) SyncEffectiveFieldsDuringRead(existingState Library)
- func (o Library) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Library) Type(ctx context.Context) attr.Type
- type LibraryFullStatus
- func (c LibraryFullStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LibraryFullStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *LibraryFullStatus) GetLibrary(ctx context.Context) (Library, bool)
- func (o *LibraryFullStatus) GetMessages(ctx context.Context) ([]types.String, bool)
- func (o *LibraryFullStatus) SetLibrary(ctx context.Context, v Library)
- func (o *LibraryFullStatus) SetMessages(ctx context.Context, v []types.String)
- func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus)
- func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus)
- func (o LibraryFullStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LibraryFullStatus) Type(ctx context.Context) attr.Type
- type LibraryFullStatus_SdkV2
- func (c LibraryFullStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LibraryFullStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *LibraryFullStatus_SdkV2) GetLibrary(ctx context.Context) (Library_SdkV2, bool)
- func (o *LibraryFullStatus_SdkV2) GetMessages(ctx context.Context) ([]types.String, bool)
- func (o *LibraryFullStatus_SdkV2) SetLibrary(ctx context.Context, v Library_SdkV2)
- func (o *LibraryFullStatus_SdkV2) SetMessages(ctx context.Context, v []types.String)
- func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus_SdkV2)
- func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus_SdkV2)
- func (o LibraryFullStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LibraryFullStatus_SdkV2) Type(ctx context.Context) attr.Type
- type Library_SdkV2
- func (c Library_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Library_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Library_SdkV2) GetCran(ctx context.Context) (RCranLibrary_SdkV2, bool)
- func (o *Library_SdkV2) GetMaven(ctx context.Context) (MavenLibrary_SdkV2, bool)
- func (o *Library_SdkV2) GetPypi(ctx context.Context) (PythonPyPiLibrary_SdkV2, bool)
- func (o *Library_SdkV2) SetCran(ctx context.Context, v RCranLibrary_SdkV2)
- func (o *Library_SdkV2) SetMaven(ctx context.Context, v MavenLibrary_SdkV2)
- func (o *Library_SdkV2) SetPypi(ctx context.Context, v PythonPyPiLibrary_SdkV2)
- func (newState *Library_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library_SdkV2)
- func (newState *Library_SdkV2) SyncEffectiveFieldsDuringRead(existingState Library_SdkV2)
- func (o Library_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Library_SdkV2) Type(ctx context.Context) attr.Type
- type ListAllClusterLibraryStatusesResponse
- func (c ListAllClusterLibraryStatusesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListAllClusterLibraryStatusesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListAllClusterLibraryStatusesResponse) GetStatuses(ctx context.Context) ([]ClusterLibraryStatuses, bool)
- func (o *ListAllClusterLibraryStatusesResponse) SetStatuses(ctx context.Context, v []ClusterLibraryStatuses)
- func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse)
- func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse)
- func (o ListAllClusterLibraryStatusesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAllClusterLibraryStatusesResponse) Type(ctx context.Context) attr.Type
- type ListAllClusterLibraryStatusesResponse_SdkV2
- func (c ListAllClusterLibraryStatusesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListAllClusterLibraryStatusesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListAllClusterLibraryStatusesResponse_SdkV2) GetStatuses(ctx context.Context) ([]ClusterLibraryStatuses_SdkV2, bool)
- func (o *ListAllClusterLibraryStatusesResponse_SdkV2) SetStatuses(ctx context.Context, v []ClusterLibraryStatuses_SdkV2)
- func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse_SdkV2)
- func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse_SdkV2)
- func (o ListAllClusterLibraryStatusesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAllClusterLibraryStatusesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListAvailableZonesResponse
- func (c ListAvailableZonesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListAvailableZonesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListAvailableZonesResponse) GetZones(ctx context.Context) ([]types.String, bool)
- func (o *ListAvailableZonesResponse) SetZones(ctx context.Context, v []types.String)
- func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse)
- func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse)
- func (o ListAvailableZonesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAvailableZonesResponse) Type(ctx context.Context) attr.Type
- type ListAvailableZonesResponse_SdkV2
- func (c ListAvailableZonesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListAvailableZonesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListAvailableZonesResponse_SdkV2) GetZones(ctx context.Context) ([]types.String, bool)
- func (o *ListAvailableZonesResponse_SdkV2) SetZones(ctx context.Context, v []types.String)
- func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse_SdkV2)
- func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse_SdkV2)
- func (o ListAvailableZonesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAvailableZonesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListClusterCompliancesRequest
- type ListClusterCompliancesRequest_SdkV2
- type ListClusterCompliancesResponse
- func (c ListClusterCompliancesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClusterCompliancesResponse) GetClusters(ctx context.Context) ([]ClusterCompliance, bool)
- func (a ListClusterCompliancesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClusterCompliancesResponse) SetClusters(ctx context.Context, v []ClusterCompliance)
- func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse)
- func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse)
- func (o ListClusterCompliancesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClusterCompliancesResponse) Type(ctx context.Context) attr.Type
- type ListClusterCompliancesResponse_SdkV2
- func (c ListClusterCompliancesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClusterCompliancesResponse_SdkV2) GetClusters(ctx context.Context) ([]ClusterCompliance_SdkV2, bool)
- func (a ListClusterCompliancesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClusterCompliancesResponse_SdkV2) SetClusters(ctx context.Context, v []ClusterCompliance_SdkV2)
- func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse_SdkV2)
- func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse_SdkV2)
- func (o ListClusterCompliancesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClusterCompliancesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListClusterPoliciesRequest
- type ListClusterPoliciesRequest_SdkV2
- type ListClustersFilterBy
- func (c ListClustersFilterBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClustersFilterBy) GetClusterSources(ctx context.Context) ([]types.String, bool)
- func (o *ListClustersFilterBy) GetClusterStates(ctx context.Context) ([]types.String, bool)
- func (a ListClustersFilterBy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersFilterBy) SetClusterSources(ctx context.Context, v []types.String)
- func (o *ListClustersFilterBy) SetClusterStates(ctx context.Context, v []types.String)
- func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy)
- func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy)
- func (o ListClustersFilterBy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersFilterBy) Type(ctx context.Context) attr.Type
- type ListClustersFilterBy_SdkV2
- func (c ListClustersFilterBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClustersFilterBy_SdkV2) GetClusterSources(ctx context.Context) ([]types.String, bool)
- func (o *ListClustersFilterBy_SdkV2) GetClusterStates(ctx context.Context) ([]types.String, bool)
- func (a ListClustersFilterBy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersFilterBy_SdkV2) SetClusterSources(ctx context.Context, v []types.String)
- func (o *ListClustersFilterBy_SdkV2) SetClusterStates(ctx context.Context, v []types.String)
- func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy_SdkV2)
- func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy_SdkV2)
- func (o ListClustersFilterBy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersFilterBy_SdkV2) Type(ctx context.Context) attr.Type
- type ListClustersRequest
- func (a ListClustersRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersRequest) GetFilterBy(ctx context.Context) (ListClustersFilterBy, bool)
- func (o *ListClustersRequest) GetSortBy(ctx context.Context) (ListClustersSortBy, bool)
- func (o *ListClustersRequest) SetFilterBy(ctx context.Context, v ListClustersFilterBy)
- func (o *ListClustersRequest) SetSortBy(ctx context.Context, v ListClustersSortBy)
- func (o ListClustersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersRequest) Type(ctx context.Context) attr.Type
- type ListClustersRequest_SdkV2
- func (a ListClustersRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersRequest_SdkV2) GetFilterBy(ctx context.Context) (ListClustersFilterBy_SdkV2, bool)
- func (o *ListClustersRequest_SdkV2) GetSortBy(ctx context.Context) (ListClustersSortBy_SdkV2, bool)
- func (o *ListClustersRequest_SdkV2) SetFilterBy(ctx context.Context, v ListClustersFilterBy_SdkV2)
- func (o *ListClustersRequest_SdkV2) SetSortBy(ctx context.Context, v ListClustersSortBy_SdkV2)
- func (o ListClustersRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListClustersResponse
- func (c ListClustersResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClustersResponse) GetClusters(ctx context.Context) ([]ClusterDetails, bool)
- func (a ListClustersResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersResponse) SetClusters(ctx context.Context, v []ClusterDetails)
- func (newState *ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse)
- func (newState *ListClustersResponse) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse)
- func (o ListClustersResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersResponse) Type(ctx context.Context) attr.Type
- type ListClustersResponse_SdkV2
- func (c ListClustersResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ListClustersResponse_SdkV2) GetClusters(ctx context.Context) ([]ClusterDetails_SdkV2, bool)
- func (a ListClustersResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListClustersResponse_SdkV2) SetClusters(ctx context.Context, v []ClusterDetails_SdkV2)
- func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse_SdkV2)
- func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse_SdkV2)
- func (o ListClustersResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListClustersSortBy
- func (c ListClustersSortBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListClustersSortBy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy)
- func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy)
- func (o ListClustersSortBy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersSortBy) Type(ctx context.Context) attr.Type
- type ListClustersSortBy_SdkV2
- func (c ListClustersSortBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListClustersSortBy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy_SdkV2)
- func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy_SdkV2)
- func (o ListClustersSortBy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListClustersSortBy_SdkV2) Type(ctx context.Context) attr.Type
- type ListGlobalInitScriptsResponse
- func (c ListGlobalInitScriptsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListGlobalInitScriptsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListGlobalInitScriptsResponse) GetScripts(ctx context.Context) ([]GlobalInitScriptDetails, bool)
- func (o *ListGlobalInitScriptsResponse) SetScripts(ctx context.Context, v []GlobalInitScriptDetails)
- func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse)
- func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse)
- func (o ListGlobalInitScriptsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListGlobalInitScriptsResponse) Type(ctx context.Context) attr.Type
- type ListGlobalInitScriptsResponse_SdkV2
- func (c ListGlobalInitScriptsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListGlobalInitScriptsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListGlobalInitScriptsResponse_SdkV2) GetScripts(ctx context.Context) ([]GlobalInitScriptDetails_SdkV2, bool)
- func (o *ListGlobalInitScriptsResponse_SdkV2) SetScripts(ctx context.Context, v []GlobalInitScriptDetails_SdkV2)
- func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse_SdkV2)
- func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse_SdkV2)
- func (o ListGlobalInitScriptsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListGlobalInitScriptsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListInstancePools
- func (c ListInstancePools) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListInstancePools) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListInstancePools) GetInstancePools(ctx context.Context) ([]InstancePoolAndStats, bool)
- func (o *ListInstancePools) SetInstancePools(ctx context.Context, v []InstancePoolAndStats)
- func (newState *ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools)
- func (newState *ListInstancePools) SyncEffectiveFieldsDuringRead(existingState ListInstancePools)
- func (o ListInstancePools) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListInstancePools) Type(ctx context.Context) attr.Type
- type ListInstancePools_SdkV2
- func (c ListInstancePools_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListInstancePools_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListInstancePools_SdkV2) GetInstancePools(ctx context.Context) ([]InstancePoolAndStats_SdkV2, bool)
- func (o *ListInstancePools_SdkV2) SetInstancePools(ctx context.Context, v []InstancePoolAndStats_SdkV2)
- func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools_SdkV2)
- func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstancePools_SdkV2)
- func (o ListInstancePools_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListInstancePools_SdkV2) Type(ctx context.Context) attr.Type
- type ListInstanceProfilesResponse
- func (c ListInstanceProfilesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListInstanceProfilesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListInstanceProfilesResponse) GetInstanceProfiles(ctx context.Context) ([]InstanceProfile, bool)
- func (o *ListInstanceProfilesResponse) SetInstanceProfiles(ctx context.Context, v []InstanceProfile)
- func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse)
- func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse)
- func (o ListInstanceProfilesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListInstanceProfilesResponse) Type(ctx context.Context) attr.Type
- type ListInstanceProfilesResponse_SdkV2
- func (c ListInstanceProfilesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListInstanceProfilesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListInstanceProfilesResponse_SdkV2) GetInstanceProfiles(ctx context.Context) ([]InstanceProfile_SdkV2, bool)
- func (o *ListInstanceProfilesResponse_SdkV2) SetInstanceProfiles(ctx context.Context, v []InstanceProfile_SdkV2)
- func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse_SdkV2)
- func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse_SdkV2)
- func (o ListInstanceProfilesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListInstanceProfilesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListNodeTypesResponse
- func (c ListNodeTypesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListNodeTypesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListNodeTypesResponse) GetNodeTypes(ctx context.Context) ([]NodeType, bool)
- func (o *ListNodeTypesResponse) SetNodeTypes(ctx context.Context, v []NodeType)
- func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse)
- func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse)
- func (o ListNodeTypesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListNodeTypesResponse) Type(ctx context.Context) attr.Type
- type ListNodeTypesResponse_SdkV2
- func (c ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListNodeTypesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListNodeTypesResponse_SdkV2) GetNodeTypes(ctx context.Context) ([]NodeType_SdkV2, bool)
- func (o *ListNodeTypesResponse_SdkV2) SetNodeTypes(ctx context.Context, v []NodeType_SdkV2)
- func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse_SdkV2)
- func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse_SdkV2)
- func (o ListNodeTypesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListNodeTypesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListPoliciesResponse
- func (c ListPoliciesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListPoliciesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListPoliciesResponse) GetPolicies(ctx context.Context) ([]Policy, bool)
- func (o *ListPoliciesResponse) SetPolicies(ctx context.Context, v []Policy)
- func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse)
- func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse)
- func (o ListPoliciesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListPoliciesResponse) Type(ctx context.Context) attr.Type
- type ListPoliciesResponse_SdkV2
- func (c ListPoliciesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListPoliciesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListPoliciesResponse_SdkV2) GetPolicies(ctx context.Context) ([]Policy_SdkV2, bool)
- func (o *ListPoliciesResponse_SdkV2) SetPolicies(ctx context.Context, v []Policy_SdkV2)
- func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse_SdkV2)
- func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse_SdkV2)
- func (o ListPoliciesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListPoliciesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListPolicyFamiliesRequest
- type ListPolicyFamiliesRequest_SdkV2
- type ListPolicyFamiliesResponse
- func (c ListPolicyFamiliesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListPolicyFamiliesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListPolicyFamiliesResponse) GetPolicyFamilies(ctx context.Context) ([]PolicyFamily, bool)
- func (o *ListPolicyFamiliesResponse) SetPolicyFamilies(ctx context.Context, v []PolicyFamily)
- func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse)
- func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse)
- func (o ListPolicyFamiliesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListPolicyFamiliesResponse) Type(ctx context.Context) attr.Type
- type ListPolicyFamiliesResponse_SdkV2
- func (c ListPolicyFamiliesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ListPolicyFamiliesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListPolicyFamiliesResponse_SdkV2) GetPolicyFamilies(ctx context.Context) ([]PolicyFamily_SdkV2, bool)
- func (o *ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies(ctx context.Context, v []PolicyFamily_SdkV2)
- func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse_SdkV2)
- func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse_SdkV2)
- func (o ListPolicyFamiliesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListPolicyFamiliesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type LocalFileInfo
- func (c LocalFileInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LocalFileInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LocalFileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo)
- func (newState *LocalFileInfo) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo)
- func (o LocalFileInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LocalFileInfo) Type(ctx context.Context) attr.Type
- type LocalFileInfo_SdkV2
- func (c LocalFileInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LocalFileInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo_SdkV2)
- func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo_SdkV2)
- func (o LocalFileInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LocalFileInfo_SdkV2) Type(ctx context.Context) attr.Type
- type LogAnalyticsInfo
- func (c LogAnalyticsInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LogAnalyticsInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo)
- func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo)
- func (o LogAnalyticsInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LogAnalyticsInfo) Type(ctx context.Context) attr.Type
- type LogAnalyticsInfo_SdkV2
- func (c LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LogAnalyticsInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo_SdkV2)
- func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo_SdkV2)
- func (o LogAnalyticsInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LogAnalyticsInfo_SdkV2) Type(ctx context.Context) attr.Type
- type LogSyncStatus
- func (c LogSyncStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LogSyncStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LogSyncStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus)
- func (newState *LogSyncStatus) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus)
- func (o LogSyncStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LogSyncStatus) Type(ctx context.Context) attr.Type
- type LogSyncStatus_SdkV2
- func (c LogSyncStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a LogSyncStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus_SdkV2)
- func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus_SdkV2)
- func (o LogSyncStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LogSyncStatus_SdkV2) Type(ctx context.Context) attr.Type
- type MavenLibrary
- func (c MavenLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a MavenLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *MavenLibrary) GetExclusions(ctx context.Context) ([]types.String, bool)
- func (o *MavenLibrary) SetExclusions(ctx context.Context, v []types.String)
- func (newState *MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary)
- func (newState *MavenLibrary) SyncEffectiveFieldsDuringRead(existingState MavenLibrary)
- func (o MavenLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MavenLibrary) Type(ctx context.Context) attr.Type
- type MavenLibrary_SdkV2
- func (c MavenLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a MavenLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *MavenLibrary_SdkV2) GetExclusions(ctx context.Context) ([]types.String, bool)
- func (o *MavenLibrary_SdkV2) SetExclusions(ctx context.Context, v []types.String)
- func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary_SdkV2)
- func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState MavenLibrary_SdkV2)
- func (o MavenLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MavenLibrary_SdkV2) Type(ctx context.Context) attr.Type
- type NodeInstanceType
- func (c NodeInstanceType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NodeInstanceType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *NodeInstanceType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType)
- func (newState *NodeInstanceType) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType)
- func (o NodeInstanceType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NodeInstanceType) Type(ctx context.Context) attr.Type
- type NodeInstanceType_SdkV2
- func (c NodeInstanceType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NodeInstanceType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType_SdkV2)
- func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType_SdkV2)
- func (o NodeInstanceType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NodeInstanceType_SdkV2) Type(ctx context.Context) attr.Type
- type NodeType
- func (c NodeType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NodeType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *NodeType) GetNodeInfo(ctx context.Context) (CloudProviderNodeInfo, bool)
- func (o *NodeType) GetNodeInstanceType(ctx context.Context) (NodeInstanceType, bool)
- func (o *NodeType) SetNodeInfo(ctx context.Context, v CloudProviderNodeInfo)
- func (o *NodeType) SetNodeInstanceType(ctx context.Context, v NodeInstanceType)
- func (newState *NodeType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType)
- func (newState *NodeType) SyncEffectiveFieldsDuringRead(existingState NodeType)
- func (o NodeType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NodeType) Type(ctx context.Context) attr.Type
- type NodeType_SdkV2
- func (c NodeType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a NodeType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *NodeType_SdkV2) GetNodeInfo(ctx context.Context) (CloudProviderNodeInfo_SdkV2, bool)
- func (o *NodeType_SdkV2) GetNodeInstanceType(ctx context.Context) (NodeInstanceType_SdkV2, bool)
- func (o *NodeType_SdkV2) SetNodeInfo(ctx context.Context, v CloudProviderNodeInfo_SdkV2)
- func (o *NodeType_SdkV2) SetNodeInstanceType(ctx context.Context, v NodeInstanceType_SdkV2)
- func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType_SdkV2)
- func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeType_SdkV2)
- func (o NodeType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o NodeType_SdkV2) Type(ctx context.Context) attr.Type
- type PendingInstanceError
- func (c PendingInstanceError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PendingInstanceError) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PendingInstanceError) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError)
- func (newState *PendingInstanceError) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError)
- func (o PendingInstanceError) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PendingInstanceError) Type(ctx context.Context) attr.Type
- type PendingInstanceError_SdkV2
- func (c PendingInstanceError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PendingInstanceError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError_SdkV2)
- func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError_SdkV2)
- func (o PendingInstanceError_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PendingInstanceError_SdkV2) Type(ctx context.Context) attr.Type
- type PermanentDeleteCluster
- func (c PermanentDeleteCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PermanentDeleteCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster)
- func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster)
- func (o PermanentDeleteCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermanentDeleteCluster) Type(ctx context.Context) attr.Type
- type PermanentDeleteClusterResponse
- func (c PermanentDeleteClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PermanentDeleteClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse)
- func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse)
- func (o PermanentDeleteClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermanentDeleteClusterResponse) Type(ctx context.Context) attr.Type
- type PermanentDeleteClusterResponse_SdkV2
- func (c PermanentDeleteClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PermanentDeleteClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse_SdkV2)
- func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse_SdkV2)
- func (o PermanentDeleteClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermanentDeleteClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type PermanentDeleteCluster_SdkV2
- func (c PermanentDeleteCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PermanentDeleteCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster_SdkV2)
- func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster_SdkV2)
- func (o PermanentDeleteCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermanentDeleteCluster_SdkV2) Type(ctx context.Context) attr.Type
- type PinCluster
- func (c PinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PinCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster)
- func (newState *PinCluster) SyncEffectiveFieldsDuringRead(existingState PinCluster)
- func (o PinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PinCluster) Type(ctx context.Context) attr.Type
- type PinClusterResponse
- func (c PinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PinClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse)
- func (newState *PinClusterResponse) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse)
- func (o PinClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PinClusterResponse) Type(ctx context.Context) attr.Type
- type PinClusterResponse_SdkV2
- func (c PinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PinClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse_SdkV2)
- func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse_SdkV2)
- func (o PinClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PinClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type PinCluster_SdkV2
- func (c PinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PinCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster_SdkV2)
- func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinCluster_SdkV2)
- func (o PinCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PinCluster_SdkV2) Type(ctx context.Context) attr.Type
- type Policy
- func (c Policy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Policy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Policy) GetLibraries(ctx context.Context) ([]Library, bool)
- func (o *Policy) SetLibraries(ctx context.Context, v []Library)
- func (newState *Policy) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy)
- func (newState *Policy) SyncEffectiveFieldsDuringRead(existingState Policy)
- func (o Policy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Policy) Type(ctx context.Context) attr.Type
- type PolicyFamily
- func (c PolicyFamily) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PolicyFamily) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PolicyFamily) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily)
- func (newState *PolicyFamily) SyncEffectiveFieldsDuringRead(existingState PolicyFamily)
- func (o PolicyFamily) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PolicyFamily) Type(ctx context.Context) attr.Type
- type PolicyFamily_SdkV2
- func (c PolicyFamily_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PolicyFamily_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily_SdkV2)
- func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringRead(existingState PolicyFamily_SdkV2)
- func (o PolicyFamily_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PolicyFamily_SdkV2) Type(ctx context.Context) attr.Type
- type Policy_SdkV2
- func (c Policy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Policy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Policy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
- func (o *Policy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
- func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy_SdkV2)
- func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringRead(existingState Policy_SdkV2)
- func (o Policy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Policy_SdkV2) Type(ctx context.Context) attr.Type
- type PythonPyPiLibrary
- func (c PythonPyPiLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PythonPyPiLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary)
- func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary)
- func (o PythonPyPiLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PythonPyPiLibrary) Type(ctx context.Context) attr.Type
- type PythonPyPiLibrary_SdkV2
- func (c PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a PythonPyPiLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary_SdkV2)
- func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary_SdkV2)
- func (o PythonPyPiLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PythonPyPiLibrary_SdkV2) Type(ctx context.Context) attr.Type
- type RCranLibrary
- func (c RCranLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RCranLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RCranLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary)
- func (newState *RCranLibrary) SyncEffectiveFieldsDuringRead(existingState RCranLibrary)
- func (o RCranLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RCranLibrary) Type(ctx context.Context) attr.Type
- type RCranLibrary_SdkV2
- func (c RCranLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RCranLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary_SdkV2)
- func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState RCranLibrary_SdkV2)
- func (o RCranLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RCranLibrary_SdkV2) Type(ctx context.Context) attr.Type
- type RemoveInstanceProfile
- func (c RemoveInstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RemoveInstanceProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile)
- func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile)
- func (o RemoveInstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RemoveInstanceProfile) Type(ctx context.Context) attr.Type
- type RemoveInstanceProfile_SdkV2
- func (c RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RemoveInstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile_SdkV2)
- func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile_SdkV2)
- func (o RemoveInstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RemoveInstanceProfile_SdkV2) Type(ctx context.Context) attr.Type
- type RemoveResponse
- type RemoveResponse_SdkV2
- type ResizeCluster
- func (c ResizeCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResizeCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (a ResizeCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResizeCluster) SetAutoscale(ctx context.Context, v AutoScale)
- func (newState *ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster)
- func (newState *ResizeCluster) SyncEffectiveFieldsDuringRead(existingState ResizeCluster)
- func (o ResizeCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResizeCluster) Type(ctx context.Context) attr.Type
- type ResizeClusterResponse
- func (c ResizeClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResizeClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse)
- func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse)
- func (o ResizeClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResizeClusterResponse) Type(ctx context.Context) attr.Type
- type ResizeClusterResponse_SdkV2
- func (c ResizeClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a ResizeClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse_SdkV2)
- func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse_SdkV2)
- func (o ResizeClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResizeClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ResizeCluster_SdkV2
- func (c ResizeCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *ResizeCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (a ResizeCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResizeCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster_SdkV2)
- func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeCluster_SdkV2)
- func (o ResizeCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResizeCluster_SdkV2) Type(ctx context.Context) attr.Type
- type RestartCluster
- func (c RestartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RestartCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RestartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster)
- func (newState *RestartCluster) SyncEffectiveFieldsDuringRead(existingState RestartCluster)
- func (o RestartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RestartCluster) Type(ctx context.Context) attr.Type
- type RestartClusterResponse
- func (c RestartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RestartClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse)
- func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse)
- func (o RestartClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RestartClusterResponse) Type(ctx context.Context) attr.Type
- type RestartClusterResponse_SdkV2
- func (c RestartClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RestartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse_SdkV2)
- func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse_SdkV2)
- func (o RestartClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RestartClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type RestartCluster_SdkV2
- func (c RestartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a RestartCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster_SdkV2)
- func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartCluster_SdkV2)
- func (o RestartCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RestartCluster_SdkV2) Type(ctx context.Context) attr.Type
- type Results
- func (c Results) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Results) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Results) GetFileNames(ctx context.Context) ([]types.String, bool)
- func (o *Results) GetSchema(ctx context.Context) ([]types.Object, bool)
- func (o *Results) SetFileNames(ctx context.Context, v []types.String)
- func (o *Results) SetSchema(ctx context.Context, v []types.Object)
- func (newState *Results) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results)
- func (newState *Results) SyncEffectiveFieldsDuringRead(existingState Results)
- func (o Results) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Results) Type(ctx context.Context) attr.Type
- type Results_SdkV2
- func (c Results_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a Results_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Results_SdkV2) GetFileNames(ctx context.Context) ([]types.String, bool)
- func (o *Results_SdkV2) GetSchema(ctx context.Context) ([]types.Object, bool)
- func (o *Results_SdkV2) SetFileNames(ctx context.Context, v []types.String)
- func (o *Results_SdkV2) SetSchema(ctx context.Context, v []types.Object)
- func (newState *Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results_SdkV2)
- func (newState *Results_SdkV2) SyncEffectiveFieldsDuringRead(existingState Results_SdkV2)
- func (o Results_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Results_SdkV2) Type(ctx context.Context) attr.Type
- type S3StorageInfo
- func (c S3StorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a S3StorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *S3StorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo)
- func (newState *S3StorageInfo) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo)
- func (o S3StorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o S3StorageInfo) Type(ctx context.Context) attr.Type
- type S3StorageInfo_SdkV2
- func (c S3StorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a S3StorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo_SdkV2)
- func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo_SdkV2)
- func (o S3StorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o S3StorageInfo_SdkV2) Type(ctx context.Context) attr.Type
- type SparkNode
- func (c SparkNode) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkNode) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkNode) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes, bool)
- func (o *SparkNode) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes)
- func (newState *SparkNode) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNode)
- func (newState *SparkNode) SyncEffectiveFieldsDuringRead(existingState SparkNode)
- func (o SparkNode) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkNode) Type(ctx context.Context) attr.Type
- type SparkNodeAwsAttributes
- func (c SparkNodeAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkNodeAwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes)
- func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes)
- func (o SparkNodeAwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkNodeAwsAttributes) Type(ctx context.Context) attr.Type
- type SparkNodeAwsAttributes_SdkV2
- func (c SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes_SdkV2)
- func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes_SdkV2)
- func (o SparkNodeAwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkNodeAwsAttributes_SdkV2) Type(ctx context.Context) attr.Type
- type SparkNode_SdkV2
- func (c SparkNode_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkNode_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *SparkNode_SdkV2) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes_SdkV2, bool)
- func (o *SparkNode_SdkV2) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes_SdkV2)
- func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNode_SdkV2)
- func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNode_SdkV2)
- func (o SparkNode_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkNode_SdkV2) Type(ctx context.Context) attr.Type
- type SparkVersion
- func (c SparkVersion) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkVersion) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SparkVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion)
- func (newState *SparkVersion) SyncEffectiveFieldsDuringRead(existingState SparkVersion)
- func (o SparkVersion) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkVersion) Type(ctx context.Context) attr.Type
- type SparkVersion_SdkV2
- func (c SparkVersion_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a SparkVersion_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion_SdkV2)
- func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkVersion_SdkV2)
- func (o SparkVersion_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SparkVersion_SdkV2) Type(ctx context.Context) attr.Type
- type StartCluster
- func (c StartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a StartCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *StartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster)
- func (newState *StartCluster) SyncEffectiveFieldsDuringRead(existingState StartCluster)
- func (o StartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o StartCluster) Type(ctx context.Context) attr.Type
- type StartClusterResponse
- func (c StartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a StartClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *StartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse)
- func (newState *StartClusterResponse) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse)
- func (o StartClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o StartClusterResponse) Type(ctx context.Context) attr.Type
- type StartClusterResponse_SdkV2
- func (c StartClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a StartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse_SdkV2)
- func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse_SdkV2)
- func (o StartClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o StartClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type StartCluster_SdkV2
- func (c StartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a StartCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster_SdkV2)
- func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartCluster_SdkV2)
- func (o StartCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o StartCluster_SdkV2) Type(ctx context.Context) attr.Type
- type TerminationReason
- func (c TerminationReason) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TerminationReason) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TerminationReason) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *TerminationReason) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason)
- func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason)
- func (o TerminationReason) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TerminationReason) Type(ctx context.Context) attr.Type
- type TerminationReason_SdkV2
- func (c TerminationReason_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a TerminationReason_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TerminationReason_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
- func (o *TerminationReason_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)
- func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason_SdkV2)
- func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationReason_SdkV2)
- func (o TerminationReason_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TerminationReason_SdkV2) Type(ctx context.Context) attr.Type
- type UninstallLibraries
- func (c UninstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UninstallLibraries) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UninstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)
- func (o *UninstallLibraries) SetLibraries(ctx context.Context, v []Library)
- func (newState *UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries)
- func (newState *UninstallLibraries) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries)
- func (o UninstallLibraries) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UninstallLibraries) Type(ctx context.Context) attr.Type
- type UninstallLibrariesResponse
- func (c UninstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UninstallLibrariesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse)
- func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse)
- func (o UninstallLibrariesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UninstallLibrariesResponse) Type(ctx context.Context) attr.Type
- type UninstallLibrariesResponse_SdkV2
- func (c UninstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UninstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse_SdkV2)
- func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse_SdkV2)
- func (o UninstallLibrariesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UninstallLibrariesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type UninstallLibraries_SdkV2
- func (c UninstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UninstallLibraries_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UninstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
- func (o *UninstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
- func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries_SdkV2)
- func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries_SdkV2)
- func (o UninstallLibraries_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UninstallLibraries_SdkV2) Type(ctx context.Context) attr.Type
- type UnpinCluster
- func (c UnpinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UnpinCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UnpinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster)
- func (newState *UnpinCluster) SyncEffectiveFieldsDuringRead(existingState UnpinCluster)
- func (o UnpinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UnpinCluster) Type(ctx context.Context) attr.Type
- type UnpinClusterResponse
- func (c UnpinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UnpinClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse)
- func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse)
- func (o UnpinClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UnpinClusterResponse) Type(ctx context.Context) attr.Type
- type UnpinClusterResponse_SdkV2
- func (c UnpinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UnpinClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse_SdkV2)
- func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse_SdkV2)
- func (o UnpinClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UnpinClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type UnpinCluster_SdkV2
- func (c UnpinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UnpinCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster_SdkV2)
- func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinCluster_SdkV2)
- func (o UnpinCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UnpinCluster_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateCluster
- func (c UpdateCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *UpdateCluster) GetCluster(ctx context.Context) (UpdateClusterResource, bool)
- func (a UpdateCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateCluster) SetCluster(ctx context.Context, v UpdateClusterResource)
- func (newState *UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster)
- func (newState *UpdateCluster) SyncEffectiveFieldsDuringRead(existingState UpdateCluster)
- func (o UpdateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateCluster) Type(ctx context.Context) attr.Type
- type UpdateClusterResource
- func (c UpdateClusterResource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *UpdateClusterResource) GetAutoscale(ctx context.Context) (AutoScale, bool)
- func (o *UpdateClusterResource) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
- func (o *UpdateClusterResource) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
- func (o *UpdateClusterResource) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
- func (a UpdateClusterResource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateClusterResource) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource) GetDockerImage(ctx context.Context) (DockerImage, bool)
- func (o *UpdateClusterResource) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
- func (o *UpdateClusterResource) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
- func (o *UpdateClusterResource) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *UpdateClusterResource) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
- func (o *UpdateClusterResource) SetAutoscale(ctx context.Context, v AutoScale)
- func (o *UpdateClusterResource) SetAwsAttributes(ctx context.Context, v AwsAttributes)
- func (o *UpdateClusterResource) SetAzureAttributes(ctx context.Context, v AzureAttributes)
- func (o *UpdateClusterResource) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
- func (o *UpdateClusterResource) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource) SetDockerImage(ctx context.Context, v DockerImage)
- func (o *UpdateClusterResource) SetGcpAttributes(ctx context.Context, v GcpAttributes)
- func (o *UpdateClusterResource) SetInitScripts(ctx context.Context, v []InitScriptInfo)
- func (o *UpdateClusterResource) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *UpdateClusterResource) SetWorkloadType(ctx context.Context, v WorkloadType)
- func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource)
- func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource)
- func (o UpdateClusterResource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateClusterResource) Type(ctx context.Context) attr.Type
- type UpdateClusterResource_SdkV2
- func (c UpdateClusterResource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *UpdateClusterResource_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
- func (a UpdateClusterResource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateClusterResource_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
- func (o *UpdateClusterResource_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)
- func (o *UpdateClusterResource_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
- func (o *UpdateClusterResource_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
- func (o *UpdateClusterResource_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
- func (o *UpdateClusterResource_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
- func (o *UpdateClusterResource_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
- func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource_SdkV2)
- func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource_SdkV2)
- func (o UpdateClusterResource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateClusterResource_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateClusterResponse
- func (c UpdateClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UpdateClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse)
- func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse)
- func (o UpdateClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateClusterResponse) Type(ctx context.Context) attr.Type
- type UpdateClusterResponse_SdkV2
- func (c UpdateClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a UpdateClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse_SdkV2)
- func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse_SdkV2)
- func (o UpdateClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateClusterResponse_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateCluster_SdkV2
- func (c UpdateCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *UpdateCluster_SdkV2) GetCluster(ctx context.Context) (UpdateClusterResource_SdkV2, bool)
- func (a UpdateCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateCluster_SdkV2) SetCluster(ctx context.Context, v UpdateClusterResource_SdkV2)
- func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster_SdkV2)
- func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCluster_SdkV2)
- func (o UpdateCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateCluster_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateResponse
- type UpdateResponse_SdkV2
- type VolumesStorageInfo
- func (c VolumesStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a VolumesStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo)
- func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo)
- func (o VolumesStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o VolumesStorageInfo) Type(ctx context.Context) attr.Type
- type VolumesStorageInfo_SdkV2
- func (c VolumesStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a VolumesStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo_SdkV2)
- func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo_SdkV2)
- func (o VolumesStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o VolumesStorageInfo_SdkV2) Type(ctx context.Context) attr.Type
- type WorkloadType
- func (c WorkloadType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *WorkloadType) GetClients(ctx context.Context) (ClientsTypes, bool)
- func (a WorkloadType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *WorkloadType) SetClients(ctx context.Context, v ClientsTypes)
- func (newState *WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType)
- func (newState *WorkloadType) SyncEffectiveFieldsDuringRead(existingState WorkloadType)
- func (o WorkloadType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WorkloadType) Type(ctx context.Context) attr.Type
- type WorkloadType_SdkV2
- func (c WorkloadType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (o *WorkloadType_SdkV2) GetClients(ctx context.Context) (ClientsTypes_SdkV2, bool)
- func (a WorkloadType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *WorkloadType_SdkV2) SetClients(ctx context.Context, v ClientsTypes_SdkV2)
- func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType_SdkV2)
- func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkloadType_SdkV2)
- func (o WorkloadType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WorkloadType_SdkV2) Type(ctx context.Context) attr.Type
- type WorkspaceStorageInfo
- func (c WorkspaceStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a WorkspaceStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo)
- func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo)
- func (o WorkspaceStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WorkspaceStorageInfo) Type(ctx context.Context) attr.Type
- type WorkspaceStorageInfo_SdkV2
- func (c WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (a WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo_SdkV2)
- func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo_SdkV2)
- func (o WorkspaceStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WorkspaceStorageInfo_SdkV2) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddInstanceProfile ¶
type AddInstanceProfile struct { // The AWS IAM role ARN of the role associated with the instance profile. // This field is required if your role name and instance profile name do not // match and you want to use the instance profile with [Databricks SQL // Serverless]. // // Otherwise, this field is optional. // // [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html IamRoleArn types.String `tfsdk:"iam_role_arn"` // The AWS ARN of the instance profile to register with Databricks. This // field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // Boolean flag indicating whether the instance profile should only be used // in credential passthrough scenarios. If true, it means the instance // profile contains an meta IAM role which could assume a wide range of // roles. Therefore it should always be used with authorization. This field // is optional, the default value is `false`. IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"` // By default, Databricks validates that it has sufficient permissions to // launch instances with the instance profile. This validation uses AWS // dry-run mode for the RunInstances API. If validation fails with an error // message that does not indicate an IAM related permission issue, (e.g. // “Your requested instance type is not supported in your requested // availability zone”), you can pass this flag to skip the validation and // forcibly add the instance profile. SkipValidation types.Bool `tfsdk:"skip_validation"` }
func (AddInstanceProfile) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AddInstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AddInstanceProfile) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AddInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile)
func (*AddInstanceProfile) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile)
func (AddInstanceProfile) ToObjectValue ¶ added in v1.61.0
func (o AddInstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddInstanceProfile only implements ToObjectValue() and Type().
type AddInstanceProfile_SdkV2 ¶ added in v1.62.1
type AddInstanceProfile_SdkV2 struct { // The AWS IAM role ARN of the role associated with the instance profile. // This field is required if your role name and instance profile name do not // match and you want to use the instance profile with [Databricks SQL // Serverless]. // // Otherwise, this field is optional. // // [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html IamRoleArn types.String `tfsdk:"iam_role_arn"` // The AWS ARN of the instance profile to register with Databricks. This // field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // Boolean flag indicating whether the instance profile should only be used // in credential passthrough scenarios. If true, it means the instance // profile contains an meta IAM role which could assume a wide range of // roles. Therefore it should always be used with authorization. This field // is optional, the default value is `false`. IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"` // By default, Databricks validates that it has sufficient permissions to // launch instances with the instance profile. This validation uses AWS // dry-run mode for the RunInstances API. If validation fails with an error // message that does not indicate an IAM related permission issue, (e.g. // “Your requested instance type is not supported in your requested // availability zone”), you can pass this flag to skip the validation and // forcibly add the instance profile. SkipValidation types.Bool `tfsdk:"skip_validation"` }
func (AddInstanceProfile_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AddInstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AddInstanceProfile_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile_SdkV2)
func (*AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile_SdkV2)
func (AddInstanceProfile_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o AddInstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddInstanceProfile_SdkV2 only implements ToObjectValue() and Type().
type AddResponse ¶
type AddResponse struct { }
func (AddResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (AddResponse) ToObjectValue ¶ added in v1.61.0
func (o AddResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddResponse only implements ToObjectValue() and Type().
type AddResponse_SdkV2 ¶ added in v1.62.1
type AddResponse_SdkV2 struct { }
func (AddResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (AddResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o AddResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddResponse_SdkV2 only implements ToObjectValue() and Type().
type Adlsgen2Info ¶
type Adlsgen2Info struct { // abfss destination, e.g. // `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`. Destination types.String `tfsdk:"destination"` }
func (Adlsgen2Info) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Adlsgen2Info) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Adlsgen2Info) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Adlsgen2Info. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Adlsgen2Info) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info)
func (*Adlsgen2Info) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info)
func (Adlsgen2Info) ToObjectValue ¶ added in v1.61.0
func (o Adlsgen2Info) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Adlsgen2Info only implements ToObjectValue() and Type().
type Adlsgen2Info_SdkV2 ¶ added in v1.62.1
type Adlsgen2Info_SdkV2 struct { // abfss destination, e.g. // `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`. Destination types.String `tfsdk:"destination"` }
func (Adlsgen2Info_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Adlsgen2Info_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Adlsgen2Info_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Adlsgen2Info. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info_SdkV2)
func (*Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info_SdkV2)
func (Adlsgen2Info_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Adlsgen2Info_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Adlsgen2Info_SdkV2 only implements ToObjectValue() and Type().
type AutoScale ¶
type AutoScale struct { // The maximum number of workers to which the cluster can scale up when // overloaded. Note that `max_workers` must be strictly greater than // `min_workers`. MaxWorkers types.Int64 `tfsdk:"max_workers"` // The minimum number of workers to which the cluster can scale down when // underutilized. It is also the initial number of workers the cluster will // have after creation. MinWorkers types.Int64 `tfsdk:"min_workers"` }
func (AutoScale) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AutoScale) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AutoScale) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoScale. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AutoScale) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*AutoScale) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (AutoScale) ToObjectValue ¶ added in v1.61.0
func (o AutoScale) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AutoScale only implements ToObjectValue() and Type().
type AutoScale_SdkV2 ¶ added in v1.62.1
type AutoScale_SdkV2 struct { // The maximum number of workers to which the cluster can scale up when // overloaded. Note that `max_workers` must be strictly greater than // `min_workers`. MaxWorkers types.Int64 `tfsdk:"max_workers"` // The minimum number of workers to which the cluster can scale down when // underutilized. It is also the initial number of workers the cluster will // have after creation. MinWorkers types.Int64 `tfsdk:"min_workers"` }
func (AutoScale_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AutoScale_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AutoScale_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoScale. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AutoScale_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScale_SdkV2)
func (*AutoScale_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoScale_SdkV2)
func (AutoScale_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o AutoScale_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AutoScale_SdkV2 only implements ToObjectValue() and Type().
type AwsAttributes ¶
type AwsAttributes struct { // Availability type used for all subsequent nodes past the // `first_on_demand` ones. // // Note: If `first_on_demand` is zero, this availability type will be used // for the entire cluster. Availability types.String `tfsdk:"availability"` // The number of volumes launched for each instance. Users can choose up to // 10 volumes. This feature is only enabled for supported node types. Legacy // node types cannot specify custom EBS volumes. For node types with no // instance store, at least one EBS volume needs to be specified; otherwise, // cluster creation will fail. // // These EBS volumes will be mounted at `/ebs0`, `/ebs1`, and etc. Instance // store volumes will be mounted at `/local_disk0`, `/local_disk1`, and etc. // // If EBS volumes are attached, Databricks will configure Spark to use only // the EBS volumes for scratch storage because heterogenously sized scratch // devices can lead to inefficient disk utilization. If no EBS volumes are // attached, Databricks will configure Spark to use instance store volumes. // // Please note that if EBS volumes are specified, then the Spark // configuration `spark.local.dir` will be overridden. EbsVolumeCount types.Int64 `tfsdk:"ebs_volume_count"` // If using gp3 volumes, what IOPS to use for the disk. If this is not set, // the maximum performance of a gp2 volume with the same volume size will be // used. EbsVolumeIops types.Int64 `tfsdk:"ebs_volume_iops"` // The size of each EBS volume (in GiB) launched for each instance. For // general purpose SSD, this value must be within the range 100 - 4096. For // throughput optimized HDD, this value must be within the range 500 - 4096. EbsVolumeSize types.Int64 `tfsdk:"ebs_volume_size"` // If using gp3 volumes, what throughput to use for the disk. If this is not // set, the maximum performance of a gp2 volume with the same volume size // will be used. EbsVolumeThroughput types.Int64 `tfsdk:"ebs_volume_throughput"` // The type of EBS volumes that will be launched with this cluster. EbsVolumeType types.String `tfsdk:"ebs_volume_type"` // The first `first_on_demand` nodes of the cluster will be placed on // on-demand instances. If this value is greater than 0, the cluster driver // node in particular will be placed on an on-demand instance. If this value // is greater than or equal to the current cluster size, all nodes will be // placed on on-demand instances. If this value is less than the current // cluster size, `first_on_demand` nodes will be placed on on-demand // instances and the remainder will be placed on `availability` instances. // Note that this value does not affect cluster size and cannot currently be // mutated over the lifetime of a cluster. FirstOnDemand types.Int64 `tfsdk:"first_on_demand"` // Nodes for this cluster will only be placed on AWS instances with this // instance profile. If ommitted, nodes will be placed on instances without // an IAM instance profile. The instance profile must have previously been // added to the Databricks environment by an account administrator. // // This feature may only be available to certain customer plans. // // If this field is ommitted, we will pull in the default from the conf if // it exists. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // The bid price for AWS spot instances, as a percentage of the // corresponding instance type's on-demand price. For example, if this field // is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then // the bid price is half of the price of on-demand `r3.xlarge` instances. // Similarly, if this field is set to 200, the bid price is twice the price // of on-demand `r3.xlarge` instances. If not specified, the default value // is 100. When spot instances are requested for this cluster, only spot // instances whose bid price percentage matches this field will be // considered. Note that, for safety, we enforce this field to be no more // than 10000. // // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidPricePercent and // CommonConf.maxSpotBidPricePercent. SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west-2a". The provided // availability zone must be in the same region as the Databricks // deployment. For example, "us-west-2a" is not a valid zone id if the // Databricks deployment resides in the "us-east-1" region. This is an // optional field at cluster creation, and if not specified, a default zone // will be used. If the zone specified is "auto", will try to place cluster // in a zone with high availability, and will retry placement in a different // AZ if there is not enough capacity. The list of available zones as well // as the default value can be found by using the `List Zones` method. ZoneId types.String `tfsdk:"zone_id"` }
func (AwsAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AwsAttributes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes)
func (*AwsAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AwsAttributes) SyncEffectiveFieldsDuringRead(existingState AwsAttributes)
func (AwsAttributes) ToObjectValue ¶ added in v1.61.0
func (o AwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AwsAttributes only implements ToObjectValue() and Type().
type AwsAttributes_SdkV2 ¶ added in v1.62.1
type AwsAttributes_SdkV2 struct { // Availability type used for all subsequent nodes past the // `first_on_demand` ones. // // Note: If `first_on_demand` is zero, this availability type will be used // for the entire cluster. Availability types.String `tfsdk:"availability"` // The number of volumes launched for each instance. Users can choose up to // 10 volumes. This feature is only enabled for supported node types. Legacy // node types cannot specify custom EBS volumes. For node types with no // instance store, at least one EBS volume needs to be specified; otherwise, // cluster creation will fail. // // These EBS volumes will be mounted at `/ebs0`, `/ebs1`, and etc. Instance // store volumes will be mounted at `/local_disk0`, `/local_disk1`, and etc. // // If EBS volumes are attached, Databricks will configure Spark to use only // the EBS volumes for scratch storage because heterogenously sized scratch // devices can lead to inefficient disk utilization. If no EBS volumes are // attached, Databricks will configure Spark to use instance store volumes. // // Please note that if EBS volumes are specified, then the Spark // configuration `spark.local.dir` will be overridden. EbsVolumeCount types.Int64 `tfsdk:"ebs_volume_count"` // If using gp3 volumes, what IOPS to use for the disk. If this is not set, // the maximum performance of a gp2 volume with the same volume size will be // used. EbsVolumeIops types.Int64 `tfsdk:"ebs_volume_iops"` // The size of each EBS volume (in GiB) launched for each instance. For // general purpose SSD, this value must be within the range 100 - 4096. For // throughput optimized HDD, this value must be within the range 500 - 4096. EbsVolumeSize types.Int64 `tfsdk:"ebs_volume_size"` // If using gp3 volumes, what throughput to use for the disk. If this is not // set, the maximum performance of a gp2 volume with the same volume size // will be used. EbsVolumeThroughput types.Int64 `tfsdk:"ebs_volume_throughput"` // The type of EBS volumes that will be launched with this cluster. EbsVolumeType types.String `tfsdk:"ebs_volume_type"` // The first `first_on_demand` nodes of the cluster will be placed on // on-demand instances. If this value is greater than 0, the cluster driver // node in particular will be placed on an on-demand instance. If this value // is greater than or equal to the current cluster size, all nodes will be // placed on on-demand instances. If this value is less than the current // cluster size, `first_on_demand` nodes will be placed on on-demand // instances and the remainder will be placed on `availability` instances. // Note that this value does not affect cluster size and cannot currently be // mutated over the lifetime of a cluster. FirstOnDemand types.Int64 `tfsdk:"first_on_demand"` // Nodes for this cluster will only be placed on AWS instances with this // instance profile. If ommitted, nodes will be placed on instances without // an IAM instance profile. The instance profile must have previously been // added to the Databricks environment by an account administrator. // // This feature may only be available to certain customer plans. // // If this field is ommitted, we will pull in the default from the conf if // it exists. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // The bid price for AWS spot instances, as a percentage of the // corresponding instance type's on-demand price. For example, if this field // is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then // the bid price is half of the price of on-demand `r3.xlarge` instances. // Similarly, if this field is set to 200, the bid price is twice the price // of on-demand `r3.xlarge` instances. If not specified, the default value // is 100. When spot instances are requested for this cluster, only spot // instances whose bid price percentage matches this field will be // considered. Note that, for safety, we enforce this field to be no more // than 10000. // // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidPricePercent and // CommonConf.maxSpotBidPricePercent. SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west-2a". The provided // availability zone must be in the same region as the Databricks // deployment. For example, "us-west-2a" is not a valid zone id if the // Databricks deployment resides in the "us-east-1" region. This is an // optional field at cluster creation, and if not specified, a default zone // will be used. If the zone specified is "auto", will try to place cluster // in a zone with high availability, and will retry placement in a different // AZ if there is not enough capacity. The list of available zones as well // as the default value can be found by using the `List Zones` method. ZoneId types.String `tfsdk:"zone_id"` }
func (AwsAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AwsAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes_SdkV2)
func (*AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsAttributes_SdkV2)
func (AwsAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o AwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AwsAttributes_SdkV2 only implements ToObjectValue() and Type().
type AzureAttributes ¶
type AzureAttributes struct { // Availability type used for all subsequent nodes past the // `first_on_demand` ones. Note: If `first_on_demand` is zero (which only // happens on pool clusters), this availability type will be used for the // entire cluster. Availability types.String `tfsdk:"availability"` // The first `first_on_demand` nodes of the cluster will be placed on // on-demand instances. This value should be greater than 0, to make sure // the cluster driver node is placed on an on-demand instance. If this value // is greater than or equal to the current cluster size, all nodes will be // placed on on-demand instances. If this value is less than the current // cluster size, `first_on_demand` nodes will be placed on on-demand // instances and the remainder will be placed on `availability` instances. // Note that this value does not affect cluster size and cannot currently be // mutated over the lifetime of a cluster. FirstOnDemand types.Int64 `tfsdk:"first_on_demand"` // Defines values necessary to configure and run Azure Log Analytics agent LogAnalyticsInfo types.Object `tfsdk:"log_analytics_info"` // The max bid price to be used for Azure spot instances. The Max price for // the bid cannot be higher than the on-demand price of the instance. If not // specified, the default value is -1, which specifies that the instance // cannot be evicted on the basis of price, and only on the basis of // availability. Further, the value should > 0 or -1. SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"` }
func (AzureAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AzureAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AzureAttributes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AzureAttributes) GetLogAnalyticsInfo ¶ added in v1.61.0
func (o *AzureAttributes) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo, bool)
GetLogAnalyticsInfo returns the value of the LogAnalyticsInfo field in AzureAttributes as a LogAnalyticsInfo value. If the field is unknown or null, the boolean return value is false.
func (*AzureAttributes) SetLogAnalyticsInfo ¶ added in v1.61.0
func (o *AzureAttributes) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo)
SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes.
func (*AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes)
func (*AzureAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AzureAttributes) SyncEffectiveFieldsDuringRead(existingState AzureAttributes)
func (AzureAttributes) ToObjectValue ¶ added in v1.61.0
func (o AzureAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AzureAttributes only implements ToObjectValue() and Type().
type AzureAttributes_SdkV2 ¶ added in v1.62.1
type AzureAttributes_SdkV2 struct { // Availability type used for all subsequent nodes past the // `first_on_demand` ones. Note: If `first_on_demand` is zero (which only // happens on pool clusters), this availability type will be used for the // entire cluster. Availability types.String `tfsdk:"availability"` // The first `first_on_demand` nodes of the cluster will be placed on // on-demand instances. This value should be greater than 0, to make sure // the cluster driver node is placed on an on-demand instance. If this value // is greater than or equal to the current cluster size, all nodes will be // placed on on-demand instances. If this value is less than the current // cluster size, `first_on_demand` nodes will be placed on on-demand // instances and the remainder will be placed on `availability` instances. // Note that this value does not affect cluster size and cannot currently be // mutated over the lifetime of a cluster. FirstOnDemand types.Int64 `tfsdk:"first_on_demand"` // Defines values necessary to configure and run Azure Log Analytics agent LogAnalyticsInfo types.List `tfsdk:"log_analytics_info"` // The max bid price to be used for Azure spot instances. The Max price for // the bid cannot be higher than the on-demand price of the instance. If not // specified, the default value is -1, which specifies that the instance // cannot be evicted on the basis of price, and only on the basis of // availability. Further, the value should > 0 or -1. SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"` }
func (AzureAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c AzureAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (AzureAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AzureAttributes_SdkV2) GetLogAnalyticsInfo ¶ added in v1.62.1
func (o *AzureAttributes_SdkV2) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo_SdkV2, bool)
GetLogAnalyticsInfo returns the value of the LogAnalyticsInfo field in AzureAttributes_SdkV2 as a LogAnalyticsInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*AzureAttributes_SdkV2) SetLogAnalyticsInfo ¶ added in v1.62.1
func (o *AzureAttributes_SdkV2) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo_SdkV2)
SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes_SdkV2.
func (*AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes_SdkV2)
func (*AzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureAttributes_SdkV2)
func (AzureAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o AzureAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AzureAttributes_SdkV2 only implements ToObjectValue() and Type().
type CancelCommand ¶
type CancelCommand struct { ClusterId types.String `tfsdk:"clusterId"` CommandId types.String `tfsdk:"commandId"` ContextId types.String `tfsdk:"contextId"` }
func (CancelCommand) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelCommand) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelCommand) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCommand. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelCommand) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CancelCommand) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand)
func (*CancelCommand) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CancelCommand) SyncEffectiveFieldsDuringRead(existingState CancelCommand)
func (CancelCommand) ToObjectValue ¶ added in v1.61.0
func (o CancelCommand) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelCommand only implements ToObjectValue() and Type().
type CancelCommand_SdkV2 ¶ added in v1.62.1
type CancelCommand_SdkV2 struct { ClusterId types.String `tfsdk:"clusterId"` CommandId types.String `tfsdk:"commandId"` ContextId types.String `tfsdk:"contextId"` }
func (CancelCommand_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CancelCommand_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelCommand_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCommand. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CancelCommand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand_SdkV2)
func (*CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelCommand_SdkV2)
func (CancelCommand_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelCommand_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelCommand_SdkV2 only implements ToObjectValue() and Type().
type CancelResponse ¶
type CancelResponse struct { }
func (CancelResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelResponse) ToObjectValue ¶ added in v1.61.0
func (o CancelResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelResponse only implements ToObjectValue() and Type().
type CancelResponse_SdkV2 ¶ added in v1.62.1
type CancelResponse_SdkV2 struct { }
func (CancelResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CancelResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CancelResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CancelResponse_SdkV2 only implements ToObjectValue() and Type().
type ChangeClusterOwner ¶
type ChangeClusterOwner struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` // New owner of the cluster_id after this RPC. OwnerUsername types.String `tfsdk:"owner_username"` }
func (ChangeClusterOwner) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ChangeClusterOwner) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ChangeClusterOwner) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwner. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ChangeClusterOwner) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner)
func (*ChangeClusterOwner) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner)
func (ChangeClusterOwner) ToObjectValue ¶ added in v1.61.0
func (o ChangeClusterOwner) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ChangeClusterOwner only implements ToObjectValue() and Type().
type ChangeClusterOwnerResponse ¶
type ChangeClusterOwnerResponse struct { }
func (ChangeClusterOwnerResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ChangeClusterOwnerResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ChangeClusterOwnerResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ChangeClusterOwnerResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwnerResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse)
func (*ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse)
func (ChangeClusterOwnerResponse) ToObjectValue ¶ added in v1.61.0
func (o ChangeClusterOwnerResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ChangeClusterOwnerResponse only implements ToObjectValue() and Type().
type ChangeClusterOwnerResponse_SdkV2 ¶ added in v1.62.1
type ChangeClusterOwnerResponse_SdkV2 struct { }
func (ChangeClusterOwnerResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ChangeClusterOwnerResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ChangeClusterOwnerResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ChangeClusterOwnerResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwnerResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse_SdkV2)
func (*ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse_SdkV2)
func (ChangeClusterOwnerResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ChangeClusterOwnerResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ChangeClusterOwnerResponse_SdkV2 only implements ToObjectValue() and Type().
type ChangeClusterOwner_SdkV2 ¶ added in v1.62.1
type ChangeClusterOwner_SdkV2 struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` // New owner of the cluster_id after this RPC. OwnerUsername types.String `tfsdk:"owner_username"` }
func (ChangeClusterOwner_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ChangeClusterOwner_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ChangeClusterOwner_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwner. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner_SdkV2)
func (*ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner_SdkV2)
func (ChangeClusterOwner_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ChangeClusterOwner_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ChangeClusterOwner_SdkV2 only implements ToObjectValue() and Type().
type ClientsTypes ¶
type ClientsTypes struct { // With jobs set, the cluster can be used for jobs Jobs types.Bool `tfsdk:"jobs"` // With notebooks set, this cluster can be used for notebooks Notebooks types.Bool `tfsdk:"notebooks"` }
func (ClientsTypes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClientsTypes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClientsTypes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClientsTypes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClientsTypes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClientsTypes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes)
func (*ClientsTypes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClientsTypes) SyncEffectiveFieldsDuringRead(existingState ClientsTypes)
func (ClientsTypes) ToObjectValue ¶ added in v1.61.0
func (o ClientsTypes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClientsTypes only implements ToObjectValue() and Type().
type ClientsTypes_SdkV2 ¶ added in v1.62.1
type ClientsTypes_SdkV2 struct { // With jobs set, the cluster can be used for jobs Jobs types.Bool `tfsdk:"jobs"` // With notebooks set, this cluster can be used for notebooks Notebooks types.Bool `tfsdk:"notebooks"` }
func (ClientsTypes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClientsTypes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClientsTypes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClientsTypes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClientsTypes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes_SdkV2)
func (*ClientsTypes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClientsTypes_SdkV2)
func (ClientsTypes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClientsTypes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClientsTypes_SdkV2 only implements ToObjectValue() and Type().
type CloneCluster ¶
type CloneCluster struct { // The cluster that is being cloned. SourceClusterId types.String `tfsdk:"source_cluster_id"` }
func (CloneCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CloneCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CloneCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CloneCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CloneCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CloneCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster)
func (*CloneCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CloneCluster) SyncEffectiveFieldsDuringRead(existingState CloneCluster)
func (CloneCluster) ToObjectValue ¶ added in v1.61.0
func (o CloneCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CloneCluster only implements ToObjectValue() and Type().
type CloneCluster_SdkV2 ¶ added in v1.62.1
type CloneCluster_SdkV2 struct { // The cluster that is being cloned. SourceClusterId types.String `tfsdk:"source_cluster_id"` }
func (CloneCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CloneCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CloneCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CloneCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CloneCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster_SdkV2)
func (*CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloneCluster_SdkV2)
func (CloneCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CloneCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CloneCluster_SdkV2 only implements ToObjectValue() and Type().
type CloudProviderNodeInfo ¶
func (CloudProviderNodeInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CloudProviderNodeInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CloudProviderNodeInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudProviderNodeInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CloudProviderNodeInfo) GetStatus ¶ added in v1.61.0
GetStatus returns the value of the Status field in CloudProviderNodeInfo as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CloudProviderNodeInfo) SetStatus ¶ added in v1.61.0
func (o *CloudProviderNodeInfo) SetStatus(ctx context.Context, v []types.String)
SetStatus sets the value of the Status field in CloudProviderNodeInfo.
func (*CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo)
func (*CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo)
func (CloudProviderNodeInfo) ToObjectValue ¶ added in v1.61.0
func (o CloudProviderNodeInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CloudProviderNodeInfo only implements ToObjectValue() and Type().
type CloudProviderNodeInfo_SdkV2 ¶ added in v1.62.1
func (CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CloudProviderNodeInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CloudProviderNodeInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudProviderNodeInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CloudProviderNodeInfo_SdkV2) GetStatus ¶ added in v1.62.1
GetStatus returns the value of the Status field in CloudProviderNodeInfo_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CloudProviderNodeInfo_SdkV2) SetStatus ¶ added in v1.62.1
func (o *CloudProviderNodeInfo_SdkV2) SetStatus(ctx context.Context, v []types.String)
SetStatus sets the value of the Status field in CloudProviderNodeInfo_SdkV2.
func (*CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo_SdkV2)
func (*CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo_SdkV2)
func (CloudProviderNodeInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CloudProviderNodeInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CloudProviderNodeInfo_SdkV2 only implements ToObjectValue() and Type().
type ClusterAccessControlRequest ¶
type ClusterAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterAccessControlRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest)
func (*ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest)
func (ClusterAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o ClusterAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAccessControlRequest only implements ToObjectValue() and Type().
type ClusterAccessControlRequest_SdkV2 ¶ added in v1.62.1
type ClusterAccessControlRequest_SdkV2 struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterAccessControlRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest_SdkV2)
func (*ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest_SdkV2)
func (ClusterAccessControlRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().
type ClusterAccessControlResponse ¶
type ClusterAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterAccessControlResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *ClusterAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ClusterPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in ClusterAccessControlResponse as a slice of ClusterPermission values. If the field is unknown or null, the boolean return value is false.
func (ClusterAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *ClusterAccessControlResponse) SetAllPermissions(ctx context.Context, v []ClusterPermission)
SetAllPermissions sets the value of the AllPermissions field in ClusterAccessControlResponse.
func (*ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse)
func (*ClusterAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse)
func (ClusterAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o ClusterAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAccessControlResponse only implements ToObjectValue() and Type().
type ClusterAccessControlResponse_SdkV2 ¶ added in v1.62.1
type ClusterAccessControlResponse_SdkV2 struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterAccessControlResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterAccessControlResponse_SdkV2) GetAllPermissions ¶ added in v1.62.1
func (o *ClusterAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]ClusterPermission_SdkV2, bool)
GetAllPermissions returns the value of the AllPermissions field in ClusterAccessControlResponse_SdkV2 as a slice of ClusterPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterAccessControlResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAccessControlResponse_SdkV2) SetAllPermissions ¶ added in v1.62.1
func (o *ClusterAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []ClusterPermission_SdkV2)
SetAllPermissions sets the value of the AllPermissions field in ClusterAccessControlResponse_SdkV2.
func (*ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse_SdkV2)
func (*ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse_SdkV2)
func (ClusterAccessControlResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().
type ClusterAttributes ¶
type ClusterAttributes struct { // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.Object `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (ClusterAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterAttributes) GetAwsAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterAttributes as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetAzureAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterAttributes as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetClusterLogConf ¶ added in v1.61.0
func (o *ClusterAttributes) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterAttributes as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (ClusterAttributes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAttributes) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetDockerImage ¶ added in v1.61.0
func (o *ClusterAttributes) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in ClusterAttributes as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetGcpAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterAttributes as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetInitScripts ¶ added in v1.61.0
func (o *ClusterAttributes) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in ClusterAttributes as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetSparkEnvVars ¶ added in v1.61.0
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterAttributes as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) GetWorkloadType ¶ added in v1.61.0
func (o *ClusterAttributes) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterAttributes as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes) SetAwsAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterAttributes.
func (*ClusterAttributes) SetAzureAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterAttributes.
func (*ClusterAttributes) SetClusterLogConf ¶ added in v1.61.0
func (o *ClusterAttributes) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterAttributes.
func (*ClusterAttributes) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in ClusterAttributes.
func (*ClusterAttributes) SetDockerImage ¶ added in v1.61.0
func (o *ClusterAttributes) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in ClusterAttributes.
func (*ClusterAttributes) SetGcpAttributes ¶ added in v1.61.0
func (o *ClusterAttributes) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterAttributes.
func (*ClusterAttributes) SetInitScripts ¶ added in v1.61.0
func (o *ClusterAttributes) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in ClusterAttributes.
func (*ClusterAttributes) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in ClusterAttributes.
func (*ClusterAttributes) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterAttributes.
func (*ClusterAttributes) SetSshPublicKeys ¶ added in v1.61.0
func (o *ClusterAttributes) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes.
func (*ClusterAttributes) SetWorkloadType ¶ added in v1.61.0
func (o *ClusterAttributes) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes.
func (*ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes)
func (*ClusterAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterAttributes) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes)
func (ClusterAttributes) ToObjectValue ¶ added in v1.61.0
func (o ClusterAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAttributes only implements ToObjectValue() and Type().
type ClusterAttributes_SdkV2 ¶ added in v1.62.1
type ClusterAttributes_SdkV2 struct { // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.List `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (ClusterAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterAttributes_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterAttributes_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterAttributes_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterAttributes_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (ClusterAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterAttributes_SdkV2) GetCustomTags ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
GetCustomTags returns the value of the CustomTags field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in ClusterAttributes_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterAttributes_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in ClusterAttributes_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetSparkConf ¶ added in v1.62.1
GetSparkConf returns the value of the SparkConf field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterAttributes_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterAttributes_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterAttributes_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *ClusterAttributes_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes_SdkV2.
func (*ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes_SdkV2)
func (*ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes_SdkV2)
func (ClusterAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterAttributes_SdkV2 only implements ToObjectValue() and Type().
type ClusterCompliance ¶
type ClusterCompliance struct { // Canonical unique identifier for a cluster. ClusterId types.String `tfsdk:"cluster_id"` // Whether this cluster is in compliance with the latest version of its // policy. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. The values indicate an error message describing the // policy validation error. Violations types.Map `tfsdk:"violations"` }
func (ClusterCompliance) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterCompliance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterCompliance) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterCompliance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterCompliance) GetViolations ¶ added in v1.61.0
GetViolations returns the value of the Violations field in ClusterCompliance as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterCompliance) SetViolations ¶ added in v1.61.0
SetViolations sets the value of the Violations field in ClusterCompliance.
func (*ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance)
func (*ClusterCompliance) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterCompliance) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance)
func (ClusterCompliance) ToObjectValue ¶ added in v1.61.0
func (o ClusterCompliance) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterCompliance only implements ToObjectValue() and Type().
type ClusterCompliance_SdkV2 ¶ added in v1.62.1
type ClusterCompliance_SdkV2 struct { // Canonical unique identifier for a cluster. ClusterId types.String `tfsdk:"cluster_id"` // Whether this cluster is in compliance with the latest version of its // policy. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. The values indicate an error message describing the // policy validation error. Violations types.Map `tfsdk:"violations"` }
func (ClusterCompliance_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterCompliance_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterCompliance_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterCompliance. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterCompliance_SdkV2) GetViolations ¶ added in v1.62.1
func (o *ClusterCompliance_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
GetViolations returns the value of the Violations field in ClusterCompliance_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterCompliance_SdkV2) SetViolations ¶ added in v1.62.1
SetViolations sets the value of the Violations field in ClusterCompliance_SdkV2.
func (*ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance_SdkV2)
func (*ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance_SdkV2)
func (ClusterCompliance_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterCompliance_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterCompliance_SdkV2 only implements ToObjectValue() and Type().
type ClusterDetails ¶
type ClusterDetails struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // Number of CPU cores available for this cluster. Note that this can be // fractional, e.g. 7.5 cores, since certain node types are configured to // share cores between Spark nodes on the same instance. ClusterCores types.Float64 `tfsdk:"cluster_cores"` // Canonical identifier for the cluster. This id is retained during cluster // restarts and resizes, while each new cluster has a globally unique id. ClusterId types.String `tfsdk:"cluster_id"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster log delivery status. ClusterLogStatus types.Object `tfsdk:"cluster_log_status"` // Total amount of cluster memory, in megabytes ClusterMemoryMb types.Int64 `tfsdk:"cluster_memory_mb"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Determines whether the cluster was created by a user through the UI, // created by the Databricks Jobs Scheduler, or through an API request. This // is the same as cluster_creator, but read only. ClusterSource types.String `tfsdk:"cluster_source"` // Creator user name. The field won't be included in the response if the // user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - Creator: <username_of_creator> // // - ClusterName: <name_of_cluster> // // - ClusterId: <id_of_cluster> // // - Name: <Databricks internal use> DefaultTags types.Map `tfsdk:"default_tags"` DockerImage types.Object `tfsdk:"docker_image"` // Node on which the Spark driver resides. The driver node contains the // Spark master and the Databricks application that manages the per-notebook // Spark REPLs. Driver types.Object `tfsdk:"driver"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Nodes on which the Spark executors reside. Executors types.List `tfsdk:"executors"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // Port on which Spark JDBC server is listening, in the driver nod. No // service will be listeningon on this port in executor nodes. JdbcPort types.Int64 `tfsdk:"jdbc_port"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // the timestamp that the cluster was started/restarted LastRestartedTime types.Int64 `tfsdk:"last_restarted_time"` // Time when the cluster driver last lost its state (due to a restart or // driver failure). LastStateLossTime types.Int64 `tfsdk:"last_state_loss_time"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // A canonical SparkContext identifier. This value *does* change when the // Spark driver restarts. The pair `(cluster_id, spark_context_id)` is a // globally unique identifier over all Spark contexts. SparkContextId types.Int64 `tfsdk:"spark_context_id"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // `spec` contains a snapshot of the field values that were used to create // or edit this cluster. The contents of `spec` can be used in the body of a // create cluster request. This field might not be populated for older // clusters. Note: not included in the response of the ListClusters API. Spec types.Object `tfsdk:"spec"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // Time (in epoch milliseconds) when the cluster creation request was // received (when the cluster entered a `PENDING` state). StartTime types.Int64 `tfsdk:"start_time"` // Current state of the cluster. State types.String `tfsdk:"state"` // A message associated with the most recent state transition (e.g., the // reason why the cluster entered a `TERMINATED` state). StateMessage types.String `tfsdk:"state_message"` // Time (in epoch milliseconds) when the cluster was terminated, if // applicable. TerminatedTime types.Int64 `tfsdk:"terminated_time"` // Information about why the cluster was terminated. This field only appears // when the cluster is in a `TERMINATING` or `TERMINATED` state. TerminationReason types.Object `tfsdk:"termination_reason"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (ClusterDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterDetails) GetAutoscale ¶ added in v1.61.0
func (o *ClusterDetails) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in ClusterDetails as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetAwsAttributes ¶ added in v1.61.0
func (o *ClusterDetails) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterDetails as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetAzureAttributes ¶ added in v1.61.0
func (o *ClusterDetails) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterDetails as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetClusterLogConf ¶ added in v1.61.0
func (o *ClusterDetails) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterDetails as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetClusterLogStatus ¶ added in v1.61.0
func (o *ClusterDetails) GetClusterLogStatus(ctx context.Context) (LogSyncStatus, bool)
GetClusterLogStatus returns the value of the ClusterLogStatus field in ClusterDetails as a LogSyncStatus value. If the field is unknown or null, the boolean return value is false.
func (ClusterDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterDetails) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetDefaultTags ¶ added in v1.61.0
GetDefaultTags returns the value of the DefaultTags field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetDockerImage ¶ added in v1.61.0
func (o *ClusterDetails) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in ClusterDetails as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetDriver ¶ added in v1.61.0
func (o *ClusterDetails) GetDriver(ctx context.Context) (SparkNode, bool)
GetDriver returns the value of the Driver field in ClusterDetails as a SparkNode value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetExecutors ¶ added in v1.61.0
func (o *ClusterDetails) GetExecutors(ctx context.Context) ([]SparkNode, bool)
GetExecutors returns the value of the Executors field in ClusterDetails as a slice of SparkNode values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetGcpAttributes ¶ added in v1.61.0
func (o *ClusterDetails) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterDetails as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetInitScripts ¶ added in v1.61.0
func (o *ClusterDetails) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in ClusterDetails as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetSparkEnvVars ¶ added in v1.61.0
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetSpec ¶ added in v1.61.0
func (o *ClusterDetails) GetSpec(ctx context.Context) (ClusterSpec, bool)
GetSpec returns the value of the Spec field in ClusterDetails as a ClusterSpec value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterDetails as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetTerminationReason ¶ added in v1.61.0
func (o *ClusterDetails) GetTerminationReason(ctx context.Context) (TerminationReason, bool)
GetTerminationReason returns the value of the TerminationReason field in ClusterDetails as a TerminationReason value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) GetWorkloadType ¶ added in v1.61.0
func (o *ClusterDetails) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterDetails as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails) SetAutoscale ¶ added in v1.61.0
func (o *ClusterDetails) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in ClusterDetails.
func (*ClusterDetails) SetAwsAttributes ¶ added in v1.61.0
func (o *ClusterDetails) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterDetails.
func (*ClusterDetails) SetAzureAttributes ¶ added in v1.61.0
func (o *ClusterDetails) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterDetails.
func (*ClusterDetails) SetClusterLogConf ¶ added in v1.61.0
func (o *ClusterDetails) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterDetails.
func (*ClusterDetails) SetClusterLogStatus ¶ added in v1.61.0
func (o *ClusterDetails) SetClusterLogStatus(ctx context.Context, v LogSyncStatus)
SetClusterLogStatus sets the value of the ClusterLogStatus field in ClusterDetails.
func (*ClusterDetails) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in ClusterDetails.
func (*ClusterDetails) SetDefaultTags ¶ added in v1.61.0
SetDefaultTags sets the value of the DefaultTags field in ClusterDetails.
func (*ClusterDetails) SetDockerImage ¶ added in v1.61.0
func (o *ClusterDetails) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in ClusterDetails.
func (*ClusterDetails) SetDriver ¶ added in v1.61.0
func (o *ClusterDetails) SetDriver(ctx context.Context, v SparkNode)
SetDriver sets the value of the Driver field in ClusterDetails.
func (*ClusterDetails) SetExecutors ¶ added in v1.61.0
func (o *ClusterDetails) SetExecutors(ctx context.Context, v []SparkNode)
SetExecutors sets the value of the Executors field in ClusterDetails.
func (*ClusterDetails) SetGcpAttributes ¶ added in v1.61.0
func (o *ClusterDetails) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterDetails.
func (*ClusterDetails) SetInitScripts ¶ added in v1.61.0
func (o *ClusterDetails) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in ClusterDetails.
func (*ClusterDetails) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in ClusterDetails.
func (*ClusterDetails) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterDetails.
func (*ClusterDetails) SetSpec ¶ added in v1.61.0
func (o *ClusterDetails) SetSpec(ctx context.Context, v ClusterSpec)
SetSpec sets the value of the Spec field in ClusterDetails.
func (*ClusterDetails) SetSshPublicKeys ¶ added in v1.61.0
func (o *ClusterDetails) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterDetails.
func (*ClusterDetails) SetTerminationReason ¶ added in v1.61.0
func (o *ClusterDetails) SetTerminationReason(ctx context.Context, v TerminationReason)
SetTerminationReason sets the value of the TerminationReason field in ClusterDetails.
func (*ClusterDetails) SetWorkloadType ¶ added in v1.61.0
func (o *ClusterDetails) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in ClusterDetails.
func (*ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails)
func (*ClusterDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterDetails) SyncEffectiveFieldsDuringRead(existingState ClusterDetails)
func (ClusterDetails) ToObjectValue ¶ added in v1.61.0
func (o ClusterDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterDetails only implements ToObjectValue() and Type().
type ClusterDetails_SdkV2 ¶ added in v1.62.1
type ClusterDetails_SdkV2 struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // Number of CPU cores available for this cluster. Note that this can be // fractional, e.g. 7.5 cores, since certain node types are configured to // share cores between Spark nodes on the same instance. ClusterCores types.Float64 `tfsdk:"cluster_cores"` // Canonical identifier for the cluster. This id is retained during cluster // restarts and resizes, while each new cluster has a globally unique id. ClusterId types.String `tfsdk:"cluster_id"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster log delivery status. ClusterLogStatus types.List `tfsdk:"cluster_log_status"` // Total amount of cluster memory, in megabytes ClusterMemoryMb types.Int64 `tfsdk:"cluster_memory_mb"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Determines whether the cluster was created by a user through the UI, // created by the Databricks Jobs Scheduler, or through an API request. This // is the same as cluster_creator, but read only. ClusterSource types.String `tfsdk:"cluster_source"` // Creator user name. The field won't be included in the response if the // user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - Creator: <username_of_creator> // // - ClusterName: <name_of_cluster> // // - ClusterId: <id_of_cluster> // // - Name: <Databricks internal use> DefaultTags types.Map `tfsdk:"default_tags"` DockerImage types.List `tfsdk:"docker_image"` // Node on which the Spark driver resides. The driver node contains the // Spark master and the Databricks application that manages the per-notebook // Spark REPLs. Driver types.List `tfsdk:"driver"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Nodes on which the Spark executors reside. Executors types.List `tfsdk:"executors"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // Port on which Spark JDBC server is listening, in the driver nod. No // service will be listeningon on this port in executor nodes. JdbcPort types.Int64 `tfsdk:"jdbc_port"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // the timestamp that the cluster was started/restarted LastRestartedTime types.Int64 `tfsdk:"last_restarted_time"` // Time when the cluster driver last lost its state (due to a restart or // driver failure). LastStateLossTime types.Int64 `tfsdk:"last_state_loss_time"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // A canonical SparkContext identifier. This value *does* change when the // Spark driver restarts. The pair `(cluster_id, spark_context_id)` is a // globally unique identifier over all Spark contexts. SparkContextId types.Int64 `tfsdk:"spark_context_id"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // `spec` contains a snapshot of the field values that were used to create // or edit this cluster. The contents of `spec` can be used in the body of a // create cluster request. This field might not be populated for older // clusters. Note: not included in the response of the ListClusters API. Spec types.List `tfsdk:"spec"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // Time (in epoch milliseconds) when the cluster creation request was // received (when the cluster entered a `PENDING` state). StartTime types.Int64 `tfsdk:"start_time"` // Current state of the cluster. State types.String `tfsdk:"state"` // A message associated with the most recent state transition (e.g., the // reason why the cluster entered a `TERMINATED` state). StateMessage types.String `tfsdk:"state_message"` // Time (in epoch milliseconds) when the cluster was terminated, if // applicable. TerminatedTime types.Int64 `tfsdk:"terminated_time"` // Information about why the cluster was terminated. This field only appears // when the cluster is in a `TERMINATING` or `TERMINATED` state. TerminationReason types.List `tfsdk:"termination_reason"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (ClusterDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterDetails_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in ClusterDetails_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterDetails_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterDetails_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterDetails_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetClusterLogStatus ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetClusterLogStatus(ctx context.Context) (LogSyncStatus_SdkV2, bool)
GetClusterLogStatus returns the value of the ClusterLogStatus field in ClusterDetails_SdkV2 as a LogSyncStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (ClusterDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterDetails_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetDefaultTags ¶ added in v1.62.1
GetDefaultTags returns the value of the DefaultTags field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in ClusterDetails_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetDriver ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetDriver(ctx context.Context) (SparkNode_SdkV2, bool)
GetDriver returns the value of the Driver field in ClusterDetails_SdkV2 as a SparkNode_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetExecutors ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetExecutors(ctx context.Context) ([]SparkNode_SdkV2, bool)
GetExecutors returns the value of the Executors field in ClusterDetails_SdkV2 as a slice of SparkNode_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterDetails_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in ClusterDetails_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetSparkConf ¶ added in v1.62.1
GetSparkConf returns the value of the SparkConf field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetSpec ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetSpec(ctx context.Context) (ClusterSpec_SdkV2, bool)
GetSpec returns the value of the Spec field in ClusterDetails_SdkV2 as a ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterDetails_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetTerminationReason ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetTerminationReason(ctx context.Context) (TerminationReason_SdkV2, bool)
GetTerminationReason returns the value of the TerminationReason field in ClusterDetails_SdkV2 as a TerminationReason_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterDetails_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterDetails_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetClusterLogStatus ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetClusterLogStatus(ctx context.Context, v LogSyncStatus_SdkV2)
SetClusterLogStatus sets the value of the ClusterLogStatus field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetDefaultTags ¶ added in v1.62.1
SetDefaultTags sets the value of the DefaultTags field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetDriver ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetDriver(ctx context.Context, v SparkNode_SdkV2)
SetDriver sets the value of the Driver field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetExecutors ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetExecutors(ctx context.Context, v []SparkNode_SdkV2)
SetExecutors sets the value of the Executors field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetSpec ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetSpec(ctx context.Context, v ClusterSpec_SdkV2)
SetSpec sets the value of the Spec field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetTerminationReason ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetTerminationReason(ctx context.Context, v TerminationReason_SdkV2)
SetTerminationReason sets the value of the TerminationReason field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *ClusterDetails_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in ClusterDetails_SdkV2.
func (*ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails_SdkV2)
func (*ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterDetails_SdkV2)
func (ClusterDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterDetails_SdkV2 only implements ToObjectValue() and Type().
type ClusterEvent ¶
type ClusterEvent struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` // <needs content added> DataPlaneEventDetails types.Object `tfsdk:"data_plane_event_details"` // <needs content added> Details types.Object `tfsdk:"details"` // The timestamp when the event occurred, stored as the number of // milliseconds since the Unix epoch. If not provided, this will be assigned // by the Timeline service. Timestamp types.Int64 `tfsdk:"timestamp"` Type_ types.String `tfsdk:"type"` }
func (ClusterEvent) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterEvent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterEvent) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterEvent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterEvent) GetDataPlaneEventDetails ¶ added in v1.61.0
func (o *ClusterEvent) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails, bool)
GetDataPlaneEventDetails returns the value of the DataPlaneEventDetails field in ClusterEvent as a DataPlaneEventDetails value. If the field is unknown or null, the boolean return value is false.
func (*ClusterEvent) GetDetails ¶ added in v1.61.0
func (o *ClusterEvent) GetDetails(ctx context.Context) (EventDetails, bool)
GetDetails returns the value of the Details field in ClusterEvent as a EventDetails value. If the field is unknown or null, the boolean return value is false.
func (*ClusterEvent) SetDataPlaneEventDetails ¶ added in v1.61.0
func (o *ClusterEvent) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails)
SetDataPlaneEventDetails sets the value of the DataPlaneEventDetails field in ClusterEvent.
func (*ClusterEvent) SetDetails ¶ added in v1.61.0
func (o *ClusterEvent) SetDetails(ctx context.Context, v EventDetails)
SetDetails sets the value of the Details field in ClusterEvent.
func (*ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent)
func (*ClusterEvent) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterEvent) SyncEffectiveFieldsDuringRead(existingState ClusterEvent)
func (ClusterEvent) ToObjectValue ¶ added in v1.61.0
func (o ClusterEvent) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterEvent only implements ToObjectValue() and Type().
type ClusterEvent_SdkV2 ¶ added in v1.62.1
type ClusterEvent_SdkV2 struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` // <needs content added> DataPlaneEventDetails types.List `tfsdk:"data_plane_event_details"` // <needs content added> Details types.List `tfsdk:"details"` // The timestamp when the event occurred, stored as the number of // milliseconds since the Unix epoch. If not provided, this will be assigned // by the Timeline service. Timestamp types.Int64 `tfsdk:"timestamp"` Type_ types.String `tfsdk:"type"` }
func (ClusterEvent_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterEvent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterEvent_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterEvent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterEvent_SdkV2) GetDataPlaneEventDetails ¶ added in v1.62.1
func (o *ClusterEvent_SdkV2) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails_SdkV2, bool)
GetDataPlaneEventDetails returns the value of the DataPlaneEventDetails field in ClusterEvent_SdkV2 as a DataPlaneEventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterEvent_SdkV2) GetDetails ¶ added in v1.62.1
func (o *ClusterEvent_SdkV2) GetDetails(ctx context.Context) (EventDetails_SdkV2, bool)
GetDetails returns the value of the Details field in ClusterEvent_SdkV2 as a EventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterEvent_SdkV2) SetDataPlaneEventDetails ¶ added in v1.62.1
func (o *ClusterEvent_SdkV2) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails_SdkV2)
SetDataPlaneEventDetails sets the value of the DataPlaneEventDetails field in ClusterEvent_SdkV2.
func (*ClusterEvent_SdkV2) SetDetails ¶ added in v1.62.1
func (o *ClusterEvent_SdkV2) SetDetails(ctx context.Context, v EventDetails_SdkV2)
SetDetails sets the value of the Details field in ClusterEvent_SdkV2.
func (*ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent_SdkV2)
func (*ClusterEvent_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterEvent_SdkV2)
func (ClusterEvent_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterEvent_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterEvent_SdkV2 only implements ToObjectValue() and Type().
type ClusterLibraryStatuses ¶
type ClusterLibraryStatuses struct { // Unique identifier for the cluster. ClusterId types.String `tfsdk:"cluster_id"` // Status of all libraries on the cluster. LibraryStatuses types.List `tfsdk:"library_statuses"` }
func (ClusterLibraryStatuses) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterLibraryStatuses) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterLibraryStatuses) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLibraryStatuses. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterLibraryStatuses) GetLibraryStatuses ¶ added in v1.61.0
func (o *ClusterLibraryStatuses) GetLibraryStatuses(ctx context.Context) ([]LibraryFullStatus, bool)
GetLibraryStatuses returns the value of the LibraryStatuses field in ClusterLibraryStatuses as a slice of LibraryFullStatus values. If the field is unknown or null, the boolean return value is false.
func (*ClusterLibraryStatuses) SetLibraryStatuses ¶ added in v1.61.0
func (o *ClusterLibraryStatuses) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus)
SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses.
func (*ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses)
func (*ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses)
func (ClusterLibraryStatuses) ToObjectValue ¶ added in v1.61.0
func (o ClusterLibraryStatuses) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterLibraryStatuses only implements ToObjectValue() and Type().
type ClusterLibraryStatuses_SdkV2 ¶ added in v1.62.1
type ClusterLibraryStatuses_SdkV2 struct { // Unique identifier for the cluster. ClusterId types.String `tfsdk:"cluster_id"` // Status of all libraries on the cluster. LibraryStatuses types.List `tfsdk:"library_statuses"` }
func (ClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterLibraryStatuses_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterLibraryStatuses_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLibraryStatuses. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterLibraryStatuses_SdkV2) GetLibraryStatuses ¶ added in v1.62.1
func (o *ClusterLibraryStatuses_SdkV2) GetLibraryStatuses(ctx context.Context) ([]LibraryFullStatus_SdkV2, bool)
GetLibraryStatuses returns the value of the LibraryStatuses field in ClusterLibraryStatuses_SdkV2 as a slice of LibraryFullStatus_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterLibraryStatuses_SdkV2) SetLibraryStatuses ¶ added in v1.62.1
func (o *ClusterLibraryStatuses_SdkV2) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus_SdkV2)
SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses_SdkV2.
func (*ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses_SdkV2)
func (*ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses_SdkV2)
func (ClusterLibraryStatuses_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterLibraryStatuses_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterLibraryStatuses_SdkV2 only implements ToObjectValue() and Type().
type ClusterLogConf ¶
type ClusterLogConf struct { // destination needs to be provided. e.g. `{ "dbfs" : { "destination" : // "dbfs:/home/cluster_log" } }` Dbfs types.Object `tfsdk:"dbfs"` // destination and either the region or endpoint need to be provided. e.g. // `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" : // "us-west-2" } }` Cluster iam role is used to access s3, please make sure // the cluster iam role in `instance_profile_arn` has permission to write // data to the s3 destination. S3 types.Object `tfsdk:"s3"` }
func (ClusterLogConf) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterLogConf) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterLogConf) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLogConf. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterLogConf) GetDbfs ¶ added in v1.61.0
func (o *ClusterLogConf) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)
GetDbfs returns the value of the Dbfs field in ClusterLogConf as a DbfsStorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*ClusterLogConf) GetS3 ¶ added in v1.61.0
func (o *ClusterLogConf) GetS3(ctx context.Context) (S3StorageInfo, bool)
GetS3 returns the value of the S3 field in ClusterLogConf as a S3StorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*ClusterLogConf) SetDbfs ¶ added in v1.61.0
func (o *ClusterLogConf) SetDbfs(ctx context.Context, v DbfsStorageInfo)
SetDbfs sets the value of the Dbfs field in ClusterLogConf.
func (*ClusterLogConf) SetS3 ¶ added in v1.61.0
func (o *ClusterLogConf) SetS3(ctx context.Context, v S3StorageInfo)
SetS3 sets the value of the S3 field in ClusterLogConf.
func (*ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf)
func (*ClusterLogConf) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterLogConf) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf)
func (ClusterLogConf) ToObjectValue ¶ added in v1.61.0
func (o ClusterLogConf) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterLogConf only implements ToObjectValue() and Type().
type ClusterLogConf_SdkV2 ¶ added in v1.62.1
type ClusterLogConf_SdkV2 struct { // destination needs to be provided. e.g. `{ "dbfs" : { "destination" : // "dbfs:/home/cluster_log" } }` Dbfs types.List `tfsdk:"dbfs"` // destination and either the region or endpoint need to be provided. e.g. // `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" : // "us-west-2" } }` Cluster iam role is used to access s3, please make sure // the cluster iam role in `instance_profile_arn` has permission to write // data to the s3 destination. S3 types.List `tfsdk:"s3"` }
func (ClusterLogConf_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterLogConf_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterLogConf_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLogConf. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterLogConf_SdkV2) GetDbfs ¶ added in v1.62.1
func (o *ClusterLogConf_SdkV2) GetDbfs(ctx context.Context) (DbfsStorageInfo_SdkV2, bool)
GetDbfs returns the value of the Dbfs field in ClusterLogConf_SdkV2 as a DbfsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterLogConf_SdkV2) GetS3 ¶ added in v1.62.1
func (o *ClusterLogConf_SdkV2) GetS3(ctx context.Context) (S3StorageInfo_SdkV2, bool)
GetS3 returns the value of the S3 field in ClusterLogConf_SdkV2 as a S3StorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterLogConf_SdkV2) SetDbfs ¶ added in v1.62.1
func (o *ClusterLogConf_SdkV2) SetDbfs(ctx context.Context, v DbfsStorageInfo_SdkV2)
SetDbfs sets the value of the Dbfs field in ClusterLogConf_SdkV2.
func (*ClusterLogConf_SdkV2) SetS3 ¶ added in v1.62.1
func (o *ClusterLogConf_SdkV2) SetS3(ctx context.Context, v S3StorageInfo_SdkV2)
SetS3 sets the value of the S3 field in ClusterLogConf_SdkV2.
func (*ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf_SdkV2)
func (*ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf_SdkV2)
func (ClusterLogConf_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterLogConf_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterLogConf_SdkV2 only implements ToObjectValue() and Type().
type ClusterPermission ¶
type ClusterPermission struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPermission) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPermission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermission) GetInheritedFromObject ¶ added in v1.61.0
GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *ClusterPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission.
func (*ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission)
func (*ClusterPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPermission)
func (ClusterPermission) ToObjectValue ¶ added in v1.61.0
func (o ClusterPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermission only implements ToObjectValue() and Type().
type ClusterPermission_SdkV2 ¶ added in v1.62.1
type ClusterPermission_SdkV2 struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPermission_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPermission_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermission_SdkV2) GetInheritedFromObject ¶ added in v1.62.1
func (o *ClusterPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterPermission_SdkV2) SetInheritedFromObject ¶ added in v1.62.1
func (o *ClusterPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission_SdkV2.
func (*ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission_SdkV2)
func (*ClusterPermission_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermission_SdkV2)
func (ClusterPermission_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermission_SdkV2 only implements ToObjectValue() and Type().
type ClusterPermissions ¶
type ClusterPermissions struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (ClusterPermissions) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *ClusterPermissions) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPermissions as a slice of ClusterAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (ClusterPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *ClusterPermissions) SetAccessControlList(ctx context.Context, v []ClusterAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in ClusterPermissions.
func (*ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions)
func (*ClusterPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions)
func (ClusterPermissions) ToObjectValue ¶ added in v1.61.0
func (o ClusterPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissions only implements ToObjectValue() and Type().
type ClusterPermissionsDescription ¶
type ClusterPermissionsDescription struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPermissionsDescription) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription)
func (*ClusterPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription)
func (ClusterPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o ClusterPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissionsDescription only implements ToObjectValue() and Type().
type ClusterPermissionsDescription_SdkV2 ¶ added in v1.62.1
type ClusterPermissionsDescription_SdkV2 struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPermissionsDescription_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPermissionsDescription_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription_SdkV2)
func (*ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription_SdkV2)
func (ClusterPermissionsDescription_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissionsDescription_SdkV2 only implements ToObjectValue() and Type().
type ClusterPermissionsRequest ¶
type ClusterPermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list"` // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
func (ClusterPermissionsRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *ClusterPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPermissionsRequest as a slice of ClusterAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (ClusterPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *ClusterPermissionsRequest) SetAccessControlList(ctx context.Context, v []ClusterAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in ClusterPermissionsRequest.
func (*ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest)
func (*ClusterPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest)
func (ClusterPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o ClusterPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissionsRequest only implements ToObjectValue() and Type().
type ClusterPermissionsRequest_SdkV2 ¶ added in v1.62.1
type ClusterPermissionsRequest_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
func (ClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPermissionsRequest_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *ClusterPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPermissionsRequest_SdkV2 as a slice of ClusterAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissionsRequest_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *ClusterPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in ClusterPermissionsRequest_SdkV2.
func (*ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest_SdkV2)
func (*ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest_SdkV2)
func (ClusterPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type ClusterPermissions_SdkV2 ¶ added in v1.62.1
type ClusterPermissions_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (ClusterPermissions_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPermissions_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *ClusterPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlResponse_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPermissions_SdkV2 as a slice of ClusterAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterPermissions_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPermissions_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *ClusterPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterAccessControlResponse_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in ClusterPermissions_SdkV2.
func (*ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions_SdkV2)
func (*ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions_SdkV2)
func (ClusterPermissions_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPermissions_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyAccessControlRequest ¶
type ClusterPolicyAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterPolicyAccessControlRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPolicyAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest)
func (*ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest)
func (ClusterPolicyAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyAccessControlRequest only implements ToObjectValue() and Type().
type ClusterPolicyAccessControlRequest_SdkV2 ¶ added in v1.62.1
type ClusterPolicyAccessControlRequest_SdkV2 struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterPolicyAccessControlRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyAccessControlRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest_SdkV2)
func (*ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest_SdkV2)
func (ClusterPolicyAccessControlRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyAccessControlResponse ¶
type ClusterPolicyAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterPolicyAccessControlResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *ClusterPolicyAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ClusterPolicyPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in ClusterPolicyAccessControlResponse as a slice of ClusterPolicyPermission values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPolicyAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *ClusterPolicyAccessControlResponse) SetAllPermissions(ctx context.Context, v []ClusterPolicyPermission)
SetAllPermissions sets the value of the AllPermissions field in ClusterPolicyAccessControlResponse.
func (*ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse)
func (*ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse)
func (ClusterPolicyAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyAccessControlResponse only implements ToObjectValue() and Type().
type ClusterPolicyAccessControlResponse_SdkV2 ¶ added in v1.62.1
type ClusterPolicyAccessControlResponse_SdkV2 struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (ClusterPolicyAccessControlResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyAccessControlResponse_SdkV2) GetAllPermissions ¶ added in v1.62.1
func (o *ClusterPolicyAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]ClusterPolicyPermission_SdkV2, bool)
GetAllPermissions returns the value of the AllPermissions field in ClusterPolicyAccessControlResponse_SdkV2 as a slice of ClusterPolicyPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyAccessControlResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyAccessControlResponse_SdkV2) SetAllPermissions ¶ added in v1.62.1
func (o *ClusterPolicyAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []ClusterPolicyPermission_SdkV2)
SetAllPermissions sets the value of the AllPermissions field in ClusterPolicyAccessControlResponse_SdkV2.
func (*ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse_SdkV2)
func (*ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse_SdkV2)
func (ClusterPolicyAccessControlResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyPermission ¶
type ClusterPolicyPermission struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPolicyPermission) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyPermission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermission) GetInheritedFromObject ¶ added in v1.61.0
func (o *ClusterPolicyPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPolicyPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterPolicyPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *ClusterPolicyPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission.
func (*ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission)
func (*ClusterPolicyPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission)
func (ClusterPolicyPermission) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermission only implements ToObjectValue() and Type().
type ClusterPolicyPermission_SdkV2 ¶ added in v1.62.1
type ClusterPolicyPermission_SdkV2 struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPolicyPermission_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyPermission_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermission_SdkV2) GetInheritedFromObject ¶ added in v1.62.1
func (o *ClusterPolicyPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPolicyPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterPolicyPermission_SdkV2) SetInheritedFromObject ¶ added in v1.62.1
func (o *ClusterPolicyPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission_SdkV2.
func (*ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission_SdkV2)
func (*ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission_SdkV2)
func (ClusterPolicyPermission_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermission_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyPermissions ¶
type ClusterPolicyPermissions struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (ClusterPolicyPermissions) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *ClusterPolicyPermissions) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissions as a slice of ClusterPolicyAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *ClusterPolicyPermissions) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissions.
func (*ClusterPolicyPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions)
func (*ClusterPolicyPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions)
func (ClusterPolicyPermissions) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissions only implements ToObjectValue() and Type().
type ClusterPolicyPermissionsDescription ¶
type ClusterPolicyPermissionsDescription struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPolicyPermissionsDescription) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPolicyPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription)
func (*ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription)
func (ClusterPolicyPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissionsDescription only implements ToObjectValue() and Type().
type ClusterPolicyPermissionsDescription_SdkV2 ¶ added in v1.62.1
type ClusterPolicyPermissionsDescription_SdkV2 struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (ClusterPolicyPermissionsDescription_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterPolicyPermissionsDescription_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription_SdkV2)
func (*ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription_SdkV2)
func (ClusterPolicyPermissionsDescription_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissionsDescription_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyPermissionsRequest ¶
type ClusterPolicyPermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list"` // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
func (ClusterPolicyPermissionsRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *ClusterPolicyPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissionsRequest as a slice of ClusterPolicyAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ClusterPolicyPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *ClusterPolicyPermissionsRequest) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissionsRequest.
func (*ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest)
func (*ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest)
func (ClusterPolicyPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o ClusterPolicyPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissionsRequest only implements ToObjectValue() and Type().
type ClusterPolicyPermissionsRequest_SdkV2 ¶ added in v1.62.1
type ClusterPolicyPermissionsRequest_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
func (ClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyPermissionsRequest_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *ClusterPolicyPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissionsRequest_SdkV2 as a slice of ClusterPolicyAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissionsRequest_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *ClusterPolicyPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissionsRequest_SdkV2.
func (*ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest_SdkV2)
func (*ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest_SdkV2)
func (ClusterPolicyPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type ClusterPolicyPermissions_SdkV2 ¶ added in v1.62.1
type ClusterPolicyPermissions_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (ClusterPolicyPermissions_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterPolicyPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterPolicyPermissions_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *ClusterPolicyPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]ClusterPolicyAccessControlResponse_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissions_SdkV2 as a slice of ClusterPolicyAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ClusterPolicyPermissions_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterPolicyPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterPolicyPermissions_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *ClusterPolicyPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []ClusterPolicyAccessControlResponse_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissions_SdkV2.
func (*ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions_SdkV2)
func (*ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions_SdkV2)
func (ClusterPolicyPermissions_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterPolicyPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterPolicyPermissions_SdkV2 only implements ToObjectValue() and Type().
type ClusterSettingsChange ¶
type ClusterSettingsChange struct { // The field where this change would be made. Field types.String `tfsdk:"field"` // The new value of this field after enforcing policy compliance (either a // number, a boolean, or a string) converted to a string. This is intended // to be read by a human. The typed new value of this field can be retrieved // by reading the settings field in the API response. NewValue types.String `tfsdk:"new_value"` // The previous value of this field before enforcing policy compliance // (either a number, a boolean, or a string) converted to a string. This is // intended to be read by a human. The type of the field can be retrieved by // reading the settings field in the API response. PreviousValue types.String `tfsdk:"previous_value"` }
Represents a change to the cluster settings required for the cluster to become compliant with its policy.
func (ClusterSettingsChange) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSettingsChange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterSettingsChange) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSettingsChange. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange)
func (*ClusterSettingsChange) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange)
func (ClusterSettingsChange) ToObjectValue ¶ added in v1.61.0
func (o ClusterSettingsChange) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSettingsChange only implements ToObjectValue() and Type().
type ClusterSettingsChange_SdkV2 ¶ added in v1.62.1
type ClusterSettingsChange_SdkV2 struct { // The field where this change would be made. Field types.String `tfsdk:"field"` // The new value of this field after enforcing policy compliance (either a // number, a boolean, or a string) converted to a string. This is intended // to be read by a human. The typed new value of this field can be retrieved // by reading the settings field in the API response. NewValue types.String `tfsdk:"new_value"` // The previous value of this field before enforcing policy compliance // (either a number, a boolean, or a string) converted to a string. This is // intended to be read by a human. The type of the field can be retrieved by // reading the settings field in the API response. PreviousValue types.String `tfsdk:"previous_value"` }
Represents a change to the cluster settings required for the cluster to become compliant with its policy.
func (ClusterSettingsChange_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSettingsChange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ClusterSettingsChange_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ClusterSettingsChange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSettingsChange. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange_SdkV2)
func (*ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange_SdkV2)
func (ClusterSettingsChange_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterSettingsChange_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSettingsChange_SdkV2 only implements ToObjectValue() and Type().
type ClusterSize ¶
type ClusterSize struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` }
func (ClusterSize) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSize) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterSize) GetAutoscale ¶ added in v1.61.0
func (o *ClusterSize) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in ClusterSize as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (ClusterSize) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSize. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSize) SetAutoscale ¶ added in v1.61.0
func (o *ClusterSize) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in ClusterSize.
func (*ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize)
func (*ClusterSize) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterSize) SyncEffectiveFieldsDuringRead(existingState ClusterSize)
func (ClusterSize) ToObjectValue ¶ added in v1.61.0
func (o ClusterSize) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSize only implements ToObjectValue() and Type().
type ClusterSize_SdkV2 ¶ added in v1.62.1
type ClusterSize_SdkV2 struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` }
func (ClusterSize_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSize_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterSize_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *ClusterSize_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in ClusterSize_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (ClusterSize_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSize. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSize_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *ClusterSize_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in ClusterSize_SdkV2.
func (*ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize_SdkV2)
func (*ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSize_SdkV2)
func (ClusterSize_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterSize_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSize_SdkV2 only implements ToObjectValue() and Type().
type ClusterSpec ¶
type ClusterSpec struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.Object `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (ClusterSpec) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterSpec) GetAutoscale ¶ added in v1.61.0
func (o *ClusterSpec) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in ClusterSpec as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetAwsAttributes ¶ added in v1.61.0
func (o *ClusterSpec) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterSpec as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetAzureAttributes ¶ added in v1.61.0
func (o *ClusterSpec) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterSpec as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetClusterLogConf ¶ added in v1.61.0
func (o *ClusterSpec) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterSpec as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (ClusterSpec) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSpec) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetDockerImage ¶ added in v1.61.0
func (o *ClusterSpec) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in ClusterSpec as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetGcpAttributes ¶ added in v1.61.0
func (o *ClusterSpec) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterSpec as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetInitScripts ¶ added in v1.61.0
func (o *ClusterSpec) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in ClusterSpec as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetSparkEnvVars ¶ added in v1.61.0
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) GetWorkloadType ¶ added in v1.61.0
func (o *ClusterSpec) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterSpec as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec) SetAutoscale ¶ added in v1.61.0
func (o *ClusterSpec) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in ClusterSpec.
func (*ClusterSpec) SetAwsAttributes ¶ added in v1.61.0
func (o *ClusterSpec) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterSpec.
func (*ClusterSpec) SetAzureAttributes ¶ added in v1.61.0
func (o *ClusterSpec) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterSpec.
func (*ClusterSpec) SetClusterLogConf ¶ added in v1.61.0
func (o *ClusterSpec) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterSpec.
func (*ClusterSpec) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in ClusterSpec.
func (*ClusterSpec) SetDockerImage ¶ added in v1.61.0
func (o *ClusterSpec) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in ClusterSpec.
func (*ClusterSpec) SetGcpAttributes ¶ added in v1.61.0
func (o *ClusterSpec) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterSpec.
func (*ClusterSpec) SetInitScripts ¶ added in v1.61.0
func (o *ClusterSpec) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in ClusterSpec.
func (*ClusterSpec) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in ClusterSpec.
func (*ClusterSpec) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterSpec.
func (*ClusterSpec) SetSshPublicKeys ¶ added in v1.61.0
func (o *ClusterSpec) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec.
func (*ClusterSpec) SetWorkloadType ¶ added in v1.61.0
func (o *ClusterSpec) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in ClusterSpec.
func (*ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec)
func (*ClusterSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec)
func (ClusterSpec) ToObjectValue ¶ added in v1.61.0
func (o ClusterSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSpec only implements ToObjectValue() and Type().
type ClusterSpec_SdkV2 ¶ added in v1.62.1
type ClusterSpec_SdkV2 struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.List `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (ClusterSpec_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ClusterSpec_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in ClusterSpec_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in ClusterSpec_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in ClusterSpec_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in ClusterSpec_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (ClusterSpec_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ClusterSpec_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in ClusterSpec_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in ClusterSpec_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in ClusterSpec_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetSparkConf ¶ added in v1.62.1
GetSparkConf returns the value of the SparkConf field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in ClusterSpec_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ClusterSpec_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *ClusterSpec_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in ClusterSpec_SdkV2.
func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec_SdkV2)
func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2)
func (ClusterSpec_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterSpec_SdkV2 only implements ToObjectValue() and Type().
type ClusterStatus ¶
type ClusterStatus struct { // Unique identifier of the cluster whose status should be retrieved. ClusterId types.String `tfsdk:"-"` }
Get status
func (ClusterStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ClusterStatus) ToObjectValue ¶ added in v1.61.0
func (o ClusterStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterStatus only implements ToObjectValue() and Type().
type ClusterStatus_SdkV2 ¶ added in v1.62.1
type ClusterStatus_SdkV2 struct { // Unique identifier of the cluster whose status should be retrieved. ClusterId types.String `tfsdk:"-"` }
Get status
func (ClusterStatus_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ClusterStatus_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ClusterStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ClusterStatus_SdkV2 only implements ToObjectValue() and Type().
type Command ¶
type Command struct { // Running cluster id ClusterId types.String `tfsdk:"clusterId"` // Executable code Command types.String `tfsdk:"command"` // Running context id ContextId types.String `tfsdk:"contextId"` Language types.String `tfsdk:"language"` }
func (Command) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Command) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Command) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Command. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Command) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Command) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Command) ToObjectValue ¶ added in v1.61.0
func (o Command) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Command only implements ToObjectValue() and Type().
type CommandStatusRequest ¶
type CommandStatusRequest struct { ClusterId types.String `tfsdk:"-"` CommandId types.String `tfsdk:"-"` ContextId types.String `tfsdk:"-"` }
Get command info
func (CommandStatusRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CommandStatusRequest) ToObjectValue ¶ added in v1.61.0
func (o CommandStatusRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CommandStatusRequest only implements ToObjectValue() and Type().
type CommandStatusRequest_SdkV2 ¶ added in v1.62.1
type CommandStatusRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` CommandId types.String `tfsdk:"-"` ContextId types.String `tfsdk:"-"` }
Get command info
func (CommandStatusRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CommandStatusRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CommandStatusRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CommandStatusRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CommandStatusRequest_SdkV2 only implements ToObjectValue() and Type().
type CommandStatusResponse ¶
type CommandStatusResponse struct { Id types.String `tfsdk:"id"` Results types.Object `tfsdk:"results"` Status types.String `tfsdk:"status"` }
func (CommandStatusResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CommandStatusResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CommandStatusResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CommandStatusResponse) GetResults ¶ added in v1.61.0
func (o *CommandStatusResponse) GetResults(ctx context.Context) (Results, bool)
GetResults returns the value of the Results field in CommandStatusResponse as a Results value. If the field is unknown or null, the boolean return value is false.
func (*CommandStatusResponse) SetResults ¶ added in v1.61.0
func (o *CommandStatusResponse) SetResults(ctx context.Context, v Results)
SetResults sets the value of the Results field in CommandStatusResponse.
func (*CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse)
func (*CommandStatusResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse)
func (CommandStatusResponse) ToObjectValue ¶ added in v1.61.0
func (o CommandStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CommandStatusResponse only implements ToObjectValue() and Type().
type CommandStatusResponse_SdkV2 ¶ added in v1.62.1
type CommandStatusResponse_SdkV2 struct { Id types.String `tfsdk:"id"` Results types.List `tfsdk:"results"` Status types.String `tfsdk:"status"` }
func (CommandStatusResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CommandStatusResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CommandStatusResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CommandStatusResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CommandStatusResponse_SdkV2) GetResults ¶ added in v1.62.1
func (o *CommandStatusResponse_SdkV2) GetResults(ctx context.Context) (Results_SdkV2, bool)
GetResults returns the value of the Results field in CommandStatusResponse_SdkV2 as a Results_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CommandStatusResponse_SdkV2) SetResults ¶ added in v1.62.1
func (o *CommandStatusResponse_SdkV2) SetResults(ctx context.Context, v Results_SdkV2)
SetResults sets the value of the Results field in CommandStatusResponse_SdkV2.
func (*CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse_SdkV2)
func (*CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse_SdkV2)
func (CommandStatusResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CommandStatusResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CommandStatusResponse_SdkV2 only implements ToObjectValue() and Type().
type Command_SdkV2 ¶ added in v1.62.1
type Command_SdkV2 struct { // Running cluster id ClusterId types.String `tfsdk:"clusterId"` // Executable code Command types.String `tfsdk:"command"` // Running context id ContextId types.String `tfsdk:"contextId"` Language types.String `tfsdk:"language"` }
func (Command_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Command_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Command_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Command. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Command_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Command_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command_SdkV2)
func (*Command_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Command_SdkV2) SyncEffectiveFieldsDuringRead(existingState Command_SdkV2)
func (Command_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Command_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Command_SdkV2 only implements ToObjectValue() and Type().
type ContextStatusRequest ¶
type ContextStatusRequest struct { ClusterId types.String `tfsdk:"-"` ContextId types.String `tfsdk:"-"` }
Get status
func (ContextStatusRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ContextStatusRequest) ToObjectValue ¶ added in v1.61.0
func (o ContextStatusRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ContextStatusRequest only implements ToObjectValue() and Type().
type ContextStatusRequest_SdkV2 ¶ added in v1.62.1
type ContextStatusRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` ContextId types.String `tfsdk:"-"` }
Get status
func (ContextStatusRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ContextStatusRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ContextStatusRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ContextStatusRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ContextStatusRequest_SdkV2 only implements ToObjectValue() and Type().
type ContextStatusResponse ¶
type ContextStatusResponse struct { Id types.String `tfsdk:"id"` Status types.String `tfsdk:"status"` }
func (ContextStatusResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ContextStatusResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ContextStatusResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ContextStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse)
func (*ContextStatusResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse)
func (ContextStatusResponse) ToObjectValue ¶ added in v1.61.0
func (o ContextStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ContextStatusResponse only implements ToObjectValue() and Type().
type ContextStatusResponse_SdkV2 ¶ added in v1.62.1
type ContextStatusResponse_SdkV2 struct { Id types.String `tfsdk:"id"` Status types.String `tfsdk:"status"` }
func (ContextStatusResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ContextStatusResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ContextStatusResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ContextStatusResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse_SdkV2)
func (*ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse_SdkV2)
func (ContextStatusResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ContextStatusResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ContextStatusResponse_SdkV2 only implements ToObjectValue() and Type().
type CreateCluster ¶
type CreateCluster struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // When specified, this clones libraries from a source cluster during the // creation of a new cluster. CloneFrom types.Object `tfsdk:"clone_from"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.Object `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (CreateCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateCluster) GetAutoscale ¶ added in v1.61.0
func (o *CreateCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in CreateCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetAwsAttributes ¶ added in v1.61.0
func (o *CreateCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in CreateCluster as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetAzureAttributes ¶ added in v1.61.0
func (o *CreateCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in CreateCluster as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetCloneFrom ¶ added in v1.61.0
func (o *CreateCluster) GetCloneFrom(ctx context.Context) (CloneCluster, bool)
GetCloneFrom returns the value of the CloneFrom field in CreateCluster as a CloneCluster value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetClusterLogConf ¶ added in v1.61.0
func (o *CreateCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in CreateCluster as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (CreateCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateCluster) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetDockerImage ¶ added in v1.61.0
func (o *CreateCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in CreateCluster as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetGcpAttributes ¶ added in v1.61.0
func (o *CreateCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in CreateCluster as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetInitScripts ¶ added in v1.61.0
func (o *CreateCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in CreateCluster as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetSparkEnvVars ¶ added in v1.61.0
GetSparkEnvVars returns the value of the SparkEnvVars field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in CreateCluster as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) GetWorkloadType ¶ added in v1.61.0
func (o *CreateCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in CreateCluster as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster) SetAutoscale ¶ added in v1.61.0
func (o *CreateCluster) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in CreateCluster.
func (*CreateCluster) SetAwsAttributes ¶ added in v1.61.0
func (o *CreateCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in CreateCluster.
func (*CreateCluster) SetAzureAttributes ¶ added in v1.61.0
func (o *CreateCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in CreateCluster.
func (*CreateCluster) SetCloneFrom ¶ added in v1.61.0
func (o *CreateCluster) SetCloneFrom(ctx context.Context, v CloneCluster)
SetCloneFrom sets the value of the CloneFrom field in CreateCluster.
func (*CreateCluster) SetClusterLogConf ¶ added in v1.61.0
func (o *CreateCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in CreateCluster.
func (*CreateCluster) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in CreateCluster.
func (*CreateCluster) SetDockerImage ¶ added in v1.61.0
func (o *CreateCluster) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in CreateCluster.
func (*CreateCluster) SetGcpAttributes ¶ added in v1.61.0
func (o *CreateCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in CreateCluster.
func (*CreateCluster) SetInitScripts ¶ added in v1.61.0
func (o *CreateCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in CreateCluster.
func (*CreateCluster) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in CreateCluster.
func (*CreateCluster) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in CreateCluster.
func (*CreateCluster) SetSshPublicKeys ¶ added in v1.61.0
func (o *CreateCluster) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster.
func (*CreateCluster) SetWorkloadType ¶ added in v1.61.0
func (o *CreateCluster) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in CreateCluster.
func (*CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster)
func (*CreateCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateCluster) SyncEffectiveFieldsDuringRead(existingState CreateCluster)
func (CreateCluster) ToObjectValue ¶ added in v1.61.0
func (o CreateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateCluster only implements ToObjectValue() and Type().
type CreateClusterResponse ¶
func (CreateClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse)
func (*CreateClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse)
func (CreateClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateClusterResponse only implements ToObjectValue() and Type().
type CreateClusterResponse_SdkV2 ¶ added in v1.62.1
func (CreateClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CreateClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse_SdkV2)
func (*CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse_SdkV2)
func (CreateClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type CreateCluster_SdkV2 ¶ added in v1.62.1
type CreateCluster_SdkV2 struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // When specified, this clones libraries from a source cluster during the // creation of a new cluster. CloneFrom types.List `tfsdk:"clone_from"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.List `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (CreateCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateCluster_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in CreateCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in CreateCluster_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in CreateCluster_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetCloneFrom ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetCloneFrom(ctx context.Context) (CloneCluster_SdkV2, bool)
GetCloneFrom returns the value of the CloneFrom field in CreateCluster_SdkV2 as a CloneCluster_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in CreateCluster_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (CreateCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateCluster_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in CreateCluster_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in CreateCluster_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in CreateCluster_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetSparkConf ¶ added in v1.62.1
GetSparkConf returns the value of the SparkConf field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
GetSparkEnvVars returns the value of the SparkEnvVars field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in CreateCluster_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in CreateCluster_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateCluster_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetCloneFrom ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetCloneFrom(ctx context.Context, v CloneCluster_SdkV2)
SetCloneFrom sets the value of the CloneFrom field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
SetSparkEnvVars sets the value of the SparkEnvVars field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *CreateCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in CreateCluster_SdkV2.
func (*CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster_SdkV2)
func (*CreateCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCluster_SdkV2)
func (CreateCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateCluster_SdkV2 only implements ToObjectValue() and Type().
type CreateContext ¶
type CreateContext struct { // Running cluster id ClusterId types.String `tfsdk:"clusterId"` Language types.String `tfsdk:"language"` }
func (CreateContext) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateContext) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateContext) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateContext. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateContext) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext)
func (*CreateContext) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateContext) SyncEffectiveFieldsDuringRead(existingState CreateContext)
func (CreateContext) ToObjectValue ¶ added in v1.61.0
func (o CreateContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateContext only implements ToObjectValue() and Type().
type CreateContext_SdkV2 ¶ added in v1.62.1
type CreateContext_SdkV2 struct { // Running cluster id ClusterId types.String `tfsdk:"clusterId"` Language types.String `tfsdk:"language"` }
func (CreateContext_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateContext_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateContext_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateContext. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext_SdkV2)
func (*CreateContext_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateContext_SdkV2)
func (CreateContext_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateContext_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateContext_SdkV2 only implements ToObjectValue() and Type().
type CreateInstancePool ¶
type CreateInstancePool struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.Object `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` }
func (CreateInstancePool) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateInstancePool) GetAwsAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in CreateInstancePool as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) GetAzureAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in CreateInstancePool as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (CreateInstancePool) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateInstancePool) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in CreateInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) GetDiskSpec ¶ added in v1.61.0
func (o *CreateInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
GetDiskSpec returns the value of the DiskSpec field in CreateInstancePool as a DiskSpec value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) GetGcpAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in CreateInstancePool as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) GetPreloadedDockerImages ¶ added in v1.61.0
func (o *CreateInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in CreateInstancePool as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) GetPreloadedSparkVersions ¶ added in v1.61.0
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in CreateInstancePool as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool) SetAwsAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in CreateInstancePool.
func (*CreateInstancePool) SetAzureAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in CreateInstancePool.
func (*CreateInstancePool) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in CreateInstancePool.
func (*CreateInstancePool) SetDiskSpec ¶ added in v1.61.0
func (o *CreateInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)
SetDiskSpec sets the value of the DiskSpec field in CreateInstancePool.
func (*CreateInstancePool) SetGcpAttributes ¶ added in v1.61.0
func (o *CreateInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in CreateInstancePool.
func (*CreateInstancePool) SetPreloadedDockerImages ¶ added in v1.61.0
func (o *CreateInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in CreateInstancePool.
func (*CreateInstancePool) SetPreloadedSparkVersions ¶ added in v1.61.0
func (o *CreateInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool.
func (*CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool)
func (*CreateInstancePool) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateInstancePool) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool)
func (CreateInstancePool) ToObjectValue ¶ added in v1.61.0
func (o CreateInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateInstancePool only implements ToObjectValue() and Type().
type CreateInstancePoolResponse ¶
type CreateInstancePoolResponse struct { // The ID of the created instance pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` }
func (CreateInstancePoolResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateInstancePoolResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a CreateInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse)
func (*CreateInstancePoolResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse)
func (CreateInstancePoolResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateInstancePoolResponse only implements ToObjectValue() and Type().
type CreateInstancePoolResponse_SdkV2 ¶ added in v1.62.1
type CreateInstancePoolResponse_SdkV2 struct { // The ID of the created instance pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` }
func (CreateInstancePoolResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateInstancePoolResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CreateInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse_SdkV2)
func (*CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse_SdkV2)
func (CreateInstancePoolResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateInstancePoolResponse_SdkV2 only implements ToObjectValue() and Type().
type CreateInstancePool_SdkV2 ¶ added in v1.62.1
type CreateInstancePool_SdkV2 struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.List `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` }
func (CreateInstancePool_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreateInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*CreateInstancePool_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in CreateInstancePool_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in CreateInstancePool_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (CreateInstancePool_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateInstancePool_SdkV2) GetCustomTags ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
GetCustomTags returns the value of the CustomTags field in CreateInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) GetDiskSpec ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
GetDiskSpec returns the value of the DiskSpec field in CreateInstancePool_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in CreateInstancePool_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) GetPreloadedDockerImages ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in CreateInstancePool_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) GetPreloadedSparkVersions ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in CreateInstancePool_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateInstancePool_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetDiskSpec ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
SetDiskSpec sets the value of the DiskSpec field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetPreloadedDockerImages ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SetPreloadedSparkVersions ¶ added in v1.62.1
func (o *CreateInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool_SdkV2.
func (*CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool_SdkV2)
func (*CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool_SdkV2)
func (CreateInstancePool_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateInstancePool_SdkV2 only implements ToObjectValue() and Type().
type CreatePolicy ¶
type CreatePolicy struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` }
func (CreatePolicy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreatePolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreatePolicy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreatePolicy) GetLibraries ¶ added in v1.61.0
func (o *CreatePolicy) GetLibraries(ctx context.Context) ([]Library, bool)
GetLibraries returns the value of the Libraries field in CreatePolicy as a slice of Library values. If the field is unknown or null, the boolean return value is false.
func (*CreatePolicy) SetLibraries ¶ added in v1.61.0
func (o *CreatePolicy) SetLibraries(ctx context.Context, v []Library)
SetLibraries sets the value of the Libraries field in CreatePolicy.
func (*CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy)
func (*CreatePolicy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreatePolicy) SyncEffectiveFieldsDuringRead(existingState CreatePolicy)
func (CreatePolicy) ToObjectValue ¶ added in v1.61.0
func (o CreatePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreatePolicy only implements ToObjectValue() and Type().
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"policy_id"` }
func (CreatePolicyResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreatePolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreatePolicyResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreatePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse)
func (*CreatePolicyResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse)
func (CreatePolicyResponse) ToObjectValue ¶ added in v1.61.0
func (o CreatePolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreatePolicyResponse only implements ToObjectValue() and Type().
type CreatePolicyResponse_SdkV2 ¶ added in v1.62.1
type CreatePolicyResponse_SdkV2 struct { // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"policy_id"` }
func (CreatePolicyResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreatePolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreatePolicyResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a CreatePolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse_SdkV2)
func (*CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse_SdkV2)
func (CreatePolicyResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreatePolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreatePolicyResponse_SdkV2 only implements ToObjectValue() and Type().
type CreatePolicy_SdkV2 ¶ added in v1.62.1
type CreatePolicy_SdkV2 struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` }
func (CreatePolicy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c CreatePolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreatePolicy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreatePolicy_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *CreatePolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in CreatePolicy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreatePolicy_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *CreatePolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
SetLibraries sets the value of the Libraries field in CreatePolicy_SdkV2.
func (*CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy_SdkV2)
func (*CreatePolicy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicy_SdkV2)
func (CreatePolicy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreatePolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreatePolicy_SdkV2 only implements ToObjectValue() and Type().
type CreateResponse ¶
type CreateResponse struct { // The global init script ID. ScriptId types.String `tfsdk:"script_id"` }
func (CreateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CreateResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateResponse only implements ToObjectValue() and Type().
type CreateResponse_SdkV2 ¶ added in v1.62.1
type CreateResponse_SdkV2 struct { // The global init script ID. ScriptId types.String `tfsdk:"script_id"` }
func (CreateResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (CreateResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o CreateResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateResponse_SdkV2 only implements ToObjectValue() and Type().
type Created ¶
func (Created) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Created) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Created) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Created. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Created) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Created) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Created) ToObjectValue ¶ added in v1.61.0
func (o Created) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Created only implements ToObjectValue() and Type().
type Created_SdkV2 ¶ added in v1.62.1
func (Created_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Created_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Created_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Created. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Created_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Created_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created_SdkV2)
func (*Created_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Created_SdkV2) SyncEffectiveFieldsDuringRead(existingState Created_SdkV2)
func (Created_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Created_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Created_SdkV2 only implements ToObjectValue() and Type().
type DataPlaneEventDetails ¶
type DataPlaneEventDetails struct { // <needs content added> EventType types.String `tfsdk:"event_type"` // <needs content added> ExecutorFailures types.Int64 `tfsdk:"executor_failures"` // <needs content added> HostId types.String `tfsdk:"host_id"` // <needs content added> Timestamp types.Int64 `tfsdk:"timestamp"` }
func (DataPlaneEventDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DataPlaneEventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DataPlaneEventDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DataPlaneEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails)
func (*DataPlaneEventDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails)
func (DataPlaneEventDetails) ToObjectValue ¶ added in v1.61.0
func (o DataPlaneEventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DataPlaneEventDetails only implements ToObjectValue() and Type().
type DataPlaneEventDetails_SdkV2 ¶ added in v1.62.1
type DataPlaneEventDetails_SdkV2 struct { // <needs content added> EventType types.String `tfsdk:"event_type"` // <needs content added> ExecutorFailures types.Int64 `tfsdk:"executor_failures"` // <needs content added> HostId types.String `tfsdk:"host_id"` // <needs content added> Timestamp types.Int64 `tfsdk:"timestamp"` }
func (DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DataPlaneEventDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a DataPlaneEventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails_SdkV2)
func (*DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails_SdkV2)
func (DataPlaneEventDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DataPlaneEventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DataPlaneEventDetails_SdkV2 only implements ToObjectValue() and Type().
type DbfsStorageInfo ¶
type DbfsStorageInfo struct { // dbfs destination, e.g. `dbfs:/my/path` Destination types.String `tfsdk:"destination"` }
func (DbfsStorageInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbfsStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DbfsStorageInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbfsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbfsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo)
func (*DbfsStorageInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo)
func (DbfsStorageInfo) ToObjectValue ¶ added in v1.61.0
func (o DbfsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbfsStorageInfo only implements ToObjectValue() and Type().
type DbfsStorageInfo_SdkV2 ¶ added in v1.62.1
type DbfsStorageInfo_SdkV2 struct { // dbfs destination, e.g. `dbfs:/my/path` Destination types.String `tfsdk:"destination"` }
func (DbfsStorageInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DbfsStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DbfsStorageInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DbfsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo_SdkV2)
func (*DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo_SdkV2)
func (DbfsStorageInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DbfsStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DbfsStorageInfo_SdkV2 only implements ToObjectValue() and Type().
type DeleteCluster ¶
type DeleteCluster struct { // The cluster to be terminated. ClusterId types.String `tfsdk:"cluster_id"` }
func (DeleteCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster)
func (*DeleteCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteCluster) SyncEffectiveFieldsDuringRead(existingState DeleteCluster)
func (DeleteCluster) ToObjectValue ¶ added in v1.61.0
func (o DeleteCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteCluster only implements ToObjectValue() and Type().
type DeleteClusterResponse ¶
type DeleteClusterResponse struct { }
func (DeleteClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse)
func (*DeleteClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse)
func (DeleteClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteClusterResponse only implements ToObjectValue() and Type().
type DeleteClusterResponse_SdkV2 ¶ added in v1.62.1
type DeleteClusterResponse_SdkV2 struct { }
func (DeleteClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a DeleteClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse_SdkV2)
func (*DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse_SdkV2)
func (DeleteClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type DeleteCluster_SdkV2 ¶ added in v1.62.1
type DeleteCluster_SdkV2 struct { // The cluster to be terminated. ClusterId types.String `tfsdk:"cluster_id"` }
func (DeleteCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster_SdkV2)
func (*DeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCluster_SdkV2)
func (DeleteCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteCluster_SdkV2 only implements ToObjectValue() and Type().
type DeleteGlobalInitScriptRequest ¶
type DeleteGlobalInitScriptRequest struct { // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
Delete init script
func (DeleteGlobalInitScriptRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteGlobalInitScriptRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteGlobalInitScriptRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteGlobalInitScriptRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteGlobalInitScriptRequest only implements ToObjectValue() and Type().
type DeleteGlobalInitScriptRequest_SdkV2 ¶ added in v1.62.1
type DeleteGlobalInitScriptRequest_SdkV2 struct { // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
Delete init script
func (DeleteGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a DeleteGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteGlobalInitScriptRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteGlobalInitScriptRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteGlobalInitScriptRequest_SdkV2 only implements ToObjectValue() and Type().
type DeleteInstancePool ¶
type DeleteInstancePool struct { // The instance pool to be terminated. InstancePoolId types.String `tfsdk:"instance_pool_id"` }
func (DeleteInstancePool) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteInstancePool) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool)
func (*DeleteInstancePool) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool)
func (DeleteInstancePool) ToObjectValue ¶ added in v1.61.0
func (o DeleteInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteInstancePool only implements ToObjectValue() and Type().
type DeleteInstancePoolResponse ¶
type DeleteInstancePoolResponse struct { }
func (DeleteInstancePoolResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteInstancePoolResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse)
func (*DeleteInstancePoolResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse)
func (DeleteInstancePoolResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteInstancePoolResponse only implements ToObjectValue() and Type().
type DeleteInstancePoolResponse_SdkV2 ¶ added in v1.62.1
type DeleteInstancePoolResponse_SdkV2 struct { }
func (DeleteInstancePoolResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteInstancePoolResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a DeleteInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse_SdkV2)
func (*DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse_SdkV2)
func (DeleteInstancePoolResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteInstancePoolResponse_SdkV2 only implements ToObjectValue() and Type().
type DeleteInstancePool_SdkV2 ¶ added in v1.62.1
type DeleteInstancePool_SdkV2 struct { // The instance pool to be terminated. InstancePoolId types.String `tfsdk:"instance_pool_id"` }
func (DeleteInstancePool_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeleteInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteInstancePool_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool_SdkV2)
func (*DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool_SdkV2)
func (DeleteInstancePool_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteInstancePool_SdkV2 only implements ToObjectValue() and Type().
type DeletePolicy ¶
type DeletePolicy struct { // The ID of the policy to delete. PolicyId types.String `tfsdk:"policy_id"` }
func (DeletePolicy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeletePolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeletePolicy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeletePolicy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeletePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy)
func (*DeletePolicy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeletePolicy) SyncEffectiveFieldsDuringRead(existingState DeletePolicy)
func (DeletePolicy) ToObjectValue ¶ added in v1.61.0
func (o DeletePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeletePolicy only implements ToObjectValue() and Type().
type DeletePolicyResponse ¶
type DeletePolicyResponse struct { }
func (DeletePolicyResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeletePolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeletePolicyResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeletePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse)
func (*DeletePolicyResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse)
func (DeletePolicyResponse) ToObjectValue ¶ added in v1.61.0
func (o DeletePolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeletePolicyResponse only implements ToObjectValue() and Type().
type DeletePolicyResponse_SdkV2 ¶ added in v1.62.1
type DeletePolicyResponse_SdkV2 struct { }
func (DeletePolicyResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeletePolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeletePolicyResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a DeletePolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse_SdkV2)
func (*DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse_SdkV2)
func (DeletePolicyResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeletePolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeletePolicyResponse_SdkV2 only implements ToObjectValue() and Type().
type DeletePolicy_SdkV2 ¶ added in v1.62.1
type DeletePolicy_SdkV2 struct { // The ID of the policy to delete. PolicyId types.String `tfsdk:"policy_id"` }
func (DeletePolicy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DeletePolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeletePolicy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeletePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy_SdkV2)
func (*DeletePolicy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicy_SdkV2)
func (DeletePolicy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeletePolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeletePolicy_SdkV2 only implements ToObjectValue() and Type().
type DeleteResponse ¶
type DeleteResponse struct { }
func (DeleteResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().
type DeleteResponse_SdkV2 ¶ added in v1.62.1
type DeleteResponse_SdkV2 struct { }
func (DeleteResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DeleteResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DeleteResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse_SdkV2 only implements ToObjectValue() and Type().
type DestroyContext ¶
type DestroyContext struct { ClusterId types.String `tfsdk:"clusterId"` ContextId types.String `tfsdk:"contextId"` }
func (DestroyContext) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DestroyContext) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DestroyContext) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyContext. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DestroyContext) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DestroyContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext)
func (*DestroyContext) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DestroyContext) SyncEffectiveFieldsDuringRead(existingState DestroyContext)
func (DestroyContext) ToObjectValue ¶ added in v1.61.0
func (o DestroyContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DestroyContext only implements ToObjectValue() and Type().
type DestroyContext_SdkV2 ¶ added in v1.62.1
type DestroyContext_SdkV2 struct { ClusterId types.String `tfsdk:"clusterId"` ContextId types.String `tfsdk:"contextId"` }
func (DestroyContext_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DestroyContext_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DestroyContext_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyContext. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DestroyContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext_SdkV2)
func (*DestroyContext_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState DestroyContext_SdkV2)
func (DestroyContext_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DestroyContext_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DestroyContext_SdkV2 only implements ToObjectValue() and Type().
type DestroyResponse ¶
type DestroyResponse struct { }
func (DestroyResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DestroyResponse) ToObjectValue ¶ added in v1.61.0
func (o DestroyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DestroyResponse only implements ToObjectValue() and Type().
type DestroyResponse_SdkV2 ¶ added in v1.62.1
type DestroyResponse_SdkV2 struct { }
func (DestroyResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (DestroyResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DestroyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DestroyResponse_SdkV2 only implements ToObjectValue() and Type().
type DiskSpec ¶
type DiskSpec struct { // The number of disks launched for each instance: - This feature is only // enabled for supported node types. - Users can choose up to the limit of // the disks supported by the node type. - For node types with no OS disk, // at least one disk must be specified; otherwise, cluster creation will // fail. // // If disks are attached, Databricks will configure Spark to use only the // disks for scratch storage, because heterogenously sized scratch devices // can lead to inefficient disk utilization. If no disks are attached, // Databricks will configure Spark to use instance store disks. // // Note: If disks are specified, then the Spark configuration // `spark.local.dir` will be overridden. // // Disks will be mounted at: - For AWS: `/ebs0`, `/ebs1`, and etc. - For // Azure: `/remote_volume0`, `/remote_volume1`, and etc. DiskCount types.Int64 `tfsdk:"disk_count"` DiskIops types.Int64 `tfsdk:"disk_iops"` // The size of each disk (in GiB) launched for each instance. Values must // fall into the supported range for a particular instance type. // // For AWS: - General Purpose SSD: 100 - 4096 GiB - Throughput Optimized // HDD: 500 - 4096 GiB // // For Azure: - Premium LRS (SSD): 1 - 1023 GiB - Standard LRS (HDD): 1- // 1023 GiB DiskSize types.Int64 `tfsdk:"disk_size"` DiskThroughput types.Int64 `tfsdk:"disk_throughput"` // The type of disks that will be launched with this cluster. DiskType types.Object `tfsdk:"disk_type"` }
func (DiskSpec) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DiskSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DiskSpec) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DiskSpec) GetDiskType ¶ added in v1.61.0
GetDiskType returns the value of the DiskType field in DiskSpec as a DiskType value. If the field is unknown or null, the boolean return value is false.
func (*DiskSpec) SetDiskType ¶ added in v1.61.0
SetDiskType sets the value of the DiskType field in DiskSpec.
func (*DiskSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DiskSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DiskSpec) ToObjectValue ¶ added in v1.61.0
func (o DiskSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DiskSpec only implements ToObjectValue() and Type().
type DiskSpec_SdkV2 ¶ added in v1.62.1
type DiskSpec_SdkV2 struct { // The number of disks launched for each instance: - This feature is only // enabled for supported node types. - Users can choose up to the limit of // the disks supported by the node type. - For node types with no OS disk, // at least one disk must be specified; otherwise, cluster creation will // fail. // // If disks are attached, Databricks will configure Spark to use only the // disks for scratch storage, because heterogenously sized scratch devices // can lead to inefficient disk utilization. If no disks are attached, // Databricks will configure Spark to use instance store disks. // // Note: If disks are specified, then the Spark configuration // `spark.local.dir` will be overridden. // // Disks will be mounted at: - For AWS: `/ebs0`, `/ebs1`, and etc. - For // Azure: `/remote_volume0`, `/remote_volume1`, and etc. DiskCount types.Int64 `tfsdk:"disk_count"` DiskIops types.Int64 `tfsdk:"disk_iops"` // The size of each disk (in GiB) launched for each instance. Values must // fall into the supported range for a particular instance type. // // For AWS: - General Purpose SSD: 100 - 4096 GiB - Throughput Optimized // HDD: 500 - 4096 GiB // // For Azure: - Premium LRS (SSD): 1 - 1023 GiB - Standard LRS (HDD): 1- // 1023 GiB DiskSize types.Int64 `tfsdk:"disk_size"` DiskThroughput types.Int64 `tfsdk:"disk_throughput"` // The type of disks that will be launched with this cluster. DiskType types.List `tfsdk:"disk_type"` }
func (DiskSpec_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DiskSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DiskSpec_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DiskSpec_SdkV2) GetDiskType ¶ added in v1.62.1
func (o *DiskSpec_SdkV2) GetDiskType(ctx context.Context) (DiskType_SdkV2, bool)
GetDiskType returns the value of the DiskType field in DiskSpec_SdkV2 as a DiskType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*DiskSpec_SdkV2) SetDiskType ¶ added in v1.62.1
func (o *DiskSpec_SdkV2) SetDiskType(ctx context.Context, v DiskType_SdkV2)
SetDiskType sets the value of the DiskType field in DiskSpec_SdkV2.
func (*DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec_SdkV2)
func (*DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskSpec_SdkV2)
func (DiskSpec_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DiskSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DiskSpec_SdkV2 only implements ToObjectValue() and Type().
type DiskType ¶
type DiskType struct { AzureDiskVolumeType types.String `tfsdk:"azure_disk_volume_type"` EbsVolumeType types.String `tfsdk:"ebs_volume_type"` }
func (DiskType) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DiskType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DiskType) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DiskType) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*DiskType) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (DiskType) ToObjectValue ¶ added in v1.61.0
func (o DiskType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DiskType only implements ToObjectValue() and Type().
type DiskType_SdkV2 ¶ added in v1.62.1
type DiskType_SdkV2 struct { AzureDiskVolumeType types.String `tfsdk:"azure_disk_volume_type"` EbsVolumeType types.String `tfsdk:"ebs_volume_type"` }
func (DiskType_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DiskType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DiskType_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DiskType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType_SdkV2)
func (*DiskType_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskType_SdkV2)
func (DiskType_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DiskType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DiskType_SdkV2 only implements ToObjectValue() and Type().
type DockerBasicAuth ¶
type DockerBasicAuth struct { // Password of the user Password types.String `tfsdk:"password"` // Name of the user Username types.String `tfsdk:"username"` }
func (DockerBasicAuth) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DockerBasicAuth) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DockerBasicAuth) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerBasicAuth. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DockerBasicAuth) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth)
func (*DockerBasicAuth) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth)
func (DockerBasicAuth) ToObjectValue ¶ added in v1.61.0
func (o DockerBasicAuth) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DockerBasicAuth only implements ToObjectValue() and Type().
type DockerBasicAuth_SdkV2 ¶ added in v1.62.1
type DockerBasicAuth_SdkV2 struct { // Password of the user Password types.String `tfsdk:"password"` // Name of the user Username types.String `tfsdk:"username"` }
func (DockerBasicAuth_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DockerBasicAuth_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DockerBasicAuth_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerBasicAuth. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth_SdkV2)
func (*DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth_SdkV2)
func (DockerBasicAuth_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DockerBasicAuth_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DockerBasicAuth_SdkV2 only implements ToObjectValue() and Type().
type DockerImage ¶
type DockerImage struct { BasicAuth types.Object `tfsdk:"basic_auth"` // URL of the docker image. Url types.String `tfsdk:"url"` }
func (DockerImage) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DockerImage) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DockerImage) GetBasicAuth ¶ added in v1.61.0
func (o *DockerImage) GetBasicAuth(ctx context.Context) (DockerBasicAuth, bool)
GetBasicAuth returns the value of the BasicAuth field in DockerImage as a DockerBasicAuth value. If the field is unknown or null, the boolean return value is false.
func (DockerImage) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerImage. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DockerImage) SetBasicAuth ¶ added in v1.61.0
func (o *DockerImage) SetBasicAuth(ctx context.Context, v DockerBasicAuth)
SetBasicAuth sets the value of the BasicAuth field in DockerImage.
func (*DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage)
func (*DockerImage) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DockerImage) SyncEffectiveFieldsDuringRead(existingState DockerImage)
func (DockerImage) ToObjectValue ¶ added in v1.61.0
func (o DockerImage) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DockerImage only implements ToObjectValue() and Type().
type DockerImage_SdkV2 ¶ added in v1.62.1
type DockerImage_SdkV2 struct { BasicAuth types.List `tfsdk:"basic_auth"` // URL of the docker image. Url types.String `tfsdk:"url"` }
func (DockerImage_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c DockerImage_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*DockerImage_SdkV2) GetBasicAuth ¶ added in v1.62.1
func (o *DockerImage_SdkV2) GetBasicAuth(ctx context.Context) (DockerBasicAuth_SdkV2, bool)
GetBasicAuth returns the value of the BasicAuth field in DockerImage_SdkV2 as a DockerBasicAuth_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (DockerImage_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerImage. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DockerImage_SdkV2) SetBasicAuth ¶ added in v1.62.1
func (o *DockerImage_SdkV2) SetBasicAuth(ctx context.Context, v DockerBasicAuth_SdkV2)
SetBasicAuth sets the value of the BasicAuth field in DockerImage_SdkV2.
func (*DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage_SdkV2)
func (*DockerImage_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerImage_SdkV2)
func (DockerImage_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o DockerImage_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DockerImage_SdkV2 only implements ToObjectValue() and Type().
type EditCluster ¶
type EditCluster struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // ID of the cluster ClusterId types.String `tfsdk:"cluster_id"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.Object `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (EditCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EditCluster) GetAutoscale ¶ added in v1.61.0
func (o *EditCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in EditCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetAwsAttributes ¶ added in v1.61.0
func (o *EditCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in EditCluster as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetAzureAttributes ¶ added in v1.61.0
func (o *EditCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in EditCluster as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetClusterLogConf ¶ added in v1.61.0
func (o *EditCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in EditCluster as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (EditCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditCluster) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetDockerImage ¶ added in v1.61.0
func (o *EditCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in EditCluster as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetGcpAttributes ¶ added in v1.61.0
func (o *EditCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in EditCluster as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetInitScripts ¶ added in v1.61.0
func (o *EditCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in EditCluster as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetSparkEnvVars ¶ added in v1.61.0
GetSparkEnvVars returns the value of the SparkEnvVars field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in EditCluster as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) GetWorkloadType ¶ added in v1.61.0
func (o *EditCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in EditCluster as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster) SetAutoscale ¶ added in v1.61.0
func (o *EditCluster) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in EditCluster.
func (*EditCluster) SetAwsAttributes ¶ added in v1.61.0
func (o *EditCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in EditCluster.
func (*EditCluster) SetAzureAttributes ¶ added in v1.61.0
func (o *EditCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in EditCluster.
func (*EditCluster) SetClusterLogConf ¶ added in v1.61.0
func (o *EditCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in EditCluster.
func (*EditCluster) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in EditCluster.
func (*EditCluster) SetDockerImage ¶ added in v1.61.0
func (o *EditCluster) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in EditCluster.
func (*EditCluster) SetGcpAttributes ¶ added in v1.61.0
func (o *EditCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in EditCluster.
func (*EditCluster) SetInitScripts ¶ added in v1.61.0
func (o *EditCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in EditCluster.
func (*EditCluster) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in EditCluster.
func (*EditCluster) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in EditCluster.
func (*EditCluster) SetSshPublicKeys ¶ added in v1.61.0
func (o *EditCluster) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster.
func (*EditCluster) SetWorkloadType ¶ added in v1.61.0
func (o *EditCluster) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in EditCluster.
func (*EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster)
func (*EditCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditCluster) SyncEffectiveFieldsDuringRead(existingState EditCluster)
func (EditCluster) ToObjectValue ¶ added in v1.61.0
func (o EditCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditCluster only implements ToObjectValue() and Type().
type EditClusterResponse ¶
type EditClusterResponse struct { }
func (EditClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse)
func (*EditClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditClusterResponse) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse)
func (EditClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o EditClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditClusterResponse only implements ToObjectValue() and Type().
type EditClusterResponse_SdkV2 ¶ added in v1.62.1
type EditClusterResponse_SdkV2 struct { }
func (EditClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EditClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse_SdkV2)
func (*EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse_SdkV2)
func (EditClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type EditCluster_SdkV2 ¶ added in v1.62.1
type EditCluster_SdkV2 struct { // When set to true, fixed and default values from the policy will be used // for fields that are omitted. When set to false, only fixed values from // the policy will be applied. ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"` // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // ID of the cluster ClusterId types.String `tfsdk:"cluster_id"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.List `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (EditCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EditCluster_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in EditCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in EditCluster_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in EditCluster_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in EditCluster_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (EditCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditCluster_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in EditCluster_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in EditCluster_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in EditCluster_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetSparkConf ¶ added in v1.62.1
GetSparkConf returns the value of the SparkConf field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
GetSparkEnvVars returns the value of the SparkEnvVars field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in EditCluster_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *EditCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in EditCluster_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EditCluster_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
SetSparkEnvVars sets the value of the SparkEnvVars field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *EditCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in EditCluster_SdkV2.
func (*EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster_SdkV2)
func (*EditCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditCluster_SdkV2)
func (EditCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditCluster_SdkV2 only implements ToObjectValue() and Type().
type EditInstancePool ¶
type EditInstancePool struct { // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Instance pool ID InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` }
func (EditInstancePool) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditInstancePool) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditInstancePool) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in EditInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditInstancePool) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in EditInstancePool.
func (*EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool)
func (*EditInstancePool) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditInstancePool) SyncEffectiveFieldsDuringRead(existingState EditInstancePool)
func (EditInstancePool) ToObjectValue ¶ added in v1.61.0
func (o EditInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePool only implements ToObjectValue() and Type().
type EditInstancePoolResponse ¶
type EditInstancePoolResponse struct { }
func (EditInstancePoolResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditInstancePoolResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse)
func (*EditInstancePoolResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse)
func (EditInstancePoolResponse) ToObjectValue ¶ added in v1.61.0
func (o EditInstancePoolResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePoolResponse only implements ToObjectValue() and Type().
type EditInstancePoolResponse_SdkV2 ¶ added in v1.62.1
type EditInstancePoolResponse_SdkV2 struct { }
func (EditInstancePoolResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditInstancePoolResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditInstancePoolResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EditInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse_SdkV2)
func (*EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse_SdkV2)
func (EditInstancePoolResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditInstancePoolResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePoolResponse_SdkV2 only implements ToObjectValue() and Type().
type EditInstancePool_SdkV2 ¶ added in v1.62.1
type EditInstancePool_SdkV2 struct { // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Instance pool ID InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` }
func (EditInstancePool_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditInstancePool_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditInstancePool_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in EditInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*EditInstancePool_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in EditInstancePool_SdkV2.
func (*EditInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool_SdkV2)
func (*EditInstancePool_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePool_SdkV2)
func (EditInstancePool_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePool_SdkV2 only implements ToObjectValue() and Type().
type EditPolicy ¶
type EditPolicy struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` // The ID of the policy to update. PolicyId types.String `tfsdk:"policy_id"` }
func (EditPolicy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditPolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditPolicy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditPolicy) GetLibraries ¶ added in v1.61.0
func (o *EditPolicy) GetLibraries(ctx context.Context) ([]Library, bool)
GetLibraries returns the value of the Libraries field in EditPolicy as a slice of Library values. If the field is unknown or null, the boolean return value is false.
func (*EditPolicy) SetLibraries ¶ added in v1.61.0
func (o *EditPolicy) SetLibraries(ctx context.Context, v []Library)
SetLibraries sets the value of the Libraries field in EditPolicy.
func (*EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy)
func (*EditPolicy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditPolicy) SyncEffectiveFieldsDuringRead(existingState EditPolicy)
func (EditPolicy) ToObjectValue ¶ added in v1.61.0
func (o EditPolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicy only implements ToObjectValue() and Type().
type EditPolicyResponse ¶
type EditPolicyResponse struct { }
func (EditPolicyResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditPolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditPolicyResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse)
func (*EditPolicyResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse)
func (EditPolicyResponse) ToObjectValue ¶ added in v1.61.0
func (o EditPolicyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicyResponse only implements ToObjectValue() and Type().
type EditPolicyResponse_SdkV2 ¶ added in v1.62.1
type EditPolicyResponse_SdkV2 struct { }
func (EditPolicyResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditPolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditPolicyResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse_SdkV2)
func (*EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse_SdkV2)
func (EditPolicyResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditPolicyResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicyResponse_SdkV2 only implements ToObjectValue() and Type().
type EditPolicy_SdkV2 ¶ added in v1.62.1
type EditPolicy_SdkV2 struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` // The ID of the policy to update. PolicyId types.String `tfsdk:"policy_id"` }
func (EditPolicy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EditPolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EditPolicy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EditPolicy_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *EditPolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in EditPolicy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*EditPolicy_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *EditPolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
SetLibraries sets the value of the Libraries field in EditPolicy_SdkV2.
func (*EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy_SdkV2)
func (*EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicy_SdkV2)
func (EditPolicy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditPolicy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicy_SdkV2 only implements ToObjectValue() and Type().
type EditResponse ¶
type EditResponse struct { }
func (EditResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (EditResponse) ToObjectValue ¶ added in v1.61.0
func (o EditResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditResponse only implements ToObjectValue() and Type().
type EditResponse_SdkV2 ¶ added in v1.62.1
type EditResponse_SdkV2 struct { }
func (EditResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (EditResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EditResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditResponse_SdkV2 only implements ToObjectValue() and Type().
type EnforceClusterComplianceRequest ¶
type EnforceClusterComplianceRequest struct { // The ID of the cluster you want to enforce policy compliance on. ClusterId types.String `tfsdk:"cluster_id"` // If set, previews the changes that would be made to a cluster to enforce // compliance but does not update the cluster. ValidateOnly types.Bool `tfsdk:"validate_only"` }
func (EnforceClusterComplianceRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforceClusterComplianceRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforceClusterComplianceRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a EnforceClusterComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest)
func (*EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest)
func (EnforceClusterComplianceRequest) ToObjectValue ¶ added in v1.61.0
func (o EnforceClusterComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceRequest only implements ToObjectValue() and Type().
type EnforceClusterComplianceRequest_SdkV2 ¶ added in v1.62.1
type EnforceClusterComplianceRequest_SdkV2 struct { // The ID of the cluster you want to enforce policy compliance on. ClusterId types.String `tfsdk:"cluster_id"` // If set, previews the changes that would be made to a cluster to enforce // compliance but does not update the cluster. ValidateOnly types.Bool `tfsdk:"validate_only"` }
func (EnforceClusterComplianceRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforceClusterComplianceRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (EnforceClusterComplianceRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EnforceClusterComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest_SdkV2)
func (*EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest_SdkV2)
func (EnforceClusterComplianceRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EnforceClusterComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceRequest_SdkV2 only implements ToObjectValue() and Type().
type EnforceClusterComplianceResponse ¶
type EnforceClusterComplianceResponse struct { // A list of changes that have been made to the cluster settings for the // cluster to become compliant with its policy. Changes types.List `tfsdk:"changes"` // Whether any changes have been made to the cluster settings for the // cluster to become compliant with its policy. HasChanges types.Bool `tfsdk:"has_changes"` }
func (EnforceClusterComplianceResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforceClusterComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EnforceClusterComplianceResponse) GetChanges ¶ added in v1.61.0
func (o *EnforceClusterComplianceResponse) GetChanges(ctx context.Context) ([]ClusterSettingsChange, bool)
GetChanges returns the value of the Changes field in EnforceClusterComplianceResponse as a slice of ClusterSettingsChange values. If the field is unknown or null, the boolean return value is false.
func (EnforceClusterComplianceResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a EnforceClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforceClusterComplianceResponse) SetChanges ¶ added in v1.61.0
func (o *EnforceClusterComplianceResponse) SetChanges(ctx context.Context, v []ClusterSettingsChange)
SetChanges sets the value of the Changes field in EnforceClusterComplianceResponse.
func (*EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse)
func (*EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse)
func (EnforceClusterComplianceResponse) ToObjectValue ¶ added in v1.61.0
func (o EnforceClusterComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceResponse only implements ToObjectValue() and Type().
type EnforceClusterComplianceResponse_SdkV2 ¶ added in v1.62.1
type EnforceClusterComplianceResponse_SdkV2 struct { // A list of changes that have been made to the cluster settings for the // cluster to become compliant with its policy. Changes types.List `tfsdk:"changes"` // Whether any changes have been made to the cluster settings for the // cluster to become compliant with its policy. HasChanges types.Bool `tfsdk:"has_changes"` }
func (EnforceClusterComplianceResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EnforceClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EnforceClusterComplianceResponse_SdkV2) GetChanges ¶ added in v1.62.1
func (o *EnforceClusterComplianceResponse_SdkV2) GetChanges(ctx context.Context) ([]ClusterSettingsChange_SdkV2, bool)
GetChanges returns the value of the Changes field in EnforceClusterComplianceResponse_SdkV2 as a slice of ClusterSettingsChange_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (EnforceClusterComplianceResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a EnforceClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EnforceClusterComplianceResponse_SdkV2) SetChanges ¶ added in v1.62.1
func (o *EnforceClusterComplianceResponse_SdkV2) SetChanges(ctx context.Context, v []ClusterSettingsChange_SdkV2)
SetChanges sets the value of the Changes field in EnforceClusterComplianceResponse_SdkV2.
func (*EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse_SdkV2)
func (*EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse_SdkV2)
func (EnforceClusterComplianceResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EnforceClusterComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceResponse_SdkV2 only implements ToObjectValue() and Type().
type Environment ¶
type Environment struct { // Client version used by the environment The client is the user-facing // environment of the runtime. Each client comes with a specific set of // pre-installed libraries. The version is a string, consisting of the major // client version. Client types.String `tfsdk:"client"` // List of pip dependencies, as supported by the version of pip in this // environment. Each dependency is a pip requirement file line // https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed // dependency could be <requirement specifier>, <archive url/path>, <local // project path>(WSFS or Volumes in Databricks), <vcs project url> E.g. // dependencies: ["foo==0.0.1", "-r /Workspace/test/requirements.txt"] Dependencies types.List `tfsdk:"dependencies"` }
The environment entity used to preserve serverless environment side panel and jobs' environment for non-notebook task. In this minimal environment spec, only pip dependencies are supported.
func (Environment) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Environment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Environment) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Environment) GetDependencies ¶ added in v1.61.0
GetDependencies returns the value of the Dependencies field in Environment as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Environment) SetDependencies ¶ added in v1.61.0
func (o *Environment) SetDependencies(ctx context.Context, v []types.String)
SetDependencies sets the value of the Dependencies field in Environment.
func (*Environment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Environment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment)
func (*Environment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Environment) SyncEffectiveFieldsDuringRead(existingState Environment)
func (Environment) ToObjectValue ¶ added in v1.61.0
func (o Environment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Environment only implements ToObjectValue() and Type().
type Environment_SdkV2 ¶ added in v1.62.1
type Environment_SdkV2 struct { // Client version used by the environment The client is the user-facing // environment of the runtime. Each client comes with a specific set of // pre-installed libraries. The version is a string, consisting of the major // client version. Client types.String `tfsdk:"client"` // List of pip dependencies, as supported by the version of pip in this // environment. Each dependency is a pip requirement file line // https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed // dependency could be <requirement specifier>, <archive url/path>, <local // project path>(WSFS or Volumes in Databricks), <vcs project url> E.g. // dependencies: ["foo==0.0.1", "-r /Workspace/test/requirements.txt"] Dependencies types.List `tfsdk:"dependencies"` }
The environment entity used to preserve serverless environment side panel and jobs' environment for non-notebook task. In this minimal environment spec, only pip dependencies are supported.
func (Environment_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Environment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Environment_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Environment_SdkV2) GetDependencies ¶ added in v1.62.1
GetDependencies returns the value of the Dependencies field in Environment_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Environment_SdkV2) SetDependencies ¶ added in v1.62.1
func (o *Environment_SdkV2) SetDependencies(ctx context.Context, v []types.String)
SetDependencies sets the value of the Dependencies field in Environment_SdkV2.
func (*Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment_SdkV2)
func (*Environment_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringRead(existingState Environment_SdkV2)
func (Environment_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Environment_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Environment_SdkV2 only implements ToObjectValue() and Type().
type EventDetails ¶
type EventDetails struct { // * For created clusters, the attributes of the cluster. * For edited // clusters, the new attributes of the cluster. Attributes types.Object `tfsdk:"attributes"` // The cause of a change in target size. Cause types.String `tfsdk:"cause"` // The actual cluster size that was set in the cluster creation or edit. ClusterSize types.Object `tfsdk:"cluster_size"` // The current number of vCPUs in the cluster. CurrentNumVcpus types.Int64 `tfsdk:"current_num_vcpus"` // The current number of nodes in the cluster. CurrentNumWorkers types.Int64 `tfsdk:"current_num_workers"` // <needs content added> DidNotExpandReason types.String `tfsdk:"did_not_expand_reason"` // Current disk size in bytes DiskSize types.Int64 `tfsdk:"disk_size"` // More details about the change in driver's state DriverStateMessage types.String `tfsdk:"driver_state_message"` // Whether or not a blocklisted node should be terminated. For // ClusterEventType NODE_BLACKLISTED. EnableTerminationForNodeBlocklisted types.Bool `tfsdk:"enable_termination_for_node_blocklisted"` // <needs content added> FreeSpace types.Int64 `tfsdk:"free_space"` // List of global and cluster init scripts associated with this cluster // event. InitScripts types.Object `tfsdk:"init_scripts"` // Instance Id where the event originated from InstanceId types.String `tfsdk:"instance_id"` // Unique identifier of the specific job run associated with this cluster // event * For clusters created for jobs, this will be the same as the // cluster name JobRunName types.String `tfsdk:"job_run_name"` // The cluster attributes before a cluster was edited. PreviousAttributes types.Object `tfsdk:"previous_attributes"` // The size of the cluster before an edit or resize. PreviousClusterSize types.Object `tfsdk:"previous_cluster_size"` // Previous disk size in bytes PreviousDiskSize types.Int64 `tfsdk:"previous_disk_size"` // A termination reason: * On a TERMINATED event, this is the reason of the // termination. * On a RESIZE_COMPLETE event, this indicates the reason that // we failed to acquire some nodes. Reason types.Object `tfsdk:"reason"` // The targeted number of vCPUs in the cluster. TargetNumVcpus types.Int64 `tfsdk:"target_num_vcpus"` // The targeted number of nodes in the cluster. TargetNumWorkers types.Int64 `tfsdk:"target_num_workers"` // The user that caused the event to occur. (Empty if it was done by the // control plane.) User types.String `tfsdk:"user"` }
func (EventDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EventDetails) GetAttributes ¶ added in v1.61.0
func (o *EventDetails) GetAttributes(ctx context.Context) (ClusterAttributes, bool)
GetAttributes returns the value of the Attributes field in EventDetails as a ClusterAttributes value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails) GetClusterSize ¶ added in v1.61.0
func (o *EventDetails) GetClusterSize(ctx context.Context) (ClusterSize, bool)
GetClusterSize returns the value of the ClusterSize field in EventDetails as a ClusterSize value. If the field is unknown or null, the boolean return value is false.
func (EventDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EventDetails) GetInitScripts ¶ added in v1.61.0
func (o *EventDetails) GetInitScripts(ctx context.Context) (InitScriptEventDetails, bool)
GetInitScripts returns the value of the InitScripts field in EventDetails as a InitScriptEventDetails value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails) GetPreviousAttributes ¶ added in v1.61.0
func (o *EventDetails) GetPreviousAttributes(ctx context.Context) (ClusterAttributes, bool)
GetPreviousAttributes returns the value of the PreviousAttributes field in EventDetails as a ClusterAttributes value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails) GetPreviousClusterSize ¶ added in v1.61.0
func (o *EventDetails) GetPreviousClusterSize(ctx context.Context) (ClusterSize, bool)
GetPreviousClusterSize returns the value of the PreviousClusterSize field in EventDetails as a ClusterSize value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails) GetReason ¶ added in v1.61.0
func (o *EventDetails) GetReason(ctx context.Context) (TerminationReason, bool)
GetReason returns the value of the Reason field in EventDetails as a TerminationReason value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails) SetAttributes ¶ added in v1.61.0
func (o *EventDetails) SetAttributes(ctx context.Context, v ClusterAttributes)
SetAttributes sets the value of the Attributes field in EventDetails.
func (*EventDetails) SetClusterSize ¶ added in v1.61.0
func (o *EventDetails) SetClusterSize(ctx context.Context, v ClusterSize)
SetClusterSize sets the value of the ClusterSize field in EventDetails.
func (*EventDetails) SetInitScripts ¶ added in v1.61.0
func (o *EventDetails) SetInitScripts(ctx context.Context, v InitScriptEventDetails)
SetInitScripts sets the value of the InitScripts field in EventDetails.
func (*EventDetails) SetPreviousAttributes ¶ added in v1.61.0
func (o *EventDetails) SetPreviousAttributes(ctx context.Context, v ClusterAttributes)
SetPreviousAttributes sets the value of the PreviousAttributes field in EventDetails.
func (*EventDetails) SetPreviousClusterSize ¶ added in v1.61.0
func (o *EventDetails) SetPreviousClusterSize(ctx context.Context, v ClusterSize)
SetPreviousClusterSize sets the value of the PreviousClusterSize field in EventDetails.
func (*EventDetails) SetReason ¶ added in v1.61.0
func (o *EventDetails) SetReason(ctx context.Context, v TerminationReason)
SetReason sets the value of the Reason field in EventDetails.
func (*EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails)
func (*EventDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EventDetails) SyncEffectiveFieldsDuringRead(existingState EventDetails)
func (EventDetails) ToObjectValue ¶ added in v1.61.0
func (o EventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EventDetails only implements ToObjectValue() and Type().
type EventDetails_SdkV2 ¶ added in v1.62.1
type EventDetails_SdkV2 struct { // * For created clusters, the attributes of the cluster. * For edited // clusters, the new attributes of the cluster. Attributes types.List `tfsdk:"attributes"` // The cause of a change in target size. Cause types.String `tfsdk:"cause"` // The actual cluster size that was set in the cluster creation or edit. ClusterSize types.List `tfsdk:"cluster_size"` // The current number of vCPUs in the cluster. CurrentNumVcpus types.Int64 `tfsdk:"current_num_vcpus"` // The current number of nodes in the cluster. CurrentNumWorkers types.Int64 `tfsdk:"current_num_workers"` // <needs content added> DidNotExpandReason types.String `tfsdk:"did_not_expand_reason"` // Current disk size in bytes DiskSize types.Int64 `tfsdk:"disk_size"` // More details about the change in driver's state DriverStateMessage types.String `tfsdk:"driver_state_message"` // Whether or not a blocklisted node should be terminated. For // ClusterEventType NODE_BLACKLISTED. EnableTerminationForNodeBlocklisted types.Bool `tfsdk:"enable_termination_for_node_blocklisted"` // <needs content added> FreeSpace types.Int64 `tfsdk:"free_space"` // List of global and cluster init scripts associated with this cluster // event. InitScripts types.List `tfsdk:"init_scripts"` // Instance Id where the event originated from InstanceId types.String `tfsdk:"instance_id"` // Unique identifier of the specific job run associated with this cluster // event * For clusters created for jobs, this will be the same as the // cluster name JobRunName types.String `tfsdk:"job_run_name"` // The cluster attributes before a cluster was edited. PreviousAttributes types.List `tfsdk:"previous_attributes"` // The size of the cluster before an edit or resize. PreviousClusterSize types.List `tfsdk:"previous_cluster_size"` // Previous disk size in bytes PreviousDiskSize types.Int64 `tfsdk:"previous_disk_size"` // A termination reason: * On a TERMINATED event, this is the reason of the // termination. * On a RESIZE_COMPLETE event, this indicates the reason that // we failed to acquire some nodes. Reason types.List `tfsdk:"reason"` // The targeted number of vCPUs in the cluster. TargetNumVcpus types.Int64 `tfsdk:"target_num_vcpus"` // The targeted number of nodes in the cluster. TargetNumWorkers types.Int64 `tfsdk:"target_num_workers"` // The user that caused the event to occur. (Empty if it was done by the // control plane.) User types.String `tfsdk:"user"` }
func (EventDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c EventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*EventDetails_SdkV2) GetAttributes ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetAttributes(ctx context.Context) (ClusterAttributes_SdkV2, bool)
GetAttributes returns the value of the Attributes field in EventDetails_SdkV2 as a ClusterAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails_SdkV2) GetClusterSize ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)
GetClusterSize returns the value of the ClusterSize field in EventDetails_SdkV2 as a ClusterSize_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (EventDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EventDetails_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetInitScripts(ctx context.Context) (InitScriptEventDetails_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in EventDetails_SdkV2 as a InitScriptEventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails_SdkV2) GetPreviousAttributes ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetPreviousAttributes(ctx context.Context) (ClusterAttributes_SdkV2, bool)
GetPreviousAttributes returns the value of the PreviousAttributes field in EventDetails_SdkV2 as a ClusterAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails_SdkV2) GetPreviousClusterSize ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetPreviousClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)
GetPreviousClusterSize returns the value of the PreviousClusterSize field in EventDetails_SdkV2 as a ClusterSize_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails_SdkV2) GetReason ¶ added in v1.62.1
func (o *EventDetails_SdkV2) GetReason(ctx context.Context) (TerminationReason_SdkV2, bool)
GetReason returns the value of the Reason field in EventDetails_SdkV2 as a TerminationReason_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*EventDetails_SdkV2) SetAttributes ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetAttributes(ctx context.Context, v ClusterAttributes_SdkV2)
SetAttributes sets the value of the Attributes field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SetClusterSize ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetClusterSize(ctx context.Context, v ClusterSize_SdkV2)
SetClusterSize sets the value of the ClusterSize field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetInitScripts(ctx context.Context, v InitScriptEventDetails_SdkV2)
SetInitScripts sets the value of the InitScripts field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SetPreviousAttributes ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetPreviousAttributes(ctx context.Context, v ClusterAttributes_SdkV2)
SetPreviousAttributes sets the value of the PreviousAttributes field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SetPreviousClusterSize ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetPreviousClusterSize(ctx context.Context, v ClusterSize_SdkV2)
SetPreviousClusterSize sets the value of the PreviousClusterSize field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SetReason ¶ added in v1.62.1
func (o *EventDetails_SdkV2) SetReason(ctx context.Context, v TerminationReason_SdkV2)
SetReason sets the value of the Reason field in EventDetails_SdkV2.
func (*EventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails_SdkV2)
func (*EventDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState EventDetails_SdkV2)
func (EventDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o EventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EventDetails_SdkV2 only implements ToObjectValue() and Type().
type GcpAttributes ¶
type GcpAttributes struct { // This field determines whether the instance pool will contain preemptible // VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs // if the former is unavailable. Availability types.String `tfsdk:"availability"` // boot disk size in GB BootDiskSize types.Int64 `tfsdk:"boot_disk_size"` // If provided, the cluster will impersonate the google service account when // accessing gcloud services (like GCS). The google service account must // have previously been added to the Databricks environment by an account // administrator. GoogleServiceAccount types.String `tfsdk:"google_service_account"` // If provided, each node (workers and driver) in the cluster will have this // number of local SSDs attached. Each local SSD is 375GB in size. Refer to // [GCP documentation] for the supported number of local SSDs for each // instance type. // // [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"` // This field determines whether the spark executors will be scheduled to // run on preemptible VMs (when set to true) versus standard compute engine // VMs (when set to false; default). Note: Soon to be deprecated, use the // availability field instead. UsePreemptibleExecutors types.Bool `tfsdk:"use_preemptible_executors"` // Identifier for the availability zone in which the cluster resides. This // can be one of the following: - "HA" => High availability, spread nodes // across availability zones for a Databricks deployment region [default] - // "AUTO" => Databricks picks an availability zone to schedule the cluster // on. - A GCP availability zone => Pick One of the available zones for // (machine type + region) from // https://cloud.google.com/compute/docs/regions-zones. ZoneId types.String `tfsdk:"zone_id"` }
func (GcpAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GcpAttributes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes)
func (*GcpAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GcpAttributes) SyncEffectiveFieldsDuringRead(existingState GcpAttributes)
func (GcpAttributes) ToObjectValue ¶ added in v1.61.0
func (o GcpAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcpAttributes only implements ToObjectValue() and Type().
type GcpAttributes_SdkV2 ¶ added in v1.62.1
type GcpAttributes_SdkV2 struct { // This field determines whether the instance pool will contain preemptible // VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs // if the former is unavailable. Availability types.String `tfsdk:"availability"` // boot disk size in GB BootDiskSize types.Int64 `tfsdk:"boot_disk_size"` // If provided, the cluster will impersonate the google service account when // accessing gcloud services (like GCS). The google service account must // have previously been added to the Databricks environment by an account // administrator. GoogleServiceAccount types.String `tfsdk:"google_service_account"` // If provided, each node (workers and driver) in the cluster will have this // number of local SSDs attached. Each local SSD is 375GB in size. Refer to // [GCP documentation] for the supported number of local SSDs for each // instance type. // // [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"` // This field determines whether the spark executors will be scheduled to // run on preemptible VMs (when set to true) versus standard compute engine // VMs (when set to false; default). Note: Soon to be deprecated, use the // availability field instead. UsePreemptibleExecutors types.Bool `tfsdk:"use_preemptible_executors"` // Identifier for the availability zone in which the cluster resides. This // can be one of the following: - "HA" => High availability, spread nodes // across availability zones for a Databricks deployment region [default] - // "AUTO" => Databricks picks an availability zone to schedule the cluster // on. - A GCP availability zone => Pick One of the available zones for // (machine type + region) from // https://cloud.google.com/compute/docs/regions-zones. ZoneId types.String `tfsdk:"zone_id"` }
func (GcpAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GcpAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GcpAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes_SdkV2)
func (*GcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpAttributes_SdkV2)
func (GcpAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GcpAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcpAttributes_SdkV2 only implements ToObjectValue() and Type().
type GcsStorageInfo ¶
type GcsStorageInfo struct { // GCS destination/URI, e.g. `gs://my-bucket/some-prefix` Destination types.String `tfsdk:"destination"` }
func (GcsStorageInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GcsStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GcsStorageInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GcsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo)
func (*GcsStorageInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo)
func (GcsStorageInfo) ToObjectValue ¶ added in v1.61.0
func (o GcsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcsStorageInfo only implements ToObjectValue() and Type().
type GcsStorageInfo_SdkV2 ¶ added in v1.62.1
type GcsStorageInfo_SdkV2 struct { // GCS destination/URI, e.g. `gs://my-bucket/some-prefix` Destination types.String `tfsdk:"destination"` }
func (GcsStorageInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GcsStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GcsStorageInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo_SdkV2)
func (*GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo_SdkV2)
func (GcsStorageInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GcsStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcsStorageInfo_SdkV2 only implements ToObjectValue() and Type().
type GetClusterComplianceRequest ¶
type GetClusterComplianceRequest struct { // The ID of the cluster to get the compliance status ClusterId types.String `tfsdk:"-"` }
Get cluster policy compliance
func (GetClusterComplianceRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterComplianceRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterComplianceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceRequest only implements ToObjectValue() and Type().
type GetClusterComplianceRequest_SdkV2 ¶ added in v1.62.1
type GetClusterComplianceRequest_SdkV2 struct { // The ID of the cluster to get the compliance status ClusterId types.String `tfsdk:"-"` }
Get cluster policy compliance
func (GetClusterComplianceRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterComplianceRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterComplianceRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterComplianceResponse ¶
type GetClusterComplianceResponse struct { // Whether the cluster is compliant with its policy or not. Clusters could // be out of compliance if the policy was updated after the cluster was last // edited. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. The values indicate an error message describing the // policy validation error. Violations types.Map `tfsdk:"violations"` }
func (GetClusterComplianceResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterComplianceResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterComplianceResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterComplianceResponse) GetViolations ¶ added in v1.61.0
func (o *GetClusterComplianceResponse) GetViolations(ctx context.Context) (map[string]types.String, bool)
GetViolations returns the value of the Violations field in GetClusterComplianceResponse as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterComplianceResponse) SetViolations ¶ added in v1.61.0
func (o *GetClusterComplianceResponse) SetViolations(ctx context.Context, v map[string]types.String)
SetViolations sets the value of the Violations field in GetClusterComplianceResponse.
func (*GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse)
func (*GetClusterComplianceResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse)
func (GetClusterComplianceResponse) ToObjectValue ¶ added in v1.61.0
func (o GetClusterComplianceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceResponse only implements ToObjectValue() and Type().
type GetClusterComplianceResponse_SdkV2 ¶ added in v1.62.1
type GetClusterComplianceResponse_SdkV2 struct { // Whether the cluster is compliant with its policy or not. Clusters could // be out of compliance if the policy was updated after the cluster was last // edited. IsCompliant types.Bool `tfsdk:"is_compliant"` // An object containing key-value mappings representing the first 200 policy // validation errors. The keys indicate the path where the policy validation // error is occurring. The values indicate an error message describing the // policy validation error. Violations types.Map `tfsdk:"violations"` }
func (GetClusterComplianceResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterComplianceResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterComplianceResponse_SdkV2) GetViolations ¶ added in v1.62.1
func (o *GetClusterComplianceResponse_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)
GetViolations returns the value of the Violations field in GetClusterComplianceResponse_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterComplianceResponse_SdkV2) SetViolations ¶ added in v1.62.1
func (o *GetClusterComplianceResponse_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)
SetViolations sets the value of the Violations field in GetClusterComplianceResponse_SdkV2.
func (*GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse_SdkV2)
func (*GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse_SdkV2)
func (GetClusterComplianceResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterComplianceResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceResponse_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPermissionLevelsRequest ¶
type GetClusterPermissionLevelsRequest struct { // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
Get cluster permission levels
func (GetClusterPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetClusterPermissionLevelsRequest_SdkV2 ¶ added in v1.62.1
type GetClusterPermissionLevelsRequest_SdkV2 struct { // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
Get cluster permission levels
func (GetClusterPermissionLevelsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPermissionLevelsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPermissionLevelsResponse ¶
type GetClusterPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetClusterPermissionLevelsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetClusterPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ClusterPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPermissionLevelsResponse as a slice of ClusterPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetClusterPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ClusterPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPermissionLevelsResponse.
func (*GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse)
func (*GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse)
func (GetClusterPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetClusterPermissionLevelsResponse_SdkV2 ¶ added in v1.62.1
type GetClusterPermissionLevelsResponse_SdkV2 struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetClusterPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterPermissionLevelsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterPermissionLevelsResponse_SdkV2) GetPermissionLevels ¶ added in v1.62.1
func (o *GetClusterPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]ClusterPermissionsDescription_SdkV2, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPermissionLevelsResponse_SdkV2 as a slice of ClusterPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterPermissionLevelsResponse_SdkV2) SetPermissionLevels ¶ added in v1.62.1
func (o *GetClusterPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []ClusterPermissionsDescription_SdkV2)
SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPermissionLevelsResponse_SdkV2.
func (*GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse_SdkV2)
func (*GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse_SdkV2)
func (GetClusterPermissionLevelsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPermissionsRequest ¶
type GetClusterPermissionsRequest struct { // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
Get cluster permissions
func (GetClusterPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionsRequest only implements ToObjectValue() and Type().
type GetClusterPermissionsRequest_SdkV2 ¶ added in v1.62.1
type GetClusterPermissionsRequest_SdkV2 struct { // The cluster for which to get or manage permissions. ClusterId types.String `tfsdk:"-"` }
Get cluster permissions
func (GetClusterPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionLevelsRequest ¶
type GetClusterPolicyPermissionLevelsRequest struct { // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
Get cluster policy permission levels
func (GetClusterPolicyPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPolicyPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPolicyPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionLevelsRequest_SdkV2 ¶ added in v1.62.1
type GetClusterPolicyPermissionLevelsRequest_SdkV2 struct { // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
Get cluster policy permission levels
func (GetClusterPolicyPermissionLevelsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPolicyPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyPermissionLevelsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPolicyPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionLevelsResponse ¶
type GetClusterPolicyPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetClusterPolicyPermissionLevelsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterPolicyPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterPolicyPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPolicyPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterPolicyPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetClusterPolicyPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ClusterPolicyPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse as a slice of ClusterPolicyPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterPolicyPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetClusterPolicyPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ClusterPolicyPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse.
func (*GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse)
func (*GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse)
func (GetClusterPolicyPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPolicyPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionLevelsResponse_SdkV2 ¶ added in v1.62.1
type GetClusterPolicyPermissionLevelsResponse_SdkV2 struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetClusterPolicyPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetClusterPolicyPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetClusterPolicyPermissionLevelsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPolicyPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) GetPermissionLevels ¶ added in v1.62.1
func (o *GetClusterPolicyPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]ClusterPolicyPermissionsDescription_SdkV2, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse_SdkV2 as a slice of ClusterPolicyPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SetPermissionLevels ¶ added in v1.62.1
func (o *GetClusterPolicyPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []ClusterPolicyPermissionsDescription_SdkV2)
SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse_SdkV2.
func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse_SdkV2)
func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse_SdkV2)
func (GetClusterPolicyPermissionLevelsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPolicyPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionsRequest ¶
type GetClusterPolicyPermissionsRequest struct { // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
Get cluster policy permissions
func (GetClusterPolicyPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetClusterPolicyPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPolicyPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionsRequest only implements ToObjectValue() and Type().
type GetClusterPolicyPermissionsRequest_SdkV2 ¶ added in v1.62.1
type GetClusterPolicyPermissionsRequest_SdkV2 struct { // The cluster policy for which to get or manage permissions. ClusterPolicyId types.String `tfsdk:"-"` }
Get cluster policy permissions
func (GetClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPolicyPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterPolicyRequest ¶
type GetClusterPolicyRequest struct { // Canonical unique identifier for the Cluster Policy. PolicyId types.String `tfsdk:"-"` }
Get a cluster policy
func (GetClusterPolicyRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterPolicyRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyRequest only implements ToObjectValue() and Type().
type GetClusterPolicyRequest_SdkV2 ¶ added in v1.62.1
type GetClusterPolicyRequest_SdkV2 struct { // Canonical unique identifier for the Cluster Policy. PolicyId types.String `tfsdk:"-"` }
Get a cluster policy
func (GetClusterPolicyRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetClusterPolicyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterPolicyRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterPolicyRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyRequest_SdkV2 only implements ToObjectValue() and Type().
type GetClusterRequest ¶
type GetClusterRequest struct { // The cluster about which to retrieve information. ClusterId types.String `tfsdk:"-"` }
Get cluster info
func (GetClusterRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterRequest) ToObjectValue ¶ added in v1.61.0
func (o GetClusterRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterRequest only implements ToObjectValue() and Type().
type GetClusterRequest_SdkV2 ¶ added in v1.62.1
type GetClusterRequest_SdkV2 struct { // The cluster about which to retrieve information. ClusterId types.String `tfsdk:"-"` }
Get cluster info
func (GetClusterRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetClusterRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetClusterRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterRequest_SdkV2 only implements ToObjectValue() and Type().
type GetEvents ¶
type GetEvents struct { // The ID of the cluster to retrieve events about. ClusterId types.String `tfsdk:"cluster_id"` // The end time in epoch milliseconds. If empty, returns events up to the // current time. EndTime types.Int64 `tfsdk:"end_time"` // An optional set of event types to filter on. If empty, all event types // are returned. EventTypes types.List `tfsdk:"event_types"` // The maximum number of events to include in a page of events. Defaults to // 50, and maximum allowed value is 500. Limit types.Int64 `tfsdk:"limit"` // The offset in the result set. Defaults to 0 (no offset). When an offset // is specified and the results are requested in descending order, the // end_time field is required. Offset types.Int64 `tfsdk:"offset"` // The order to list events in; either "ASC" or "DESC". Defaults to "DESC". Order types.String `tfsdk:"order"` // The start time in epoch milliseconds. If empty, returns events starting // from the beginning of time. StartTime types.Int64 `tfsdk:"start_time"` }
func (GetEvents) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetEvents) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetEvents) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetEvents) GetEventTypes ¶ added in v1.61.0
GetEventTypes returns the value of the EventTypes field in GetEvents as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetEvents) SetEventTypes ¶ added in v1.61.0
SetEventTypes sets the value of the EventTypes field in GetEvents.
func (*GetEvents) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*GetEvents) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (GetEvents) ToObjectValue ¶ added in v1.61.0
func (o GetEvents) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEvents only implements ToObjectValue() and Type().
type GetEventsResponse ¶
type GetEventsResponse struct { // <content needs to be added> Events types.List `tfsdk:"events"` // The parameters required to retrieve the next page of events. Omitted if // there are no more events to read. NextPage types.Object `tfsdk:"next_page"` // The total number of events filtered by the start_time, end_time, and // event_types. TotalCount types.Int64 `tfsdk:"total_count"` }
func (GetEventsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetEventsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetEventsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetEventsResponse) GetEvents ¶ added in v1.61.0
func (o *GetEventsResponse) GetEvents(ctx context.Context) ([]ClusterEvent, bool)
GetEvents returns the value of the Events field in GetEventsResponse as a slice of ClusterEvent values. If the field is unknown or null, the boolean return value is false.
func (*GetEventsResponse) GetNextPage ¶ added in v1.61.0
func (o *GetEventsResponse) GetNextPage(ctx context.Context) (GetEvents, bool)
GetNextPage returns the value of the NextPage field in GetEventsResponse as a GetEvents value. If the field is unknown or null, the boolean return value is false.
func (*GetEventsResponse) SetEvents ¶ added in v1.61.0
func (o *GetEventsResponse) SetEvents(ctx context.Context, v []ClusterEvent)
SetEvents sets the value of the Events field in GetEventsResponse.
func (*GetEventsResponse) SetNextPage ¶ added in v1.61.0
func (o *GetEventsResponse) SetNextPage(ctx context.Context, v GetEvents)
SetNextPage sets the value of the NextPage field in GetEventsResponse.
func (*GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse)
func (*GetEventsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetEventsResponse) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse)
func (GetEventsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetEventsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEventsResponse only implements ToObjectValue() and Type().
type GetEventsResponse_SdkV2 ¶ added in v1.62.1
type GetEventsResponse_SdkV2 struct { // <content needs to be added> Events types.List `tfsdk:"events"` // The parameters required to retrieve the next page of events. Omitted if // there are no more events to read. NextPage types.List `tfsdk:"next_page"` // The total number of events filtered by the start_time, end_time, and // event_types. TotalCount types.Int64 `tfsdk:"total_count"` }
func (GetEventsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetEventsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetEventsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetEventsResponse_SdkV2) GetEvents ¶ added in v1.62.1
func (o *GetEventsResponse_SdkV2) GetEvents(ctx context.Context) ([]ClusterEvent_SdkV2, bool)
GetEvents returns the value of the Events field in GetEventsResponse_SdkV2 as a slice of ClusterEvent_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetEventsResponse_SdkV2) GetNextPage ¶ added in v1.62.1
func (o *GetEventsResponse_SdkV2) GetNextPage(ctx context.Context) (GetEvents_SdkV2, bool)
GetNextPage returns the value of the NextPage field in GetEventsResponse_SdkV2 as a GetEvents_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetEventsResponse_SdkV2) SetEvents ¶ added in v1.62.1
func (o *GetEventsResponse_SdkV2) SetEvents(ctx context.Context, v []ClusterEvent_SdkV2)
SetEvents sets the value of the Events field in GetEventsResponse_SdkV2.
func (*GetEventsResponse_SdkV2) SetNextPage ¶ added in v1.62.1
func (o *GetEventsResponse_SdkV2) SetNextPage(ctx context.Context, v GetEvents_SdkV2)
SetNextPage sets the value of the NextPage field in GetEventsResponse_SdkV2.
func (*GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse_SdkV2)
func (*GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse_SdkV2)
func (GetEventsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetEventsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEventsResponse_SdkV2 only implements ToObjectValue() and Type().
type GetEvents_SdkV2 ¶ added in v1.62.1
type GetEvents_SdkV2 struct { // The ID of the cluster to retrieve events about. ClusterId types.String `tfsdk:"cluster_id"` // The end time in epoch milliseconds. If empty, returns events up to the // current time. EndTime types.Int64 `tfsdk:"end_time"` // An optional set of event types to filter on. If empty, all event types // are returned. EventTypes types.List `tfsdk:"event_types"` // The maximum number of events to include in a page of events. Defaults to // 50, and maximum allowed value is 500. Limit types.Int64 `tfsdk:"limit"` // The offset in the result set. Defaults to 0 (no offset). When an offset // is specified and the results are requested in descending order, the // end_time field is required. Offset types.Int64 `tfsdk:"offset"` // The order to list events in; either "ASC" or "DESC". Defaults to "DESC". Order types.String `tfsdk:"order"` // The start time in epoch milliseconds. If empty, returns events starting // from the beginning of time. StartTime types.Int64 `tfsdk:"start_time"` }
func (GetEvents_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetEvents_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetEvents_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetEvents_SdkV2) GetEventTypes ¶ added in v1.62.1
GetEventTypes returns the value of the EventTypes field in GetEvents_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetEvents_SdkV2) SetEventTypes ¶ added in v1.62.1
func (o *GetEvents_SdkV2) SetEventTypes(ctx context.Context, v []types.String)
SetEventTypes sets the value of the EventTypes field in GetEvents_SdkV2.
func (*GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvents_SdkV2)
func (*GetEvents_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEvents_SdkV2)
func (GetEvents_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetEvents_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEvents_SdkV2 only implements ToObjectValue() and Type().
type GetGlobalInitScriptRequest ¶
type GetGlobalInitScriptRequest struct { // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
Get an init script
func (GetGlobalInitScriptRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetGlobalInitScriptRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetGlobalInitScriptRequest) ToObjectValue ¶ added in v1.61.0
func (o GetGlobalInitScriptRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetGlobalInitScriptRequest only implements ToObjectValue() and Type().
type GetGlobalInitScriptRequest_SdkV2 ¶ added in v1.62.1
type GetGlobalInitScriptRequest_SdkV2 struct { // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
Get an init script
func (GetGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetGlobalInitScriptRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetGlobalInitScriptRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetGlobalInitScriptRequest_SdkV2 only implements ToObjectValue() and Type().
type GetInstancePool ¶
type GetInstancePool struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - InstancePoolCreator: <user_id_of_creator> // // - InstancePoolName: <name_of_pool> // // - InstancePoolId: <id_of_pool> DefaultTags types.Map `tfsdk:"default_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.Object `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Canonical unique identifier for the pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` // Current state of the instance pool. State types.String `tfsdk:"state"` // Usage statistics about the instance pool. Stats types.Object `tfsdk:"stats"` // Status of failed pending instances in the pool. Status types.Object `tfsdk:"status"` }
func (GetInstancePool) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*GetInstancePool) GetAwsAttributes ¶ added in v1.61.0
func (o *GetInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in GetInstancePool as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetAzureAttributes ¶ added in v1.61.0
func (o *GetInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in GetInstancePool as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (GetInstancePool) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetInstancePool) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in GetInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetDefaultTags ¶ added in v1.61.0
GetDefaultTags returns the value of the DefaultTags field in GetInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetDiskSpec ¶ added in v1.61.0
func (o *GetInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
GetDiskSpec returns the value of the DiskSpec field in GetInstancePool as a DiskSpec value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetGcpAttributes ¶ added in v1.61.0
func (o *GetInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in GetInstancePool as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetPreloadedDockerImages ¶ added in v1.61.0
func (o *GetInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in GetInstancePool as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetPreloadedSparkVersions ¶ added in v1.61.0
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in GetInstancePool as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetStats ¶ added in v1.61.0
func (o *GetInstancePool) GetStats(ctx context.Context) (InstancePoolStats, bool)
GetStats returns the value of the Stats field in GetInstancePool as a InstancePoolStats value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) GetStatus ¶ added in v1.61.0
func (o *GetInstancePool) GetStatus(ctx context.Context) (InstancePoolStatus, bool)
GetStatus returns the value of the Status field in GetInstancePool as a InstancePoolStatus value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool) SetAwsAttributes ¶ added in v1.61.0
func (o *GetInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in GetInstancePool.
func (*GetInstancePool) SetAzureAttributes ¶ added in v1.61.0
func (o *GetInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in GetInstancePool.
func (*GetInstancePool) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in GetInstancePool.
func (*GetInstancePool) SetDefaultTags ¶ added in v1.61.0
SetDefaultTags sets the value of the DefaultTags field in GetInstancePool.
func (*GetInstancePool) SetDiskSpec ¶ added in v1.61.0
func (o *GetInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)
SetDiskSpec sets the value of the DiskSpec field in GetInstancePool.
func (*GetInstancePool) SetGcpAttributes ¶ added in v1.61.0
func (o *GetInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in GetInstancePool.
func (*GetInstancePool) SetPreloadedDockerImages ¶ added in v1.61.0
func (o *GetInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in GetInstancePool.
func (*GetInstancePool) SetPreloadedSparkVersions ¶ added in v1.61.0
func (o *GetInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in GetInstancePool.
func (*GetInstancePool) SetStats ¶ added in v1.61.0
func (o *GetInstancePool) SetStats(ctx context.Context, v InstancePoolStats)
SetStats sets the value of the Stats field in GetInstancePool.
func (*GetInstancePool) SetStatus ¶ added in v1.61.0
func (o *GetInstancePool) SetStatus(ctx context.Context, v InstancePoolStatus)
SetStatus sets the value of the Status field in GetInstancePool.
func (*GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool)
func (*GetInstancePool) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetInstancePool) SyncEffectiveFieldsDuringRead(existingState GetInstancePool)
func (GetInstancePool) ToObjectValue ¶ added in v1.61.0
func (o GetInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePool only implements ToObjectValue() and Type().
type GetInstancePoolPermissionLevelsRequest ¶
type GetInstancePoolPermissionLevelsRequest struct { // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool permission levels
func (GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetInstancePoolPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetInstancePoolPermissionLevelsRequest_SdkV2 ¶ added in v1.62.1
type GetInstancePoolPermissionLevelsRequest_SdkV2 struct { // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool permission levels
func (GetInstancePoolPermissionLevelsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetInstancePoolPermissionLevelsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolPermissionLevelsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetInstancePoolPermissionLevelsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetInstancePoolPermissionLevelsResponse ¶
type GetInstancePoolPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetInstancePoolPermissionLevelsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetInstancePoolPermissionLevelsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetInstancePoolPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetInstancePoolPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetInstancePoolPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetInstancePoolPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]InstancePoolPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse as a slice of InstancePoolPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePoolPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetInstancePoolPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []InstancePoolPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse.
func (*GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse)
func (*GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse)
func (GetInstancePoolPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetInstancePoolPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetInstancePoolPermissionLevelsResponse_SdkV2 ¶ added in v1.62.1
type GetInstancePoolPermissionLevelsResponse_SdkV2 struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels"` }
func (GetInstancePoolPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetInstancePoolPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetInstancePoolPermissionLevelsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetInstancePoolPermissionLevelsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetInstancePoolPermissionLevelsResponse_SdkV2) GetPermissionLevels ¶ added in v1.62.1
func (o *GetInstancePoolPermissionLevelsResponse_SdkV2) GetPermissionLevels(ctx context.Context) ([]InstancePoolPermissionsDescription_SdkV2, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse_SdkV2 as a slice of InstancePoolPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SetPermissionLevels ¶ added in v1.62.1
func (o *GetInstancePoolPermissionLevelsResponse_SdkV2) SetPermissionLevels(ctx context.Context, v []InstancePoolPermissionsDescription_SdkV2)
SetPermissionLevels sets the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse_SdkV2.
func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse_SdkV2)
func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse_SdkV2)
func (GetInstancePoolPermissionLevelsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetInstancePoolPermissionLevelsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().
type GetInstancePoolPermissionsRequest ¶
type GetInstancePoolPermissionsRequest struct { // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool permissions
func (GetInstancePoolPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetInstancePoolPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetInstancePoolPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionsRequest only implements ToObjectValue() and Type().
type GetInstancePoolPermissionsRequest_SdkV2 ¶ added in v1.62.1
type GetInstancePoolPermissionsRequest_SdkV2 struct { // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool permissions
func (GetInstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetInstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetInstancePoolPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type GetInstancePoolRequest ¶
type GetInstancePoolRequest struct { // The canonical unique identifier for the instance pool. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool information
func (GetInstancePoolRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolRequest) ToObjectValue ¶ added in v1.61.0
func (o GetInstancePoolRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolRequest only implements ToObjectValue() and Type().
type GetInstancePoolRequest_SdkV2 ¶ added in v1.62.1
type GetInstancePoolRequest_SdkV2 struct { // The canonical unique identifier for the instance pool. InstancePoolId types.String `tfsdk:"-"` }
Get instance pool information
func (GetInstancePoolRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetInstancePoolRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetInstancePoolRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetInstancePoolRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolRequest_SdkV2 only implements ToObjectValue() and Type().
type GetInstancePool_SdkV2 ¶ added in v1.62.1
type GetInstancePool_SdkV2 struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - InstancePoolCreator: <user_id_of_creator> // // - InstancePoolName: <name_of_pool> // // - InstancePoolId: <id_of_pool> DefaultTags types.Map `tfsdk:"default_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.List `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Canonical unique identifier for the pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` // Current state of the instance pool. State types.String `tfsdk:"state"` // Usage statistics about the instance pool. Stats types.List `tfsdk:"stats"` // Status of failed pending instances in the pool. Status types.List `tfsdk:"status"` }
func (GetInstancePool_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*GetInstancePool_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in GetInstancePool_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in GetInstancePool_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (GetInstancePool_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetInstancePool_SdkV2) GetCustomTags ¶ added in v1.62.1
GetCustomTags returns the value of the CustomTags field in GetInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetDefaultTags ¶ added in v1.62.1
GetDefaultTags returns the value of the DefaultTags field in GetInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetDiskSpec ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
GetDiskSpec returns the value of the DiskSpec field in GetInstancePool_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in GetInstancePool_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetPreloadedDockerImages ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in GetInstancePool_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetPreloadedSparkVersions ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in GetInstancePool_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetStats ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetStats(ctx context.Context) (InstancePoolStats_SdkV2, bool)
GetStats returns the value of the Stats field in GetInstancePool_SdkV2 as a InstancePoolStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) GetStatus ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) GetStatus(ctx context.Context) (InstancePoolStatus_SdkV2, bool)
GetStatus returns the value of the Status field in GetInstancePool_SdkV2 as a InstancePoolStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*GetInstancePool_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetDefaultTags ¶ added in v1.62.1
SetDefaultTags sets the value of the DefaultTags field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetDiskSpec ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
SetDiskSpec sets the value of the DiskSpec field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetPreloadedDockerImages ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetPreloadedSparkVersions ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetStats ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetStats(ctx context.Context, v InstancePoolStats_SdkV2)
SetStats sets the value of the Stats field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SetStatus ¶ added in v1.62.1
func (o *GetInstancePool_SdkV2) SetStatus(ctx context.Context, v InstancePoolStatus_SdkV2)
SetStatus sets the value of the Status field in GetInstancePool_SdkV2.
func (*GetInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool_SdkV2)
func (*GetInstancePool_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePool_SdkV2)
func (GetInstancePool_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetInstancePool_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePool_SdkV2 only implements ToObjectValue() and Type().
type GetPolicyFamilyRequest ¶
type GetPolicyFamilyRequest struct { // The family ID about which to retrieve information. PolicyFamilyId types.String `tfsdk:"-"` // The version number for the family to fetch. Defaults to the latest // version. Version types.Int64 `tfsdk:"-"` }
Get policy family information
func (GetPolicyFamilyRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetPolicyFamilyRequest) ToObjectValue ¶ added in v1.61.0
func (o GetPolicyFamilyRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyFamilyRequest only implements ToObjectValue() and Type().
type GetPolicyFamilyRequest_SdkV2 ¶ added in v1.62.1
type GetPolicyFamilyRequest_SdkV2 struct { // The family ID about which to retrieve information. PolicyFamilyId types.String `tfsdk:"-"` // The version number for the family to fetch. Defaults to the latest // version. Version types.Int64 `tfsdk:"-"` }
Get policy family information
func (GetPolicyFamilyRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetPolicyFamilyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (GetPolicyFamilyRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetPolicyFamilyRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyFamilyRequest_SdkV2 only implements ToObjectValue() and Type().
type GetSparkVersionsResponse ¶
type GetSparkVersionsResponse struct { // All the available Spark versions. Versions types.List `tfsdk:"versions"` }
func (GetSparkVersionsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetSparkVersionsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetSparkVersionsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetSparkVersionsResponse) GetVersions ¶ added in v1.61.0
func (o *GetSparkVersionsResponse) GetVersions(ctx context.Context) ([]SparkVersion, bool)
GetVersions returns the value of the Versions field in GetSparkVersionsResponse as a slice of SparkVersion values. If the field is unknown or null, the boolean return value is false.
func (*GetSparkVersionsResponse) SetVersions ¶ added in v1.61.0
func (o *GetSparkVersionsResponse) SetVersions(ctx context.Context, v []SparkVersion)
SetVersions sets the value of the Versions field in GetSparkVersionsResponse.
func (*GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse)
func (*GetSparkVersionsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse)
func (GetSparkVersionsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetSparkVersionsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetSparkVersionsResponse only implements ToObjectValue() and Type().
type GetSparkVersionsResponse_SdkV2 ¶ added in v1.62.1
type GetSparkVersionsResponse_SdkV2 struct { // All the available Spark versions. Versions types.List `tfsdk:"versions"` }
func (GetSparkVersionsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GetSparkVersionsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetSparkVersionsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GetSparkVersionsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetSparkVersionsResponse_SdkV2) GetVersions ¶ added in v1.62.1
func (o *GetSparkVersionsResponse_SdkV2) GetVersions(ctx context.Context) ([]SparkVersion_SdkV2, bool)
GetVersions returns the value of the Versions field in GetSparkVersionsResponse_SdkV2 as a slice of SparkVersion_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*GetSparkVersionsResponse_SdkV2) SetVersions ¶ added in v1.62.1
func (o *GetSparkVersionsResponse_SdkV2) SetVersions(ctx context.Context, v []SparkVersion_SdkV2)
SetVersions sets the value of the Versions field in GetSparkVersionsResponse_SdkV2.
func (*GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse_SdkV2)
func (*GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse_SdkV2)
func (GetSparkVersionsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GetSparkVersionsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetSparkVersionsResponse_SdkV2 only implements ToObjectValue() and Type().
type GlobalInitScriptCreateRequest ¶
type GlobalInitScriptCreateRequest struct { // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a global init script, where 0 represents the first script // to run, 1 is the second script to run, in ascending order. // // If you omit the numeric position for a new global init script, it // defaults to last position. It will run after all current scripts. Setting // any value greater than the position of the last script is equivalent to // the last position. Example: Take three existing scripts with positions 0, // 1, and 2. Any position of (3) or greater puts the script in the last // position. If an explicit position value conflicts with an existing script // value, your request succeeds, but the original script at that position // and all later scripts have their positions incremented by 1. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` }
func (GlobalInitScriptCreateRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptCreateRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptCreateRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GlobalInitScriptCreateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest)
func (*GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest)
func (GlobalInitScriptCreateRequest) ToObjectValue ¶ added in v1.61.0
func (o GlobalInitScriptCreateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptCreateRequest only implements ToObjectValue() and Type().
type GlobalInitScriptCreateRequest_SdkV2 ¶ added in v1.62.1
type GlobalInitScriptCreateRequest_SdkV2 struct { // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a global init script, where 0 represents the first script // to run, 1 is the second script to run, in ascending order. // // If you omit the numeric position for a new global init script, it // defaults to last position. It will run after all current scripts. Setting // any value greater than the position of the last script is equivalent to // the last position. Example: Take three existing scripts with positions 0, // 1, and 2. Any position of (3) or greater puts the script in the last // position. If an explicit position value conflicts with an existing script // value, your request succeeds, but the original script at that position // and all later scripts have their positions incremented by 1. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` }
func (GlobalInitScriptCreateRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptCreateRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptCreateRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GlobalInitScriptCreateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest_SdkV2)
func (*GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest_SdkV2)
func (GlobalInitScriptCreateRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GlobalInitScriptCreateRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptCreateRequest_SdkV2 only implements ToObjectValue() and Type().
type GlobalInitScriptDetails ¶
type GlobalInitScriptDetails struct { // Time when the script was created, represented as a Unix timestamp in // milliseconds. CreatedAt types.Int64 `tfsdk:"created_at"` // The username of the user who created the script. CreatedBy types.String `tfsdk:"created_by"` // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. Position types.Int64 `tfsdk:"position"` // The global init script ID. ScriptId types.String `tfsdk:"script_id"` // Time when the script was updated, represented as a Unix timestamp in // milliseconds. UpdatedAt types.Int64 `tfsdk:"updated_at"` // The username of the user who last updated the script UpdatedBy types.String `tfsdk:"updated_by"` }
func (GlobalInitScriptDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails)
func (*GlobalInitScriptDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails)
func (GlobalInitScriptDetails) ToObjectValue ¶ added in v1.61.0
func (o GlobalInitScriptDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetails only implements ToObjectValue() and Type().
type GlobalInitScriptDetailsWithContent ¶
type GlobalInitScriptDetailsWithContent struct { // Time when the script was created, represented as a Unix timestamp in // milliseconds. CreatedAt types.Int64 `tfsdk:"created_at"` // The username of the user who created the script. CreatedBy types.String `tfsdk:"created_by"` // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` // The global init script ID. ScriptId types.String `tfsdk:"script_id"` // Time when the script was updated, represented as a Unix timestamp in // milliseconds. UpdatedAt types.Int64 `tfsdk:"updated_at"` // The username of the user who last updated the script UpdatedBy types.String `tfsdk:"updated_by"` }
func (GlobalInitScriptDetailsWithContent) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptDetailsWithContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptDetailsWithContent) GetComplexFieldTypes ¶ added in v1.61.0
func (a GlobalInitScriptDetailsWithContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent)
func (*GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent)
func (GlobalInitScriptDetailsWithContent) ToObjectValue ¶ added in v1.61.0
func (o GlobalInitScriptDetailsWithContent) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetailsWithContent only implements ToObjectValue() and Type().
type GlobalInitScriptDetailsWithContent_SdkV2 ¶ added in v1.62.1
type GlobalInitScriptDetailsWithContent_SdkV2 struct { // Time when the script was created, represented as a Unix timestamp in // milliseconds. CreatedAt types.Int64 `tfsdk:"created_at"` // The username of the user who created the script. CreatedBy types.String `tfsdk:"created_by"` // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` // The global init script ID. ScriptId types.String `tfsdk:"script_id"` // Time when the script was updated, represented as a Unix timestamp in // milliseconds. UpdatedAt types.Int64 `tfsdk:"updated_at"` // The username of the user who last updated the script UpdatedBy types.String `tfsdk:"updated_by"` }
func (GlobalInitScriptDetailsWithContent_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptDetailsWithContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptDetailsWithContent_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GlobalInitScriptDetailsWithContent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent_SdkV2)
func (*GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent_SdkV2)
func (GlobalInitScriptDetailsWithContent_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GlobalInitScriptDetailsWithContent_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetailsWithContent_SdkV2 only implements ToObjectValue() and Type().
type GlobalInitScriptDetails_SdkV2 ¶ added in v1.62.1
type GlobalInitScriptDetails_SdkV2 struct { // Time when the script was created, represented as a Unix timestamp in // milliseconds. CreatedAt types.Int64 `tfsdk:"created_at"` // The username of the user who created the script. CreatedBy types.String `tfsdk:"created_by"` // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. Position types.Int64 `tfsdk:"position"` // The global init script ID. ScriptId types.String `tfsdk:"script_id"` // Time when the script was updated, represented as a Unix timestamp in // milliseconds. UpdatedAt types.Int64 `tfsdk:"updated_at"` // The username of the user who last updated the script UpdatedBy types.String `tfsdk:"updated_by"` }
func (GlobalInitScriptDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GlobalInitScriptDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails_SdkV2)
func (*GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails_SdkV2)
func (GlobalInitScriptDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GlobalInitScriptDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetails_SdkV2 only implements ToObjectValue() and Type().
type GlobalInitScriptUpdateRequest ¶
type GlobalInitScriptUpdateRequest struct { // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. To move the script to // run first, set its position to 0. // // To move the script to the end, set its position to any value greater or // equal to the position of the last script. Example, three existing scripts // with positions 0, 1, and 2. Any position value of 2 or greater puts the // script in the last position (2). // // If an explicit position value conflicts with an existing script, your // request succeeds, but the original script at that position and all later // scripts have their positions incremented by 1. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
func (GlobalInitScriptUpdateRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptUpdateRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptUpdateRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GlobalInitScriptUpdateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest)
func (*GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest)
func (GlobalInitScriptUpdateRequest) ToObjectValue ¶ added in v1.61.0
func (o GlobalInitScriptUpdateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptUpdateRequest only implements ToObjectValue() and Type().
type GlobalInitScriptUpdateRequest_SdkV2 ¶ added in v1.62.1
type GlobalInitScriptUpdateRequest_SdkV2 struct { // Specifies whether the script is enabled. The script runs only if enabled. Enabled types.Bool `tfsdk:"enabled"` // The name of the script Name types.String `tfsdk:"name"` // The position of a script, where 0 represents the first script to run, 1 // is the second script to run, in ascending order. To move the script to // run first, set its position to 0. // // To move the script to the end, set its position to any value greater or // equal to the position of the last script. Example, three existing scripts // with positions 0, 1, and 2. Any position value of 2 or greater puts the // script in the last position (2). // // If an explicit position value conflicts with an existing script, your // request succeeds, but the original script at that position and all later // scripts have their positions incremented by 1. Position types.Int64 `tfsdk:"position"` // The Base64-encoded content of the script. Script types.String `tfsdk:"script"` // The ID of the global init script. ScriptId types.String `tfsdk:"-"` }
func (GlobalInitScriptUpdateRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c GlobalInitScriptUpdateRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GlobalInitScriptUpdateRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a GlobalInitScriptUpdateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest_SdkV2)
func (*GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest_SdkV2)
func (GlobalInitScriptUpdateRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o GlobalInitScriptUpdateRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptUpdateRequest_SdkV2 only implements ToObjectValue() and Type().
type InitScriptEventDetails ¶
type InitScriptEventDetails struct { // The cluster scoped init scripts associated with this cluster event Cluster types.List `tfsdk:"cluster"` // The global init scripts associated with this cluster event Global types.List `tfsdk:"global"` // The private ip address of the node where the init scripts were run. ReportedForNode types.String `tfsdk:"reported_for_node"` }
func (InitScriptEventDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptEventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InitScriptEventDetails) GetCluster ¶ added in v1.61.0
func (o *InitScriptEventDetails) GetCluster(ctx context.Context) ([]InitScriptInfoAndExecutionDetails, bool)
GetCluster returns the value of the Cluster field in InitScriptEventDetails as a slice of InitScriptInfoAndExecutionDetails values. If the field is unknown or null, the boolean return value is false.
func (InitScriptEventDetails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptEventDetails) GetGlobal ¶ added in v1.61.0
func (o *InitScriptEventDetails) GetGlobal(ctx context.Context) ([]InitScriptInfoAndExecutionDetails, bool)
GetGlobal returns the value of the Global field in InitScriptEventDetails as a slice of InitScriptInfoAndExecutionDetails values. If the field is unknown or null, the boolean return value is false.
func (*InitScriptEventDetails) SetCluster ¶ added in v1.61.0
func (o *InitScriptEventDetails) SetCluster(ctx context.Context, v []InitScriptInfoAndExecutionDetails)
SetCluster sets the value of the Cluster field in InitScriptEventDetails.
func (*InitScriptEventDetails) SetGlobal ¶ added in v1.61.0
func (o *InitScriptEventDetails) SetGlobal(ctx context.Context, v []InitScriptInfoAndExecutionDetails)
SetGlobal sets the value of the Global field in InitScriptEventDetails.
func (*InitScriptEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails)
func (*InitScriptEventDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails)
func (InitScriptEventDetails) ToObjectValue ¶ added in v1.61.0
func (o InitScriptEventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptEventDetails only implements ToObjectValue() and Type().
type InitScriptEventDetails_SdkV2 ¶ added in v1.62.1
type InitScriptEventDetails_SdkV2 struct { // The cluster scoped init scripts associated with this cluster event Cluster types.List `tfsdk:"cluster"` // The global init scripts associated with this cluster event Global types.List `tfsdk:"global"` // The private ip address of the node where the init scripts were run. ReportedForNode types.String `tfsdk:"reported_for_node"` }
func (InitScriptEventDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptEventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InitScriptEventDetails_SdkV2) GetCluster ¶ added in v1.62.1
func (o *InitScriptEventDetails_SdkV2) GetCluster(ctx context.Context) ([]InitScriptInfoAndExecutionDetails_SdkV2, bool)
GetCluster returns the value of the Cluster field in InitScriptEventDetails_SdkV2 as a slice of InitScriptInfoAndExecutionDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (InitScriptEventDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InitScriptEventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptEventDetails_SdkV2) GetGlobal ¶ added in v1.62.1
func (o *InitScriptEventDetails_SdkV2) GetGlobal(ctx context.Context) ([]InitScriptInfoAndExecutionDetails_SdkV2, bool)
GetGlobal returns the value of the Global field in InitScriptEventDetails_SdkV2 as a slice of InitScriptInfoAndExecutionDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*InitScriptEventDetails_SdkV2) SetCluster ¶ added in v1.62.1
func (o *InitScriptEventDetails_SdkV2) SetCluster(ctx context.Context, v []InitScriptInfoAndExecutionDetails_SdkV2)
SetCluster sets the value of the Cluster field in InitScriptEventDetails_SdkV2.
func (*InitScriptEventDetails_SdkV2) SetGlobal ¶ added in v1.62.1
func (o *InitScriptEventDetails_SdkV2) SetGlobal(ctx context.Context, v []InitScriptInfoAndExecutionDetails_SdkV2)
SetGlobal sets the value of the Global field in InitScriptEventDetails_SdkV2.
func (*InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails_SdkV2)
func (*InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails_SdkV2)
func (InitScriptEventDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InitScriptEventDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptEventDetails_SdkV2 only implements ToObjectValue() and Type().
type InitScriptExecutionDetails ¶
type InitScriptExecutionDetails struct { // Addition details regarding errors. ErrorMessage types.String `tfsdk:"error_message"` // The duration of the script execution in seconds. ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"` // The current status of the script Status types.String `tfsdk:"status"` }
func (InitScriptExecutionDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptExecutionDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InitScriptExecutionDetails) GetComplexFieldTypes ¶ added in v1.61.0
func (a InitScriptExecutionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails)
func (*InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails)
func (InitScriptExecutionDetails) ToObjectValue ¶ added in v1.61.0
func (o InitScriptExecutionDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptExecutionDetails only implements ToObjectValue() and Type().
type InitScriptExecutionDetails_SdkV2 ¶ added in v1.62.1
type InitScriptExecutionDetails_SdkV2 struct { // Addition details regarding errors. ErrorMessage types.String `tfsdk:"error_message"` // The duration of the script execution in seconds. ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"` // The current status of the script Status types.String `tfsdk:"status"` }
func (InitScriptExecutionDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptExecutionDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InitScriptExecutionDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InitScriptExecutionDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails_SdkV2)
func (*InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails_SdkV2)
func (InitScriptExecutionDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InitScriptExecutionDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptExecutionDetails_SdkV2 only implements ToObjectValue() and Type().
type InitScriptInfo ¶
type InitScriptInfo struct { // destination needs to be provided. e.g. `{ "abfss" : { "destination" : // "abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>" // } } Abfss types.Object `tfsdk:"abfss"` // destination needs to be provided. e.g. `{ "dbfs" : { "destination" : // "dbfs:/home/cluster_log" } }` Dbfs types.Object `tfsdk:"dbfs"` // destination needs to be provided. e.g. `{ "file" : { "destination" : // "file:/my/local/file.sh" } }` File types.Object `tfsdk:"file"` // destination needs to be provided. e.g. `{ "gcs": { "destination": // "gs://my-bucket/file.sh" } }` Gcs types.Object `tfsdk:"gcs"` // destination and either the region or endpoint need to be provided. e.g. // `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" : // "us-west-2" } }` Cluster iam role is used to access s3, please make sure // the cluster iam role in `instance_profile_arn` has permission to write // data to the s3 destination. S3 types.Object `tfsdk:"s3"` // destination needs to be provided. e.g. `{ "volumes" : { "destination" : // "/Volumes/my-init.sh" } }` Volumes types.Object `tfsdk:"volumes"` // destination needs to be provided. e.g. `{ "workspace" : { "destination" : // "/Users/user1@databricks.com/my-init.sh" } }` Workspace types.Object `tfsdk:"workspace"` }
func (InitScriptInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InitScriptInfo) GetAbfss ¶ added in v1.61.0
func (o *InitScriptInfo) GetAbfss(ctx context.Context) (Adlsgen2Info, bool)
GetAbfss returns the value of the Abfss field in InitScriptInfo as a Adlsgen2Info value. If the field is unknown or null, the boolean return value is false.
func (InitScriptInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptInfo) GetDbfs ¶ added in v1.61.0
func (o *InitScriptInfo) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)
GetDbfs returns the value of the Dbfs field in InitScriptInfo as a DbfsStorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) GetFile ¶ added in v1.61.0
func (o *InitScriptInfo) GetFile(ctx context.Context) (LocalFileInfo, bool)
GetFile returns the value of the File field in InitScriptInfo as a LocalFileInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) GetGcs ¶ added in v1.61.0
func (o *InitScriptInfo) GetGcs(ctx context.Context) (GcsStorageInfo, bool)
GetGcs returns the value of the Gcs field in InitScriptInfo as a GcsStorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) GetS3 ¶ added in v1.61.0
func (o *InitScriptInfo) GetS3(ctx context.Context) (S3StorageInfo, bool)
GetS3 returns the value of the S3 field in InitScriptInfo as a S3StorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) GetVolumes ¶ added in v1.61.0
func (o *InitScriptInfo) GetVolumes(ctx context.Context) (VolumesStorageInfo, bool)
GetVolumes returns the value of the Volumes field in InitScriptInfo as a VolumesStorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) GetWorkspace ¶ added in v1.61.0
func (o *InitScriptInfo) GetWorkspace(ctx context.Context) (WorkspaceStorageInfo, bool)
GetWorkspace returns the value of the Workspace field in InitScriptInfo as a WorkspaceStorageInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo) SetAbfss ¶ added in v1.61.0
func (o *InitScriptInfo) SetAbfss(ctx context.Context, v Adlsgen2Info)
SetAbfss sets the value of the Abfss field in InitScriptInfo.
func (*InitScriptInfo) SetDbfs ¶ added in v1.61.0
func (o *InitScriptInfo) SetDbfs(ctx context.Context, v DbfsStorageInfo)
SetDbfs sets the value of the Dbfs field in InitScriptInfo.
func (*InitScriptInfo) SetFile ¶ added in v1.61.0
func (o *InitScriptInfo) SetFile(ctx context.Context, v LocalFileInfo)
SetFile sets the value of the File field in InitScriptInfo.
func (*InitScriptInfo) SetGcs ¶ added in v1.61.0
func (o *InitScriptInfo) SetGcs(ctx context.Context, v GcsStorageInfo)
SetGcs sets the value of the Gcs field in InitScriptInfo.
func (*InitScriptInfo) SetS3 ¶ added in v1.61.0
func (o *InitScriptInfo) SetS3(ctx context.Context, v S3StorageInfo)
SetS3 sets the value of the S3 field in InitScriptInfo.
func (*InitScriptInfo) SetVolumes ¶ added in v1.61.0
func (o *InitScriptInfo) SetVolumes(ctx context.Context, v VolumesStorageInfo)
SetVolumes sets the value of the Volumes field in InitScriptInfo.
func (*InitScriptInfo) SetWorkspace ¶ added in v1.61.0
func (o *InitScriptInfo) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo)
SetWorkspace sets the value of the Workspace field in InitScriptInfo.
func (*InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo)
func (*InitScriptInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InitScriptInfo) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo)
func (InitScriptInfo) ToObjectValue ¶ added in v1.61.0
func (o InitScriptInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfo only implements ToObjectValue() and Type().
type InitScriptInfoAndExecutionDetails ¶
type InitScriptInfoAndExecutionDetails struct { // Details about the script ExecutionDetails types.Object `tfsdk:"execution_details"` // The script Script types.Object `tfsdk:"script"` }
func (InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InitScriptInfoAndExecutionDetails) GetComplexFieldTypes ¶ added in v1.61.0
func (a InitScriptInfoAndExecutionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptInfoAndExecutionDetails) GetExecutionDetails ¶ added in v1.61.0
func (o *InitScriptInfoAndExecutionDetails) GetExecutionDetails(ctx context.Context) (InitScriptExecutionDetails, bool)
GetExecutionDetails returns the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails as a InitScriptExecutionDetails value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfoAndExecutionDetails) GetScript ¶ added in v1.61.0
func (o *InitScriptInfoAndExecutionDetails) GetScript(ctx context.Context) (InitScriptInfo, bool)
GetScript returns the value of the Script field in InitScriptInfoAndExecutionDetails as a InitScriptInfo value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfoAndExecutionDetails) SetExecutionDetails ¶ added in v1.61.0
func (o *InitScriptInfoAndExecutionDetails) SetExecutionDetails(ctx context.Context, v InitScriptExecutionDetails)
SetExecutionDetails sets the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails.
func (*InitScriptInfoAndExecutionDetails) SetScript ¶ added in v1.61.0
func (o *InitScriptInfoAndExecutionDetails) SetScript(ctx context.Context, v InitScriptInfo)
SetScript sets the value of the Script field in InitScriptInfoAndExecutionDetails.
func (*InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails)
func (*InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails)
func (InitScriptInfoAndExecutionDetails) ToObjectValue ¶ added in v1.61.0
func (o InitScriptInfoAndExecutionDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfoAndExecutionDetails only implements ToObjectValue() and Type().
type InitScriptInfoAndExecutionDetails_SdkV2 ¶ added in v1.62.1
type InitScriptInfoAndExecutionDetails_SdkV2 struct { // Details about the script ExecutionDetails types.List `tfsdk:"execution_details"` // The script Script types.List `tfsdk:"script"` }
func (InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InitScriptInfoAndExecutionDetails_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InitScriptInfoAndExecutionDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptInfoAndExecutionDetails_SdkV2) GetExecutionDetails ¶ added in v1.62.1
func (o *InitScriptInfoAndExecutionDetails_SdkV2) GetExecutionDetails(ctx context.Context) (InitScriptExecutionDetails_SdkV2, bool)
GetExecutionDetails returns the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails_SdkV2 as a InitScriptExecutionDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfoAndExecutionDetails_SdkV2) GetScript ¶ added in v1.62.1
func (o *InitScriptInfoAndExecutionDetails_SdkV2) GetScript(ctx context.Context) (InitScriptInfo_SdkV2, bool)
GetScript returns the value of the Script field in InitScriptInfoAndExecutionDetails_SdkV2 as a InitScriptInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfoAndExecutionDetails_SdkV2) SetExecutionDetails ¶ added in v1.62.1
func (o *InitScriptInfoAndExecutionDetails_SdkV2) SetExecutionDetails(ctx context.Context, v InitScriptExecutionDetails_SdkV2)
SetExecutionDetails sets the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails_SdkV2.
func (*InitScriptInfoAndExecutionDetails_SdkV2) SetScript ¶ added in v1.62.1
func (o *InitScriptInfoAndExecutionDetails_SdkV2) SetScript(ctx context.Context, v InitScriptInfo_SdkV2)
SetScript sets the value of the Script field in InitScriptInfoAndExecutionDetails_SdkV2.
func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails_SdkV2)
func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails_SdkV2)
func (InitScriptInfoAndExecutionDetails_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InitScriptInfoAndExecutionDetails_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfoAndExecutionDetails_SdkV2 only implements ToObjectValue() and Type().
type InitScriptInfo_SdkV2 ¶ added in v1.62.1
type InitScriptInfo_SdkV2 struct { // destination needs to be provided. e.g. `{ "abfss" : { "destination" : // "abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>" // } } Abfss types.List `tfsdk:"abfss"` // destination needs to be provided. e.g. `{ "dbfs" : { "destination" : // "dbfs:/home/cluster_log" } }` Dbfs types.List `tfsdk:"dbfs"` // destination needs to be provided. e.g. `{ "file" : { "destination" : // "file:/my/local/file.sh" } }` File types.List `tfsdk:"file"` // destination needs to be provided. e.g. `{ "gcs": { "destination": // "gs://my-bucket/file.sh" } }` Gcs types.List `tfsdk:"gcs"` // destination and either the region or endpoint need to be provided. e.g. // `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" : // "us-west-2" } }` Cluster iam role is used to access s3, please make sure // the cluster iam role in `instance_profile_arn` has permission to write // data to the s3 destination. S3 types.List `tfsdk:"s3"` // destination needs to be provided. e.g. `{ "volumes" : { "destination" : // "/Volumes/my-init.sh" } }` Volumes types.List `tfsdk:"volumes"` // destination needs to be provided. e.g. `{ "workspace" : { "destination" : // "/Users/user1@databricks.com/my-init.sh" } }` Workspace types.List `tfsdk:"workspace"` }
func (InitScriptInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InitScriptInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InitScriptInfo_SdkV2) GetAbfss ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetAbfss(ctx context.Context) (Adlsgen2Info_SdkV2, bool)
GetAbfss returns the value of the Abfss field in InitScriptInfo_SdkV2 as a Adlsgen2Info_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (InitScriptInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InitScriptInfo_SdkV2) GetDbfs ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetDbfs(ctx context.Context) (DbfsStorageInfo_SdkV2, bool)
GetDbfs returns the value of the Dbfs field in InitScriptInfo_SdkV2 as a DbfsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) GetFile ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetFile(ctx context.Context) (LocalFileInfo_SdkV2, bool)
GetFile returns the value of the File field in InitScriptInfo_SdkV2 as a LocalFileInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) GetGcs ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetGcs(ctx context.Context) (GcsStorageInfo_SdkV2, bool)
GetGcs returns the value of the Gcs field in InitScriptInfo_SdkV2 as a GcsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) GetS3 ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetS3(ctx context.Context) (S3StorageInfo_SdkV2, bool)
GetS3 returns the value of the S3 field in InitScriptInfo_SdkV2 as a S3StorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) GetVolumes ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetVolumes(ctx context.Context) (VolumesStorageInfo_SdkV2, bool)
GetVolumes returns the value of the Volumes field in InitScriptInfo_SdkV2 as a VolumesStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) GetWorkspace ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) GetWorkspace(ctx context.Context) (WorkspaceStorageInfo_SdkV2, bool)
GetWorkspace returns the value of the Workspace field in InitScriptInfo_SdkV2 as a WorkspaceStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InitScriptInfo_SdkV2) SetAbfss ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetAbfss(ctx context.Context, v Adlsgen2Info_SdkV2)
SetAbfss sets the value of the Abfss field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetDbfs ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetDbfs(ctx context.Context, v DbfsStorageInfo_SdkV2)
SetDbfs sets the value of the Dbfs field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetFile ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetFile(ctx context.Context, v LocalFileInfo_SdkV2)
SetFile sets the value of the File field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetGcs ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetGcs(ctx context.Context, v GcsStorageInfo_SdkV2)
SetGcs sets the value of the Gcs field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetS3 ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetS3(ctx context.Context, v S3StorageInfo_SdkV2)
SetS3 sets the value of the S3 field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetVolumes ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetVolumes(ctx context.Context, v VolumesStorageInfo_SdkV2)
SetVolumes sets the value of the Volumes field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SetWorkspace ¶ added in v1.62.1
func (o *InitScriptInfo_SdkV2) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo_SdkV2)
SetWorkspace sets the value of the Workspace field in InitScriptInfo_SdkV2.
func (*InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo_SdkV2)
func (*InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo_SdkV2)
func (InitScriptInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InitScriptInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfo_SdkV2 only implements ToObjectValue() and Type().
type InstallLibraries ¶
type InstallLibraries struct { // Unique identifier for the cluster on which to install these libraries. ClusterId types.String `tfsdk:"cluster_id"` // The libraries to install. Libraries types.List `tfsdk:"libraries"` }
func (InstallLibraries) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstallLibraries) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstallLibraries) GetLibraries ¶ added in v1.61.0
func (o *InstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)
GetLibraries returns the value of the Libraries field in InstallLibraries as a slice of Library values. If the field is unknown or null, the boolean return value is false.
func (*InstallLibraries) SetLibraries ¶ added in v1.61.0
func (o *InstallLibraries) SetLibraries(ctx context.Context, v []Library)
SetLibraries sets the value of the Libraries field in InstallLibraries.
func (*InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries)
func (*InstallLibraries) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstallLibraries) SyncEffectiveFieldsDuringRead(existingState InstallLibraries)
func (InstallLibraries) ToObjectValue ¶ added in v1.61.0
func (o InstallLibraries) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibraries only implements ToObjectValue() and Type().
type InstallLibrariesResponse ¶
type InstallLibrariesResponse struct { }
func (InstallLibrariesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstallLibrariesResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse)
func (*InstallLibrariesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse)
func (InstallLibrariesResponse) ToObjectValue ¶ added in v1.61.0
func (o InstallLibrariesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibrariesResponse only implements ToObjectValue() and Type().
type InstallLibrariesResponse_SdkV2 ¶ added in v1.62.1
type InstallLibrariesResponse_SdkV2 struct { }
func (InstallLibrariesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstallLibrariesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse_SdkV2)
func (*InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse_SdkV2)
func (InstallLibrariesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstallLibrariesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibrariesResponse_SdkV2 only implements ToObjectValue() and Type().
type InstallLibraries_SdkV2 ¶ added in v1.62.1
type InstallLibraries_SdkV2 struct { // Unique identifier for the cluster on which to install these libraries. ClusterId types.String `tfsdk:"cluster_id"` // The libraries to install. Libraries types.List `tfsdk:"libraries"` }
func (InstallLibraries_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstallLibraries_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstallLibraries_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *InstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in InstallLibraries_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*InstallLibraries_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *InstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
SetLibraries sets the value of the Libraries field in InstallLibraries_SdkV2.
func (*InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries_SdkV2)
func (*InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibraries_SdkV2)
func (InstallLibraries_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstallLibraries_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibraries_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolAccessControlRequest ¶
type InstancePoolAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (InstancePoolAccessControlRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAccessControlRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest)
func (*InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest)
func (InstancePoolAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlRequest only implements ToObjectValue() and Type().
type InstancePoolAccessControlRequest_SdkV2 ¶ added in v1.62.1
type InstancePoolAccessControlRequest_SdkV2 struct { // name of the group GroupName types.String `tfsdk:"group_name"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest_SdkV2)
func (*InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest_SdkV2)
func (InstancePoolAccessControlRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolAccessControlRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolAccessControlResponse ¶
type InstancePoolAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (InstancePoolAccessControlResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAccessControlResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *InstancePoolAccessControlResponse) GetAllPermissions(ctx context.Context) ([]InstancePoolPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in InstancePoolAccessControlResponse as a slice of InstancePoolPermission values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *InstancePoolAccessControlResponse) SetAllPermissions(ctx context.Context, v []InstancePoolPermission)
SetAllPermissions sets the value of the AllPermissions field in InstancePoolAccessControlResponse.
func (*InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse)
func (*InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse)
func (InstancePoolAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlResponse only implements ToObjectValue() and Type().
type InstancePoolAccessControlResponse_SdkV2 ¶ added in v1.62.1
type InstancePoolAccessControlResponse_SdkV2 struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name"` // name of the group GroupName types.String `tfsdk:"group_name"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name"` // name of the user UserName types.String `tfsdk:"user_name"` }
func (InstancePoolAccessControlResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAccessControlResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolAccessControlResponse_SdkV2) GetAllPermissions ¶ added in v1.62.1
func (o *InstancePoolAccessControlResponse_SdkV2) GetAllPermissions(ctx context.Context) ([]InstancePoolPermission_SdkV2, bool)
GetAllPermissions returns the value of the AllPermissions field in InstancePoolAccessControlResponse_SdkV2 as a slice of InstancePoolPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolAccessControlResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAccessControlResponse_SdkV2) SetAllPermissions ¶ added in v1.62.1
func (o *InstancePoolAccessControlResponse_SdkV2) SetAllPermissions(ctx context.Context, v []InstancePoolPermission_SdkV2)
SetAllPermissions sets the value of the AllPermissions field in InstancePoolAccessControlResponse_SdkV2.
func (*InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse_SdkV2)
func (*InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse_SdkV2)
func (InstancePoolAccessControlResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolAccessControlResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolAndStats ¶
type InstancePoolAndStats struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - InstancePoolCreator: <user_id_of_creator> // // - InstancePoolName: <name_of_pool> // // - InstancePoolId: <id_of_pool> DefaultTags types.Map `tfsdk:"default_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.Object `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Canonical unique identifier for the pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` // Current state of the instance pool. State types.String `tfsdk:"state"` // Usage statistics about the instance pool. Stats types.Object `tfsdk:"stats"` // Status of failed pending instances in the pool. Status types.Object `tfsdk:"status"` }
func (InstancePoolAndStats) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAndStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolAndStats) GetAwsAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in InstancePoolAndStats as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetAzureAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in InstancePoolAndStats as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (InstancePoolAndStats) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAndStats) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in InstancePoolAndStats as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetDefaultTags ¶ added in v1.61.0
GetDefaultTags returns the value of the DefaultTags field in InstancePoolAndStats as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetDiskSpec ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetDiskSpec(ctx context.Context) (DiskSpec, bool)
GetDiskSpec returns the value of the DiskSpec field in InstancePoolAndStats as a DiskSpec value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetGcpAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in InstancePoolAndStats as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetPreloadedDockerImages ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in InstancePoolAndStats as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetPreloadedSparkVersions ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in InstancePoolAndStats as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetStats ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetStats(ctx context.Context) (InstancePoolStats, bool)
GetStats returns the value of the Stats field in InstancePoolAndStats as a InstancePoolStats value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) GetStatus ¶ added in v1.61.0
func (o *InstancePoolAndStats) GetStatus(ctx context.Context) (InstancePoolStatus, bool)
GetStatus returns the value of the Status field in InstancePoolAndStats as a InstancePoolStatus value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats) SetAwsAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetAzureAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetDefaultTags ¶ added in v1.61.0
SetDefaultTags sets the value of the DefaultTags field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetDiskSpec ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetDiskSpec(ctx context.Context, v DiskSpec)
SetDiskSpec sets the value of the DiskSpec field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetGcpAttributes ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetPreloadedDockerImages ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetPreloadedSparkVersions ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetStats ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetStats(ctx context.Context, v InstancePoolStats)
SetStats sets the value of the Stats field in InstancePoolAndStats.
func (*InstancePoolAndStats) SetStatus ¶ added in v1.61.0
func (o *InstancePoolAndStats) SetStatus(ctx context.Context, v InstancePoolStatus)
SetStatus sets the value of the Status field in InstancePoolAndStats.
func (*InstancePoolAndStats) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats)
func (*InstancePoolAndStats) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats)
func (InstancePoolAndStats) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolAndStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAndStats only implements ToObjectValue() and Type().
type InstancePoolAndStats_SdkV2 ¶ added in v1.62.1
type InstancePoolAndStats_SdkV2 struct { // Attributes related to instance pools running on Amazon Web Services. If // not specified at pool creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to instance pools running on Azure. If not specified // at pool creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // Additional tags for pool resources. Databricks will tag all pool // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags CustomTags types.Map `tfsdk:"custom_tags"` // Tags that are added by Databricks regardless of any `custom_tags`, // including: // // - Vendor: Databricks // // - InstancePoolCreator: <user_id_of_creator> // // - InstancePoolName: <name_of_pool> // // - InstancePoolId: <id_of_pool> DefaultTags types.Map `tfsdk:"default_tags"` // Defines the specification of the disks that will be attached to all spark // containers. DiskSpec types.List `tfsdk:"disk_spec"` // Autoscaling Local Storage: when enabled, this instances in this pool will // dynamically acquire additional disk space when its Spark workers are // running low on disk space. In AWS, this feature requires specific AWS // permissions to function correctly - refer to the User Guide for more // details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Attributes related to instance pools running on Google Cloud Platform. If // not specified at pool creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // Automatically terminates the extra instances in the pool cache after they // are inactive for this time in minutes if min_idle_instances requirement // is already met. If not set, the extra pool instances will be // automatically terminated after a default timeout. If specified, the // threshold must be between 0 and 10000 minutes. Users can also set this // value to 0 to instantly remove idle instances from the cache if min cache // size could still hold. IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"` // Canonical unique identifier for the pool. InstancePoolId types.String `tfsdk:"instance_pool_id"` // Pool name requested by the user. Pool name must be unique. Length must be // between 1 and 100 characters. InstancePoolName types.String `tfsdk:"instance_pool_name"` // Maximum number of outstanding instances to keep in the pool, including // both instances used by clusters and idle instances. Clusters that require // further instance provisioning will fail during upsize requests. MaxCapacity types.Int64 `tfsdk:"max_capacity"` // Minimum number of idle instances to keep in the instance pool MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Custom Docker Image BYOC PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"` // A list containing at most one preloaded Spark image version for the pool. // Pool-backed clusters started with the preloaded Spark version will start // faster. A list of available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"` // Current state of the instance pool. State types.String `tfsdk:"state"` // Usage statistics about the instance pool. Stats types.List `tfsdk:"stats"` // Status of failed pending instances in the pool. Status types.List `tfsdk:"status"` }
func (InstancePoolAndStats_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAndStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolAndStats_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (InstancePoolAndStats_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolAndStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAndStats_SdkV2) GetCustomTags ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
GetCustomTags returns the value of the CustomTags field in InstancePoolAndStats_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetDefaultTags ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)
GetDefaultTags returns the value of the DefaultTags field in InstancePoolAndStats_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetDiskSpec ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)
GetDiskSpec returns the value of the DiskSpec field in InstancePoolAndStats_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetPreloadedDockerImages ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)
GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in InstancePoolAndStats_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetPreloadedSparkVersions ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)
GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in InstancePoolAndStats_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetStats ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetStats(ctx context.Context) (InstancePoolStats_SdkV2, bool)
GetStats returns the value of the Stats field in InstancePoolAndStats_SdkV2 as a InstancePoolStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) GetStatus ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) GetStatus(ctx context.Context) (InstancePoolStatus_SdkV2, bool)
GetStatus returns the value of the Status field in InstancePoolAndStats_SdkV2 as a InstancePoolStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolAndStats_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetDefaultTags ¶ added in v1.62.1
SetDefaultTags sets the value of the DefaultTags field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetDiskSpec ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)
SetDiskSpec sets the value of the DiskSpec field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetPreloadedDockerImages ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)
SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetPreloadedSparkVersions ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)
SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetStats ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetStats(ctx context.Context, v InstancePoolStats_SdkV2)
SetStats sets the value of the Stats field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SetStatus ¶ added in v1.62.1
func (o *InstancePoolAndStats_SdkV2) SetStatus(ctx context.Context, v InstancePoolStatus_SdkV2)
SetStatus sets the value of the Status field in InstancePoolAndStats_SdkV2.
func (*InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats_SdkV2)
func (*InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats_SdkV2)
func (InstancePoolAndStats_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolAndStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAndStats_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolAwsAttributes ¶
type InstancePoolAwsAttributes struct { // Availability type used for the spot nodes. // // The default value is defined by // InstancePoolConf.instancePoolDefaultAwsAvailability Availability types.String `tfsdk:"availability"` // Calculates the bid price for AWS spot instances, as a percentage of the // corresponding instance type's on-demand price. For example, if this field // is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then // the bid price is half of the price of on-demand `r3.xlarge` instances. // Similarly, if this field is set to 200, the bid price is twice the price // of on-demand `r3.xlarge` instances. If not specified, the default value // is 100. When spot instances are requested for this cluster, only spot // instances whose bid price percentage matches this field will be // considered. Note that, for safety, we enforce this field to be no more // than 10000. // // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidPricePercent and // CommonConf.maxSpotBidPricePercent. SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west-2a". The provided // availability zone must be in the same region as the Databricks // deployment. For example, "us-west-2a" is not a valid zone id if the // Databricks deployment resides in the "us-east-1" region. This is an // optional field at cluster creation, and if not specified, a default zone // will be used. The list of available zones as well as the default value // can be found by using the `List Zones` method. ZoneId types.String `tfsdk:"zone_id"` }
func (InstancePoolAwsAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAwsAttributes) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolAwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes)
func (*InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes)
func (InstancePoolAwsAttributes) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolAwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAwsAttributes only implements ToObjectValue() and Type().
type InstancePoolAwsAttributes_SdkV2 ¶ added in v1.62.1
type InstancePoolAwsAttributes_SdkV2 struct { // Availability type used for the spot nodes. // // The default value is defined by // InstancePoolConf.instancePoolDefaultAwsAvailability Availability types.String `tfsdk:"availability"` // Calculates the bid price for AWS spot instances, as a percentage of the // corresponding instance type's on-demand price. For example, if this field // is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then // the bid price is half of the price of on-demand `r3.xlarge` instances. // Similarly, if this field is set to 200, the bid price is twice the price // of on-demand `r3.xlarge` instances. If not specified, the default value // is 100. When spot instances are requested for this cluster, only spot // instances whose bid price percentage matches this field will be // considered. Note that, for safety, we enforce this field to be no more // than 10000. // // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidPricePercent and // CommonConf.maxSpotBidPricePercent. SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west-2a". The provided // availability zone must be in the same region as the Databricks // deployment. For example, "us-west-2a" is not a valid zone id if the // Databricks deployment resides in the "us-east-1" region. This is an // optional field at cluster creation, and if not specified, a default zone // will be used. The list of available zones as well as the default value // can be found by using the `List Zones` method. ZoneId types.String `tfsdk:"zone_id"` }
func (InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes_SdkV2)
func (*InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes_SdkV2)
func (InstancePoolAwsAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolAwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAwsAttributes_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolAzureAttributes ¶
type InstancePoolAzureAttributes struct { // Shows the Availability type used for the spot nodes. // // The default value is defined by // InstancePoolConf.instancePoolDefaultAzureAvailability Availability types.String `tfsdk:"availability"` // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidMaxPrice. SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"` }
func (InstancePoolAzureAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAzureAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAzureAttributes) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolAzureAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes)
func (*InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes)
func (InstancePoolAzureAttributes) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolAzureAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAzureAttributes only implements ToObjectValue() and Type().
type InstancePoolAzureAttributes_SdkV2 ¶ added in v1.62.1
type InstancePoolAzureAttributes_SdkV2 struct { // Shows the Availability type used for the spot nodes. // // The default value is defined by // InstancePoolConf.instancePoolDefaultAzureAvailability Availability types.String `tfsdk:"availability"` // The default value and documentation here should be kept consistent with // CommonConf.defaultSpotBidMaxPrice. SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"` }
func (InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes_SdkV2)
func (*InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes_SdkV2)
func (InstancePoolAzureAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolAzureAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAzureAttributes_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolGcpAttributes ¶
type InstancePoolGcpAttributes struct { // This field determines whether the instance pool will contain preemptible // VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs // if the former is unavailable. GcpAvailability types.String `tfsdk:"gcp_availability"` // If provided, each node in the instance pool will have this number of // local SSDs attached. Each local SSD is 375GB in size. Refer to [GCP // documentation] for the supported number of local SSDs for each instance // type. // // [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west1-a". The provided // availability zone must be in the same region as the Databricks workspace. // For example, "us-west1-a" is not a valid zone id if the Databricks // workspace resides in the "us-east1" region. This is an optional field at // instance pool creation, and if not specified, a default zone will be // used. // // This field can be one of the following: - "HA" => High availability, // spread nodes across availability zones for a Databricks deployment region // - A GCP availability zone => Pick One of the available zones for (machine // type + region) from https://cloud.google.com/compute/docs/regions-zones // (e.g. "us-west1-a"). // // If empty, Databricks picks an availability zone to schedule the cluster // on. ZoneId types.String `tfsdk:"zone_id"` }
func (InstancePoolGcpAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolGcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolGcpAttributes) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolGcpAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolGcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes)
func (*InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes)
func (InstancePoolGcpAttributes) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolGcpAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolGcpAttributes only implements ToObjectValue() and Type().
type InstancePoolGcpAttributes_SdkV2 ¶ added in v1.62.1
type InstancePoolGcpAttributes_SdkV2 struct { // This field determines whether the instance pool will contain preemptible // VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs // if the former is unavailable. GcpAvailability types.String `tfsdk:"gcp_availability"` // If provided, each node in the instance pool will have this number of // local SSDs attached. Each local SSD is 375GB in size. Refer to [GCP // documentation] for the supported number of local SSDs for each instance // type. // // [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"` // Identifier for the availability zone/datacenter in which the cluster // resides. This string will be of a form like "us-west1-a". The provided // availability zone must be in the same region as the Databricks workspace. // For example, "us-west1-a" is not a valid zone id if the Databricks // workspace resides in the "us-east1" region. This is an optional field at // instance pool creation, and if not specified, a default zone will be // used. // // This field can be one of the following: - "HA" => High availability, // spread nodes across availability zones for a Databricks deployment region // - A GCP availability zone => Pick One of the available zones for (machine // type + region) from https://cloud.google.com/compute/docs/regions-zones // (e.g. "us-west1-a"). // // If empty, Databricks picks an availability zone to schedule the cluster // on. ZoneId types.String `tfsdk:"zone_id"` }
func (InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes_SdkV2)
func (*InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes_SdkV2)
func (InstancePoolGcpAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolGcpAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolGcpAttributes_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolPermission ¶
type InstancePoolPermission struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (InstancePoolPermission) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolPermission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermission) GetInheritedFromObject ¶ added in v1.61.0
GetInheritedFromObject returns the value of the InheritedFromObject field in InstancePoolPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *InstancePoolPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission.
func (*InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission)
func (*InstancePoolPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission)
func (InstancePoolPermission) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermission only implements ToObjectValue() and Type().
type InstancePoolPermission_SdkV2 ¶ added in v1.62.1
type InstancePoolPermission_SdkV2 struct { Inherited types.Bool `tfsdk:"inherited"` InheritedFromObject types.List `tfsdk:"inherited_from_object"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (InstancePoolPermission_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolPermission_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermission_SdkV2) GetInheritedFromObject ¶ added in v1.62.1
func (o *InstancePoolPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
GetInheritedFromObject returns the value of the InheritedFromObject field in InstancePoolPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolPermission_SdkV2) SetInheritedFromObject ¶ added in v1.62.1
func (o *InstancePoolPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission_SdkV2.
func (*InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission_SdkV2)
func (*InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission_SdkV2)
func (InstancePoolPermission_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolPermission_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermission_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolPermissions ¶
type InstancePoolPermissions struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (InstancePoolPermissions) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *InstancePoolPermissions) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissions as a slice of InstancePoolAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *InstancePoolPermissions) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissions.
func (*InstancePoolPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions)
func (*InstancePoolPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions)
func (InstancePoolPermissions) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissions only implements ToObjectValue() and Type().
type InstancePoolPermissionsDescription ¶
type InstancePoolPermissionsDescription struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (InstancePoolPermissionsDescription) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissionsDescription) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription)
func (*InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription)
func (InstancePoolPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsDescription only implements ToObjectValue() and Type().
type InstancePoolPermissionsDescription_SdkV2 ¶ added in v1.62.1
type InstancePoolPermissionsDescription_SdkV2 struct { Description types.String `tfsdk:"description"` // Permission level PermissionLevel types.String `tfsdk:"permission_level"` }
func (InstancePoolPermissionsDescription_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissionsDescription_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolPermissionsDescription_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolPermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription_SdkV2)
func (*InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription_SdkV2)
func (InstancePoolPermissionsDescription_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolPermissionsDescription_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsDescription_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolPermissionsRequest ¶
type InstancePoolPermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list"` // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
func (InstancePoolPermissionsRequest) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *InstancePoolPermissionsRequest) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissionsRequest as a slice of InstancePoolAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a InstancePoolPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *InstancePoolPermissionsRequest) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissionsRequest.
func (*InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest)
func (*InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest)
func (InstancePoolPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsRequest only implements ToObjectValue() and Type().
type InstancePoolPermissionsRequest_SdkV2 ¶ added in v1.62.1
type InstancePoolPermissionsRequest_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` // The instance pool for which to get or manage permissions. InstancePoolId types.String `tfsdk:"-"` }
func (InstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolPermissionsRequest_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *InstancePoolPermissionsRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlRequest_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissionsRequest_SdkV2 as a slice of InstancePoolAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissionsRequest_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *InstancePoolPermissionsRequest_SdkV2) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlRequest_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissionsRequest_SdkV2.
func (*InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest_SdkV2)
func (*InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest_SdkV2)
func (InstancePoolPermissionsRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolPermissionsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolPermissions_SdkV2 ¶ added in v1.62.1
type InstancePoolPermissions_SdkV2 struct { AccessControlList types.List `tfsdk:"access_control_list"` ObjectId types.String `tfsdk:"object_id"` ObjectType types.String `tfsdk:"object_type"` }
func (InstancePoolPermissions_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolPermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*InstancePoolPermissions_SdkV2) GetAccessControlList ¶ added in v1.62.1
func (o *InstancePoolPermissions_SdkV2) GetAccessControlList(ctx context.Context) ([]InstancePoolAccessControlResponse_SdkV2, bool)
GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissions_SdkV2 as a slice of InstancePoolAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (InstancePoolPermissions_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a InstancePoolPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolPermissions_SdkV2) SetAccessControlList ¶ added in v1.62.1
func (o *InstancePoolPermissions_SdkV2) SetAccessControlList(ctx context.Context, v []InstancePoolAccessControlResponse_SdkV2)
SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissions_SdkV2.
func (*InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions_SdkV2)
func (*InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions_SdkV2)
func (InstancePoolPermissions_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolPermissions_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissions_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolStats ¶
type InstancePoolStats struct { // Number of active instances in the pool that are NOT part of a cluster. IdleCount types.Int64 `tfsdk:"idle_count"` // Number of pending instances in the pool that are NOT part of a cluster. PendingIdleCount types.Int64 `tfsdk:"pending_idle_count"` // Number of pending instances in the pool that are part of a cluster. PendingUsedCount types.Int64 `tfsdk:"pending_used_count"` // Number of active instances in the pool that are part of a cluster. UsedCount types.Int64 `tfsdk:"used_count"` }
func (InstancePoolStats) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolStats) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolStats) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats)
func (*InstancePoolStats) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats)
func (InstancePoolStats) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStats only implements ToObjectValue() and Type().
type InstancePoolStats_SdkV2 ¶ added in v1.62.1
type InstancePoolStats_SdkV2 struct { // Number of active instances in the pool that are NOT part of a cluster. IdleCount types.Int64 `tfsdk:"idle_count"` // Number of pending instances in the pool that are NOT part of a cluster. PendingIdleCount types.Int64 `tfsdk:"pending_idle_count"` // Number of pending instances in the pool that are part of a cluster. PendingUsedCount types.Int64 `tfsdk:"pending_used_count"` // Number of active instances in the pool that are part of a cluster. UsedCount types.Int64 `tfsdk:"used_count"` }
func (InstancePoolStats_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolStats_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats_SdkV2)
func (*InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats_SdkV2)
func (InstancePoolStats_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolStats_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStats_SdkV2 only implements ToObjectValue() and Type().
type InstancePoolStatus ¶
type InstancePoolStatus struct { // List of error messages for the failed pending instances. The // pending_instance_errors follows FIFO with maximum length of the min_idle // of the pool. The pending_instance_errors is emptied once the number of // exiting available instances reaches the min_idle of the pool. PendingInstanceErrors types.List `tfsdk:"pending_instance_errors"` }
func (InstancePoolStatus) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolStatus) GetPendingInstanceErrors ¶ added in v1.61.0
func (o *InstancePoolStatus) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError, bool)
GetPendingInstanceErrors returns the value of the PendingInstanceErrors field in InstancePoolStatus as a slice of PendingInstanceError values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolStatus) SetPendingInstanceErrors ¶ added in v1.61.0
func (o *InstancePoolStatus) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError)
SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus.
func (*InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus)
func (*InstancePoolStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus)
func (InstancePoolStatus) ToObjectValue ¶ added in v1.61.0
func (o InstancePoolStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStatus only implements ToObjectValue() and Type().
type InstancePoolStatus_SdkV2 ¶ added in v1.62.1
type InstancePoolStatus_SdkV2 struct { // List of error messages for the failed pending instances. The // pending_instance_errors follows FIFO with maximum length of the min_idle // of the pool. The pending_instance_errors is emptied once the number of // exiting available instances reaches the min_idle of the pool. PendingInstanceErrors types.List `tfsdk:"pending_instance_errors"` }
func (InstancePoolStatus_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstancePoolStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstancePoolStatus_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstancePoolStatus_SdkV2) GetPendingInstanceErrors ¶ added in v1.62.1
func (o *InstancePoolStatus_SdkV2) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError_SdkV2, bool)
GetPendingInstanceErrors returns the value of the PendingInstanceErrors field in InstancePoolStatus_SdkV2 as a slice of PendingInstanceError_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*InstancePoolStatus_SdkV2) SetPendingInstanceErrors ¶ added in v1.62.1
func (o *InstancePoolStatus_SdkV2) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError_SdkV2)
SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus_SdkV2.
func (*InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus_SdkV2)
func (*InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus_SdkV2)
func (InstancePoolStatus_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstancePoolStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStatus_SdkV2 only implements ToObjectValue() and Type().
type InstanceProfile ¶
type InstanceProfile struct { // The AWS IAM role ARN of the role associated with the instance profile. // This field is required if your role name and instance profile name do not // match and you want to use the instance profile with [Databricks SQL // Serverless]. // // Otherwise, this field is optional. // // [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html IamRoleArn types.String `tfsdk:"iam_role_arn"` // The AWS ARN of the instance profile to register with Databricks. This // field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // Boolean flag indicating whether the instance profile should only be used // in credential passthrough scenarios. If true, it means the instance // profile contains an meta IAM role which could assume a wide range of // roles. Therefore it should always be used with authorization. This field // is optional, the default value is `false`. IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"` }
func (InstanceProfile) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstanceProfile) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *InstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile)
func (*InstanceProfile) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *InstanceProfile) SyncEffectiveFieldsDuringRead(existingState InstanceProfile)
func (InstanceProfile) ToObjectValue ¶ added in v1.61.0
func (o InstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstanceProfile only implements ToObjectValue() and Type().
type InstanceProfile_SdkV2 ¶ added in v1.62.1
type InstanceProfile_SdkV2 struct { // The AWS IAM role ARN of the role associated with the instance profile. // This field is required if your role name and instance profile name do not // match and you want to use the instance profile with [Databricks SQL // Serverless]. // // Otherwise, this field is optional. // // [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html IamRoleArn types.String `tfsdk:"iam_role_arn"` // The AWS ARN of the instance profile to register with Databricks. This // field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` // Boolean flag indicating whether the instance profile should only be used // in credential passthrough scenarios. If true, it means the instance // profile contains an meta IAM role which could assume a wide range of // roles. Therefore it should always be used with authorization. This field // is optional, the default value is `false`. IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"` }
func (InstanceProfile_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c InstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (InstanceProfile_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*InstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile_SdkV2)
func (*InstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstanceProfile_SdkV2)
func (InstanceProfile_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o InstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstanceProfile_SdkV2 only implements ToObjectValue() and Type().
type Library ¶
type Library struct { // Specification of a CRAN library to be installed as part of the library Cran types.Object `tfsdk:"cran"` // Deprecated. URI of the egg library to install. Installing Python egg // files is deprecated and is not supported in Databricks Runtime 14.0 and // above. Egg types.String `tfsdk:"egg"` // URI of the JAR library to install. Supported URIs include Workspace // paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "jar": // "/Workspace/path/to/library.jar" }`, `{ "jar" : // "/Volumes/path/to/library.jar" }` or `{ "jar": // "s3://my-bucket/library.jar" }`. If S3 is used, please make sure the // cluster has read access on the library. You may need to launch the // cluster with an IAM role to access the S3 URI. Jar types.String `tfsdk:"jar"` // Specification of a maven library to be installed. For example: `{ // "coordinates": "org.jsoup:jsoup:1.7.2" }` Maven types.Object `tfsdk:"maven"` // Specification of a PyPi library to be installed. For example: `{ // "package": "simplejson" }` Pypi types.Object `tfsdk:"pypi"` // URI of the requirements.txt file to install. Only Workspace paths and // Unity Catalog Volumes paths are supported. For example: `{ // "requirements": "/Workspace/path/to/requirements.txt" }` or `{ // "requirements" : "/Volumes/path/to/requirements.txt" }` Requirements types.String `tfsdk:"requirements"` // URI of the wheel library to install. Supported URIs include Workspace // paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "whl": // "/Workspace/path/to/library.whl" }`, `{ "whl" : // "/Volumes/path/to/library.whl" }` or `{ "whl": // "s3://my-bucket/library.whl" }`. If S3 is used, please make sure the // cluster has read access on the library. You may need to launch the // cluster with an IAM role to access the S3 URI. Whl types.String `tfsdk:"whl"` }
func (Library) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Library) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Library) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Library) GetCran ¶ added in v1.61.0
func (o *Library) GetCran(ctx context.Context) (RCranLibrary, bool)
GetCran returns the value of the Cran field in Library as a RCranLibrary value. If the field is unknown or null, the boolean return value is false.
func (*Library) GetMaven ¶ added in v1.61.0
func (o *Library) GetMaven(ctx context.Context) (MavenLibrary, bool)
GetMaven returns the value of the Maven field in Library as a MavenLibrary value. If the field is unknown or null, the boolean return value is false.
func (*Library) GetPypi ¶ added in v1.61.0
func (o *Library) GetPypi(ctx context.Context) (PythonPyPiLibrary, bool)
GetPypi returns the value of the Pypi field in Library as a PythonPyPiLibrary value. If the field is unknown or null, the boolean return value is false.
func (*Library) SetCran ¶ added in v1.61.0
func (o *Library) SetCran(ctx context.Context, v RCranLibrary)
SetCran sets the value of the Cran field in Library.
func (*Library) SetMaven ¶ added in v1.61.0
func (o *Library) SetMaven(ctx context.Context, v MavenLibrary)
SetMaven sets the value of the Maven field in Library.
func (*Library) SetPypi ¶ added in v1.61.0
func (o *Library) SetPypi(ctx context.Context, v PythonPyPiLibrary)
SetPypi sets the value of the Pypi field in Library.
func (*Library) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Library) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Library) ToObjectValue ¶ added in v1.61.0
func (o Library) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Library only implements ToObjectValue() and Type().
type LibraryFullStatus ¶
type LibraryFullStatus struct { // Whether the library was set to be installed on all clusters via the // libraries UI. IsLibraryForAllClusters types.Bool `tfsdk:"is_library_for_all_clusters"` // Unique identifier for the library. Library types.Object `tfsdk:"library"` // All the info and warning messages that have occurred so far for this // library. Messages types.List `tfsdk:"messages"` // Status of installing the library on the cluster. Status types.String `tfsdk:"status"` }
The status of the library on a specific cluster.
func (LibraryFullStatus) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LibraryFullStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LibraryFullStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LibraryFullStatus) GetLibrary ¶ added in v1.61.0
func (o *LibraryFullStatus) GetLibrary(ctx context.Context) (Library, bool)
GetLibrary returns the value of the Library field in LibraryFullStatus as a Library value. If the field is unknown or null, the boolean return value is false.
func (*LibraryFullStatus) GetMessages ¶ added in v1.61.0
GetMessages returns the value of the Messages field in LibraryFullStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*LibraryFullStatus) SetLibrary ¶ added in v1.61.0
func (o *LibraryFullStatus) SetLibrary(ctx context.Context, v Library)
SetLibrary sets the value of the Library field in LibraryFullStatus.
func (*LibraryFullStatus) SetMessages ¶ added in v1.61.0
func (o *LibraryFullStatus) SetMessages(ctx context.Context, v []types.String)
SetMessages sets the value of the Messages field in LibraryFullStatus.
func (*LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus)
func (*LibraryFullStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus)
func (LibraryFullStatus) ToObjectValue ¶ added in v1.61.0
func (o LibraryFullStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LibraryFullStatus only implements ToObjectValue() and Type().
type LibraryFullStatus_SdkV2 ¶ added in v1.62.1
type LibraryFullStatus_SdkV2 struct { // Whether the library was set to be installed on all clusters via the // libraries UI. IsLibraryForAllClusters types.Bool `tfsdk:"is_library_for_all_clusters"` // Unique identifier for the library. Library types.List `tfsdk:"library"` // All the info and warning messages that have occurred so far for this // library. Messages types.List `tfsdk:"messages"` // Status of installing the library on the cluster. Status types.String `tfsdk:"status"` }
The status of the library on a specific cluster.
func (LibraryFullStatus_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LibraryFullStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LibraryFullStatus_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LibraryFullStatus_SdkV2) GetLibrary ¶ added in v1.62.1
func (o *LibraryFullStatus_SdkV2) GetLibrary(ctx context.Context) (Library_SdkV2, bool)
GetLibrary returns the value of the Library field in LibraryFullStatus_SdkV2 as a Library_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*LibraryFullStatus_SdkV2) GetMessages ¶ added in v1.62.1
GetMessages returns the value of the Messages field in LibraryFullStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*LibraryFullStatus_SdkV2) SetLibrary ¶ added in v1.62.1
func (o *LibraryFullStatus_SdkV2) SetLibrary(ctx context.Context, v Library_SdkV2)
SetLibrary sets the value of the Library field in LibraryFullStatus_SdkV2.
func (*LibraryFullStatus_SdkV2) SetMessages ¶ added in v1.62.1
func (o *LibraryFullStatus_SdkV2) SetMessages(ctx context.Context, v []types.String)
SetMessages sets the value of the Messages field in LibraryFullStatus_SdkV2.
func (*LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus_SdkV2)
func (*LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus_SdkV2)
func (LibraryFullStatus_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o LibraryFullStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LibraryFullStatus_SdkV2 only implements ToObjectValue() and Type().
type Library_SdkV2 ¶ added in v1.62.1
type Library_SdkV2 struct { // Specification of a CRAN library to be installed as part of the library Cran types.List `tfsdk:"cran"` // Deprecated. URI of the egg library to install. Installing Python egg // files is deprecated and is not supported in Databricks Runtime 14.0 and // above. Egg types.String `tfsdk:"egg"` // URI of the JAR library to install. Supported URIs include Workspace // paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "jar": // "/Workspace/path/to/library.jar" }`, `{ "jar" : // "/Volumes/path/to/library.jar" }` or `{ "jar": // "s3://my-bucket/library.jar" }`. If S3 is used, please make sure the // cluster has read access on the library. You may need to launch the // cluster with an IAM role to access the S3 URI. Jar types.String `tfsdk:"jar"` // Specification of a maven library to be installed. For example: `{ // "coordinates": "org.jsoup:jsoup:1.7.2" }` Maven types.List `tfsdk:"maven"` // Specification of a PyPi library to be installed. For example: `{ // "package": "simplejson" }` Pypi types.List `tfsdk:"pypi"` // URI of the requirements.txt file to install. Only Workspace paths and // Unity Catalog Volumes paths are supported. For example: `{ // "requirements": "/Workspace/path/to/requirements.txt" }` or `{ // "requirements" : "/Volumes/path/to/requirements.txt" }` Requirements types.String `tfsdk:"requirements"` // URI of the wheel library to install. Supported URIs include Workspace // paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "whl": // "/Workspace/path/to/library.whl" }`, `{ "whl" : // "/Volumes/path/to/library.whl" }` or `{ "whl": // "s3://my-bucket/library.whl" }`. If S3 is used, please make sure the // cluster has read access on the library. You may need to launch the // cluster with an IAM role to access the S3 URI. Whl types.String `tfsdk:"whl"` }
func (Library_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Library_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Library_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Library_SdkV2) GetCran ¶ added in v1.62.1
func (o *Library_SdkV2) GetCran(ctx context.Context) (RCranLibrary_SdkV2, bool)
GetCran returns the value of the Cran field in Library_SdkV2 as a RCranLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Library_SdkV2) GetMaven ¶ added in v1.62.1
func (o *Library_SdkV2) GetMaven(ctx context.Context) (MavenLibrary_SdkV2, bool)
GetMaven returns the value of the Maven field in Library_SdkV2 as a MavenLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Library_SdkV2) GetPypi ¶ added in v1.62.1
func (o *Library_SdkV2) GetPypi(ctx context.Context) (PythonPyPiLibrary_SdkV2, bool)
GetPypi returns the value of the Pypi field in Library_SdkV2 as a PythonPyPiLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Library_SdkV2) SetCran ¶ added in v1.62.1
func (o *Library_SdkV2) SetCran(ctx context.Context, v RCranLibrary_SdkV2)
SetCran sets the value of the Cran field in Library_SdkV2.
func (*Library_SdkV2) SetMaven ¶ added in v1.62.1
func (o *Library_SdkV2) SetMaven(ctx context.Context, v MavenLibrary_SdkV2)
SetMaven sets the value of the Maven field in Library_SdkV2.
func (*Library_SdkV2) SetPypi ¶ added in v1.62.1
func (o *Library_SdkV2) SetPypi(ctx context.Context, v PythonPyPiLibrary_SdkV2)
SetPypi sets the value of the Pypi field in Library_SdkV2.
func (*Library_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Library_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library_SdkV2)
func (*Library_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Library_SdkV2) SyncEffectiveFieldsDuringRead(existingState Library_SdkV2)
func (Library_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Library_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Library_SdkV2 only implements ToObjectValue() and Type().
type ListAllClusterLibraryStatusesResponse ¶
type ListAllClusterLibraryStatusesResponse struct { // A list of cluster statuses. Statuses types.List `tfsdk:"statuses"` }
func (ListAllClusterLibraryStatusesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListAllClusterLibraryStatusesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListAllClusterLibraryStatusesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListAllClusterLibraryStatusesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAllClusterLibraryStatusesResponse) GetStatuses ¶ added in v1.61.0
func (o *ListAllClusterLibraryStatusesResponse) GetStatuses(ctx context.Context) ([]ClusterLibraryStatuses, bool)
GetStatuses returns the value of the Statuses field in ListAllClusterLibraryStatusesResponse as a slice of ClusterLibraryStatuses values. If the field is unknown or null, the boolean return value is false.
func (*ListAllClusterLibraryStatusesResponse) SetStatuses ¶ added in v1.61.0
func (o *ListAllClusterLibraryStatusesResponse) SetStatuses(ctx context.Context, v []ClusterLibraryStatuses)
SetStatuses sets the value of the Statuses field in ListAllClusterLibraryStatusesResponse.
func (*ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse)
func (*ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse)
func (ListAllClusterLibraryStatusesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListAllClusterLibraryStatusesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAllClusterLibraryStatusesResponse only implements ToObjectValue() and Type().
type ListAllClusterLibraryStatusesResponse_SdkV2 ¶ added in v1.62.1
type ListAllClusterLibraryStatusesResponse_SdkV2 struct { // A list of cluster statuses. Statuses types.List `tfsdk:"statuses"` }
func (ListAllClusterLibraryStatusesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListAllClusterLibraryStatusesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListAllClusterLibraryStatusesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListAllClusterLibraryStatusesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAllClusterLibraryStatusesResponse_SdkV2) GetStatuses ¶ added in v1.62.1
func (o *ListAllClusterLibraryStatusesResponse_SdkV2) GetStatuses(ctx context.Context) ([]ClusterLibraryStatuses_SdkV2, bool)
GetStatuses returns the value of the Statuses field in ListAllClusterLibraryStatusesResponse_SdkV2 as a slice of ClusterLibraryStatuses_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListAllClusterLibraryStatusesResponse_SdkV2) SetStatuses ¶ added in v1.62.1
func (o *ListAllClusterLibraryStatusesResponse_SdkV2) SetStatuses(ctx context.Context, v []ClusterLibraryStatuses_SdkV2)
SetStatuses sets the value of the Statuses field in ListAllClusterLibraryStatusesResponse_SdkV2.
func (*ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse_SdkV2)
func (*ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse_SdkV2)
func (ListAllClusterLibraryStatusesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListAllClusterLibraryStatusesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAllClusterLibraryStatusesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListAvailableZonesResponse ¶
type ListAvailableZonesResponse struct { // The availability zone if no `zone_id` is provided in the cluster creation // request. DefaultZone types.String `tfsdk:"default_zone"` // The list of available zones (e.g., ['us-west-2c', 'us-east-2']). Zones types.List `tfsdk:"zones"` }
func (ListAvailableZonesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListAvailableZonesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListAvailableZonesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListAvailableZonesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAvailableZonesResponse) GetZones ¶ added in v1.61.0
GetZones returns the value of the Zones field in ListAvailableZonesResponse as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListAvailableZonesResponse) SetZones ¶ added in v1.61.0
func (o *ListAvailableZonesResponse) SetZones(ctx context.Context, v []types.String)
SetZones sets the value of the Zones field in ListAvailableZonesResponse.
func (*ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse)
func (*ListAvailableZonesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse)
func (ListAvailableZonesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListAvailableZonesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAvailableZonesResponse only implements ToObjectValue() and Type().
type ListAvailableZonesResponse_SdkV2 ¶ added in v1.62.1
type ListAvailableZonesResponse_SdkV2 struct { // The availability zone if no `zone_id` is provided in the cluster creation // request. DefaultZone types.String `tfsdk:"default_zone"` // The list of available zones (e.g., ['us-west-2c', 'us-east-2']). Zones types.List `tfsdk:"zones"` }
func (ListAvailableZonesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListAvailableZonesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListAvailableZonesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListAvailableZonesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAvailableZonesResponse_SdkV2) GetZones ¶ added in v1.62.1
GetZones returns the value of the Zones field in ListAvailableZonesResponse_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListAvailableZonesResponse_SdkV2) SetZones ¶ added in v1.62.1
func (o *ListAvailableZonesResponse_SdkV2) SetZones(ctx context.Context, v []types.String)
SetZones sets the value of the Zones field in ListAvailableZonesResponse_SdkV2.
func (*ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse_SdkV2)
func (*ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse_SdkV2)
func (ListAvailableZonesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListAvailableZonesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAvailableZonesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListClusterCompliancesRequest ¶
type ListClusterCompliancesRequest struct { // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // A page token that can be used to navigate to the next page or previous // page as returned by `next_page_token` or `prev_page_token`. PageToken types.String `tfsdk:"-"` // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"-"` }
List cluster policy compliance
func (ListClusterCompliancesRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListClusterCompliancesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListClusterCompliancesRequest) ToObjectValue ¶ added in v1.61.0
func (o ListClusterCompliancesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesRequest only implements ToObjectValue() and Type().
type ListClusterCompliancesRequest_SdkV2 ¶ added in v1.62.1
type ListClusterCompliancesRequest_SdkV2 struct { // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // A page token that can be used to navigate to the next page or previous // page as returned by `next_page_token` or `prev_page_token`. PageToken types.String `tfsdk:"-"` // Canonical unique identifier for the cluster policy. PolicyId types.String `tfsdk:"-"` }
List cluster policy compliance
func (ListClusterCompliancesRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClusterCompliancesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListClusterCompliancesRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClusterCompliancesRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesRequest_SdkV2 only implements ToObjectValue() and Type().
type ListClusterCompliancesResponse ¶
type ListClusterCompliancesResponse struct { // A list of clusters and their policy compliance statuses. Clusters types.List `tfsdk:"clusters"` // This field represents the pagination token to retrieve the next page of // results. If the value is "", it means no further results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If the value is "", it means no further results for the // request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListClusterCompliancesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClusterCompliancesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClusterCompliancesResponse) GetClusters ¶ added in v1.61.0
func (o *ListClusterCompliancesResponse) GetClusters(ctx context.Context) ([]ClusterCompliance, bool)
GetClusters returns the value of the Clusters field in ListClusterCompliancesResponse as a slice of ClusterCompliance values. If the field is unknown or null, the boolean return value is false.
func (ListClusterCompliancesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListClusterCompliancesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClusterCompliancesResponse) SetClusters ¶ added in v1.61.0
func (o *ListClusterCompliancesResponse) SetClusters(ctx context.Context, v []ClusterCompliance)
SetClusters sets the value of the Clusters field in ListClusterCompliancesResponse.
func (*ListClusterCompliancesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse)
func (*ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse)
func (ListClusterCompliancesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListClusterCompliancesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesResponse only implements ToObjectValue() and Type().
type ListClusterCompliancesResponse_SdkV2 ¶ added in v1.62.1
type ListClusterCompliancesResponse_SdkV2 struct { // A list of clusters and their policy compliance statuses. Clusters types.List `tfsdk:"clusters"` // This field represents the pagination token to retrieve the next page of // results. If the value is "", it means no further results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If the value is "", it means no further results for the // request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListClusterCompliancesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClusterCompliancesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClusterCompliancesResponse_SdkV2) GetClusters ¶ added in v1.62.1
func (o *ListClusterCompliancesResponse_SdkV2) GetClusters(ctx context.Context) ([]ClusterCompliance_SdkV2, bool)
GetClusters returns the value of the Clusters field in ListClusterCompliancesResponse_SdkV2 as a slice of ClusterCompliance_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ListClusterCompliancesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClusterCompliancesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClusterCompliancesResponse_SdkV2) SetClusters ¶ added in v1.62.1
func (o *ListClusterCompliancesResponse_SdkV2) SetClusters(ctx context.Context, v []ClusterCompliance_SdkV2)
SetClusters sets the value of the Clusters field in ListClusterCompliancesResponse_SdkV2.
func (*ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse_SdkV2)
func (*ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse_SdkV2)
func (ListClusterCompliancesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClusterCompliancesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListClusterPoliciesRequest ¶
type ListClusterPoliciesRequest struct { // The cluster policy attribute to sort by. * `POLICY_CREATION_TIME` - Sort // result list by policy creation time. * `POLICY_NAME` - Sort result list // by policy name. SortColumn types.String `tfsdk:"-"` // The order in which the policies get listed. * `DESC` - Sort result list // in descending order. * `ASC` - Sort result list in ascending order. SortOrder types.String `tfsdk:"-"` }
List cluster policies
func (ListClusterPoliciesRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListClusterPoliciesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListClusterPoliciesRequest) ToObjectValue ¶ added in v1.61.0
func (o ListClusterPoliciesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterPoliciesRequest only implements ToObjectValue() and Type().
type ListClusterPoliciesRequest_SdkV2 ¶ added in v1.62.1
type ListClusterPoliciesRequest_SdkV2 struct { // The cluster policy attribute to sort by. * `POLICY_CREATION_TIME` - Sort // result list by policy creation time. * `POLICY_NAME` - Sort result list // by policy name. SortColumn types.String `tfsdk:"-"` // The order in which the policies get listed. * `DESC` - Sort result list // in descending order. * `ASC` - Sort result list in ascending order. SortOrder types.String `tfsdk:"-"` }
List cluster policies
func (ListClusterPoliciesRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClusterPoliciesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListClusterPoliciesRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClusterPoliciesRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterPoliciesRequest_SdkV2 only implements ToObjectValue() and Type().
type ListClustersFilterBy ¶
type ListClustersFilterBy struct { // The source of cluster creation. ClusterSources types.List `tfsdk:"cluster_sources"` // The current state of the clusters. ClusterStates types.List `tfsdk:"cluster_states"` // Whether the clusters are pinned or not. IsPinned types.Bool `tfsdk:"is_pinned"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` }
func (ListClustersFilterBy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersFilterBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClustersFilterBy) GetClusterSources ¶ added in v1.61.0
GetClusterSources returns the value of the ClusterSources field in ListClustersFilterBy as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListClustersFilterBy) GetClusterStates ¶ added in v1.61.0
GetClusterStates returns the value of the ClusterStates field in ListClustersFilterBy as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (ListClustersFilterBy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersFilterBy) SetClusterSources ¶ added in v1.61.0
func (o *ListClustersFilterBy) SetClusterSources(ctx context.Context, v []types.String)
SetClusterSources sets the value of the ClusterSources field in ListClustersFilterBy.
func (*ListClustersFilterBy) SetClusterStates ¶ added in v1.61.0
func (o *ListClustersFilterBy) SetClusterStates(ctx context.Context, v []types.String)
SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy.
func (*ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy)
func (*ListClustersFilterBy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy)
func (ListClustersFilterBy) ToObjectValue ¶ added in v1.61.0
func (o ListClustersFilterBy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersFilterBy only implements ToObjectValue() and Type().
type ListClustersFilterBy_SdkV2 ¶ added in v1.62.1
type ListClustersFilterBy_SdkV2 struct { // The source of cluster creation. ClusterSources types.List `tfsdk:"cluster_sources"` // The current state of the clusters. ClusterStates types.List `tfsdk:"cluster_states"` // Whether the clusters are pinned or not. IsPinned types.Bool `tfsdk:"is_pinned"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` }
func (ListClustersFilterBy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersFilterBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClustersFilterBy_SdkV2) GetClusterSources ¶ added in v1.62.1
GetClusterSources returns the value of the ClusterSources field in ListClustersFilterBy_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListClustersFilterBy_SdkV2) GetClusterStates ¶ added in v1.62.1
GetClusterStates returns the value of the ClusterStates field in ListClustersFilterBy_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (ListClustersFilterBy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClustersFilterBy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersFilterBy_SdkV2) SetClusterSources ¶ added in v1.62.1
func (o *ListClustersFilterBy_SdkV2) SetClusterSources(ctx context.Context, v []types.String)
SetClusterSources sets the value of the ClusterSources field in ListClustersFilterBy_SdkV2.
func (*ListClustersFilterBy_SdkV2) SetClusterStates ¶ added in v1.62.1
func (o *ListClustersFilterBy_SdkV2) SetClusterStates(ctx context.Context, v []types.String)
SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy_SdkV2.
func (*ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy_SdkV2)
func (*ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy_SdkV2)
func (ListClustersFilterBy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClustersFilterBy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersFilterBy_SdkV2 only implements ToObjectValue() and Type().
type ListClustersRequest ¶
type ListClustersRequest struct { // Filters to apply to the list of clusters. FilterBy types.Object `tfsdk:"-"` // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // Use next_page_token or prev_page_token returned from the previous request // to list the next or previous page of clusters respectively. PageToken types.String `tfsdk:"-"` // Sort the list of clusters by a specific criteria. SortBy types.Object `tfsdk:"-"` }
List clusters
func (ListClustersRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersRequest) GetFilterBy ¶ added in v1.61.0
func (o *ListClustersRequest) GetFilterBy(ctx context.Context) (ListClustersFilterBy, bool)
GetFilterBy returns the value of the FilterBy field in ListClustersRequest as a ListClustersFilterBy value. If the field is unknown or null, the boolean return value is false.
func (*ListClustersRequest) GetSortBy ¶ added in v1.61.0
func (o *ListClustersRequest) GetSortBy(ctx context.Context) (ListClustersSortBy, bool)
GetSortBy returns the value of the SortBy field in ListClustersRequest as a ListClustersSortBy value. If the field is unknown or null, the boolean return value is false.
func (*ListClustersRequest) SetFilterBy ¶ added in v1.61.0
func (o *ListClustersRequest) SetFilterBy(ctx context.Context, v ListClustersFilterBy)
SetFilterBy sets the value of the FilterBy field in ListClustersRequest.
func (*ListClustersRequest) SetSortBy ¶ added in v1.61.0
func (o *ListClustersRequest) SetSortBy(ctx context.Context, v ListClustersSortBy)
SetSortBy sets the value of the SortBy field in ListClustersRequest.
func (ListClustersRequest) ToObjectValue ¶ added in v1.61.0
func (o ListClustersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersRequest only implements ToObjectValue() and Type().
type ListClustersRequest_SdkV2 ¶ added in v1.62.1
type ListClustersRequest_SdkV2 struct { // Filters to apply to the list of clusters. FilterBy types.List `tfsdk:"-"` // Use this field to specify the maximum number of results to be returned by // the server. The server may further constrain the maximum number of // results returned in a single page. PageSize types.Int64 `tfsdk:"-"` // Use next_page_token or prev_page_token returned from the previous request // to list the next or previous page of clusters respectively. PageToken types.String `tfsdk:"-"` // Sort the list of clusters by a specific criteria. SortBy types.List `tfsdk:"-"` }
List clusters
func (ListClustersRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClustersRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersRequest_SdkV2) GetFilterBy ¶ added in v1.62.1
func (o *ListClustersRequest_SdkV2) GetFilterBy(ctx context.Context) (ListClustersFilterBy_SdkV2, bool)
GetFilterBy returns the value of the FilterBy field in ListClustersRequest_SdkV2 as a ListClustersFilterBy_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ListClustersRequest_SdkV2) GetSortBy ¶ added in v1.62.1
func (o *ListClustersRequest_SdkV2) GetSortBy(ctx context.Context) (ListClustersSortBy_SdkV2, bool)
GetSortBy returns the value of the SortBy field in ListClustersRequest_SdkV2 as a ListClustersSortBy_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*ListClustersRequest_SdkV2) SetFilterBy ¶ added in v1.62.1
func (o *ListClustersRequest_SdkV2) SetFilterBy(ctx context.Context, v ListClustersFilterBy_SdkV2)
SetFilterBy sets the value of the FilterBy field in ListClustersRequest_SdkV2.
func (*ListClustersRequest_SdkV2) SetSortBy ¶ added in v1.62.1
func (o *ListClustersRequest_SdkV2) SetSortBy(ctx context.Context, v ListClustersSortBy_SdkV2)
SetSortBy sets the value of the SortBy field in ListClustersRequest_SdkV2.
func (ListClustersRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClustersRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersRequest_SdkV2 only implements ToObjectValue() and Type().
type ListClustersResponse ¶
type ListClustersResponse struct { // <needs content added> Clusters types.List `tfsdk:"clusters"` // This field represents the pagination token to retrieve the next page of // results. If the value is "", it means no further results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If the value is "", it means no further results for the // request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListClustersResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClustersResponse) GetClusters ¶ added in v1.61.0
func (o *ListClustersResponse) GetClusters(ctx context.Context) ([]ClusterDetails, bool)
GetClusters returns the value of the Clusters field in ListClustersResponse as a slice of ClusterDetails values. If the field is unknown or null, the boolean return value is false.
func (ListClustersResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersResponse) SetClusters ¶ added in v1.61.0
func (o *ListClustersResponse) SetClusters(ctx context.Context, v []ClusterDetails)
SetClusters sets the value of the Clusters field in ListClustersResponse.
func (*ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse)
func (*ListClustersResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListClustersResponse) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse)
func (ListClustersResponse) ToObjectValue ¶ added in v1.61.0
func (o ListClustersResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersResponse only implements ToObjectValue() and Type().
type ListClustersResponse_SdkV2 ¶ added in v1.62.1
type ListClustersResponse_SdkV2 struct { // <needs content added> Clusters types.List `tfsdk:"clusters"` // This field represents the pagination token to retrieve the next page of // results. If the value is "", it means no further results for the request. NextPageToken types.String `tfsdk:"next_page_token"` // This field represents the pagination token to retrieve the previous page // of results. If the value is "", it means no further results for the // request. PrevPageToken types.String `tfsdk:"prev_page_token"` }
func (ListClustersResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ListClustersResponse_SdkV2) GetClusters ¶ added in v1.62.1
func (o *ListClustersResponse_SdkV2) GetClusters(ctx context.Context) ([]ClusterDetails_SdkV2, bool)
GetClusters returns the value of the Clusters field in ListClustersResponse_SdkV2 as a slice of ClusterDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (ListClustersResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListClustersResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersResponse_SdkV2) SetClusters ¶ added in v1.62.1
func (o *ListClustersResponse_SdkV2) SetClusters(ctx context.Context, v []ClusterDetails_SdkV2)
SetClusters sets the value of the Clusters field in ListClustersResponse_SdkV2.
func (*ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse_SdkV2)
func (*ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse_SdkV2)
func (ListClustersResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClustersResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersResponse_SdkV2 only implements ToObjectValue() and Type().
type ListClustersSortBy ¶
type ListClustersSortBy struct { // The direction to sort by. Direction types.String `tfsdk:"direction"` // The sorting criteria. By default, clusters are sorted by 3 columns from // highest to lowest precedence: cluster state, pinned or unpinned, then // cluster name. Field types.String `tfsdk:"field"` }
func (ListClustersSortBy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersSortBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListClustersSortBy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersSortBy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy)
func (*ListClustersSortBy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy)
func (ListClustersSortBy) ToObjectValue ¶ added in v1.61.0
func (o ListClustersSortBy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersSortBy only implements ToObjectValue() and Type().
type ListClustersSortBy_SdkV2 ¶ added in v1.62.1
type ListClustersSortBy_SdkV2 struct { // The direction to sort by. Direction types.String `tfsdk:"direction"` // The sorting criteria. By default, clusters are sorted by 3 columns from // highest to lowest precedence: cluster state, pinned or unpinned, then // cluster name. Field types.String `tfsdk:"field"` }
func (ListClustersSortBy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListClustersSortBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListClustersSortBy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy_SdkV2)
func (*ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy_SdkV2)
func (ListClustersSortBy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListClustersSortBy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersSortBy_SdkV2 only implements ToObjectValue() and Type().
type ListGlobalInitScriptsResponse ¶
func (ListGlobalInitScriptsResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListGlobalInitScriptsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListGlobalInitScriptsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListGlobalInitScriptsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListGlobalInitScriptsResponse) GetScripts ¶ added in v1.61.0
func (o *ListGlobalInitScriptsResponse) GetScripts(ctx context.Context) ([]GlobalInitScriptDetails, bool)
GetScripts returns the value of the Scripts field in ListGlobalInitScriptsResponse as a slice of GlobalInitScriptDetails values. If the field is unknown or null, the boolean return value is false.
func (*ListGlobalInitScriptsResponse) SetScripts ¶ added in v1.61.0
func (o *ListGlobalInitScriptsResponse) SetScripts(ctx context.Context, v []GlobalInitScriptDetails)
SetScripts sets the value of the Scripts field in ListGlobalInitScriptsResponse.
func (*ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse)
func (*ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse)
func (ListGlobalInitScriptsResponse) ToObjectValue ¶ added in v1.61.0
func (o ListGlobalInitScriptsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGlobalInitScriptsResponse only implements ToObjectValue() and Type().
type ListGlobalInitScriptsResponse_SdkV2 ¶ added in v1.62.1
func (ListGlobalInitScriptsResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListGlobalInitScriptsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListGlobalInitScriptsResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListGlobalInitScriptsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListGlobalInitScriptsResponse_SdkV2) GetScripts ¶ added in v1.62.1
func (o *ListGlobalInitScriptsResponse_SdkV2) GetScripts(ctx context.Context) ([]GlobalInitScriptDetails_SdkV2, bool)
GetScripts returns the value of the Scripts field in ListGlobalInitScriptsResponse_SdkV2 as a slice of GlobalInitScriptDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListGlobalInitScriptsResponse_SdkV2) SetScripts ¶ added in v1.62.1
func (o *ListGlobalInitScriptsResponse_SdkV2) SetScripts(ctx context.Context, v []GlobalInitScriptDetails_SdkV2)
SetScripts sets the value of the Scripts field in ListGlobalInitScriptsResponse_SdkV2.
func (*ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse_SdkV2)
func (*ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse_SdkV2)
func (ListGlobalInitScriptsResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListGlobalInitScriptsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGlobalInitScriptsResponse_SdkV2 only implements ToObjectValue() and Type().
type ListInstancePools ¶
func (ListInstancePools) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListInstancePools) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListInstancePools) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListInstancePools) GetInstancePools ¶ added in v1.61.0
func (o *ListInstancePools) GetInstancePools(ctx context.Context) ([]InstancePoolAndStats, bool)
GetInstancePools returns the value of the InstancePools field in ListInstancePools as a slice of InstancePoolAndStats values. If the field is unknown or null, the boolean return value is false.
func (*ListInstancePools) SetInstancePools ¶ added in v1.61.0
func (o *ListInstancePools) SetInstancePools(ctx context.Context, v []InstancePoolAndStats)
SetInstancePools sets the value of the InstancePools field in ListInstancePools.
func (*ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools)
func (*ListInstancePools) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListInstancePools) SyncEffectiveFieldsDuringRead(existingState ListInstancePools)
func (ListInstancePools) ToObjectValue ¶ added in v1.61.0
func (o ListInstancePools) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePools only implements ToObjectValue() and Type().
type ListInstancePools_SdkV2 ¶ added in v1.62.1
func (ListInstancePools_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListInstancePools_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListInstancePools_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListInstancePools_SdkV2) GetInstancePools ¶ added in v1.62.1
func (o *ListInstancePools_SdkV2) GetInstancePools(ctx context.Context) ([]InstancePoolAndStats_SdkV2, bool)
GetInstancePools returns the value of the InstancePools field in ListInstancePools_SdkV2 as a slice of InstancePoolAndStats_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListInstancePools_SdkV2) SetInstancePools ¶ added in v1.62.1
func (o *ListInstancePools_SdkV2) SetInstancePools(ctx context.Context, v []InstancePoolAndStats_SdkV2)
SetInstancePools sets the value of the InstancePools field in ListInstancePools_SdkV2.
func (*ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools_SdkV2)
func (*ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstancePools_SdkV2)
func (ListInstancePools_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListInstancePools_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePools_SdkV2 only implements ToObjectValue() and Type().
type ListInstanceProfilesResponse ¶
type ListInstanceProfilesResponse struct { // A list of instance profiles that the user can access. InstanceProfiles types.List `tfsdk:"instance_profiles"` }
func (ListInstanceProfilesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListInstanceProfilesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListInstanceProfilesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListInstanceProfilesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListInstanceProfilesResponse) GetInstanceProfiles ¶ added in v1.61.0
func (o *ListInstanceProfilesResponse) GetInstanceProfiles(ctx context.Context) ([]InstanceProfile, bool)
GetInstanceProfiles returns the value of the InstanceProfiles field in ListInstanceProfilesResponse as a slice of InstanceProfile values. If the field is unknown or null, the boolean return value is false.
func (*ListInstanceProfilesResponse) SetInstanceProfiles ¶ added in v1.61.0
func (o *ListInstanceProfilesResponse) SetInstanceProfiles(ctx context.Context, v []InstanceProfile)
SetInstanceProfiles sets the value of the InstanceProfiles field in ListInstanceProfilesResponse.
func (*ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse)
func (*ListInstanceProfilesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse)
func (ListInstanceProfilesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListInstanceProfilesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstanceProfilesResponse only implements ToObjectValue() and Type().
type ListInstanceProfilesResponse_SdkV2 ¶ added in v1.62.1
type ListInstanceProfilesResponse_SdkV2 struct { // A list of instance profiles that the user can access. InstanceProfiles types.List `tfsdk:"instance_profiles"` }
func (ListInstanceProfilesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListInstanceProfilesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListInstanceProfilesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListInstanceProfilesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListInstanceProfilesResponse_SdkV2) GetInstanceProfiles ¶ added in v1.62.1
func (o *ListInstanceProfilesResponse_SdkV2) GetInstanceProfiles(ctx context.Context) ([]InstanceProfile_SdkV2, bool)
GetInstanceProfiles returns the value of the InstanceProfiles field in ListInstanceProfilesResponse_SdkV2 as a slice of InstanceProfile_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListInstanceProfilesResponse_SdkV2) SetInstanceProfiles ¶ added in v1.62.1
func (o *ListInstanceProfilesResponse_SdkV2) SetInstanceProfiles(ctx context.Context, v []InstanceProfile_SdkV2)
SetInstanceProfiles sets the value of the InstanceProfiles field in ListInstanceProfilesResponse_SdkV2.
func (*ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse_SdkV2)
func (*ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse_SdkV2)
func (ListInstanceProfilesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListInstanceProfilesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstanceProfilesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListNodeTypesResponse ¶
type ListNodeTypesResponse struct { // The list of available Spark node types. NodeTypes types.List `tfsdk:"node_types"` }
func (ListNodeTypesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListNodeTypesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListNodeTypesResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListNodeTypesResponse) GetNodeTypes ¶ added in v1.61.0
func (o *ListNodeTypesResponse) GetNodeTypes(ctx context.Context) ([]NodeType, bool)
GetNodeTypes returns the value of the NodeTypes field in ListNodeTypesResponse as a slice of NodeType values. If the field is unknown or null, the boolean return value is false.
func (*ListNodeTypesResponse) SetNodeTypes ¶ added in v1.61.0
func (o *ListNodeTypesResponse) SetNodeTypes(ctx context.Context, v []NodeType)
SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse.
func (*ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse)
func (*ListNodeTypesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse)
func (ListNodeTypesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListNodeTypesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListNodeTypesResponse only implements ToObjectValue() and Type().
type ListNodeTypesResponse_SdkV2 ¶ added in v1.62.1
type ListNodeTypesResponse_SdkV2 struct { // The list of available Spark node types. NodeTypes types.List `tfsdk:"node_types"` }
func (ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListNodeTypesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListNodeTypesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListNodeTypesResponse_SdkV2) GetNodeTypes ¶ added in v1.62.1
func (o *ListNodeTypesResponse_SdkV2) GetNodeTypes(ctx context.Context) ([]NodeType_SdkV2, bool)
GetNodeTypes returns the value of the NodeTypes field in ListNodeTypesResponse_SdkV2 as a slice of NodeType_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListNodeTypesResponse_SdkV2) SetNodeTypes ¶ added in v1.62.1
func (o *ListNodeTypesResponse_SdkV2) SetNodeTypes(ctx context.Context, v []NodeType_SdkV2)
SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse_SdkV2.
func (*ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse_SdkV2)
func (*ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse_SdkV2)
func (ListNodeTypesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListNodeTypesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListNodeTypesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListPoliciesResponse ¶
func (ListPoliciesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListPoliciesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListPoliciesResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListPoliciesResponse) GetPolicies ¶ added in v1.61.0
func (o *ListPoliciesResponse) GetPolicies(ctx context.Context) ([]Policy, bool)
GetPolicies returns the value of the Policies field in ListPoliciesResponse as a slice of Policy values. If the field is unknown or null, the boolean return value is false.
func (*ListPoliciesResponse) SetPolicies ¶ added in v1.61.0
func (o *ListPoliciesResponse) SetPolicies(ctx context.Context, v []Policy)
SetPolicies sets the value of the Policies field in ListPoliciesResponse.
func (*ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse)
func (*ListPoliciesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse)
func (ListPoliciesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListPoliciesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPoliciesResponse only implements ToObjectValue() and Type().
type ListPoliciesResponse_SdkV2 ¶ added in v1.62.1
type ListPoliciesResponse_SdkV2 struct { // List of policies. Policies types.List `tfsdk:"policies"` }
func (ListPoliciesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListPoliciesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListPoliciesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListPoliciesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListPoliciesResponse_SdkV2) GetPolicies ¶ added in v1.62.1
func (o *ListPoliciesResponse_SdkV2) GetPolicies(ctx context.Context) ([]Policy_SdkV2, bool)
GetPolicies returns the value of the Policies field in ListPoliciesResponse_SdkV2 as a slice of Policy_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListPoliciesResponse_SdkV2) SetPolicies ¶ added in v1.62.1
func (o *ListPoliciesResponse_SdkV2) SetPolicies(ctx context.Context, v []Policy_SdkV2)
SetPolicies sets the value of the Policies field in ListPoliciesResponse_SdkV2.
func (*ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse_SdkV2)
func (*ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse_SdkV2)
func (ListPoliciesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListPoliciesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPoliciesResponse_SdkV2 only implements ToObjectValue() and Type().
type ListPolicyFamiliesRequest ¶
type ListPolicyFamiliesRequest struct { // Maximum number of policy families to return. MaxResults types.Int64 `tfsdk:"-"` // A token that can be used to get the next page of results. PageToken types.String `tfsdk:"-"` }
List policy families
func (ListPolicyFamiliesRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListPolicyFamiliesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListPolicyFamiliesRequest) ToObjectValue ¶ added in v1.61.0
func (o ListPolicyFamiliesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesRequest only implements ToObjectValue() and Type().
type ListPolicyFamiliesRequest_SdkV2 ¶ added in v1.62.1
type ListPolicyFamiliesRequest_SdkV2 struct { // Maximum number of policy families to return. MaxResults types.Int64 `tfsdk:"-"` // A token that can be used to get the next page of results. PageToken types.String `tfsdk:"-"` }
List policy families
func (ListPolicyFamiliesRequest_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListPolicyFamiliesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (ListPolicyFamiliesRequest_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListPolicyFamiliesRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesRequest_SdkV2 only implements ToObjectValue() and Type().
type ListPolicyFamiliesResponse ¶
type ListPolicyFamiliesResponse struct { // A token that can be used to get the next page of results. If not present, // there are no more results to show. NextPageToken types.String `tfsdk:"next_page_token"` // List of policy families. PolicyFamilies types.List `tfsdk:"policy_families"` }
func (ListPolicyFamiliesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListPolicyFamiliesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListPolicyFamiliesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListPolicyFamiliesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListPolicyFamiliesResponse) GetPolicyFamilies ¶ added in v1.61.0
func (o *ListPolicyFamiliesResponse) GetPolicyFamilies(ctx context.Context) ([]PolicyFamily, bool)
GetPolicyFamilies returns the value of the PolicyFamilies field in ListPolicyFamiliesResponse as a slice of PolicyFamily values. If the field is unknown or null, the boolean return value is false.
func (*ListPolicyFamiliesResponse) SetPolicyFamilies ¶ added in v1.61.0
func (o *ListPolicyFamiliesResponse) SetPolicyFamilies(ctx context.Context, v []PolicyFamily)
SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse.
func (*ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse)
func (*ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse)
func (ListPolicyFamiliesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListPolicyFamiliesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesResponse only implements ToObjectValue() and Type().
type ListPolicyFamiliesResponse_SdkV2 ¶ added in v1.62.1
type ListPolicyFamiliesResponse_SdkV2 struct { // A token that can be used to get the next page of results. If not present, // there are no more results to show. NextPageToken types.String `tfsdk:"next_page_token"` // List of policy families. PolicyFamilies types.List `tfsdk:"policy_families"` }
func (ListPolicyFamiliesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ListPolicyFamiliesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ListPolicyFamiliesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ListPolicyFamiliesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListPolicyFamiliesResponse_SdkV2) GetPolicyFamilies ¶ added in v1.62.1
func (o *ListPolicyFamiliesResponse_SdkV2) GetPolicyFamilies(ctx context.Context) ([]PolicyFamily_SdkV2, bool)
GetPolicyFamilies returns the value of the PolicyFamilies field in ListPolicyFamiliesResponse_SdkV2 as a slice of PolicyFamily_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies ¶ added in v1.62.1
func (o *ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies(ctx context.Context, v []PolicyFamily_SdkV2)
SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse_SdkV2.
func (*ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse_SdkV2)
func (*ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse_SdkV2)
func (ListPolicyFamiliesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ListPolicyFamiliesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesResponse_SdkV2 only implements ToObjectValue() and Type().
type LocalFileInfo ¶
type LocalFileInfo struct { // local file destination, e.g. `file:/my/local/file.sh` Destination types.String `tfsdk:"destination"` }
func (LocalFileInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LocalFileInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LocalFileInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LocalFileInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LocalFileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo)
func (*LocalFileInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LocalFileInfo) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo)
func (LocalFileInfo) ToObjectValue ¶ added in v1.61.0
func (o LocalFileInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LocalFileInfo only implements ToObjectValue() and Type().
type LocalFileInfo_SdkV2 ¶ added in v1.62.1
type LocalFileInfo_SdkV2 struct { // local file destination, e.g. `file:/my/local/file.sh` Destination types.String `tfsdk:"destination"` }
func (LocalFileInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LocalFileInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LocalFileInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo_SdkV2)
func (*LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo_SdkV2)
func (LocalFileInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o LocalFileInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LocalFileInfo_SdkV2 only implements ToObjectValue() and Type().
type LogAnalyticsInfo ¶
type LogAnalyticsInfo struct { // <needs content added> LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"` // <needs content added> LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"` }
func (LogAnalyticsInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LogAnalyticsInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LogAnalyticsInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LogAnalyticsInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo)
func (*LogAnalyticsInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo)
func (LogAnalyticsInfo) ToObjectValue ¶ added in v1.61.0
func (o LogAnalyticsInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogAnalyticsInfo only implements ToObjectValue() and Type().
type LogAnalyticsInfo_SdkV2 ¶ added in v1.62.1
type LogAnalyticsInfo_SdkV2 struct { // <needs content added> LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"` // <needs content added> LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"` }
func (LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LogAnalyticsInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo_SdkV2)
func (*LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo_SdkV2)
func (LogAnalyticsInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o LogAnalyticsInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogAnalyticsInfo_SdkV2 only implements ToObjectValue() and Type().
type LogSyncStatus ¶
type LogSyncStatus struct { // The timestamp of last attempt. If the last attempt fails, // `last_exception` will contain the exception in the last attempt. LastAttempted types.Int64 `tfsdk:"last_attempted"` // The exception thrown in the last attempt, it would be null (omitted in // the response) if there is no exception in last attempted. LastException types.String `tfsdk:"last_exception"` }
func (LogSyncStatus) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LogSyncStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LogSyncStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LogSyncStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogSyncStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus)
func (*LogSyncStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogSyncStatus) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus)
func (LogSyncStatus) ToObjectValue ¶ added in v1.61.0
func (o LogSyncStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogSyncStatus only implements ToObjectValue() and Type().
type LogSyncStatus_SdkV2 ¶ added in v1.62.1
type LogSyncStatus_SdkV2 struct { // The timestamp of last attempt. If the last attempt fails, // `last_exception` will contain the exception in the last attempt. LastAttempted types.Int64 `tfsdk:"last_attempted"` // The exception thrown in the last attempt, it would be null (omitted in // the response) if there is no exception in last attempted. LastException types.String `tfsdk:"last_exception"` }
func (LogSyncStatus_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c LogSyncStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (LogSyncStatus_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus_SdkV2)
func (*LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus_SdkV2)
func (LogSyncStatus_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o LogSyncStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogSyncStatus_SdkV2 only implements ToObjectValue() and Type().
type MavenLibrary ¶
type MavenLibrary struct { // Gradle-style maven coordinates. For example: "org.jsoup:jsoup:1.7.2". Coordinates types.String `tfsdk:"coordinates"` // List of dependences to exclude. For example: `["slf4j:slf4j", // "*:hadoop-client"]`. // // Maven dependency exclusions: // https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html. Exclusions types.List `tfsdk:"exclusions"` // Maven repo to install the Maven package from. If omitted, both Maven // Central Repository and Spark Packages are searched. Repo types.String `tfsdk:"repo"` }
func (MavenLibrary) ApplySchemaCustomizations ¶ added in v1.63.0
func (c MavenLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (MavenLibrary) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MavenLibrary) GetExclusions ¶ added in v1.61.0
GetExclusions returns the value of the Exclusions field in MavenLibrary as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*MavenLibrary) SetExclusions ¶ added in v1.61.0
func (o *MavenLibrary) SetExclusions(ctx context.Context, v []types.String)
SetExclusions sets the value of the Exclusions field in MavenLibrary.
func (*MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary)
func (*MavenLibrary) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MavenLibrary) SyncEffectiveFieldsDuringRead(existingState MavenLibrary)
func (MavenLibrary) ToObjectValue ¶ added in v1.61.0
func (o MavenLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MavenLibrary only implements ToObjectValue() and Type().
type MavenLibrary_SdkV2 ¶ added in v1.62.1
type MavenLibrary_SdkV2 struct { // Gradle-style maven coordinates. For example: "org.jsoup:jsoup:1.7.2". Coordinates types.String `tfsdk:"coordinates"` // List of dependences to exclude. For example: `["slf4j:slf4j", // "*:hadoop-client"]`. // // Maven dependency exclusions: // https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html. Exclusions types.List `tfsdk:"exclusions"` // Maven repo to install the Maven package from. If omitted, both Maven // Central Repository and Spark Packages are searched. Repo types.String `tfsdk:"repo"` }
func (MavenLibrary_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c MavenLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (MavenLibrary_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MavenLibrary_SdkV2) GetExclusions ¶ added in v1.62.1
GetExclusions returns the value of the Exclusions field in MavenLibrary_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*MavenLibrary_SdkV2) SetExclusions ¶ added in v1.62.1
func (o *MavenLibrary_SdkV2) SetExclusions(ctx context.Context, v []types.String)
SetExclusions sets the value of the Exclusions field in MavenLibrary_SdkV2.
func (*MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary_SdkV2)
func (*MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState MavenLibrary_SdkV2)
func (MavenLibrary_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o MavenLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MavenLibrary_SdkV2 only implements ToObjectValue() and Type().
type NodeInstanceType ¶
type NodeInstanceType struct { InstanceTypeId types.String `tfsdk:"instance_type_id"` LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"` LocalDisks types.Int64 `tfsdk:"local_disks"` LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"` LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"` }
func (NodeInstanceType) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NodeInstanceType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NodeInstanceType) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NodeInstanceType) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *NodeInstanceType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType)
func (*NodeInstanceType) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *NodeInstanceType) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType)
func (NodeInstanceType) ToObjectValue ¶ added in v1.61.0
func (o NodeInstanceType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeInstanceType only implements ToObjectValue() and Type().
type NodeInstanceType_SdkV2 ¶ added in v1.62.1
type NodeInstanceType_SdkV2 struct { InstanceTypeId types.String `tfsdk:"instance_type_id"` LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"` LocalDisks types.Int64 `tfsdk:"local_disks"` LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"` LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"` }
func (NodeInstanceType_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NodeInstanceType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NodeInstanceType_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType_SdkV2)
func (*NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType_SdkV2)
func (NodeInstanceType_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o NodeInstanceType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeInstanceType_SdkV2 only implements ToObjectValue() and Type().
type NodeType ¶
type NodeType struct { Category types.String `tfsdk:"category"` // A string description associated with this node type, e.g., "r3.xlarge". Description types.String `tfsdk:"description"` DisplayOrder types.Int64 `tfsdk:"display_order"` // An identifier for the type of hardware that this node runs on, e.g., // "r3.2xlarge" in AWS. InstanceTypeId types.String `tfsdk:"instance_type_id"` // Whether the node type is deprecated. Non-deprecated node types offer // greater performance. IsDeprecated types.Bool `tfsdk:"is_deprecated"` // AWS specific, whether this instance supports encryption in transit, used // for hipaa and pci workloads. IsEncryptedInTransit types.Bool `tfsdk:"is_encrypted_in_transit"` IsGraviton types.Bool `tfsdk:"is_graviton"` IsHidden types.Bool `tfsdk:"is_hidden"` IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"` // Memory (in MB) available for this node type. MemoryMb types.Int64 `tfsdk:"memory_mb"` NodeInfo types.Object `tfsdk:"node_info"` NodeInstanceType types.Object `tfsdk:"node_instance_type"` // Unique identifier for this node type. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of CPU cores available for this node type. Note that this can be // fractional, e.g., 2.5 cores, if the the number of cores on a machine // instance is not divisible by the number of Spark nodes on that machine. NumCores types.Float64 `tfsdk:"num_cores"` NumGpus types.Int64 `tfsdk:"num_gpus"` PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"` PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"` SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"` SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"` SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"` // Indicates if this node type can be used for an instance pool or cluster // with elastic disk enabled. This is true for most node types. SupportsElasticDisk types.Bool `tfsdk:"supports_elastic_disk"` }
func (NodeType) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NodeType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NodeType) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NodeType) GetNodeInfo ¶ added in v1.61.0
func (o *NodeType) GetNodeInfo(ctx context.Context) (CloudProviderNodeInfo, bool)
GetNodeInfo returns the value of the NodeInfo field in NodeType as a CloudProviderNodeInfo value. If the field is unknown or null, the boolean return value is false.
func (*NodeType) GetNodeInstanceType ¶ added in v1.61.0
func (o *NodeType) GetNodeInstanceType(ctx context.Context) (NodeInstanceType, bool)
GetNodeInstanceType returns the value of the NodeInstanceType field in NodeType as a NodeInstanceType value. If the field is unknown or null, the boolean return value is false.
func (*NodeType) SetNodeInfo ¶ added in v1.61.0
func (o *NodeType) SetNodeInfo(ctx context.Context, v CloudProviderNodeInfo)
SetNodeInfo sets the value of the NodeInfo field in NodeType.
func (*NodeType) SetNodeInstanceType ¶ added in v1.61.0
func (o *NodeType) SetNodeInstanceType(ctx context.Context, v NodeInstanceType)
SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType.
func (*NodeType) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*NodeType) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (NodeType) ToObjectValue ¶ added in v1.61.0
func (o NodeType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeType only implements ToObjectValue() and Type().
type NodeType_SdkV2 ¶ added in v1.62.1
type NodeType_SdkV2 struct { Category types.String `tfsdk:"category"` // A string description associated with this node type, e.g., "r3.xlarge". Description types.String `tfsdk:"description"` DisplayOrder types.Int64 `tfsdk:"display_order"` // An identifier for the type of hardware that this node runs on, e.g., // "r3.2xlarge" in AWS. InstanceTypeId types.String `tfsdk:"instance_type_id"` // Whether the node type is deprecated. Non-deprecated node types offer // greater performance. IsDeprecated types.Bool `tfsdk:"is_deprecated"` // AWS specific, whether this instance supports encryption in transit, used // for hipaa and pci workloads. IsEncryptedInTransit types.Bool `tfsdk:"is_encrypted_in_transit"` IsGraviton types.Bool `tfsdk:"is_graviton"` IsHidden types.Bool `tfsdk:"is_hidden"` IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"` // Memory (in MB) available for this node type. MemoryMb types.Int64 `tfsdk:"memory_mb"` NodeInfo types.List `tfsdk:"node_info"` NodeInstanceType types.List `tfsdk:"node_instance_type"` // Unique identifier for this node type. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of CPU cores available for this node type. Note that this can be // fractional, e.g., 2.5 cores, if the the number of cores on a machine // instance is not divisible by the number of Spark nodes on that machine. NumCores types.Float64 `tfsdk:"num_cores"` NumGpus types.Int64 `tfsdk:"num_gpus"` PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"` PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"` SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"` SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"` SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"` // Indicates if this node type can be used for an instance pool or cluster // with elastic disk enabled. This is true for most node types. SupportsElasticDisk types.Bool `tfsdk:"supports_elastic_disk"` }
func (NodeType_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c NodeType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (NodeType_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*NodeType_SdkV2) GetNodeInfo ¶ added in v1.62.1
func (o *NodeType_SdkV2) GetNodeInfo(ctx context.Context) (CloudProviderNodeInfo_SdkV2, bool)
GetNodeInfo returns the value of the NodeInfo field in NodeType_SdkV2 as a CloudProviderNodeInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*NodeType_SdkV2) GetNodeInstanceType ¶ added in v1.62.1
func (o *NodeType_SdkV2) GetNodeInstanceType(ctx context.Context) (NodeInstanceType_SdkV2, bool)
GetNodeInstanceType returns the value of the NodeInstanceType field in NodeType_SdkV2 as a NodeInstanceType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*NodeType_SdkV2) SetNodeInfo ¶ added in v1.62.1
func (o *NodeType_SdkV2) SetNodeInfo(ctx context.Context, v CloudProviderNodeInfo_SdkV2)
SetNodeInfo sets the value of the NodeInfo field in NodeType_SdkV2.
func (*NodeType_SdkV2) SetNodeInstanceType ¶ added in v1.62.1
func (o *NodeType_SdkV2) SetNodeInstanceType(ctx context.Context, v NodeInstanceType_SdkV2)
SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType_SdkV2.
func (*NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType_SdkV2)
func (*NodeType_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeType_SdkV2)
func (NodeType_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o NodeType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeType_SdkV2 only implements ToObjectValue() and Type().
type PendingInstanceError ¶
type PendingInstanceError struct { InstanceId types.String `tfsdk:"instance_id"` Message types.String `tfsdk:"message"` }
func (PendingInstanceError) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PendingInstanceError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PendingInstanceError) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PendingInstanceError) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PendingInstanceError) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError)
func (*PendingInstanceError) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PendingInstanceError) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError)
func (PendingInstanceError) ToObjectValue ¶ added in v1.61.0
func (o PendingInstanceError) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PendingInstanceError only implements ToObjectValue() and Type().
type PendingInstanceError_SdkV2 ¶ added in v1.62.1
type PendingInstanceError_SdkV2 struct { InstanceId types.String `tfsdk:"instance_id"` Message types.String `tfsdk:"message"` }
func (PendingInstanceError_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PendingInstanceError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PendingInstanceError_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a PendingInstanceError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError_SdkV2)
func (*PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError_SdkV2)
func (PendingInstanceError_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PendingInstanceError_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PendingInstanceError_SdkV2 only implements ToObjectValue() and Type().
type PermanentDeleteCluster ¶
type PermanentDeleteCluster struct { // The cluster to be deleted. ClusterId types.String `tfsdk:"cluster_id"` }
func (PermanentDeleteCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PermanentDeleteCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PermanentDeleteCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermanentDeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster)
func (*PermanentDeleteCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster)
func (PermanentDeleteCluster) ToObjectValue ¶ added in v1.61.0
func (o PermanentDeleteCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteCluster only implements ToObjectValue() and Type().
type PermanentDeleteClusterResponse ¶
type PermanentDeleteClusterResponse struct { }
func (PermanentDeleteClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PermanentDeleteClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PermanentDeleteClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a PermanentDeleteClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse)
func (*PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse)
func (PermanentDeleteClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o PermanentDeleteClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteClusterResponse only implements ToObjectValue() and Type().
type PermanentDeleteClusterResponse_SdkV2 ¶ added in v1.62.1
type PermanentDeleteClusterResponse_SdkV2 struct { }
func (PermanentDeleteClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PermanentDeleteClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PermanentDeleteClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a PermanentDeleteClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse_SdkV2)
func (*PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse_SdkV2)
func (PermanentDeleteClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PermanentDeleteClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type PermanentDeleteCluster_SdkV2 ¶ added in v1.62.1
type PermanentDeleteCluster_SdkV2 struct { // The cluster to be deleted. ClusterId types.String `tfsdk:"cluster_id"` }
func (PermanentDeleteCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PermanentDeleteCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PermanentDeleteCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a PermanentDeleteCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster_SdkV2)
func (*PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster_SdkV2)
func (PermanentDeleteCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PermanentDeleteCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteCluster_SdkV2 only implements ToObjectValue() and Type().
type PinCluster ¶
func (PinCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PinCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PinCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster)
func (*PinCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PinCluster) SyncEffectiveFieldsDuringRead(existingState PinCluster)
func (PinCluster) ToObjectValue ¶ added in v1.61.0
func (o PinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinCluster only implements ToObjectValue() and Type().
type PinClusterResponse ¶
type PinClusterResponse struct { }
func (PinClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PinClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse)
func (*PinClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PinClusterResponse) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse)
func (PinClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o PinClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinClusterResponse only implements ToObjectValue() and Type().
type PinClusterResponse_SdkV2 ¶ added in v1.62.1
type PinClusterResponse_SdkV2 struct { }
func (PinClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PinClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse_SdkV2)
func (*PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse_SdkV2)
func (PinClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PinClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type PinCluster_SdkV2 ¶ added in v1.62.1
type PinCluster_SdkV2 struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` }
func (PinCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PinCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster_SdkV2)
func (*PinCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinCluster_SdkV2)
func (PinCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PinCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinCluster_SdkV2 only implements ToObjectValue() and Type().
type Policy ¶
type Policy struct { // Creation time. The timestamp (in millisecond) when this Cluster Policy // was created. CreatedAtTimestamp types.Int64 `tfsdk:"created_at_timestamp"` // Creator user name. The field won't be included in the response if the // user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // If true, policy is a default policy created and managed by Databricks. // Default policies cannot be deleted, and their policy families cannot be // changed. IsDefault types.Bool `tfsdk:"is_default"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` // Canonical unique identifier for the Cluster Policy. PolicyId types.String `tfsdk:"policy_id"` }
Describes a Cluster Policy entity.
func (Policy) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Policy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Policy) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Policy) GetLibraries ¶ added in v1.61.0
GetLibraries returns the value of the Libraries field in Policy as a slice of Library values. If the field is unknown or null, the boolean return value is false.
func (*Policy) SetLibraries ¶ added in v1.61.0
SetLibraries sets the value of the Libraries field in Policy.
func (*Policy) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Policy) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Policy) ToObjectValue ¶ added in v1.61.0
func (o Policy) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Policy only implements ToObjectValue() and Type().
type PolicyFamily ¶
type PolicyFamily struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Human-readable description of the purpose of the policy family. Description types.String `tfsdk:"description"` // Name of the policy family. Name types.String `tfsdk:"name"` // Unique identifier for the policy family. PolicyFamilyId types.String `tfsdk:"policy_family_id"` }
func (PolicyFamily) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PolicyFamily) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PolicyFamily) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PolicyFamily) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PolicyFamily) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily)
func (*PolicyFamily) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PolicyFamily) SyncEffectiveFieldsDuringRead(existingState PolicyFamily)
func (PolicyFamily) ToObjectValue ¶ added in v1.61.0
func (o PolicyFamily) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PolicyFamily only implements ToObjectValue() and Type().
type PolicyFamily_SdkV2 ¶ added in v1.62.1
type PolicyFamily_SdkV2 struct { // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Human-readable description of the purpose of the policy family. Description types.String `tfsdk:"description"` // Name of the policy family. Name types.String `tfsdk:"name"` // Unique identifier for the policy family. PolicyFamilyId types.String `tfsdk:"policy_family_id"` }
func (PolicyFamily_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PolicyFamily_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PolicyFamily_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PolicyFamily_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily_SdkV2)
func (*PolicyFamily_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringRead(existingState PolicyFamily_SdkV2)
func (PolicyFamily_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PolicyFamily_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PolicyFamily_SdkV2 only implements ToObjectValue() and Type().
type Policy_SdkV2 ¶ added in v1.62.1
type Policy_SdkV2 struct { // Creation time. The timestamp (in millisecond) when this Cluster Policy // was created. CreatedAtTimestamp types.Int64 `tfsdk:"created_at_timestamp"` // Creator user name. The field won't be included in the response if the // user has already been deleted. CreatorUserName types.String `tfsdk:"creator_user_name"` // Policy definition document expressed in [Databricks Cluster Policy // Definition Language]. // // [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html Definition types.String `tfsdk:"definition"` // Additional human-readable description of the cluster policy. Description types.String `tfsdk:"description"` // If true, policy is a default policy created and managed by Databricks. // Default policies cannot be deleted, and their policy families cannot be // changed. IsDefault types.Bool `tfsdk:"is_default"` // A list of libraries to be installed on the next cluster restart that uses // this policy. The maximum number of libraries is 500. Libraries types.List `tfsdk:"libraries"` // Max number of clusters per user that can be active using this policy. If // not present, there is no max limit. MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"` // Cluster Policy name requested by the user. This has to be unique. Length // must be between 1 and 100 characters. Name types.String `tfsdk:"name"` // Policy definition JSON document expressed in [Databricks Policy // Definition Language]. The JSON document must be passed as a string and // cannot be embedded in the requests. // // You can use this to customize the policy definition inherited from the // policy family. Policy rules specified here are merged into the inherited // policy definition. // // [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"` // ID of the policy family. The cluster policy's policy definition inherits // the policy family's policy definition. // // Cannot be used with `definition`. Use // `policy_family_definition_overrides` instead to customize the policy // definition. PolicyFamilyId types.String `tfsdk:"policy_family_id"` // Canonical unique identifier for the Cluster Policy. PolicyId types.String `tfsdk:"policy_id"` }
Describes a Cluster Policy entity.
func (Policy_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Policy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Policy_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Policy_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *Policy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in Policy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*Policy_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *Policy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
SetLibraries sets the value of the Libraries field in Policy_SdkV2.
func (*Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy_SdkV2)
func (*Policy_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringRead(existingState Policy_SdkV2)
func (Policy_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Policy_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Policy_SdkV2 only implements ToObjectValue() and Type().
type PythonPyPiLibrary ¶
type PythonPyPiLibrary struct { // The name of the pypi package to install. An optional exact version // specification is also supported. Examples: "simplejson" and // "simplejson==3.8.0". Package types.String `tfsdk:"package"` // The repository where the package can be found. If not specified, the // default pip index is used. Repo types.String `tfsdk:"repo"` }
func (PythonPyPiLibrary) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PythonPyPiLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PythonPyPiLibrary) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PythonPyPiLibrary) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary)
func (*PythonPyPiLibrary) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary)
func (PythonPyPiLibrary) ToObjectValue ¶ added in v1.61.0
func (o PythonPyPiLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonPyPiLibrary only implements ToObjectValue() and Type().
type PythonPyPiLibrary_SdkV2 ¶ added in v1.62.1
type PythonPyPiLibrary_SdkV2 struct { // The name of the pypi package to install. An optional exact version // specification is also supported. Examples: "simplejson" and // "simplejson==3.8.0". Package types.String `tfsdk:"package"` // The repository where the package can be found. If not specified, the // default pip index is used. Repo types.String `tfsdk:"repo"` }
func (PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (PythonPyPiLibrary_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary_SdkV2)
func (*PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary_SdkV2)
func (PythonPyPiLibrary_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o PythonPyPiLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonPyPiLibrary_SdkV2 only implements ToObjectValue() and Type().
type RCranLibrary ¶
type RCranLibrary struct { // The name of the CRAN package to install. Package types.String `tfsdk:"package"` // The repository where the package can be found. If not specified, the // default CRAN repo is used. Repo types.String `tfsdk:"repo"` }
func (RCranLibrary) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RCranLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RCranLibrary) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RCranLibrary) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RCranLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary)
func (*RCranLibrary) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RCranLibrary) SyncEffectiveFieldsDuringRead(existingState RCranLibrary)
func (RCranLibrary) ToObjectValue ¶ added in v1.61.0
func (o RCranLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RCranLibrary only implements ToObjectValue() and Type().
type RCranLibrary_SdkV2 ¶ added in v1.62.1
type RCranLibrary_SdkV2 struct { // The name of the CRAN package to install. Package types.String `tfsdk:"package"` // The repository where the package can be found. If not specified, the // default CRAN repo is used. Repo types.String `tfsdk:"repo"` }
func (RCranLibrary_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RCranLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RCranLibrary_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RCranLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary_SdkV2)
func (*RCranLibrary_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState RCranLibrary_SdkV2)
func (RCranLibrary_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RCranLibrary_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RCranLibrary_SdkV2 only implements ToObjectValue() and Type().
type RemoveInstanceProfile ¶
type RemoveInstanceProfile struct { // The ARN of the instance profile to remove. This field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` }
func (RemoveInstanceProfile) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RemoveInstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RemoveInstanceProfile) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RemoveInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile)
func (*RemoveInstanceProfile) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile)
func (RemoveInstanceProfile) ToObjectValue ¶ added in v1.61.0
func (o RemoveInstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveInstanceProfile only implements ToObjectValue() and Type().
type RemoveInstanceProfile_SdkV2 ¶ added in v1.62.1
type RemoveInstanceProfile_SdkV2 struct { // The ARN of the instance profile to remove. This field is required. InstanceProfileArn types.String `tfsdk:"instance_profile_arn"` }
func (RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RemoveInstanceProfile_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a RemoveInstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile_SdkV2)
func (*RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile_SdkV2)
func (RemoveInstanceProfile_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RemoveInstanceProfile_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveInstanceProfile_SdkV2 only implements ToObjectValue() and Type().
type RemoveResponse ¶
type RemoveResponse struct { }
func (RemoveResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (RemoveResponse) ToObjectValue ¶ added in v1.61.0
func (o RemoveResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveResponse only implements ToObjectValue() and Type().
type RemoveResponse_SdkV2 ¶ added in v1.62.1
type RemoveResponse_SdkV2 struct { }
func (RemoveResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (RemoveResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RemoveResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveResponse_SdkV2 only implements ToObjectValue() and Type().
type ResizeCluster ¶
type ResizeCluster struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // The cluster to be resized. ClusterId types.String `tfsdk:"cluster_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` }
func (ResizeCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResizeCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResizeCluster) GetAutoscale ¶ added in v1.61.0
func (o *ResizeCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in ResizeCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (ResizeCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResizeCluster) SetAutoscale ¶ added in v1.61.0
func (o *ResizeCluster) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in ResizeCluster.
func (*ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster)
func (*ResizeCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResizeCluster) SyncEffectiveFieldsDuringRead(existingState ResizeCluster)
func (ResizeCluster) ToObjectValue ¶ added in v1.61.0
func (o ResizeCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeCluster only implements ToObjectValue() and Type().
type ResizeClusterResponse ¶
type ResizeClusterResponse struct { }
func (ResizeClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResizeClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResizeClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResizeClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse)
func (*ResizeClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse)
func (ResizeClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o ResizeClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeClusterResponse only implements ToObjectValue() and Type().
type ResizeClusterResponse_SdkV2 ¶ added in v1.62.1
type ResizeClusterResponse_SdkV2 struct { }
func (ResizeClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResizeClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ResizeClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a ResizeClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse_SdkV2)
func (*ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse_SdkV2)
func (ResizeClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResizeClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type ResizeCluster_SdkV2 ¶ added in v1.62.1
type ResizeCluster_SdkV2 struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // The cluster to be resized. ClusterId types.String `tfsdk:"cluster_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` }
func (ResizeCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c ResizeCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*ResizeCluster_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *ResizeCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in ResizeCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (ResizeCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResizeCluster_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *ResizeCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in ResizeCluster_SdkV2.
func (*ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster_SdkV2)
func (*ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeCluster_SdkV2)
func (ResizeCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o ResizeCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeCluster_SdkV2 only implements ToObjectValue() and Type().
type RestartCluster ¶
type RestartCluster struct { // The cluster to be started. ClusterId types.String `tfsdk:"cluster_id"` // <needs content added> RestartUser types.String `tfsdk:"restart_user"` }
func (RestartCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RestartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RestartCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RestartCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster)
func (*RestartCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestartCluster) SyncEffectiveFieldsDuringRead(existingState RestartCluster)
func (RestartCluster) ToObjectValue ¶ added in v1.61.0
func (o RestartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartCluster only implements ToObjectValue() and Type().
type RestartClusterResponse ¶
type RestartClusterResponse struct { }
func (RestartClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RestartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RestartClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RestartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse)
func (*RestartClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse)
func (RestartClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o RestartClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartClusterResponse only implements ToObjectValue() and Type().
type RestartClusterResponse_SdkV2 ¶ added in v1.62.1
type RestartClusterResponse_SdkV2 struct { }
func (RestartClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RestartClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RestartClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a RestartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse_SdkV2)
func (*RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse_SdkV2)
func (RestartClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RestartClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type RestartCluster_SdkV2 ¶ added in v1.62.1
type RestartCluster_SdkV2 struct { // The cluster to be started. ClusterId types.String `tfsdk:"cluster_id"` // <needs content added> RestartUser types.String `tfsdk:"restart_user"` }
func (RestartCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c RestartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RestartCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RestartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster_SdkV2)
func (*RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartCluster_SdkV2)
func (RestartCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o RestartCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartCluster_SdkV2 only implements ToObjectValue() and Type().
type Results ¶
type Results struct { // The cause of the error Cause types.String `tfsdk:"cause"` Data types.Object `tfsdk:"data"` // The image filename FileName types.String `tfsdk:"fileName"` FileNames types.List `tfsdk:"fileNames"` // true if a JSON schema is returned instead of a string representation of // the Hive type. IsJsonSchema types.Bool `tfsdk:"isJsonSchema"` // internal field used by SDK Pos types.Int64 `tfsdk:"pos"` ResultType types.String `tfsdk:"resultType"` // The table schema Schema types.List `tfsdk:"schema"` // The summary of the error Summary types.String `tfsdk:"summary"` // true if partial results are returned. Truncated types.Bool `tfsdk:"truncated"` }
func (Results) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Results) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Results) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Results) GetFileNames ¶ added in v1.61.0
GetFileNames returns the value of the FileNames field in Results as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Results) GetSchema ¶ added in v1.61.0
GetSchema returns the value of the Schema field in Results as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*Results) SetFileNames ¶ added in v1.61.0
SetFileNames sets the value of the FileNames field in Results.
func (*Results) SetSchema ¶ added in v1.61.0
SetSchema sets the value of the Schema field in Results.
func (*Results) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Results) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Results) ToObjectValue ¶ added in v1.61.0
func (o Results) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Results only implements ToObjectValue() and Type().
type Results_SdkV2 ¶ added in v1.62.1
type Results_SdkV2 struct { // The cause of the error Cause types.String `tfsdk:"cause"` Data types.Object `tfsdk:"data"` // The image filename FileName types.String `tfsdk:"fileName"` FileNames types.List `tfsdk:"fileNames"` // true if a JSON schema is returned instead of a string representation of // the Hive type. IsJsonSchema types.Bool `tfsdk:"isJsonSchema"` // internal field used by SDK Pos types.Int64 `tfsdk:"pos"` ResultType types.String `tfsdk:"resultType"` // The table schema Schema types.List `tfsdk:"schema"` // The summary of the error Summary types.String `tfsdk:"summary"` // true if partial results are returned. Truncated types.Bool `tfsdk:"truncated"` }
func (Results_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c Results_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Results_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Results_SdkV2) GetFileNames ¶ added in v1.62.1
GetFileNames returns the value of the FileNames field in Results_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Results_SdkV2) GetSchema ¶ added in v1.62.1
GetSchema returns the value of the Schema field in Results_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*Results_SdkV2) SetFileNames ¶ added in v1.62.1
func (o *Results_SdkV2) SetFileNames(ctx context.Context, v []types.String)
SetFileNames sets the value of the FileNames field in Results_SdkV2.
func (*Results_SdkV2) SetSchema ¶ added in v1.62.1
func (o *Results_SdkV2) SetSchema(ctx context.Context, v []types.Object)
SetSchema sets the value of the Schema field in Results_SdkV2.
func (*Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results_SdkV2)
func (*Results_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *Results_SdkV2) SyncEffectiveFieldsDuringRead(existingState Results_SdkV2)
func (Results_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o Results_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Results_SdkV2 only implements ToObjectValue() and Type().
type S3StorageInfo ¶
type S3StorageInfo struct { // (Optional) Set canned access control list for the logs, e.g. // `bucket-owner-full-control`. If `canned_cal` is set, please make sure the // cluster iam role has `s3:PutObjectAcl` permission on the destination // bucket and prefix. The full list of possible canned acl can be found at // http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl. // Please also note that by default only the object owner gets full // controls. If you are using cross account role for writing data, you may // want to set `bucket-owner-full-control` to make bucket owner able to read // the logs. CannedAcl types.String `tfsdk:"canned_acl"` // S3 destination, e.g. `s3://my-bucket/some-prefix` Note that logs will be // delivered using cluster iam role, please make sure you set cluster iam // role and the role has write access to the destination. Please also note // that you cannot use AWS keys to deliver logs. Destination types.String `tfsdk:"destination"` // (Optional) Flag to enable server side encryption, `false` by default. EnableEncryption types.Bool `tfsdk:"enable_encryption"` // (Optional) The encryption type, it could be `sse-s3` or `sse-kms`. It // will be used only when encryption is enabled and the default type is // `sse-s3`. EncryptionType types.String `tfsdk:"encryption_type"` // S3 endpoint, e.g. `https://s3-us-west-2.amazonaws.com`. Either region or // endpoint needs to be set. If both are set, endpoint will be used. Endpoint types.String `tfsdk:"endpoint"` // (Optional) Kms key which will be used if encryption is enabled and // encryption type is set to `sse-kms`. KmsKey types.String `tfsdk:"kms_key"` // S3 region, e.g. `us-west-2`. Either region or endpoint needs to be set. // If both are set, endpoint will be used. Region types.String `tfsdk:"region"` }
func (S3StorageInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c S3StorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (S3StorageInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*S3StorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *S3StorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo)
func (*S3StorageInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *S3StorageInfo) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo)
func (S3StorageInfo) ToObjectValue ¶ added in v1.61.0
func (o S3StorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, S3StorageInfo only implements ToObjectValue() and Type().
type S3StorageInfo_SdkV2 ¶ added in v1.62.1
type S3StorageInfo_SdkV2 struct { // (Optional) Set canned access control list for the logs, e.g. // `bucket-owner-full-control`. If `canned_cal` is set, please make sure the // cluster iam role has `s3:PutObjectAcl` permission on the destination // bucket and prefix. The full list of possible canned acl can be found at // http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl. // Please also note that by default only the object owner gets full // controls. If you are using cross account role for writing data, you may // want to set `bucket-owner-full-control` to make bucket owner able to read // the logs. CannedAcl types.String `tfsdk:"canned_acl"` // S3 destination, e.g. `s3://my-bucket/some-prefix` Note that logs will be // delivered using cluster iam role, please make sure you set cluster iam // role and the role has write access to the destination. Please also note // that you cannot use AWS keys to deliver logs. Destination types.String `tfsdk:"destination"` // (Optional) Flag to enable server side encryption, `false` by default. EnableEncryption types.Bool `tfsdk:"enable_encryption"` // (Optional) The encryption type, it could be `sse-s3` or `sse-kms`. It // will be used only when encryption is enabled and the default type is // `sse-s3`. EncryptionType types.String `tfsdk:"encryption_type"` // S3 endpoint, e.g. `https://s3-us-west-2.amazonaws.com`. Either region or // endpoint needs to be set. If both are set, endpoint will be used. Endpoint types.String `tfsdk:"endpoint"` // (Optional) Kms key which will be used if encryption is enabled and // encryption type is set to `sse-kms`. KmsKey types.String `tfsdk:"kms_key"` // S3 region, e.g. `us-west-2`. Either region or endpoint needs to be set. // If both are set, endpoint will be used. Region types.String `tfsdk:"region"` }
func (S3StorageInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c S3StorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (S3StorageInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo_SdkV2)
func (*S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo_SdkV2)
func (S3StorageInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o S3StorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, S3StorageInfo_SdkV2 only implements ToObjectValue() and Type().
type SparkNode ¶
type SparkNode struct { // The private IP address of the host instance. HostPrivateIp types.String `tfsdk:"host_private_ip"` // Globally unique identifier for the host instance from the cloud provider. InstanceId types.String `tfsdk:"instance_id"` // Attributes specific to AWS for a Spark node. NodeAwsAttributes types.Object `tfsdk:"node_aws_attributes"` // Globally unique identifier for this node. NodeId types.String `tfsdk:"node_id"` // Private IP address (typically a 10.x.x.x address) of the Spark node. Note // that this is different from the private IP address of the host instance. PrivateIp types.String `tfsdk:"private_ip"` // Public DNS address of this node. This address can be used to access the // Spark JDBC server on the driver node. To communicate with the JDBC // server, traffic must be manually authorized by adding security group // rules to the "worker-unmanaged" security group via the AWS console. // // Actually it's the public DNS address of the host instance. PublicDns types.String `tfsdk:"public_dns"` // The timestamp (in millisecond) when the Spark node is launched. // // The start_timestamp is set right before the container is being launched. // The timestamp when the container is placed on the ResourceManager, before // its launch and setup by the NodeDaemon. This timestamp is the same as the // creation timestamp in the database. StartTimestamp types.Int64 `tfsdk:"start_timestamp"` }
func (SparkNode) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkNode) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkNode) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkNode) GetNodeAwsAttributes ¶ added in v1.61.0
func (o *SparkNode) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes, bool)
GetNodeAwsAttributes returns the value of the NodeAwsAttributes field in SparkNode as a SparkNodeAwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*SparkNode) SetNodeAwsAttributes ¶ added in v1.61.0
func (o *SparkNode) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes)
SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode.
func (*SparkNode) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*SparkNode) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (SparkNode) ToObjectValue ¶ added in v1.61.0
func (o SparkNode) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNode only implements ToObjectValue() and Type().
type SparkNodeAwsAttributes ¶
type SparkNodeAwsAttributes struct { // Whether this node is on an Amazon spot instance. IsSpot types.Bool `tfsdk:"is_spot"` }
func (SparkNodeAwsAttributes) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkNodeAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkNodeAwsAttributes) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkNodeAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes)
func (*SparkNodeAwsAttributes) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes)
func (SparkNodeAwsAttributes) ToObjectValue ¶ added in v1.61.0
func (o SparkNodeAwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNodeAwsAttributes only implements ToObjectValue() and Type().
type SparkNodeAwsAttributes_SdkV2 ¶ added in v1.62.1
type SparkNodeAwsAttributes_SdkV2 struct { // Whether this node is on an Amazon spot instance. IsSpot types.Bool `tfsdk:"is_spot"` }
func (SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes_SdkV2)
func (*SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes_SdkV2)
func (SparkNodeAwsAttributes_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkNodeAwsAttributes_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNodeAwsAttributes_SdkV2 only implements ToObjectValue() and Type().
type SparkNode_SdkV2 ¶ added in v1.62.1
type SparkNode_SdkV2 struct { // The private IP address of the host instance. HostPrivateIp types.String `tfsdk:"host_private_ip"` // Globally unique identifier for the host instance from the cloud provider. InstanceId types.String `tfsdk:"instance_id"` // Attributes specific to AWS for a Spark node. NodeAwsAttributes types.List `tfsdk:"node_aws_attributes"` // Globally unique identifier for this node. NodeId types.String `tfsdk:"node_id"` // Private IP address (typically a 10.x.x.x address) of the Spark node. Note // that this is different from the private IP address of the host instance. PrivateIp types.String `tfsdk:"private_ip"` // Public DNS address of this node. This address can be used to access the // Spark JDBC server on the driver node. To communicate with the JDBC // server, traffic must be manually authorized by adding security group // rules to the "worker-unmanaged" security group via the AWS console. // // Actually it's the public DNS address of the host instance. PublicDns types.String `tfsdk:"public_dns"` // The timestamp (in millisecond) when the Spark node is launched. // // The start_timestamp is set right before the container is being launched. // The timestamp when the container is placed on the ResourceManager, before // its launch and setup by the NodeDaemon. This timestamp is the same as the // creation timestamp in the database. StartTimestamp types.Int64 `tfsdk:"start_timestamp"` }
func (SparkNode_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkNode_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkNode_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkNode_SdkV2) GetNodeAwsAttributes ¶ added in v1.62.1
func (o *SparkNode_SdkV2) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes_SdkV2, bool)
GetNodeAwsAttributes returns the value of the NodeAwsAttributes field in SparkNode_SdkV2 as a SparkNodeAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*SparkNode_SdkV2) SetNodeAwsAttributes ¶ added in v1.62.1
func (o *SparkNode_SdkV2) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes_SdkV2)
SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode_SdkV2.
func (*SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNode_SdkV2)
func (*SparkNode_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNode_SdkV2)
func (SparkNode_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkNode_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNode_SdkV2 only implements ToObjectValue() and Type().
type SparkVersion ¶
type SparkVersion struct { // Spark version key, for example "2.1.x-scala2.11". This is the value which // should be provided as the "spark_version" when creating a new cluster. // Note that the exact Spark version may change over time for a "wildcard" // version (i.e., "2.1.x-scala2.11" is a "wildcard" version) with minor bug // fixes. Key types.String `tfsdk:"key"` // A descriptive name for this Spark version, for example "Spark 2.1". Name types.String `tfsdk:"name"` }
func (SparkVersion) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkVersion) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkVersion) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkVersion) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SparkVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion)
func (*SparkVersion) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SparkVersion) SyncEffectiveFieldsDuringRead(existingState SparkVersion)
func (SparkVersion) ToObjectValue ¶ added in v1.61.0
func (o SparkVersion) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersion only implements ToObjectValue() and Type().
type SparkVersion_SdkV2 ¶ added in v1.62.1
type SparkVersion_SdkV2 struct { // Spark version key, for example "2.1.x-scala2.11". This is the value which // should be provided as the "spark_version" when creating a new cluster. // Note that the exact Spark version may change over time for a "wildcard" // version (i.e., "2.1.x-scala2.11" is a "wildcard" version) with minor bug // fixes. Key types.String `tfsdk:"key"` // A descriptive name for this Spark version, for example "Spark 2.1". Name types.String `tfsdk:"name"` }
func (SparkVersion_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c SparkVersion_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (SparkVersion_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SparkVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion_SdkV2)
func (*SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkVersion_SdkV2)
func (SparkVersion_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o SparkVersion_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersion_SdkV2 only implements ToObjectValue() and Type().
type StartCluster ¶
type StartCluster struct { // The cluster to be started. ClusterId types.String `tfsdk:"cluster_id"` }
func (StartCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c StartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*StartCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *StartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster)
func (*StartCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *StartCluster) SyncEffectiveFieldsDuringRead(existingState StartCluster)
func (StartCluster) ToObjectValue ¶ added in v1.61.0
func (o StartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartCluster only implements ToObjectValue() and Type().
type StartClusterResponse ¶
type StartClusterResponse struct { }
func (StartClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c StartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*StartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *StartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse)
func (*StartClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *StartClusterResponse) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse)
func (StartClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o StartClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartClusterResponse only implements ToObjectValue() and Type().
type StartClusterResponse_SdkV2 ¶ added in v1.62.1
type StartClusterResponse_SdkV2 struct { }
func (StartClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c StartClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a StartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse_SdkV2)
func (*StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse_SdkV2)
func (StartClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o StartClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type StartCluster_SdkV2 ¶ added in v1.62.1
type StartCluster_SdkV2 struct { // The cluster to be started. ClusterId types.String `tfsdk:"cluster_id"` }
func (StartCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c StartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*StartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster_SdkV2)
func (*StartCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartCluster_SdkV2)
func (StartCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o StartCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartCluster_SdkV2 only implements ToObjectValue() and Type().
type TerminationReason ¶
type TerminationReason struct { // status code indicating why the cluster was terminated Code types.String `tfsdk:"code"` // list of parameters that provide additional information about why the // cluster was terminated Parameters types.Map `tfsdk:"parameters"` // type of the termination Type_ types.String `tfsdk:"type"` }
func (TerminationReason) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TerminationReason) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TerminationReason) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TerminationReason) GetParameters ¶ added in v1.61.0
GetParameters returns the value of the Parameters field in TerminationReason as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*TerminationReason) SetParameters ¶ added in v1.61.0
SetParameters sets the value of the Parameters field in TerminationReason.
func (*TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason)
func (*TerminationReason) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason)
func (TerminationReason) ToObjectValue ¶ added in v1.61.0
func (o TerminationReason) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationReason only implements ToObjectValue() and Type().
type TerminationReason_SdkV2 ¶ added in v1.62.1
type TerminationReason_SdkV2 struct { // status code indicating why the cluster was terminated Code types.String `tfsdk:"code"` // list of parameters that provide additional information about why the // cluster was terminated Parameters types.Map `tfsdk:"parameters"` // type of the termination Type_ types.String `tfsdk:"type"` }
func (TerminationReason_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c TerminationReason_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (TerminationReason_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TerminationReason_SdkV2) GetParameters ¶ added in v1.62.1
func (o *TerminationReason_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)
GetParameters returns the value of the Parameters field in TerminationReason_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*TerminationReason_SdkV2) SetParameters ¶ added in v1.62.1
SetParameters sets the value of the Parameters field in TerminationReason_SdkV2.
func (*TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason_SdkV2)
func (*TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationReason_SdkV2)
func (TerminationReason_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o TerminationReason_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationReason_SdkV2 only implements ToObjectValue() and Type().
type UninstallLibraries ¶
type UninstallLibraries struct { // Unique identifier for the cluster on which to uninstall these libraries. ClusterId types.String `tfsdk:"cluster_id"` // The libraries to uninstall. Libraries types.List `tfsdk:"libraries"` }
func (UninstallLibraries) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UninstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UninstallLibraries) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UninstallLibraries) GetLibraries ¶ added in v1.61.0
func (o *UninstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)
GetLibraries returns the value of the Libraries field in UninstallLibraries as a slice of Library values. If the field is unknown or null, the boolean return value is false.
func (*UninstallLibraries) SetLibraries ¶ added in v1.61.0
func (o *UninstallLibraries) SetLibraries(ctx context.Context, v []Library)
SetLibraries sets the value of the Libraries field in UninstallLibraries.
func (*UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries)
func (*UninstallLibraries) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UninstallLibraries) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries)
func (UninstallLibraries) ToObjectValue ¶ added in v1.61.0
func (o UninstallLibraries) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibraries only implements ToObjectValue() and Type().
type UninstallLibrariesResponse ¶
type UninstallLibrariesResponse struct { }
func (UninstallLibrariesResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UninstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UninstallLibrariesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a UninstallLibrariesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UninstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse)
func (*UninstallLibrariesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse)
func (UninstallLibrariesResponse) ToObjectValue ¶ added in v1.61.0
func (o UninstallLibrariesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibrariesResponse only implements ToObjectValue() and Type().
type UninstallLibrariesResponse_SdkV2 ¶ added in v1.62.1
type UninstallLibrariesResponse_SdkV2 struct { }
func (UninstallLibrariesResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UninstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UninstallLibrariesResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a UninstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse_SdkV2)
func (*UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse_SdkV2)
func (UninstallLibrariesResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UninstallLibrariesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibrariesResponse_SdkV2 only implements ToObjectValue() and Type().
type UninstallLibraries_SdkV2 ¶ added in v1.62.1
type UninstallLibraries_SdkV2 struct { // Unique identifier for the cluster on which to uninstall these libraries. ClusterId types.String `tfsdk:"cluster_id"` // The libraries to uninstall. Libraries types.List `tfsdk:"libraries"` }
func (UninstallLibraries_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UninstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UninstallLibraries_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UninstallLibraries_SdkV2) GetLibraries ¶ added in v1.62.1
func (o *UninstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)
GetLibraries returns the value of the Libraries field in UninstallLibraries_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*UninstallLibraries_SdkV2) SetLibraries ¶ added in v1.62.1
func (o *UninstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)
SetLibraries sets the value of the Libraries field in UninstallLibraries_SdkV2.
func (*UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries_SdkV2)
func (*UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries_SdkV2)
func (UninstallLibraries_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UninstallLibraries_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibraries_SdkV2 only implements ToObjectValue() and Type().
type UnpinCluster ¶
func (UnpinCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UnpinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UnpinCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UnpinCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UnpinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster)
func (*UnpinCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UnpinCluster) SyncEffectiveFieldsDuringRead(existingState UnpinCluster)
func (UnpinCluster) ToObjectValue ¶ added in v1.61.0
func (o UnpinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinCluster only implements ToObjectValue() and Type().
type UnpinClusterResponse ¶
type UnpinClusterResponse struct { }
func (UnpinClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UnpinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UnpinClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UnpinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse)
func (*UnpinClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse)
func (UnpinClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o UnpinClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinClusterResponse only implements ToObjectValue() and Type().
type UnpinClusterResponse_SdkV2 ¶ added in v1.62.1
type UnpinClusterResponse_SdkV2 struct { }
func (UnpinClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UnpinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UnpinClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a UnpinClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse_SdkV2)
func (*UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse_SdkV2)
func (UnpinClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UnpinClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type UnpinCluster_SdkV2 ¶ added in v1.62.1
type UnpinCluster_SdkV2 struct { // <needs content added> ClusterId types.String `tfsdk:"cluster_id"` }
func (UnpinCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UnpinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UnpinCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UnpinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster_SdkV2)
func (*UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinCluster_SdkV2)
func (UnpinCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UnpinCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinCluster_SdkV2 only implements ToObjectValue() and Type().
type UpdateCluster ¶
type UpdateCluster struct { // The cluster to be updated. Cluster types.Object `tfsdk:"cluster"` // ID of the cluster. ClusterId types.String `tfsdk:"cluster_id"` // Specifies which fields of the cluster will be updated. This is required // in the POST request. The update mask should be supplied as a single // string. To specify multiple fields, separate them with commas (no // spaces). To delete a field from a cluster configuration, add it to the // `update_mask` string but omit it from the `cluster` object. UpdateMask types.String `tfsdk:"update_mask"` }
func (UpdateCluster) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*UpdateCluster) GetCluster ¶ added in v1.61.0
func (o *UpdateCluster) GetCluster(ctx context.Context) (UpdateClusterResource, bool)
GetCluster returns the value of the Cluster field in UpdateCluster as a UpdateClusterResource value. If the field is unknown or null, the boolean return value is false.
func (UpdateCluster) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateCluster) SetCluster ¶ added in v1.61.0
func (o *UpdateCluster) SetCluster(ctx context.Context, v UpdateClusterResource)
SetCluster sets the value of the Cluster field in UpdateCluster.
func (*UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster)
func (*UpdateCluster) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateCluster) SyncEffectiveFieldsDuringRead(existingState UpdateCluster)
func (UpdateCluster) ToObjectValue ¶ added in v1.61.0
func (o UpdateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateCluster only implements ToObjectValue() and Type().
type UpdateClusterResource ¶
type UpdateClusterResource struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.Object `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.Object `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.Object `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.Object `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.Object `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.Object `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.Object `tfsdk:"workload_type"` }
func (UpdateClusterResource) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateClusterResource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*UpdateClusterResource) GetAutoscale ¶ added in v1.61.0
func (o *UpdateClusterResource) GetAutoscale(ctx context.Context) (AutoScale, bool)
GetAutoscale returns the value of the Autoscale field in UpdateClusterResource as a AutoScale value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetAwsAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)
GetAwsAttributes returns the value of the AwsAttributes field in UpdateClusterResource as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetAzureAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)
GetAzureAttributes returns the value of the AzureAttributes field in UpdateClusterResource as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetClusterLogConf ¶ added in v1.61.0
func (o *UpdateClusterResource) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in UpdateClusterResource as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.
func (UpdateClusterResource) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateClusterResource) GetCustomTags ¶ added in v1.61.0
GetCustomTags returns the value of the CustomTags field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetDockerImage ¶ added in v1.61.0
func (o *UpdateClusterResource) GetDockerImage(ctx context.Context) (DockerImage, bool)
GetDockerImage returns the value of the DockerImage field in UpdateClusterResource as a DockerImage value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetGcpAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)
GetGcpAttributes returns the value of the GcpAttributes field in UpdateClusterResource as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetInitScripts ¶ added in v1.61.0
func (o *UpdateClusterResource) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)
GetInitScripts returns the value of the InitScripts field in UpdateClusterResource as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetSparkConf ¶ added in v1.61.0
GetSparkConf returns the value of the SparkConf field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetSparkEnvVars ¶ added in v1.61.0
func (o *UpdateClusterResource) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
GetSparkEnvVars returns the value of the SparkEnvVars field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetSshPublicKeys ¶ added in v1.61.0
GetSshPublicKeys returns the value of the SshPublicKeys field in UpdateClusterResource as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) GetWorkloadType ¶ added in v1.61.0
func (o *UpdateClusterResource) GetWorkloadType(ctx context.Context) (WorkloadType, bool)
GetWorkloadType returns the value of the WorkloadType field in UpdateClusterResource as a WorkloadType value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource) SetAutoscale ¶ added in v1.61.0
func (o *UpdateClusterResource) SetAutoscale(ctx context.Context, v AutoScale)
SetAutoscale sets the value of the Autoscale field in UpdateClusterResource.
func (*UpdateClusterResource) SetAwsAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) SetAwsAttributes(ctx context.Context, v AwsAttributes)
SetAwsAttributes sets the value of the AwsAttributes field in UpdateClusterResource.
func (*UpdateClusterResource) SetAzureAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) SetAzureAttributes(ctx context.Context, v AzureAttributes)
SetAzureAttributes sets the value of the AzureAttributes field in UpdateClusterResource.
func (*UpdateClusterResource) SetClusterLogConf ¶ added in v1.61.0
func (o *UpdateClusterResource) SetClusterLogConf(ctx context.Context, v ClusterLogConf)
SetClusterLogConf sets the value of the ClusterLogConf field in UpdateClusterResource.
func (*UpdateClusterResource) SetCustomTags ¶ added in v1.61.0
SetCustomTags sets the value of the CustomTags field in UpdateClusterResource.
func (*UpdateClusterResource) SetDockerImage ¶ added in v1.61.0
func (o *UpdateClusterResource) SetDockerImage(ctx context.Context, v DockerImage)
SetDockerImage sets the value of the DockerImage field in UpdateClusterResource.
func (*UpdateClusterResource) SetGcpAttributes ¶ added in v1.61.0
func (o *UpdateClusterResource) SetGcpAttributes(ctx context.Context, v GcpAttributes)
SetGcpAttributes sets the value of the GcpAttributes field in UpdateClusterResource.
func (*UpdateClusterResource) SetInitScripts ¶ added in v1.61.0
func (o *UpdateClusterResource) SetInitScripts(ctx context.Context, v []InitScriptInfo)
SetInitScripts sets the value of the InitScripts field in UpdateClusterResource.
func (*UpdateClusterResource) SetSparkConf ¶ added in v1.61.0
SetSparkConf sets the value of the SparkConf field in UpdateClusterResource.
func (*UpdateClusterResource) SetSparkEnvVars ¶ added in v1.61.0
SetSparkEnvVars sets the value of the SparkEnvVars field in UpdateClusterResource.
func (*UpdateClusterResource) SetSshPublicKeys ¶ added in v1.61.0
func (o *UpdateClusterResource) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in UpdateClusterResource.
func (*UpdateClusterResource) SetWorkloadType ¶ added in v1.61.0
func (o *UpdateClusterResource) SetWorkloadType(ctx context.Context, v WorkloadType)
SetWorkloadType sets the value of the WorkloadType field in UpdateClusterResource.
func (*UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource)
func (*UpdateClusterResource) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource)
func (UpdateClusterResource) ToObjectValue ¶ added in v1.61.0
func (o UpdateClusterResource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResource only implements ToObjectValue() and Type().
type UpdateClusterResource_SdkV2 ¶ added in v1.62.1
type UpdateClusterResource_SdkV2 struct { // Parameters needed in order to automatically scale clusters up and down // based on load. Note: autoscaling works best with DB runtime versions 3.0 // or later. Autoscale types.List `tfsdk:"autoscale"` // Automatically terminates the cluster after it is inactive for this time // in minutes. If not set, this cluster will not be automatically // terminated. If specified, the threshold must be between 10 and 10000 // minutes. Users can also set this value to 0 to explicitly disable // automatic termination. AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"` // Attributes related to clusters running on Amazon Web Services. If not // specified at cluster creation, a set of default values will be used. AwsAttributes types.List `tfsdk:"aws_attributes"` // Attributes related to clusters running on Microsoft Azure. If not // specified at cluster creation, a set of default values will be used. AzureAttributes types.List `tfsdk:"azure_attributes"` // The configuration for delivering spark logs to a long-term storage // destination. Two kinds of destinations (dbfs and s3) are supported. Only // one destination can be specified for one cluster. If the conf is given, // the logs will be delivered to the destination every `5 mins`. The // destination of driver logs is `$destination/$clusterId/driver`, while the // destination of executor logs is `$destination/$clusterId/executor`. ClusterLogConf types.List `tfsdk:"cluster_log_conf"` // Cluster name requested by the user. This doesn't have to be unique. If // not specified at creation, the cluster name will be an empty string. ClusterName types.String `tfsdk:"cluster_name"` // Additional tags for cluster resources. Databricks will tag all cluster // resources (e.g., AWS instances and EBS volumes) with these tags in // addition to `default_tags`. Notes: // // - Currently, Databricks allows at most 45 custom tags // // - Clusters can only reuse cloud resources if the resources' tags are a // subset of the cluster tags CustomTags types.Map `tfsdk:"custom_tags"` // Data security mode decides what data governance model to use when // accessing data from a cluster. // // The following modes can only be used with `kind`. * // `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate // access mode depending on your compute configuration. * // `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * // `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. // // The following modes can be used regardless of `kind`. * `NONE`: No // security isolation for multiple users sharing the cluster. Data // governance features are not available in this mode. * `SINGLE_USER`: A // secure cluster that can only be exclusively used by a single user // specified in `single_user_name`. Most programming languages, cluster // features and data governance features are available in this mode. * // `USER_ISOLATION`: A secure cluster that can be shared by multiple users. // Cluster users are fully isolated so that they cannot see each other's // data and credentials. Most data governance features are supported in this // mode. But programming languages and cluster features might be limited. // // The following modes are deprecated starting with Databricks Runtime 15.0 // and will be removed for future Databricks Runtime versions: // // * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table // ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating // from legacy Passthrough on high concurrency clusters. * // `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy // Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This // mode provides a way that doesn’t have UC nor passthrough enabled. DataSecurityMode types.String `tfsdk:"data_security_mode"` DockerImage types.List `tfsdk:"docker_image"` // The optional ID of the instance pool for the driver of the cluster // belongs. The pool cluster uses the instance pool with id // (instance_pool_id) if the driver pool is not assigned. DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"` // The node type of the Spark driver. Note that this field is optional; if // unset, the driver node type will be set as the same value as // `node_type_id` defined above. DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"` // Autoscaling Local Storage: when enabled, this cluster will dynamically // acquire additional disk space when its Spark workers are running low on // disk space. This feature requires specific AWS permissions to function // correctly - refer to the User Guide for more details. EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"` // Whether to enable LUKS on cluster VMs' local disks EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"` // Attributes related to clusters running on Google Cloud Platform. If not // specified at cluster creation, a set of default values will be used. GcpAttributes types.List `tfsdk:"gcp_attributes"` // The configuration for storing init scripts. Any number of destinations // can be specified. The scripts are executed sequentially in the order // provided. If `cluster_log_conf` is specified, init script logs are sent // to `<destination>/<cluster-ID>/init_scripts`. InitScripts types.List `tfsdk:"init_scripts"` // The optional ID of the instance pool to which the cluster belongs. InstancePoolId types.String `tfsdk:"instance_pool_id"` // This field can only be used with `kind`. // // When set to true, Databricks will automatically set single node related // `custom_tags`, `spark_conf`, and `num_workers` IsSingleNode types.Bool `tfsdk:"is_single_node"` // The kind of compute described by this compute specification. // // Depending on `kind`, different validations and default values will be // applied. // // The first usage of this value is for the simple cluster form where it // sets `kind = CLASSIC_PREVIEW`. Kind types.String `tfsdk:"kind"` // This field encodes, through a single value, the resources available to // each of the Spark nodes in this cluster. For example, the Spark nodes can // be provisioned and optimized for memory or compute intensive workloads. A // list of available node types can be retrieved by using the // :method:clusters/listNodeTypes API call. NodeTypeId types.String `tfsdk:"node_type_id"` // Number of worker nodes that this cluster should have. A cluster has one // Spark Driver and `num_workers` Executors for a total of `num_workers` + 1 // Spark nodes. // // Note: When reading the properties of a cluster, this field reflects the // desired number of workers rather than the actual current number of // workers. For instance, if a cluster is resized from 5 to 10 workers, this // field will immediately be updated to reflect the target size of 10 // workers, whereas the workers listed in `spark_info` will gradually // increase from 5 to 10 as the new nodes are provisioned. NumWorkers types.Int64 `tfsdk:"num_workers"` // The ID of the cluster policy used to create the cluster if applicable. PolicyId types.String `tfsdk:"policy_id"` // Determines the cluster's runtime engine, either standard or Photon. // // This field is not compatible with legacy `spark_version` values that // contain `-photon-`. Remove `-photon-` from the `spark_version` and set // `runtime_engine` to `PHOTON`. // // If left unspecified, the runtime engine defaults to standard unless the // spark_version contains -photon-, in which case Photon will be used. RuntimeEngine types.String `tfsdk:"runtime_engine"` // Single user name if data_security_mode is `SINGLE_USER` SingleUserName types.String `tfsdk:"single_user_name"` // An object containing a set of optional, user-specified Spark // configuration key-value pairs. Users can also pass in a string of extra // JVM options to the driver and the executors via // `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` // respectively. SparkConf types.Map `tfsdk:"spark_conf"` // An object containing a set of optional, user-specified environment // variable key-value pairs. Please note that key-value pair of the form // (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the // driver and workers. // // In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we // recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the // example below. This ensures that all default databricks managed // environmental variables are included as well. // // Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m", // "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS": // "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}` SparkEnvVars types.Map `tfsdk:"spark_env_vars"` // The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of // available Spark versions can be retrieved by using the // :method:clusters/sparkVersions API call. SparkVersion types.String `tfsdk:"spark_version"` // SSH public key contents that will be added to each Spark node in this // cluster. The corresponding private keys can be used to login with the // user name `ubuntu` on port `2200`. Up to 10 keys can be specified. SshPublicKeys types.List `tfsdk:"ssh_public_keys"` // This field can only be used with `kind`. // // `effective_spark_version` is determined by `spark_version` (DBR release), // this field `use_ml_runtime`, and whether `node_type_id` is gpu node or // not. UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"` WorkloadType types.List `tfsdk:"workload_type"` }
func (UpdateClusterResource_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateClusterResource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*UpdateClusterResource_SdkV2) GetAutoscale ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)
GetAutoscale returns the value of the Autoscale field in UpdateClusterResource_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetAwsAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)
GetAwsAttributes returns the value of the AwsAttributes field in UpdateClusterResource_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetAzureAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)
GetAzureAttributes returns the value of the AzureAttributes field in UpdateClusterResource_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetClusterLogConf ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)
GetClusterLogConf returns the value of the ClusterLogConf field in UpdateClusterResource_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (UpdateClusterResource_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a UpdateClusterResource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateClusterResource_SdkV2) GetCustomTags ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)
GetCustomTags returns the value of the CustomTags field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetDockerImage ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)
GetDockerImage returns the value of the DockerImage field in UpdateClusterResource_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetGcpAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)
GetGcpAttributes returns the value of the GcpAttributes field in UpdateClusterResource_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetInitScripts ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)
GetInitScripts returns the value of the InitScripts field in UpdateClusterResource_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetSparkConf ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)
GetSparkConf returns the value of the SparkConf field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetSparkEnvVars ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)
GetSparkEnvVars returns the value of the SparkEnvVars field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetSshPublicKeys ¶ added in v1.62.1
GetSshPublicKeys returns the value of the SshPublicKeys field in UpdateClusterResource_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) GetWorkloadType ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)
GetWorkloadType returns the value of the WorkloadType field in UpdateClusterResource_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateClusterResource_SdkV2) SetAutoscale ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)
SetAutoscale sets the value of the Autoscale field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetAwsAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)
SetAwsAttributes sets the value of the AwsAttributes field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetAzureAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)
SetAzureAttributes sets the value of the AzureAttributes field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetClusterLogConf ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)
SetClusterLogConf sets the value of the ClusterLogConf field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetCustomTags ¶ added in v1.62.1
SetCustomTags sets the value of the CustomTags field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetDockerImage ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)
SetDockerImage sets the value of the DockerImage field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetGcpAttributes ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)
SetGcpAttributes sets the value of the GcpAttributes field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetInitScripts ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)
SetInitScripts sets the value of the InitScripts field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetSparkConf ¶ added in v1.62.1
SetSparkConf sets the value of the SparkConf field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetSparkEnvVars ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)
SetSparkEnvVars sets the value of the SparkEnvVars field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetSshPublicKeys ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)
SetSshPublicKeys sets the value of the SshPublicKeys field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SetWorkloadType ¶ added in v1.62.1
func (o *UpdateClusterResource_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)
SetWorkloadType sets the value of the WorkloadType field in UpdateClusterResource_SdkV2.
func (*UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource_SdkV2)
func (*UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource_SdkV2)
func (UpdateClusterResource_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateClusterResource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResource_SdkV2 only implements ToObjectValue() and Type().
type UpdateClusterResponse ¶
type UpdateClusterResponse struct { }
func (UpdateClusterResponse) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateClusterResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse)
func (*UpdateClusterResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse)
func (UpdateClusterResponse) ToObjectValue ¶ added in v1.61.0
func (o UpdateClusterResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResponse only implements ToObjectValue() and Type().
type UpdateClusterResponse_SdkV2 ¶ added in v1.62.1
type UpdateClusterResponse_SdkV2 struct { }
func (UpdateClusterResponse_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateClusterResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a UpdateClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse_SdkV2)
func (*UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse_SdkV2)
func (UpdateClusterResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateClusterResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResponse_SdkV2 only implements ToObjectValue() and Type().
type UpdateCluster_SdkV2 ¶ added in v1.62.1
type UpdateCluster_SdkV2 struct { // The cluster to be updated. Cluster types.List `tfsdk:"cluster"` // ID of the cluster. ClusterId types.String `tfsdk:"cluster_id"` // Specifies which fields of the cluster will be updated. This is required // in the POST request. The update mask should be supplied as a single // string. To specify multiple fields, separate them with commas (no // spaces). To delete a field from a cluster configuration, add it to the // `update_mask` string but omit it from the `cluster` object. UpdateMask types.String `tfsdk:"update_mask"` }
func (UpdateCluster_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c UpdateCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*UpdateCluster_SdkV2) GetCluster ¶ added in v1.62.1
func (o *UpdateCluster_SdkV2) GetCluster(ctx context.Context) (UpdateClusterResource_SdkV2, bool)
GetCluster returns the value of the Cluster field in UpdateCluster_SdkV2 as a UpdateClusterResource_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (UpdateCluster_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateCluster_SdkV2) SetCluster ¶ added in v1.62.1
func (o *UpdateCluster_SdkV2) SetCluster(ctx context.Context, v UpdateClusterResource_SdkV2)
SetCluster sets the value of the Cluster field in UpdateCluster_SdkV2.
func (*UpdateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster_SdkV2)
func (*UpdateCluster_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCluster_SdkV2)
func (UpdateCluster_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateCluster_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateCluster_SdkV2 only implements ToObjectValue() and Type().
type UpdateResponse ¶
type UpdateResponse struct { }
func (UpdateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (UpdateResponse) ToObjectValue ¶ added in v1.61.0
func (o UpdateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse only implements ToObjectValue() and Type().
type UpdateResponse_SdkV2 ¶ added in v1.62.1
type UpdateResponse_SdkV2 struct { }
func (UpdateResponse_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (UpdateResponse_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o UpdateResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse_SdkV2 only implements ToObjectValue() and Type().
type VolumesStorageInfo ¶
type VolumesStorageInfo struct { // Unity Catalog Volumes file destination, e.g. `/Volumes/my-init.sh` Destination types.String `tfsdk:"destination"` }
func (VolumesStorageInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c VolumesStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (VolumesStorageInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*VolumesStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo)
func (*VolumesStorageInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo)
func (VolumesStorageInfo) ToObjectValue ¶ added in v1.61.0
func (o VolumesStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, VolumesStorageInfo only implements ToObjectValue() and Type().
type VolumesStorageInfo_SdkV2 ¶ added in v1.62.1
type VolumesStorageInfo_SdkV2 struct { // Unity Catalog Volumes file destination, e.g. `/Volumes/my-init.sh` Destination types.String `tfsdk:"destination"` }
func (VolumesStorageInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c VolumesStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (VolumesStorageInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo_SdkV2)
func (*VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo_SdkV2)
func (VolumesStorageInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o VolumesStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, VolumesStorageInfo_SdkV2 only implements ToObjectValue() and Type().
type WorkloadType ¶
type WorkloadType struct { // defined what type of clients can use the cluster. E.g. Notebooks, Jobs Clients types.Object `tfsdk:"clients"` }
func (WorkloadType) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WorkloadType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*WorkloadType) GetClients ¶ added in v1.61.0
func (o *WorkloadType) GetClients(ctx context.Context) (ClientsTypes, bool)
GetClients returns the value of the Clients field in WorkloadType as a ClientsTypes value. If the field is unknown or null, the boolean return value is false.
func (WorkloadType) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WorkloadType) SetClients ¶ added in v1.61.0
func (o *WorkloadType) SetClients(ctx context.Context, v ClientsTypes)
SetClients sets the value of the Clients field in WorkloadType.
func (*WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType)
func (*WorkloadType) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *WorkloadType) SyncEffectiveFieldsDuringRead(existingState WorkloadType)
func (WorkloadType) ToObjectValue ¶ added in v1.61.0
func (o WorkloadType) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkloadType only implements ToObjectValue() and Type().
type WorkloadType_SdkV2 ¶ added in v1.62.1
type WorkloadType_SdkV2 struct { // defined what type of clients can use the cluster. E.g. Notebooks, Jobs Clients types.List `tfsdk:"clients"` }
func (WorkloadType_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WorkloadType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*WorkloadType_SdkV2) GetClients ¶ added in v1.62.1
func (o *WorkloadType_SdkV2) GetClients(ctx context.Context) (ClientsTypes_SdkV2, bool)
GetClients returns the value of the Clients field in WorkloadType_SdkV2 as a ClientsTypes_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (WorkloadType_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WorkloadType_SdkV2) SetClients ¶ added in v1.62.1
func (o *WorkloadType_SdkV2) SetClients(ctx context.Context, v ClientsTypes_SdkV2)
SetClients sets the value of the Clients field in WorkloadType_SdkV2.
func (*WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType_SdkV2)
func (*WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkloadType_SdkV2)
func (WorkloadType_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o WorkloadType_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkloadType_SdkV2 only implements ToObjectValue() and Type().
type WorkspaceStorageInfo ¶
type WorkspaceStorageInfo struct { // workspace files destination, e.g. // `/Users/user1@databricks.com/my-init.sh` Destination types.String `tfsdk:"destination"` }
func (WorkspaceStorageInfo) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WorkspaceStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (WorkspaceStorageInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WorkspaceStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo)
func (*WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo)
func (WorkspaceStorageInfo) ToObjectValue ¶ added in v1.61.0
func (o WorkspaceStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkspaceStorageInfo only implements ToObjectValue() and Type().
type WorkspaceStorageInfo_SdkV2 ¶ added in v1.62.1
type WorkspaceStorageInfo_SdkV2 struct { // workspace files destination, e.g. // `/Users/user1@databricks.com/my-init.sh` Destination types.String `tfsdk:"destination"` }
func (WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations ¶ added in v1.63.0
func (c WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes ¶ added in v1.62.1
func (a WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.62.1
func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo_SdkV2)
func (*WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead ¶ added in v1.62.1
func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo_SdkV2)
func (WorkspaceStorageInfo_SdkV2) ToObjectValue ¶ added in v1.62.1
func (o WorkspaceStorageInfo_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkspaceStorageInfo_SdkV2 only implements ToObjectValue() and Type().