Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionWithConfigure ¶
type ActionWithConfigure struct {
// contains filtered or unexported fields
}
ActionWithConfigure is a structure to be embedded within an Action that implements the action.ActionWithConfigure interface. It stores the shared TencentCloud SDK client so the action can use it during Invoke.
func (*ActionWithConfigure) Client ¶
func (w *ActionWithConfigure) Client() *connectivity.TencentCloudClient
Client returns the shared TencentCloud SDK client.
func (*ActionWithConfigure) Configure ¶
func (a *ActionWithConfigure) Configure(_ context.Context, request action.ConfigureRequest, _ *action.ConfigureResponse)
Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.
type DataSourceWithConfigure ¶
type DataSourceWithConfigure struct {
// contains filtered or unexported fields
}
DataSourceWithConfigure is a structure to be embedded within a DataSource that implements the datasource.DataSourceWithConfigure interface. It stores the shared TencentCloud SDK client so the data source can use it during Read.
func (*DataSourceWithConfigure) Client ¶
func (w *DataSourceWithConfigure) Client() *connectivity.TencentCloudClient
Client returns the shared TencentCloud SDK client.
func (*DataSourceWithConfigure) Configure ¶
func (d *DataSourceWithConfigure) Configure(_ context.Context, request datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.
type EphemeralResourceWithConfigure ¶
type EphemeralResourceWithConfigure struct {
// contains filtered or unexported fields
}
EphemeralResourceWithConfigure is a structure to be embedded within an EphemeralResource that implements the ephemeral.EphemeralResourceWithConfigure interface. It stores the shared TencentCloud SDK client so the ephemeral resource can use it during Open/Close.
func (*EphemeralResourceWithConfigure) Client ¶
func (w *EphemeralResourceWithConfigure) Client() *connectivity.TencentCloudClient
Client returns the shared TencentCloud SDK client.
func (*EphemeralResourceWithConfigure) Configure ¶
func (e *EphemeralResourceWithConfigure) Configure(_ context.Context, request ephemeral.ConfigureRequest, _ *ephemeral.ConfigureResponse)
Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.
type ResourceWithConfigure ¶
type ResourceWithConfigure struct {
// contains filtered or unexported fields
}
ResourceWithConfigure is a structure to be embedded within a Resource that implements the resource.ResourceWithConfigure interface. It stores the shared TencentCloud SDK client so the resource can use it during CRUD.
func (*ResourceWithConfigure) Client ¶
func (w *ResourceWithConfigure) Client() *connectivity.TencentCloudClient
Client returns the shared TencentCloud SDK client.
func (*ResourceWithConfigure) Configure ¶
func (r *ResourceWithConfigure) Configure(_ context.Context, request resource.ConfigureRequest, _ *resource.ConfigureResponse)
Configure receives the *sharedmeta.ProviderMeta populated by framework.Provider.Configure and stores the shared client.
type WithImportByID ¶
type WithImportByID struct{}
WithImportByID is intended to be embedded in resources which import state via the "id" attribute. See https://developer.hashicorp.com/terraform/plugin/framework/resources/import.
func (*WithImportByID) ImportState ¶
func (w *WithImportByID) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
type WithNoUpdate ¶
type WithNoUpdate struct{}
WithNoUpdate is intended to be embedded in resources which cannot be updated.
func (*WithNoUpdate) Update ¶
func (w *WithNoUpdate) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)