sharing_tf

package
v1.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateProvider

type CreateProvider struct {
	// The delta sharing authentication type.
	AuthenticationType types.String `tfsdk:"authentication_type" tf:""`
	// Description about the provider.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// The name of the Provider.
	Name types.String `tfsdk:"name" tf:""`
	// This field is required when the __authentication_type__ is **TOKEN** or
	// not provided.
	RecipientProfileStr types.String `tfsdk:"recipient_profile_str" tf:"optional"`
}

func (CreateProvider) GetComplexFieldTypes added in v1.61.0

func (a CreateProvider) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProvider. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CreateProvider) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateProvider) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateProvider)

func (*CreateProvider) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateProvider) SyncEffectiveFieldsDuringRead(existingState CreateProvider)

func (CreateProvider) ToObjectValue added in v1.61.0

func (o CreateProvider) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateProvider only implements ToObjectValue() and Type().

func (CreateProvider) Type added in v1.61.0

func (o CreateProvider) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CreateRecipient

type CreateRecipient struct {
	// The delta sharing authentication type.
	AuthenticationType types.String `tfsdk:"authentication_type" tf:""`
	// Description about the recipient.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// The global Unity Catalog metastore id provided by the data recipient.
	// This field is required when the __authentication_type__ is
	// **DATABRICKS**. The identifier is of format
	// __cloud__:__region__:__metastore-uuid__.
	DataRecipientGlobalMetastoreId types.String `tfsdk:"data_recipient_global_metastore_id" tf:"optional"`
	// Expiration timestamp of the token, in epoch milliseconds.
	ExpirationTime types.Int64 `tfsdk:"expiration_time" tf:"optional"`
	// IP Access List
	IpAccessList types.List `tfsdk:"ip_access_list" tf:"optional,object"`
	// Name of Recipient.
	Name types.String `tfsdk:"name" tf:""`
	// Username of the recipient owner.
	Owner types.String `tfsdk:"owner" tf:"optional"`
	// Recipient properties as map of string key-value pairs.
	PropertiesKvpairs types.List `tfsdk:"properties_kvpairs" tf:"optional,object"`
	// The one-time sharing code provided by the data recipient. This field is
	// required when the __authentication_type__ is **DATABRICKS**.
	SharingCode types.String `tfsdk:"sharing_code" tf:"optional"`
}

func (CreateRecipient) GetComplexFieldTypes added in v1.61.0

func (a CreateRecipient) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRecipient. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CreateRecipient) GetIpAccessList added in v1.61.0

func (o *CreateRecipient) GetIpAccessList(ctx context.Context) (IpAccessList, bool)

GetIpAccessList returns the value of the IpAccessList field in CreateRecipient as a IpAccessList value. If the field is unknown or null, the boolean return value is false.

func (*CreateRecipient) GetPropertiesKvpairs added in v1.61.0

func (o *CreateRecipient) GetPropertiesKvpairs(ctx context.Context) (SecurablePropertiesKvPairs, bool)

GetPropertiesKvpairs returns the value of the PropertiesKvpairs field in CreateRecipient as a SecurablePropertiesKvPairs value. If the field is unknown or null, the boolean return value is false.

func (*CreateRecipient) SetIpAccessList added in v1.61.0

func (o *CreateRecipient) SetIpAccessList(ctx context.Context, v IpAccessList)

SetIpAccessList sets the value of the IpAccessList field in CreateRecipient.

func (*CreateRecipient) SetPropertiesKvpairs added in v1.61.0

func (o *CreateRecipient) SetPropertiesKvpairs(ctx context.Context, v SecurablePropertiesKvPairs)

SetPropertiesKvpairs sets the value of the PropertiesKvpairs field in CreateRecipient.

func (*CreateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRecipient)

func (*CreateRecipient) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateRecipient) SyncEffectiveFieldsDuringRead(existingState CreateRecipient)

func (CreateRecipient) ToObjectValue added in v1.61.0

func (o CreateRecipient) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateRecipient only implements ToObjectValue() and Type().

func (CreateRecipient) Type added in v1.61.0

func (o CreateRecipient) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CreateShare

type CreateShare struct {
	// User-provided free-form text description.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Name of the share.
	Name types.String `tfsdk:"name" tf:""`
	// Storage root URL for the share.
	StorageRoot types.String `tfsdk:"storage_root" tf:"optional"`
}

func (CreateShare) GetComplexFieldTypes added in v1.61.0

func (a CreateShare) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateShare. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CreateShare) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateShare)

func (*CreateShare) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateShare) SyncEffectiveFieldsDuringRead(existingState CreateShare)

func (CreateShare) ToObjectValue added in v1.61.0

func (o CreateShare) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateShare only implements ToObjectValue() and Type().

func (CreateShare) Type added in v1.61.0

func (o CreateShare) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DeleteProviderRequest

type DeleteProviderRequest struct {
	// Name of the provider.
	Name types.String `tfsdk:"-"`
}

Delete a provider

func (DeleteProviderRequest) GetComplexFieldTypes added in v1.61.0

func (a DeleteProviderRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteProviderRequest)

func (*DeleteProviderRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringRead(existingState DeleteProviderRequest)

func (DeleteProviderRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteProviderRequest only implements ToObjectValue() and Type().

func (DeleteProviderRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteRecipientRequest

type DeleteRecipientRequest struct {
	// Name of the recipient.
	Name types.String `tfsdk:"-"`
}

Delete a share recipient

func (DeleteRecipientRequest) GetComplexFieldTypes added in v1.61.0

func (a DeleteRecipientRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRecipientRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRecipientRequest)

func (*DeleteRecipientRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteRecipientRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRecipientRequest)

func (DeleteRecipientRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteRecipientRequest only implements ToObjectValue() and Type().

func (DeleteRecipientRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteResponse

type DeleteResponse struct {
}

func (DeleteResponse) GetComplexFieldTypes added in v1.61.0

func (a DeleteResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)

func (*DeleteResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)

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().

func (DeleteResponse) Type added in v1.61.0

func (o DeleteResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DeleteShareRequest

type DeleteShareRequest struct {
	// The name of the share.
	Name types.String `tfsdk:"-"`
}

Delete a share

func (DeleteShareRequest) GetComplexFieldTypes added in v1.61.0

func (a DeleteShareRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteShareRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteShareRequest)

func (*DeleteShareRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteShareRequest) SyncEffectiveFieldsDuringRead(existingState DeleteShareRequest)

func (DeleteShareRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteShareRequest only implements ToObjectValue() and Type().

func (DeleteShareRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetActivationUrlInfoRequest

type GetActivationUrlInfoRequest struct {
	// The one time activation url. It also accepts activation token.
	ActivationUrl types.String `tfsdk:"-"`
}

Get a share activation URL

func (GetActivationUrlInfoRequest) GetComplexFieldTypes added in v1.61.0

func (a GetActivationUrlInfoRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetActivationUrlInfoRequest)

func (*GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoRequest)

func (GetActivationUrlInfoRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetActivationUrlInfoRequest only implements ToObjectValue() and Type().

func (GetActivationUrlInfoRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetActivationUrlInfoResponse

type GetActivationUrlInfoResponse struct {
}

func (GetActivationUrlInfoResponse) GetComplexFieldTypes added in v1.61.0

func (a GetActivationUrlInfoResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetActivationUrlInfoResponse)

func (*GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoResponse)

func (GetActivationUrlInfoResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetActivationUrlInfoResponse only implements ToObjectValue() and Type().

func (GetActivationUrlInfoResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetProviderRequest

type GetProviderRequest struct {
	// Name of the provider.
	Name types.String `tfsdk:"-"`
}

Get a provider

func (GetProviderRequest) GetComplexFieldTypes added in v1.61.0

func (a GetProviderRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetProviderRequest)

func (*GetProviderRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetProviderRequest) SyncEffectiveFieldsDuringRead(existingState GetProviderRequest)

func (GetProviderRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetProviderRequest only implements ToObjectValue() and Type().

func (GetProviderRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetRecipientRequest

type GetRecipientRequest struct {
	// Name of the recipient.
	Name types.String `tfsdk:"-"`
}

Get a share recipient

func (GetRecipientRequest) GetComplexFieldTypes added in v1.61.0

func (a GetRecipientRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRecipientRequest)

func (*GetRecipientRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRecipientRequest) SyncEffectiveFieldsDuringRead(existingState GetRecipientRequest)

func (GetRecipientRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRecipientRequest only implements ToObjectValue() and Type().

func (GetRecipientRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetRecipientSharePermissionsResponse

type GetRecipientSharePermissionsResponse struct {
	// Opaque token to retrieve the next page of results. Absent if there are no
	// more pages. __page_token__ should be set to this value for the next
	// request (for the next page of results).
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// An array of data share permissions for a recipient.
	PermissionsOut types.List `tfsdk:"permissions_out" tf:"optional"`
}

func (GetRecipientSharePermissionsResponse) GetComplexFieldTypes added in v1.61.0

func (a GetRecipientSharePermissionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientSharePermissionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetRecipientSharePermissionsResponse) GetPermissionsOut added in v1.61.0

GetPermissionsOut returns the value of the PermissionsOut field in GetRecipientSharePermissionsResponse as a slice of ShareToPrivilegeAssignment values. If the field is unknown or null, the boolean return value is false.

func (*GetRecipientSharePermissionsResponse) SetPermissionsOut added in v1.61.0

SetPermissionsOut sets the value of the PermissionsOut field in GetRecipientSharePermissionsResponse.

func (*GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRecipientSharePermissionsResponse)

func (*GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState GetRecipientSharePermissionsResponse)

func (GetRecipientSharePermissionsResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRecipientSharePermissionsResponse only implements ToObjectValue() and Type().

func (GetRecipientSharePermissionsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetShareRequest

type GetShareRequest struct {
	// Query for data to include in the share.
	IncludeSharedData types.Bool `tfsdk:"-"`
	// The name of the share.
	Name types.String `tfsdk:"-"`
}

Get a share

func (GetShareRequest) GetComplexFieldTypes added in v1.61.0

func (a GetShareRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetShareRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetShareRequest)

func (*GetShareRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetShareRequest) SyncEffectiveFieldsDuringRead(existingState GetShareRequest)

func (GetShareRequest) ToObjectValue added in v1.61.0

func (o GetShareRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetShareRequest only implements ToObjectValue() and Type().

func (GetShareRequest) Type added in v1.61.0

func (o GetShareRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type IpAccessList

type IpAccessList struct {
	// Allowed IP Addresses in CIDR notation. Limit of 100.
	AllowedIpAddresses types.List `tfsdk:"allowed_ip_addresses" tf:"optional"`
}

func (*IpAccessList) GetAllowedIpAddresses added in v1.61.0

func (o *IpAccessList) GetAllowedIpAddresses(ctx context.Context) ([]types.String, bool)

GetAllowedIpAddresses returns the value of the AllowedIpAddresses field in IpAccessList as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (IpAccessList) GetComplexFieldTypes added in v1.61.0

func (a IpAccessList) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in IpAccessList. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*IpAccessList) SetAllowedIpAddresses added in v1.61.0

func (o *IpAccessList) SetAllowedIpAddresses(ctx context.Context, v []types.String)

SetAllowedIpAddresses sets the value of the AllowedIpAddresses field in IpAccessList.

func (*IpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *IpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate(plan IpAccessList)

func (*IpAccessList) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *IpAccessList) SyncEffectiveFieldsDuringRead(existingState IpAccessList)

func (IpAccessList) ToObjectValue added in v1.61.0

func (o IpAccessList) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, IpAccessList only implements ToObjectValue() and Type().

func (IpAccessList) Type added in v1.61.0

func (o IpAccessList) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ListProviderSharesResponse

type ListProviderSharesResponse struct {
	// Opaque token to retrieve the next page of results. Absent if there are no
	// more pages. __page_token__ should be set to this value for the next
	// request (for the next page of results).
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// An array of provider shares.
	Shares types.List `tfsdk:"shares" tf:"optional"`
}

func (ListProviderSharesResponse) GetComplexFieldTypes added in v1.61.0

func (a ListProviderSharesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProviderSharesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListProviderSharesResponse) GetShares added in v1.61.0

GetShares returns the value of the Shares field in ListProviderSharesResponse as a slice of ProviderShare values. If the field is unknown or null, the boolean return value is false.

func (*ListProviderSharesResponse) SetShares added in v1.61.0

SetShares sets the value of the Shares field in ListProviderSharesResponse.

func (*ListProviderSharesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListProviderSharesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProviderSharesResponse)

func (*ListProviderSharesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListProviderSharesResponse) SyncEffectiveFieldsDuringRead(existingState ListProviderSharesResponse)

func (ListProviderSharesResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListProviderSharesResponse only implements ToObjectValue() and Type().

func (ListProviderSharesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListProvidersRequest

type ListProvidersRequest struct {
	// If not provided, all providers will be returned. If no providers exist
	// with this ID, no results will be returned.
	DataProviderGlobalMetastoreId types.String `tfsdk:"-"`
	// Maximum number of providers to return. - when set to 0, the page length
	// is set to a server configured value (recommended); - when set to a value
	// greater than 0, the page length is the minimum of this value and a server
	// configured value; - when set to a value less than 0, an invalid parameter
	// error is returned; - If not set, all valid providers are returned (not
	// recommended). - Note: The number of returned providers might be less than
	// the specified max_results size, even zero. The only definitive indication
	// that no further providers can be fetched is when the next_page_token is
	// unset from the response.
	MaxResults types.Int64 `tfsdk:"-"`
	// Opaque pagination token to go to next page based on previous query.
	PageToken types.String `tfsdk:"-"`
}

List providers

func (ListProvidersRequest) GetComplexFieldTypes added in v1.61.0

func (a ListProvidersRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListProvidersRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersRequest)

func (*ListProvidersRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringRead(existingState ListProvidersRequest)

func (ListProvidersRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListProvidersRequest only implements ToObjectValue() and Type().

func (ListProvidersRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListProvidersResponse

type ListProvidersResponse struct {
	// Opaque token to retrieve the next page of results. Absent if there are no
	// more pages. __page_token__ should be set to this value for the next
	// request (for the next page of results).
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// An array of provider information objects.
	Providers types.List `tfsdk:"providers" tf:"optional"`
}

func (ListProvidersResponse) GetComplexFieldTypes added in v1.61.0

func (a ListProvidersResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListProvidersResponse) GetProviders added in v1.61.0

func (o *ListProvidersResponse) GetProviders(ctx context.Context) ([]ProviderInfo, bool)

GetProviders returns the value of the Providers field in ListProvidersResponse as a slice of ProviderInfo values. If the field is unknown or null, the boolean return value is false.

func (*ListProvidersResponse) SetProviders added in v1.61.0

func (o *ListProvidersResponse) SetProviders(ctx context.Context, v []ProviderInfo)

SetProviders sets the value of the Providers field in ListProvidersResponse.

func (*ListProvidersResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersResponse)

func (*ListProvidersResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringRead(existingState ListProvidersResponse)

func (ListProvidersResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListProvidersResponse only implements ToObjectValue() and Type().

func (ListProvidersResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListRecipientsRequest

type ListRecipientsRequest struct {
	// If not provided, all recipients will be returned. If no recipients exist
	// with this ID, no results will be returned.
	DataRecipientGlobalMetastoreId types.String `tfsdk:"-"`
	// Maximum number of recipients to return. - when set to 0, the page length
	// is set to a server configured value (recommended); - when set to a value
	// greater than 0, the page length is the minimum of this value and a server
	// configured value; - when set to a value less than 0, an invalid parameter
	// error is returned; - If not set, all valid recipients are returned (not
	// recommended). - Note: The number of returned recipients might be less
	// than the specified max_results size, even zero. The only definitive
	// indication that no further recipients can be fetched is when the
	// next_page_token is unset from the response.
	MaxResults types.Int64 `tfsdk:"-"`
	// Opaque pagination token to go to next page based on previous query.
	PageToken types.String `tfsdk:"-"`
}

List share recipients

func (ListRecipientsRequest) GetComplexFieldTypes added in v1.61.0

func (a ListRecipientsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListRecipientsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListRecipientsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRecipientsRequest)

func (*ListRecipientsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListRecipientsRequest) SyncEffectiveFieldsDuringRead(existingState ListRecipientsRequest)

func (ListRecipientsRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRecipientsRequest only implements ToObjectValue() and Type().

func (ListRecipientsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListRecipientsResponse

type ListRecipientsResponse struct {
	// Opaque token to retrieve the next page of results. Absent if there are no
	// more pages. __page_token__ should be set to this value for the next
	// request (for the next page of results).
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// An array of recipient information objects.
	Recipients types.List `tfsdk:"recipients" tf:"optional"`
}

func (ListRecipientsResponse) GetComplexFieldTypes added in v1.61.0

func (a ListRecipientsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListRecipientsResponse) GetRecipients added in v1.61.0

func (o *ListRecipientsResponse) GetRecipients(ctx context.Context) ([]RecipientInfo, bool)

GetRecipients returns the value of the Recipients field in ListRecipientsResponse as a slice of RecipientInfo values. If the field is unknown or null, the boolean return value is false.

func (*ListRecipientsResponse) SetRecipients added in v1.61.0

func (o *ListRecipientsResponse) SetRecipients(ctx context.Context, v []RecipientInfo)

SetRecipients sets the value of the Recipients field in ListRecipientsResponse.

func (*ListRecipientsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListRecipientsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRecipientsResponse)

func (*ListRecipientsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListRecipientsResponse) SyncEffectiveFieldsDuringRead(existingState ListRecipientsResponse)

func (ListRecipientsResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListRecipientsResponse only implements ToObjectValue() and Type().

func (ListRecipientsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListSharesRequest

type ListSharesRequest struct {
	// Maximum number of shares to return. - when set to 0, the page length is
	// set to a server configured value (recommended); - when set to a value
	// greater than 0, the page length is the minimum of this value and a server
	// configured value; - when set to a value less than 0, an invalid parameter
	// error is returned; - If not set, all valid shares are returned (not
	// recommended). - Note: The number of returned shares might be less than
	// the specified max_results size, even zero. The only definitive indication
	// that no further shares can be fetched is when the next_page_token is
	// unset from the response.
	MaxResults types.Int64 `tfsdk:"-"`
	// Name of the provider in which to list shares.
	Name types.String `tfsdk:"-"`
	// Opaque pagination token to go to next page based on previous query.
	PageToken types.String `tfsdk:"-"`
}

List shares by Provider

func (ListSharesRequest) GetComplexFieldTypes added in v1.61.0

func (a ListSharesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListSharesRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListSharesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSharesRequest)

func (*ListSharesRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListSharesRequest) SyncEffectiveFieldsDuringRead(existingState ListSharesRequest)

func (ListSharesRequest) ToObjectValue added in v1.61.0

func (o ListSharesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListSharesRequest only implements ToObjectValue() and Type().

func (ListSharesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListSharesResponse

type ListSharesResponse struct {
	// Opaque token to retrieve the next page of results. Absent if there are no
	// more pages. __page_token__ should be set to this value for the next
	// request (for the next page of results).
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// An array of data share information objects.
	Shares types.List `tfsdk:"shares" tf:"optional"`
}

func (ListSharesResponse) GetComplexFieldTypes added in v1.61.0

func (a ListSharesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListSharesResponse) GetShares added in v1.61.0

func (o *ListSharesResponse) GetShares(ctx context.Context) ([]ShareInfo, bool)

GetShares returns the value of the Shares field in ListSharesResponse as a slice of ShareInfo values. If the field is unknown or null, the boolean return value is false.

func (*ListSharesResponse) SetShares added in v1.61.0

func (o *ListSharesResponse) SetShares(ctx context.Context, v []ShareInfo)

SetShares sets the value of the Shares field in ListSharesResponse.

func (*ListSharesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListSharesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSharesResponse)

func (*ListSharesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListSharesResponse) SyncEffectiveFieldsDuringRead(existingState ListSharesResponse)

func (ListSharesResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListSharesResponse only implements ToObjectValue() and Type().

func (ListSharesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type Partition

type Partition struct {
	// An array of partition values.
	Values types.List `tfsdk:"value" tf:"optional"`
}

func (Partition) GetComplexFieldTypes added in v1.61.0

func (a Partition) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Partition. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Partition) GetValues added in v1.61.0

func (o *Partition) GetValues(ctx context.Context) ([]PartitionValue, bool)

GetValues returns the value of the Values field in Partition as a slice of PartitionValue values. If the field is unknown or null, the boolean return value is false.

func (*Partition) SetValues added in v1.61.0

func (o *Partition) SetValues(ctx context.Context, v []PartitionValue)

SetValues sets the value of the Values field in Partition.

func (*Partition) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Partition) SyncEffectiveFieldsDuringCreateOrUpdate(plan Partition)

func (*Partition) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Partition) SyncEffectiveFieldsDuringRead(existingState Partition)

func (Partition) ToObjectValue added in v1.61.0

func (o Partition) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Partition only implements ToObjectValue() and Type().

func (Partition) Type added in v1.61.0

func (o Partition) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PartitionSpecificationPartition added in v1.60.0

type PartitionSpecificationPartition struct {
	// An array of partition values.
	Values types.List `tfsdk:"value" tf:"optional"`
}

func (PartitionSpecificationPartition) GetComplexFieldTypes added in v1.61.0

func (a PartitionSpecificationPartition) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionSpecificationPartition. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PartitionSpecificationPartition) GetValues added in v1.61.0

GetValues returns the value of the Values field in PartitionSpecificationPartition as a slice of PartitionValue values. If the field is unknown or null, the boolean return value is false.

func (*PartitionSpecificationPartition) SetValues added in v1.61.0

SetValues sets the value of the Values field in PartitionSpecificationPartition.

func (*PartitionSpecificationPartition) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.60.0

func (newState *PartitionSpecificationPartition) SyncEffectiveFieldsDuringCreateOrUpdate(plan PartitionSpecificationPartition)

func (*PartitionSpecificationPartition) SyncEffectiveFieldsDuringRead added in v1.60.0

func (newState *PartitionSpecificationPartition) SyncEffectiveFieldsDuringRead(existingState PartitionSpecificationPartition)

func (PartitionSpecificationPartition) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PartitionSpecificationPartition only implements ToObjectValue() and Type().

func (PartitionSpecificationPartition) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PartitionValue

type PartitionValue struct {
	// The name of the partition column.
	Name types.String `tfsdk:"name" tf:"optional"`
	// The operator to apply for the value.
	Op types.String `tfsdk:"op" tf:"optional"`
	// The key of a Delta Sharing recipient's property. For example
	// "databricks-account-id". When this field is set, field `value` can not be
	// set.
	RecipientPropertyKey types.String `tfsdk:"recipient_property_key" tf:"optional"`
	// The value of the partition column. When this value is not set, it means
	// `null` value. When this field is set, field `recipient_property_key` can
	// not be set.
	Value types.String `tfsdk:"value" tf:"optional"`
}

func (PartitionValue) GetComplexFieldTypes added in v1.61.0

func (a PartitionValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionValue. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PartitionValue) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PartitionValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan PartitionValue)

func (*PartitionValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PartitionValue) SyncEffectiveFieldsDuringRead(existingState PartitionValue)

func (PartitionValue) ToObjectValue added in v1.61.0

func (o PartitionValue) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PartitionValue only implements ToObjectValue() and Type().

func (PartitionValue) Type added in v1.61.0

func (o PartitionValue) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PrivilegeAssignment

type PrivilegeAssignment struct {
	// The principal (user email address or group name).
	Principal types.String `tfsdk:"principal" tf:"optional"`
	// The privileges assigned to the principal.
	Privileges types.List `tfsdk:"privileges" tf:"optional"`
}

func (PrivilegeAssignment) GetComplexFieldTypes added in v1.61.0

func (a PrivilegeAssignment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PrivilegeAssignment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PrivilegeAssignment) GetPrivileges added in v1.61.0

func (o *PrivilegeAssignment) GetPrivileges(ctx context.Context) ([]types.String, bool)

GetPrivileges returns the value of the Privileges field in PrivilegeAssignment as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*PrivilegeAssignment) SetPrivileges added in v1.61.0

func (o *PrivilegeAssignment) SetPrivileges(ctx context.Context, v []types.String)

SetPrivileges sets the value of the Privileges field in PrivilegeAssignment.

func (*PrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(plan PrivilegeAssignment)

func (*PrivilegeAssignment) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState PrivilegeAssignment)

func (PrivilegeAssignment) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PrivilegeAssignment only implements ToObjectValue() and Type().

func (PrivilegeAssignment) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ProviderInfo

type ProviderInfo struct {
	// The delta sharing authentication type.
	AuthenticationType types.String `tfsdk:"authentication_type" tf:"optional"`
	// Cloud vendor of the provider's UC metastore. This field is only present
	// when the __authentication_type__ is **DATABRICKS**.
	Cloud types.String `tfsdk:"cloud" tf:"optional"`
	// Description about the provider.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Time at which this Provider was created, in epoch milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at" tf:"optional"`
	// Username of Provider creator.
	CreatedBy types.String `tfsdk:"created_by" tf:"optional"`
	// The global UC metastore id of the data provider. This field is only
	// present when the __authentication_type__ is **DATABRICKS**. The
	// identifier is of format <cloud>:<region>:<metastore-uuid>.
	DataProviderGlobalMetastoreId types.String `tfsdk:"data_provider_global_metastore_id" tf:"optional"`
	// UUID of the provider's UC metastore. This field is only present when the
	// __authentication_type__ is **DATABRICKS**.
	MetastoreId types.String `tfsdk:"metastore_id" tf:"optional"`
	// The name of the Provider.
	Name types.String `tfsdk:"name" tf:"optional"`
	// Username of Provider owner.
	Owner types.String `tfsdk:"owner" tf:"optional"`
	// The recipient profile. This field is only present when the
	// authentication_type is `TOKEN`.
	RecipientProfile types.List `tfsdk:"recipient_profile" tf:"optional,object"`
	// This field is only present when the authentication_type is `TOKEN` or not
	// provided.
	RecipientProfileStr types.String `tfsdk:"recipient_profile_str" tf:"optional"`
	// Cloud region of the provider's UC metastore. This field is only present
	// when the __authentication_type__ is **DATABRICKS**.
	Region types.String `tfsdk:"region" tf:"optional"`
	// Time at which this Provider was created, in epoch milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at" tf:"optional"`
	// Username of user who last modified Share.
	UpdatedBy types.String `tfsdk:"updated_by" tf:"optional"`
}

func (ProviderInfo) GetComplexFieldTypes added in v1.61.0

func (a ProviderInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ProviderInfo) GetRecipientProfile added in v1.61.0

func (o *ProviderInfo) GetRecipientProfile(ctx context.Context) (RecipientProfile, bool)

GetRecipientProfile returns the value of the RecipientProfile field in ProviderInfo as a RecipientProfile value. If the field is unknown or null, the boolean return value is false.

func (*ProviderInfo) SetRecipientProfile added in v1.61.0

func (o *ProviderInfo) SetRecipientProfile(ctx context.Context, v RecipientProfile)

SetRecipientProfile sets the value of the RecipientProfile field in ProviderInfo.

func (*ProviderInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ProviderInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ProviderInfo)

func (*ProviderInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ProviderInfo) SyncEffectiveFieldsDuringRead(existingState ProviderInfo)

func (ProviderInfo) ToObjectValue added in v1.61.0

func (o ProviderInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ProviderInfo only implements ToObjectValue() and Type().

func (ProviderInfo) Type added in v1.61.0

func (o ProviderInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ProviderShare

type ProviderShare struct {
	// The name of the Provider Share.
	Name types.String `tfsdk:"name" tf:"optional"`
}

func (ProviderShare) GetComplexFieldTypes added in v1.61.0

func (a ProviderShare) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderShare. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ProviderShare) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ProviderShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan ProviderShare)

func (*ProviderShare) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ProviderShare) SyncEffectiveFieldsDuringRead(existingState ProviderShare)

func (ProviderShare) ToObjectValue added in v1.61.0

func (o ProviderShare) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ProviderShare only implements ToObjectValue() and Type().

func (ProviderShare) Type added in v1.61.0

func (o ProviderShare) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RecipientInfo

type RecipientInfo struct {
	// A boolean status field showing whether the Recipient's activation URL has
	// been exercised or not.
	Activated types.Bool `tfsdk:"activated" tf:"optional"`
	// Full activation url to retrieve the access token. It will be empty if the
	// token is already retrieved.
	ActivationUrl types.String `tfsdk:"activation_url" tf:"optional"`
	// The delta sharing authentication type.
	AuthenticationType types.String `tfsdk:"authentication_type" tf:"optional"`
	// Cloud vendor of the recipient's Unity Catalog Metstore. This field is
	// only present when the __authentication_type__ is **DATABRICKS**`.
	Cloud types.String `tfsdk:"cloud" tf:"optional"`
	// Description about the recipient.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Time at which this recipient was created, in epoch milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at" tf:"optional"`
	// Username of recipient creator.
	CreatedBy types.String `tfsdk:"created_by" tf:"optional"`
	// The global Unity Catalog metastore id provided by the data recipient.
	// This field is only present when the __authentication_type__ is
	// **DATABRICKS**. The identifier is of format
	// __cloud__:__region__:__metastore-uuid__.
	DataRecipientGlobalMetastoreId types.String `tfsdk:"data_recipient_global_metastore_id" tf:"optional"`
	// IP Access List
	IpAccessList types.List `tfsdk:"ip_access_list" tf:"optional,object"`
	// Unique identifier of recipient's Unity Catalog metastore. This field is
	// only present when the __authentication_type__ is **DATABRICKS**
	MetastoreId types.String `tfsdk:"metastore_id" tf:"optional"`
	// Name of Recipient.
	Name types.String `tfsdk:"name" tf:"optional"`
	// Username of the recipient owner.
	Owner types.String `tfsdk:"owner" tf:"optional"`
	// Recipient properties as map of string key-value pairs.
	PropertiesKvpairs types.List `tfsdk:"properties_kvpairs" tf:"optional,object"`
	// Cloud region of the recipient's Unity Catalog Metstore. This field is
	// only present when the __authentication_type__ is **DATABRICKS**.
	Region types.String `tfsdk:"region" tf:"optional"`
	// The one-time sharing code provided by the data recipient. This field is
	// only present when the __authentication_type__ is **DATABRICKS**.
	SharingCode types.String `tfsdk:"sharing_code" tf:"optional"`
	// This field is only present when the __authentication_type__ is **TOKEN**.
	Tokens types.List `tfsdk:"tokens" tf:"optional"`
	// Time at which the recipient was updated, in epoch milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at" tf:"optional"`
	// Username of recipient updater.
	UpdatedBy types.String `tfsdk:"updated_by" tf:"optional"`
}

func (RecipientInfo) GetComplexFieldTypes added in v1.61.0

func (a RecipientInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RecipientInfo) GetIpAccessList added in v1.61.0

func (o *RecipientInfo) GetIpAccessList(ctx context.Context) (IpAccessList, bool)

GetIpAccessList returns the value of the IpAccessList field in RecipientInfo as a IpAccessList value. If the field is unknown or null, the boolean return value is false.

func (*RecipientInfo) GetPropertiesKvpairs added in v1.61.0

func (o *RecipientInfo) GetPropertiesKvpairs(ctx context.Context) (SecurablePropertiesKvPairs, bool)

GetPropertiesKvpairs returns the value of the PropertiesKvpairs field in RecipientInfo as a SecurablePropertiesKvPairs value. If the field is unknown or null, the boolean return value is false.

func (*RecipientInfo) GetTokens added in v1.61.0

func (o *RecipientInfo) GetTokens(ctx context.Context) ([]RecipientTokenInfo, bool)

GetTokens returns the value of the Tokens field in RecipientInfo as a slice of RecipientTokenInfo values. If the field is unknown or null, the boolean return value is false.

func (*RecipientInfo) SetIpAccessList added in v1.61.0

func (o *RecipientInfo) SetIpAccessList(ctx context.Context, v IpAccessList)

SetIpAccessList sets the value of the IpAccessList field in RecipientInfo.

func (*RecipientInfo) SetPropertiesKvpairs added in v1.61.0

func (o *RecipientInfo) SetPropertiesKvpairs(ctx context.Context, v SecurablePropertiesKvPairs)

SetPropertiesKvpairs sets the value of the PropertiesKvpairs field in RecipientInfo.

func (*RecipientInfo) SetTokens added in v1.61.0

func (o *RecipientInfo) SetTokens(ctx context.Context, v []RecipientTokenInfo)

SetTokens sets the value of the Tokens field in RecipientInfo.

func (*RecipientInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RecipientInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RecipientInfo)

func (*RecipientInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RecipientInfo) SyncEffectiveFieldsDuringRead(existingState RecipientInfo)

func (RecipientInfo) ToObjectValue added in v1.61.0

func (o RecipientInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RecipientInfo only implements ToObjectValue() and Type().

func (RecipientInfo) Type added in v1.61.0

func (o RecipientInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RecipientProfile

type RecipientProfile struct {
	// The token used to authorize the recipient.
	BearerToken types.String `tfsdk:"bearer_token" tf:"optional"`
	// The endpoint for the share to be used by the recipient.
	Endpoint types.String `tfsdk:"endpoint" tf:"optional"`
	// The version number of the recipient's credentials on a share.
	ShareCredentialsVersion types.Int64 `tfsdk:"share_credentials_version" tf:"optional"`
}

func (RecipientProfile) GetComplexFieldTypes added in v1.61.0

func (a RecipientProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RecipientProfile) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RecipientProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan RecipientProfile)

func (*RecipientProfile) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RecipientProfile) SyncEffectiveFieldsDuringRead(existingState RecipientProfile)

func (RecipientProfile) ToObjectValue added in v1.61.0

func (o RecipientProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RecipientProfile only implements ToObjectValue() and Type().

func (RecipientProfile) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RecipientTokenInfo

type RecipientTokenInfo struct {
	// Full activation URL to retrieve the access token. It will be empty if the
	// token is already retrieved.
	ActivationUrl types.String `tfsdk:"activation_url" tf:"optional"`
	// Time at which this recipient Token was created, in epoch milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at" tf:"optional"`
	// Username of recipient token creator.
	CreatedBy types.String `tfsdk:"created_by" tf:"optional"`
	// Expiration timestamp of the token in epoch milliseconds.
	ExpirationTime types.Int64 `tfsdk:"expiration_time" tf:"optional"`
	// Unique ID of the recipient token.
	Id types.String `tfsdk:"id" tf:"optional"`
	// Time at which this recipient Token was updated, in epoch milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at" tf:"optional"`
	// Username of recipient Token updater.
	UpdatedBy types.String `tfsdk:"updated_by" tf:"optional"`
}

func (RecipientTokenInfo) GetComplexFieldTypes added in v1.61.0

func (a RecipientTokenInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientTokenInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RecipientTokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RecipientTokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RecipientTokenInfo)

func (*RecipientTokenInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RecipientTokenInfo) SyncEffectiveFieldsDuringRead(existingState RecipientTokenInfo)

func (RecipientTokenInfo) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RecipientTokenInfo only implements ToObjectValue() and Type().

func (RecipientTokenInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RetrieveTokenRequest

type RetrieveTokenRequest struct {
	// The one time activation url. It also accepts activation token.
	ActivationUrl types.String `tfsdk:"-"`
}

Get an access token

func (RetrieveTokenRequest) GetComplexFieldTypes added in v1.61.0

func (a RetrieveTokenRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RetrieveTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RetrieveTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RetrieveTokenRequest)

func (*RetrieveTokenRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RetrieveTokenRequest) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenRequest)

func (RetrieveTokenRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RetrieveTokenRequest only implements ToObjectValue() and Type().

func (RetrieveTokenRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RetrieveTokenResponse

type RetrieveTokenResponse struct {
	// The token used to authorize the recipient.
	BearerToken types.String `tfsdk:"bearerToken" tf:"optional"`
	// The endpoint for the share to be used by the recipient.
	Endpoint types.String `tfsdk:"endpoint" tf:"optional"`
	// Expiration timestamp of the token in epoch milliseconds.
	ExpirationTime types.String `tfsdk:"expirationTime" tf:"optional"`
	// These field names must follow the delta sharing protocol.
	ShareCredentialsVersion types.Int64 `tfsdk:"shareCredentialsVersion" tf:"optional"`
}

func (RetrieveTokenResponse) GetComplexFieldTypes added in v1.61.0

func (a RetrieveTokenResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RetrieveTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RetrieveTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RetrieveTokenResponse)

func (*RetrieveTokenResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RetrieveTokenResponse) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenResponse)

func (RetrieveTokenResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RetrieveTokenResponse only implements ToObjectValue() and Type().

func (RetrieveTokenResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RotateRecipientToken

type RotateRecipientToken struct {
	// The expiration time of the bearer token in ISO 8601 format. This will set
	// the expiration_time of existing token only to a smaller timestamp, it
	// cannot extend the expiration_time. Use 0 to expire the existing token
	// immediately, negative number will return an error.
	ExistingTokenExpireInSeconds types.Int64 `tfsdk:"existing_token_expire_in_seconds" tf:""`
	// The name of the recipient.
	Name types.String `tfsdk:"-"`
}

func (RotateRecipientToken) GetComplexFieldTypes added in v1.61.0

func (a RotateRecipientToken) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RotateRecipientToken. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RotateRecipientToken) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RotateRecipientToken) SyncEffectiveFieldsDuringCreateOrUpdate(plan RotateRecipientToken)

func (*RotateRecipientToken) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RotateRecipientToken) SyncEffectiveFieldsDuringRead(existingState RotateRecipientToken)

func (RotateRecipientToken) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RotateRecipientToken only implements ToObjectValue() and Type().

func (RotateRecipientToken) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SecurablePropertiesKvPairs

type SecurablePropertiesKvPairs struct {
	// A map of key-value properties attached to the securable.
	Properties types.Map `tfsdk:"properties" tf:""`
}

An object with __properties__ containing map of key-value properties attached to the securable.

func (SecurablePropertiesKvPairs) GetComplexFieldTypes added in v1.61.0

func (a SecurablePropertiesKvPairs) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SecurablePropertiesKvPairs. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SecurablePropertiesKvPairs) GetProperties added in v1.61.0

func (o *SecurablePropertiesKvPairs) GetProperties(ctx context.Context) (map[string]types.String, bool)

GetProperties returns the value of the Properties field in SecurablePropertiesKvPairs as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*SecurablePropertiesKvPairs) SetProperties added in v1.61.0

func (o *SecurablePropertiesKvPairs) SetProperties(ctx context.Context, v map[string]types.String)

SetProperties sets the value of the Properties field in SecurablePropertiesKvPairs.

func (*SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringCreateOrUpdate(plan SecurablePropertiesKvPairs)

func (*SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringRead(existingState SecurablePropertiesKvPairs)

func (SecurablePropertiesKvPairs) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SecurablePropertiesKvPairs only implements ToObjectValue() and Type().

func (SecurablePropertiesKvPairs) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ShareInfo

type ShareInfo struct {
	// User-provided free-form text description.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Time at which this share was created, in epoch milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at" tf:"computed"`
	// Username of share creator.
	CreatedBy types.String `tfsdk:"created_by" tf:"computed"`
	// Name of the share.
	Name types.String `tfsdk:"name" tf:"optional"`
	// A list of shared data objects within the share.
	Objects types.List `tfsdk:"object" tf:"optional"`
	// Username of current owner of share.
	Owner types.String `tfsdk:"owner" tf:"computed,optional"`
	// Storage Location URL (full path) for the share.
	StorageLocation types.String `tfsdk:"storage_location" tf:"optional"`
	// Storage root URL for the share.
	StorageRoot types.String `tfsdk:"storage_root" tf:"optional"`
	// Time at which this share was updated, in epoch milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at" tf:"computed"`
	// Username of share updater.
	UpdatedBy types.String `tfsdk:"updated_by" tf:"computed"`
}

func (ShareInfo) GetComplexFieldTypes added in v1.61.0

func (a ShareInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ShareInfo) GetObjects added in v1.61.0

func (o *ShareInfo) GetObjects(ctx context.Context) ([]SharedDataObject, bool)

GetObjects returns the value of the Objects field in ShareInfo as a slice of SharedDataObject values. If the field is unknown or null, the boolean return value is false.

func (*ShareInfo) SetObjects added in v1.61.0

func (o *ShareInfo) SetObjects(ctx context.Context, v []SharedDataObject)

SetObjects sets the value of the Objects field in ShareInfo.

func (*ShareInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ShareInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ShareInfo)

func (*ShareInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ShareInfo) SyncEffectiveFieldsDuringRead(existingState ShareInfo)

func (ShareInfo) ToObjectValue added in v1.61.0

func (o ShareInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ShareInfo only implements ToObjectValue() and Type().

func (ShareInfo) Type added in v1.61.0

func (o ShareInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SharePermissionsRequest

type SharePermissionsRequest struct {
	// Maximum number of permissions to return. - when set to 0, the page length
	// is set to a server configured value (recommended); - when set to a value
	// greater than 0, the page length is the minimum of this value and a server
	// configured value; - when set to a value less than 0, an invalid parameter
	// error is returned; - If not set, all valid permissions are returned (not
	// recommended). - Note: The number of returned permissions might be less
	// than the specified max_results size, even zero. The only definitive
	// indication that no further permissions can be fetched is when the
	// next_page_token is unset from the response.
	MaxResults types.Int64 `tfsdk:"-"`
	// The name of the Recipient.
	Name types.String `tfsdk:"-"`
	// Opaque pagination token to go to next page based on previous query.
	PageToken types.String `tfsdk:"-"`
}

Get recipient share permissions

func (SharePermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (a SharePermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SharePermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SharePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SharePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SharePermissionsRequest)

func (*SharePermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SharePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState SharePermissionsRequest)

func (SharePermissionsRequest) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SharePermissionsRequest only implements ToObjectValue() and Type().

func (SharePermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ShareToPrivilegeAssignment

type ShareToPrivilegeAssignment struct {
	// The privileges assigned to the principal.
	PrivilegeAssignments types.List `tfsdk:"privilege_assignments" tf:"optional"`
	// The share name.
	ShareName types.String `tfsdk:"share_name" tf:"optional"`
}

func (ShareToPrivilegeAssignment) GetComplexFieldTypes added in v1.61.0

func (a ShareToPrivilegeAssignment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareToPrivilegeAssignment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ShareToPrivilegeAssignment) GetPrivilegeAssignments added in v1.61.0

func (o *ShareToPrivilegeAssignment) GetPrivilegeAssignments(ctx context.Context) ([]PrivilegeAssignment, bool)

GetPrivilegeAssignments returns the value of the PrivilegeAssignments field in ShareToPrivilegeAssignment as a slice of PrivilegeAssignment values. If the field is unknown or null, the boolean return value is false.

func (*ShareToPrivilegeAssignment) SetPrivilegeAssignments added in v1.61.0

func (o *ShareToPrivilegeAssignment) SetPrivilegeAssignments(ctx context.Context, v []PrivilegeAssignment)

SetPrivilegeAssignments sets the value of the PrivilegeAssignments field in ShareToPrivilegeAssignment.

func (*ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(plan ShareToPrivilegeAssignment)

func (*ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState ShareToPrivilegeAssignment)

func (ShareToPrivilegeAssignment) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ShareToPrivilegeAssignment only implements ToObjectValue() and Type().

func (ShareToPrivilegeAssignment) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SharedDataObject

type SharedDataObject struct {
	// The time when this data object is added to the share, in epoch
	// milliseconds.
	AddedAt types.Int64 `tfsdk:"added_at" tf:"computed"`
	// Username of the sharer.
	AddedBy types.String `tfsdk:"added_by" tf:"computed"`
	// Whether to enable cdf or indicate if cdf is enabled on the shared object.
	CdfEnabled          types.Bool `tfsdk:"cdf_enabled" tf:"optional"`
	EffectiveCdfEnabled types.Bool `tfsdk:"effective_cdf_enabled" tf:"computed"`
	// A user-provided comment when adding the data object to the share.
	// [Update:OPT]
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// The content of the notebook file when the data object type is
	// NOTEBOOK_FILE. This should be base64 encoded. Required for adding a
	// NOTEBOOK_FILE, optional for updating, ignored for other types.
	Content types.String `tfsdk:"content" tf:"optional"`
	// The type of the data object.
	DataObjectType types.String `tfsdk:"data_object_type" tf:"optional"`
	// Whether to enable or disable sharing of data history. If not specified,
	// the default is **DISABLED**.
	HistoryDataSharingStatus          types.String `tfsdk:"history_data_sharing_status" tf:"optional"`
	EffectiveHistoryDataSharingStatus types.String `tfsdk:"effective_history_data_sharing_status" tf:"computed"`
	// A fully qualified name that uniquely identifies a data object.
	//
	// For example, a table's fully qualified name is in the format of
	// `<catalog>.<schema>.<table>`.
	Name types.String `tfsdk:"name" tf:""`
	// Array of partitions for the shared data.
	Partitions types.List `tfsdk:"partition" tf:"optional"`
	// A user-provided new name for the data object within the share. If this
	// new name is not provided, the object's original name will be used as the
	// `shared_as` name. The `shared_as` name must be unique within a share. For
	// tables, the new name must follow the format of `<schema>.<table>`.
	SharedAs          types.String `tfsdk:"shared_as" tf:"optional"`
	EffectiveSharedAs types.String `tfsdk:"effective_shared_as" tf:"computed"`
	// The start version associated with the object. This allows data providers
	// to control the lowest object version that is accessible by clients. If
	// specified, clients can query snapshots or changes for versions >=
	// start_version. If not specified, clients can only query starting from the
	// version of the object at the time it was added to the share.
	//
	// NOTE: The start_version should be <= the `current` version of the object.
	StartVersion          types.Int64 `tfsdk:"start_version" tf:"optional"`
	EffectiveStartVersion types.Int64 `tfsdk:"effective_start_version" tf:"computed"`
	// One of: **ACTIVE**, **PERMISSION_DENIED**.
	Status types.String `tfsdk:"status" tf:"computed"`
	// A user-provided new name for the data object within the share. If this
	// new name is not provided, the object's original name will be used as the
	// `string_shared_as` name. The `string_shared_as` name must be unique
	// within a share. For notebooks, the new name should be the new notebook
	// file name.
	StringSharedAs types.String `tfsdk:"string_shared_as" tf:"optional"`
}

func (SharedDataObject) GetComplexFieldTypes added in v1.61.0

func (a SharedDataObject) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObject. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SharedDataObject) GetPartitions added in v1.61.0

func (o *SharedDataObject) GetPartitions(ctx context.Context) ([]Partition, bool)

GetPartitions returns the value of the Partitions field in SharedDataObject as a slice of Partition values. If the field is unknown or null, the boolean return value is false.

func (*SharedDataObject) SetPartitions added in v1.61.0

func (o *SharedDataObject) SetPartitions(ctx context.Context, v []Partition)

SetPartitions sets the value of the Partitions field in SharedDataObject.

func (*SharedDataObject) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SharedDataObject) SyncEffectiveFieldsDuringCreateOrUpdate(plan SharedDataObject)

func (*SharedDataObject) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SharedDataObject) SyncEffectiveFieldsDuringRead(existingState SharedDataObject)

func (SharedDataObject) ToObjectValue added in v1.61.0

func (o SharedDataObject) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SharedDataObject only implements ToObjectValue() and Type().

func (SharedDataObject) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SharedDataObjectUpdate

type SharedDataObjectUpdate struct {
	// One of: **ADD**, **REMOVE**, **UPDATE**.
	Action types.String `tfsdk:"action" tf:"optional"`
	// The data object that is being added, removed, or updated.
	DataObject types.List `tfsdk:"data_object" tf:"optional,object"`
}

func (SharedDataObjectUpdate) GetComplexFieldTypes added in v1.61.0

func (a SharedDataObjectUpdate) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObjectUpdate. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SharedDataObjectUpdate) GetDataObject added in v1.61.0

func (o *SharedDataObjectUpdate) GetDataObject(ctx context.Context) (SharedDataObject, bool)

GetDataObject returns the value of the DataObject field in SharedDataObjectUpdate as a SharedDataObject value. If the field is unknown or null, the boolean return value is false.

func (*SharedDataObjectUpdate) SetDataObject added in v1.61.0

func (o *SharedDataObjectUpdate) SetDataObject(ctx context.Context, v SharedDataObject)

SetDataObject sets the value of the DataObject field in SharedDataObjectUpdate.

func (*SharedDataObjectUpdate) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SharedDataObjectUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan SharedDataObjectUpdate)

func (*SharedDataObjectUpdate) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SharedDataObjectUpdate) SyncEffectiveFieldsDuringRead(existingState SharedDataObjectUpdate)

func (SharedDataObjectUpdate) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SharedDataObjectUpdate only implements ToObjectValue() and Type().

func (SharedDataObjectUpdate) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdatePermissionsResponse

type UpdatePermissionsResponse struct {
}

func (UpdatePermissionsResponse) GetComplexFieldTypes added in v1.61.0

func (a UpdatePermissionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePermissionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdatePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdatePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdatePermissionsResponse)

func (*UpdatePermissionsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdatePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState UpdatePermissionsResponse)

func (UpdatePermissionsResponse) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdatePermissionsResponse only implements ToObjectValue() and Type().

func (UpdatePermissionsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateProvider

type UpdateProvider struct {
	// Description about the provider.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Name of the provider.
	Name types.String `tfsdk:"-"`
	// New name for the provider.
	NewName types.String `tfsdk:"new_name" tf:"optional"`
	// Username of Provider owner.
	Owner types.String `tfsdk:"owner" tf:"optional"`
	// This field is required when the __authentication_type__ is **TOKEN** or
	// not provided.
	RecipientProfileStr types.String `tfsdk:"recipient_profile_str" tf:"optional"`
}

func (UpdateProvider) GetComplexFieldTypes added in v1.61.0

func (a UpdateProvider) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProvider. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateProvider) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateProvider) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateProvider)

func (*UpdateProvider) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateProvider) SyncEffectiveFieldsDuringRead(existingState UpdateProvider)

func (UpdateProvider) ToObjectValue added in v1.61.0

func (o UpdateProvider) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateProvider only implements ToObjectValue() and Type().

func (UpdateProvider) Type added in v1.61.0

func (o UpdateProvider) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateRecipient

type UpdateRecipient struct {
	// Description about the recipient.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// Expiration timestamp of the token, in epoch milliseconds.
	ExpirationTime types.Int64 `tfsdk:"expiration_time" tf:"optional"`
	// IP Access List
	IpAccessList types.List `tfsdk:"ip_access_list" tf:"optional,object"`
	// Name of the recipient.
	Name types.String `tfsdk:"-"`
	// New name for the recipient.
	NewName types.String `tfsdk:"new_name" tf:"optional"`
	// Username of the recipient owner.
	Owner types.String `tfsdk:"owner" tf:"optional"`
	// Recipient properties as map of string key-value pairs. When provided in
	// update request, the specified properties will override the existing
	// properties. To add and remove properties, one would need to perform a
	// read-modify-write.
	PropertiesKvpairs types.List `tfsdk:"properties_kvpairs" tf:"optional,object"`
}

func (UpdateRecipient) GetComplexFieldTypes added in v1.61.0

func (a UpdateRecipient) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRecipient. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateRecipient) GetIpAccessList added in v1.61.0

func (o *UpdateRecipient) GetIpAccessList(ctx context.Context) (IpAccessList, bool)

GetIpAccessList returns the value of the IpAccessList field in UpdateRecipient as a IpAccessList value. If the field is unknown or null, the boolean return value is false.

func (*UpdateRecipient) GetPropertiesKvpairs added in v1.61.0

func (o *UpdateRecipient) GetPropertiesKvpairs(ctx context.Context) (SecurablePropertiesKvPairs, bool)

GetPropertiesKvpairs returns the value of the PropertiesKvpairs field in UpdateRecipient as a SecurablePropertiesKvPairs value. If the field is unknown or null, the boolean return value is false.

func (*UpdateRecipient) SetIpAccessList added in v1.61.0

func (o *UpdateRecipient) SetIpAccessList(ctx context.Context, v IpAccessList)

SetIpAccessList sets the value of the IpAccessList field in UpdateRecipient.

func (*UpdateRecipient) SetPropertiesKvpairs added in v1.61.0

func (o *UpdateRecipient) SetPropertiesKvpairs(ctx context.Context, v SecurablePropertiesKvPairs)

SetPropertiesKvpairs sets the value of the PropertiesKvpairs field in UpdateRecipient.

func (*UpdateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRecipient)

func (*UpdateRecipient) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateRecipient) SyncEffectiveFieldsDuringRead(existingState UpdateRecipient)

func (UpdateRecipient) ToObjectValue added in v1.61.0

func (o UpdateRecipient) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateRecipient only implements ToObjectValue() and Type().

func (UpdateRecipient) Type added in v1.61.0

func (o UpdateRecipient) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateResponse

type UpdateResponse struct {
}

func (UpdateResponse) GetComplexFieldTypes added in v1.61.0

func (a UpdateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse)

func (*UpdateResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse)

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().

func (UpdateResponse) Type added in v1.61.0

func (o UpdateResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateShare

type UpdateShare struct {
	// User-provided free-form text description.
	Comment types.String `tfsdk:"comment" tf:"optional"`
	// The name of the share.
	Name types.String `tfsdk:"-"`
	// New name for the share.
	NewName types.String `tfsdk:"new_name" tf:"optional"`
	// Username of current owner of share.
	Owner types.String `tfsdk:"owner" tf:"computed"`
	// Storage root URL for the share.
	StorageRoot types.String `tfsdk:"storage_root" tf:"optional"`
	// Array of shared data object updates.
	Updates types.List `tfsdk:"updates" tf:"optional"`
}

func (UpdateShare) GetComplexFieldTypes added in v1.61.0

func (a UpdateShare) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateShare. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateShare) GetUpdates added in v1.61.0

func (o *UpdateShare) GetUpdates(ctx context.Context) ([]SharedDataObjectUpdate, bool)

GetUpdates returns the value of the Updates field in UpdateShare as a slice of SharedDataObjectUpdate values. If the field is unknown or null, the boolean return value is false.

func (*UpdateShare) SetUpdates added in v1.61.0

func (o *UpdateShare) SetUpdates(ctx context.Context, v []SharedDataObjectUpdate)

SetUpdates sets the value of the Updates field in UpdateShare.

func (*UpdateShare) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateShare)

func (*UpdateShare) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateShare) SyncEffectiveFieldsDuringRead(existingState UpdateShare)

func (UpdateShare) ToObjectValue added in v1.61.0

func (o UpdateShare) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateShare only implements ToObjectValue() and Type().

func (UpdateShare) Type added in v1.61.0

func (o UpdateShare) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateSharePermissions

type UpdateSharePermissions struct {
	// Array of permission changes.
	Changes types.List `tfsdk:"changes" tf:"optional"`
	// Maximum number of permissions to return. - when set to 0, the page length
	// is set to a server configured value (recommended); - when set to a value
	// greater than 0, the page length is the minimum of this value and a server
	// configured value; - when set to a value less than 0, an invalid parameter
	// error is returned; - If not set, all valid permissions are returned (not
	// recommended). - Note: The number of returned permissions might be less
	// than the specified max_results size, even zero. The only definitive
	// indication that no further permissions can be fetched is when the
	// next_page_token is unset from the response.
	MaxResults types.Int64 `tfsdk:"-"`
	// The name of the share.
	Name types.String `tfsdk:"-"`
	// Opaque pagination token to go to next page based on previous query.
	PageToken types.String `tfsdk:"-"`
}

func (*UpdateSharePermissions) GetChanges added in v1.61.0

GetChanges returns the value of the Changes field in UpdateSharePermissions as a slice of catalog_tf.PermissionsChange values. If the field is unknown or null, the boolean return value is false.

func (UpdateSharePermissions) GetComplexFieldTypes added in v1.61.0

func (a UpdateSharePermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSharePermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateSharePermissions) SetChanges added in v1.61.0

SetChanges sets the value of the Changes field in UpdateSharePermissions.

func (*UpdateSharePermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateSharePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateSharePermissions)

func (*UpdateSharePermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateSharePermissions) SyncEffectiveFieldsDuringRead(existingState UpdateSharePermissions)

func (UpdateSharePermissions) ToObjectValue added in v1.61.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateSharePermissions only implements ToObjectValue() and Type().

func (UpdateSharePermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL