apps_tf

package
v1.61.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// The active deployment of the app. A deployment is considered active when
	// it has been deployed to the app compute.
	ActiveDeployment types.Object `tfsdk:"active_deployment" tf:"optional,object"`

	AppStatus types.Object `tfsdk:"app_status" tf:"optional,object"`

	ComputeStatus types.Object `tfsdk:"compute_status" tf:"optional,object"`
	// The creation time of the app. Formatted timestamp in ISO 6801.
	CreateTime types.String `tfsdk:"create_time" tf:"computed,optional"`
	// The email of the user that created the app.
	Creator types.String `tfsdk:"creator" tf:"computed,optional"`
	// The default workspace file system path of the source code from which app
	// deployment are created. This field tracks the workspace source code path
	// of the last active deployment.
	DefaultSourceCodePath types.String `tfsdk:"default_source_code_path" tf:"optional"`
	// The description of the app.
	Description types.String `tfsdk:"description" tf:"optional"`
	// The name of the app. The name must contain only lowercase alphanumeric
	// characters and hyphens. It must be unique within the workspace.
	Name types.String `tfsdk:"name" tf:""`
	// The pending deployment of the app. A deployment is considered pending
	// when it is being prepared for deployment to the app compute.
	PendingDeployment types.Object `tfsdk:"pending_deployment" tf:"optional,object"`
	// Resources for the app.
	Resources types.List `tfsdk:"resources" tf:"optional"`

	ServicePrincipalClientId types.String `tfsdk:"service_principal_client_id" tf:"computed,optional"`

	ServicePrincipalId types.Int64 `tfsdk:"service_principal_id" tf:"computed,optional"`

	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"computed,optional"`
	// The update time of the app. Formatted timestamp in ISO 6801.
	UpdateTime types.String `tfsdk:"update_time" tf:"computed,optional"`
	// The email of the user that last updated the app.
	Updater types.String `tfsdk:"updater" tf:"computed,optional"`
	// The URL of the app once it is deployed.
	Url types.String `tfsdk:"url" tf:"computed,optional"`
}

func (*App) GetActiveDeployment added in v1.61.0

func (o *App) GetActiveDeployment(ctx context.Context) (AppDeployment, bool)

GetActiveDeployment returns the value of the ActiveDeployment field in App as a AppDeployment value. If the field is unknown or null, the boolean return value is false.

func (*App) GetAppStatus added in v1.61.0

func (o *App) GetAppStatus(ctx context.Context) (ApplicationStatus, bool)

GetAppStatus returns the value of the AppStatus field in App as a ApplicationStatus value. If the field is unknown or null, the boolean return value is false.

func (App) GetComplexFieldTypes added in v1.61.0

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

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

func (*App) GetComputeStatus added in v1.61.0

func (o *App) GetComputeStatus(ctx context.Context) (ComputeStatus, bool)

GetComputeStatus returns the value of the ComputeStatus field in App as a ComputeStatus value. If the field is unknown or null, the boolean return value is false.

func (*App) GetPendingDeployment added in v1.61.0

func (o *App) GetPendingDeployment(ctx context.Context) (AppDeployment, bool)

GetPendingDeployment returns the value of the PendingDeployment field in App as a AppDeployment value. If the field is unknown or null, the boolean return value is false.

func (*App) GetResources added in v1.61.0

func (o *App) GetResources(ctx context.Context) ([]AppResource, bool)

GetResources returns the value of the Resources field in App as a slice of AppResource values. If the field is unknown or null, the boolean return value is false.

func (*App) SetActiveDeployment added in v1.61.0

func (o *App) SetActiveDeployment(ctx context.Context, v AppDeployment)

SetActiveDeployment sets the value of the ActiveDeployment field in App.

func (*App) SetAppStatus added in v1.61.0

func (o *App) SetAppStatus(ctx context.Context, v ApplicationStatus)

SetAppStatus sets the value of the AppStatus field in App.

func (*App) SetComputeStatus added in v1.61.0

func (o *App) SetComputeStatus(ctx context.Context, v ComputeStatus)

SetComputeStatus sets the value of the ComputeStatus field in App.

func (*App) SetPendingDeployment added in v1.61.0

func (o *App) SetPendingDeployment(ctx context.Context, v AppDeployment)

SetPendingDeployment sets the value of the PendingDeployment field in App.

func (*App) SetResources added in v1.61.0

func (o *App) SetResources(ctx context.Context, v []AppResource)

SetResources sets the value of the Resources field in App.

func (*App) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *App) SyncEffectiveFieldsDuringCreateOrUpdate(plan App)

func (*App) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *App) SyncEffectiveFieldsDuringRead(existingState App)

func (App) ToObjectValue added in v1.61.0

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

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

func (App) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppAccessControlRequest

type AppAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (AppAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppAccessControlRequest)

func (*AppAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState AppAccessControlRequest)

func (AppAccessControlRequest) 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, AppAccessControlRequest only implements ToObjectValue() and Type().

func (AppAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppAccessControlResponse

type AppAccessControlResponse struct {
	// All permissions.
	AllPermissions types.List `tfsdk:"all_permissions" tf:"optional"`
	// Display name of the user or service principal.
	DisplayName types.String `tfsdk:"display_name" tf:"optional"`
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Name of the service principal.
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (*AppAccessControlResponse) GetAllPermissions added in v1.61.0

func (o *AppAccessControlResponse) GetAllPermissions(ctx context.Context) ([]AppPermission, bool)

GetAllPermissions returns the value of the AllPermissions field in AppAccessControlResponse as a slice of AppPermission values. If the field is unknown or null, the boolean return value is false.

func (AppAccessControlResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppAccessControlResponse) SetAllPermissions added in v1.61.0

func (o *AppAccessControlResponse) SetAllPermissions(ctx context.Context, v []AppPermission)

SetAllPermissions sets the value of the AllPermissions field in AppAccessControlResponse.

func (*AppAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppAccessControlResponse)

func (*AppAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState AppAccessControlResponse)

func (AppAccessControlResponse) 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, AppAccessControlResponse only implements ToObjectValue() and Type().

func (AppAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppDeployment

type AppDeployment struct {
	// The creation time of the deployment. Formatted timestamp in ISO 6801.
	CreateTime types.String `tfsdk:"create_time" tf:"computed,optional"`
	// The email of the user creates the deployment.
	Creator types.String `tfsdk:"creator" tf:"computed,optional"`
	// The deployment artifacts for an app.
	DeploymentArtifacts types.Object `tfsdk:"deployment_artifacts" tf:"optional,object"`
	// The unique id of the deployment.
	DeploymentId types.String `tfsdk:"deployment_id" tf:"optional"`
	// The mode of which the deployment will manage the source code.
	Mode types.String `tfsdk:"mode" tf:"optional"`
	// The workspace file system path of the source code used to create the app
	// deployment. This is different from
	// `deployment_artifacts.source_code_path`, which is the path used by the
	// deployed app. The former refers to the original source code location of
	// the app in the workspace during deployment creation, whereas the latter
	// provides a system generated stable snapshotted source code path used by
	// the deployment.
	SourceCodePath types.String `tfsdk:"source_code_path" tf:"optional"`
	// Status and status message of the deployment
	Status types.Object `tfsdk:"status" tf:"optional,object"`
	// The update time of the deployment. Formatted timestamp in ISO 6801.
	UpdateTime types.String `tfsdk:"update_time" tf:"computed,optional"`
}

func (AppDeployment) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppDeployment) GetDeploymentArtifacts added in v1.61.0

func (o *AppDeployment) GetDeploymentArtifacts(ctx context.Context) (AppDeploymentArtifacts, bool)

GetDeploymentArtifacts returns the value of the DeploymentArtifacts field in AppDeployment as a AppDeploymentArtifacts value. If the field is unknown or null, the boolean return value is false.

func (*AppDeployment) GetStatus added in v1.61.0

func (o *AppDeployment) GetStatus(ctx context.Context) (AppDeploymentStatus, bool)

GetStatus returns the value of the Status field in AppDeployment as a AppDeploymentStatus value. If the field is unknown or null, the boolean return value is false.

func (*AppDeployment) SetDeploymentArtifacts added in v1.61.0

func (o *AppDeployment) SetDeploymentArtifacts(ctx context.Context, v AppDeploymentArtifacts)

SetDeploymentArtifacts sets the value of the DeploymentArtifacts field in AppDeployment.

func (*AppDeployment) SetStatus added in v1.61.0

func (o *AppDeployment) SetStatus(ctx context.Context, v AppDeploymentStatus)

SetStatus sets the value of the Status field in AppDeployment.

func (*AppDeployment) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppDeployment)

func (*AppDeployment) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppDeployment) SyncEffectiveFieldsDuringRead(existingState AppDeployment)

func (AppDeployment) ToObjectValue added in v1.61.0

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

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

func (AppDeployment) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppDeploymentArtifacts

type AppDeploymentArtifacts struct {
	// The snapshotted workspace file system path of the source code loaded by
	// the deployed app.
	SourceCodePath types.String `tfsdk:"source_code_path" tf:"optional"`
}

func (AppDeploymentArtifacts) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppDeploymentArtifacts) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppDeploymentArtifacts) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppDeploymentArtifacts)

func (*AppDeploymentArtifacts) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppDeploymentArtifacts) SyncEffectiveFieldsDuringRead(existingState AppDeploymentArtifacts)

func (AppDeploymentArtifacts) 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, AppDeploymentArtifacts only implements ToObjectValue() and Type().

func (AppDeploymentArtifacts) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppDeploymentStatus

type AppDeploymentStatus struct {
	// Message corresponding with the deployment state.
	Message types.String `tfsdk:"message" tf:"computed,optional"`
	// State of the deployment.
	State types.String `tfsdk:"state" tf:"optional"`
}

func (AppDeploymentStatus) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppDeploymentStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppDeploymentStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppDeploymentStatus)

func (*AppDeploymentStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppDeploymentStatus) SyncEffectiveFieldsDuringRead(existingState AppDeploymentStatus)

func (AppDeploymentStatus) 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, AppDeploymentStatus only implements ToObjectValue() and Type().

func (AppDeploymentStatus) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppPermission

type AppPermission struct {
	Inherited types.Bool `tfsdk:"inherited" tf:"optional"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (AppPermission) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppPermission) GetInheritedFromObject added in v1.61.0

func (o *AppPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in AppPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*AppPermission) SetInheritedFromObject added in v1.61.0

func (o *AppPermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in AppPermission.

func (*AppPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppPermission)

func (*AppPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppPermission) SyncEffectiveFieldsDuringRead(existingState AppPermission)

func (AppPermission) ToObjectValue added in v1.61.0

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

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

func (AppPermission) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppPermissions

type AppPermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"`

	ObjectId types.String `tfsdk:"object_id" tf:"optional"`

	ObjectType types.String `tfsdk:"object_type" tf:"optional"`
}

func (*AppPermissions) GetAccessControlList added in v1.61.0

func (o *AppPermissions) GetAccessControlList(ctx context.Context) ([]AppAccessControlResponse, bool)

GetAccessControlList returns the value of the AccessControlList field in AppPermissions as a slice of AppAccessControlResponse values. If the field is unknown or null, the boolean return value is false.

func (AppPermissions) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppPermissions) SetAccessControlList added in v1.61.0

func (o *AppPermissions) SetAccessControlList(ctx context.Context, v []AppAccessControlResponse)

SetAccessControlList sets the value of the AccessControlList field in AppPermissions.

func (*AppPermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppPermissions)

func (*AppPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppPermissions) SyncEffectiveFieldsDuringRead(existingState AppPermissions)

func (AppPermissions) ToObjectValue added in v1.61.0

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

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

func (AppPermissions) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppPermissionsDescription

type AppPermissionsDescription struct {
	Description types.String `tfsdk:"description" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (AppPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppPermissionsDescription)

func (*AppPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState AppPermissionsDescription)

func (AppPermissionsDescription) 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, AppPermissionsDescription only implements ToObjectValue() and Type().

func (AppPermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppPermissionsRequest

type AppPermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"`
	// The app for which to get or manage permissions.
	AppName types.String `tfsdk:"-"`
}

func (*AppPermissionsRequest) GetAccessControlList added in v1.61.0

func (o *AppPermissionsRequest) GetAccessControlList(ctx context.Context) ([]AppAccessControlRequest, bool)

GetAccessControlList returns the value of the AccessControlList field in AppPermissionsRequest as a slice of AppAccessControlRequest values. If the field is unknown or null, the boolean return value is false.

func (AppPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppPermissionsRequest) SetAccessControlList added in v1.61.0

func (o *AppPermissionsRequest) SetAccessControlList(ctx context.Context, v []AppAccessControlRequest)

SetAccessControlList sets the value of the AccessControlList field in AppPermissionsRequest.

func (*AppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppPermissionsRequest)

func (*AppPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState AppPermissionsRequest)

func (AppPermissionsRequest) 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, AppPermissionsRequest only implements ToObjectValue() and Type().

func (AppPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppResource added in v1.53.0

type AppResource struct {
	// Description of the App Resource.
	Description types.String `tfsdk:"description" tf:"optional"`

	Job types.Object `tfsdk:"job" tf:"optional,object"`
	// Name of the App Resource.
	Name types.String `tfsdk:"name" tf:""`

	Secret types.Object `tfsdk:"secret" tf:"optional,object"`

	ServingEndpoint types.Object `tfsdk:"serving_endpoint" tf:"optional,object"`

	SqlWarehouse types.Object `tfsdk:"sql_warehouse" tf:"optional,object"`
}

func (AppResource) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppResource) GetJob added in v1.61.0

func (o *AppResource) GetJob(ctx context.Context) (AppResourceJob, bool)

GetJob returns the value of the Job field in AppResource as a AppResourceJob value. If the field is unknown or null, the boolean return value is false.

func (*AppResource) GetSecret added in v1.61.0

func (o *AppResource) GetSecret(ctx context.Context) (AppResourceSecret, bool)

GetSecret returns the value of the Secret field in AppResource as a AppResourceSecret value. If the field is unknown or null, the boolean return value is false.

func (*AppResource) GetServingEndpoint added in v1.61.0

func (o *AppResource) GetServingEndpoint(ctx context.Context) (AppResourceServingEndpoint, bool)

GetServingEndpoint returns the value of the ServingEndpoint field in AppResource as a AppResourceServingEndpoint value. If the field is unknown or null, the boolean return value is false.

func (*AppResource) GetSqlWarehouse added in v1.61.0

func (o *AppResource) GetSqlWarehouse(ctx context.Context) (AppResourceSqlWarehouse, bool)

GetSqlWarehouse returns the value of the SqlWarehouse field in AppResource as a AppResourceSqlWarehouse value. If the field is unknown or null, the boolean return value is false.

func (*AppResource) SetJob added in v1.61.0

func (o *AppResource) SetJob(ctx context.Context, v AppResourceJob)

SetJob sets the value of the Job field in AppResource.

func (*AppResource) SetSecret added in v1.61.0

func (o *AppResource) SetSecret(ctx context.Context, v AppResourceSecret)

SetSecret sets the value of the Secret field in AppResource.

func (*AppResource) SetServingEndpoint added in v1.61.0

func (o *AppResource) SetServingEndpoint(ctx context.Context, v AppResourceServingEndpoint)

SetServingEndpoint sets the value of the ServingEndpoint field in AppResource.

func (*AppResource) SetSqlWarehouse added in v1.61.0

func (o *AppResource) SetSqlWarehouse(ctx context.Context, v AppResourceSqlWarehouse)

SetSqlWarehouse sets the value of the SqlWarehouse field in AppResource.

func (*AppResource) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppResource) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppResource)

func (*AppResource) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppResource) SyncEffectiveFieldsDuringRead(existingState AppResource)

func (AppResource) ToObjectValue added in v1.61.0

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

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

func (AppResource) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppResourceJob added in v1.53.0

type AppResourceJob struct {
	// Id of the job to grant permission on.
	Id types.String `tfsdk:"id" tf:""`
	// Permissions to grant on the Job. Supported permissions are: "CAN_MANAGE",
	// "IS_OWNER", "CAN_MANAGE_RUN", "CAN_VIEW".
	Permission types.String `tfsdk:"permission" tf:""`
}

func (AppResourceJob) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppResourceJob) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppResourceJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppResourceJob)

func (*AppResourceJob) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppResourceJob) SyncEffectiveFieldsDuringRead(existingState AppResourceJob)

func (AppResourceJob) ToObjectValue added in v1.61.0

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

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

func (AppResourceJob) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AppResourceSecret added in v1.53.0

type AppResourceSecret struct {
	// Key of the secret to grant permission on.
	Key types.String `tfsdk:"key" tf:""`
	// Permission to grant on the secret scope. For secrets, only one permission
	// is allowed. Permission must be one of: "READ", "WRITE", "MANAGE".
	Permission types.String `tfsdk:"permission" tf:""`
	// Scope of the secret to grant permission on.
	Scope types.String `tfsdk:"scope" tf:""`
}

func (AppResourceSecret) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppResourceSecret) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppResourceSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppResourceSecret)

func (*AppResourceSecret) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppResourceSecret) SyncEffectiveFieldsDuringRead(existingState AppResourceSecret)

func (AppResourceSecret) ToObjectValue added in v1.61.0

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

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

func (AppResourceSecret) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppResourceServingEndpoint added in v1.53.0

type AppResourceServingEndpoint struct {
	// Name of the serving endpoint to grant permission on.
	Name types.String `tfsdk:"name" tf:""`
	// Permission to grant on the serving endpoint. Supported permissions are:
	// "CAN_MANAGE", "CAN_QUERY", "CAN_VIEW".
	Permission types.String `tfsdk:"permission" tf:""`
}

func (AppResourceServingEndpoint) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppResourceServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppResourceServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppResourceServingEndpoint)

func (*AppResourceServingEndpoint) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppResourceServingEndpoint) SyncEffectiveFieldsDuringRead(existingState AppResourceServingEndpoint)

func (AppResourceServingEndpoint) 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, AppResourceServingEndpoint only implements ToObjectValue() and Type().

func (AppResourceServingEndpoint) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AppResourceSqlWarehouse added in v1.53.0

type AppResourceSqlWarehouse struct {
	// Id of the SQL warehouse to grant permission on.
	Id types.String `tfsdk:"id" tf:""`
	// Permission to grant on the SQL warehouse. Supported permissions are:
	// "CAN_MANAGE", "CAN_USE", "IS_OWNER".
	Permission types.String `tfsdk:"permission" tf:""`
}

func (AppResourceSqlWarehouse) GetComplexFieldTypes added in v1.61.0

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

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

func (*AppResourceSqlWarehouse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AppResourceSqlWarehouse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppResourceSqlWarehouse)

func (*AppResourceSqlWarehouse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AppResourceSqlWarehouse) SyncEffectiveFieldsDuringRead(existingState AppResourceSqlWarehouse)

func (AppResourceSqlWarehouse) 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, AppResourceSqlWarehouse only implements ToObjectValue() and Type().

func (AppResourceSqlWarehouse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ApplicationStatus added in v1.53.0

type ApplicationStatus struct {
	// Application status message
	Message types.String `tfsdk:"message" tf:"computed,optional"`
	// State of the application.
	State types.String `tfsdk:"state" tf:"optional"`
}

func (ApplicationStatus) GetComplexFieldTypes added in v1.61.0

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

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

func (*ApplicationStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ApplicationStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan ApplicationStatus)

func (*ApplicationStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ApplicationStatus) SyncEffectiveFieldsDuringRead(existingState ApplicationStatus)

func (ApplicationStatus) ToObjectValue added in v1.61.0

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

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

func (ApplicationStatus) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ComputeStatus added in v1.53.0

type ComputeStatus struct {
	// Compute status message
	Message types.String `tfsdk:"message" tf:"computed,optional"`
	// State of the app compute.
	State types.String `tfsdk:"state" tf:"optional"`
}

func (ComputeStatus) GetComplexFieldTypes added in v1.61.0

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

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

func (*ComputeStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ComputeStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan ComputeStatus)

func (*ComputeStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ComputeStatus) SyncEffectiveFieldsDuringRead(existingState ComputeStatus)

func (ComputeStatus) ToObjectValue added in v1.61.0

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

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

func (ComputeStatus) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateAppDeploymentRequest

type CreateAppDeploymentRequest struct {
	AppDeployment types.Object `tfsdk:"app_deployment" tf:"optional,object"`
	// The name of the app.
	AppName types.String `tfsdk:"-"`
}

Create an app deployment

func (*CreateAppDeploymentRequest) GetAppDeployment added in v1.61.0

func (o *CreateAppDeploymentRequest) GetAppDeployment(ctx context.Context) (AppDeployment, bool)

GetAppDeployment returns the value of the AppDeployment field in CreateAppDeploymentRequest as a AppDeployment value. If the field is unknown or null, the boolean return value is false.

func (CreateAppDeploymentRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateAppDeploymentRequest) SetAppDeployment added in v1.61.0

func (o *CreateAppDeploymentRequest) SetAppDeployment(ctx context.Context, v AppDeployment)

SetAppDeployment sets the value of the AppDeployment field in CreateAppDeploymentRequest.

func (*CreateAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppDeploymentRequest)

func (*CreateAppDeploymentRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAppDeploymentRequest) SyncEffectiveFieldsDuringRead(existingState CreateAppDeploymentRequest)

func (CreateAppDeploymentRequest) 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, CreateAppDeploymentRequest only implements ToObjectValue() and Type().

func (CreateAppDeploymentRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateAppRequest

type CreateAppRequest struct {
	App types.Object `tfsdk:"app" tf:"optional,object"`
}

Create an app

func (*CreateAppRequest) GetApp added in v1.61.0

func (o *CreateAppRequest) GetApp(ctx context.Context) (App, bool)

GetApp returns the value of the App field in CreateAppRequest as a App value. If the field is unknown or null, the boolean return value is false.

func (CreateAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateAppRequest) SetApp added in v1.61.0

func (o *CreateAppRequest) SetApp(ctx context.Context, v App)

SetApp sets the value of the App field in CreateAppRequest.

func (*CreateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppRequest)

func (*CreateAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAppRequest) SyncEffectiveFieldsDuringRead(existingState CreateAppRequest)

func (CreateAppRequest) ToObjectValue added in v1.61.0

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

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

func (CreateAppRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteAppRequest

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

Delete an app

func (DeleteAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAppRequest)

func (*DeleteAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteAppRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAppRequest)

func (DeleteAppRequest) ToObjectValue added in v1.61.0

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

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

func (DeleteAppRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAppDeploymentRequest

type GetAppDeploymentRequest struct {
	// The name of the app.
	AppName types.String `tfsdk:"-"`
	// The unique id of the deployment.
	DeploymentId types.String `tfsdk:"-"`
}

Get an app deployment

func (GetAppDeploymentRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppDeploymentRequest)

func (*GetAppDeploymentRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAppDeploymentRequest) SyncEffectiveFieldsDuringRead(existingState GetAppDeploymentRequest)

func (GetAppDeploymentRequest) 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, GetAppDeploymentRequest only implements ToObjectValue() and Type().

func (GetAppDeploymentRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAppPermissionLevelsRequest

type GetAppPermissionLevelsRequest struct {
	// The app for which to get or manage permissions.
	AppName types.String `tfsdk:"-"`
}

Get app permission levels

func (GetAppPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionLevelsRequest)

func (*GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsRequest)

func (GetAppPermissionLevelsRequest) 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, GetAppPermissionLevelsRequest only implements ToObjectValue() and Type().

func (GetAppPermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAppPermissionLevelsResponse

type GetAppPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels" tf:"optional"`
}

func (GetAppPermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetAppPermissionLevelsResponse) GetPermissionLevels added in v1.61.0

GetPermissionLevels returns the value of the PermissionLevels field in GetAppPermissionLevelsResponse as a slice of AppPermissionsDescription values. If the field is unknown or null, the boolean return value is false.

func (*GetAppPermissionLevelsResponse) SetPermissionLevels added in v1.61.0

SetPermissionLevels sets the value of the PermissionLevels field in GetAppPermissionLevelsResponse.

func (*GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionLevelsResponse)

func (*GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsResponse)

func (GetAppPermissionLevelsResponse) 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, GetAppPermissionLevelsResponse only implements ToObjectValue() and Type().

func (GetAppPermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAppPermissionsRequest

type GetAppPermissionsRequest struct {
	// The app for which to get or manage permissions.
	AppName types.String `tfsdk:"-"`
}

Get app permissions

func (GetAppPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetAppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionsRequest)

func (*GetAppPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAppPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionsRequest)

func (GetAppPermissionsRequest) 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, GetAppPermissionsRequest only implements ToObjectValue() and Type().

func (GetAppPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAppRequest

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

Get an app

func (GetAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppRequest)

func (*GetAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAppRequest) SyncEffectiveFieldsDuringRead(existingState GetAppRequest)

func (GetAppRequest) ToObjectValue added in v1.61.0

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

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

func (GetAppRequest) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ListAppDeploymentsRequest

type ListAppDeploymentsRequest struct {
	// The name of the app.
	AppName types.String `tfsdk:"-"`
	// Upper bound for items returned.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token to go to the next page of apps. Requests first page if
	// absent.
	PageToken types.String `tfsdk:"-"`
}

List app deployments

func (ListAppDeploymentsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ListAppDeploymentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAppDeploymentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppDeploymentsRequest)

func (*ListAppDeploymentsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAppDeploymentsRequest) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsRequest)

func (ListAppDeploymentsRequest) 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, ListAppDeploymentsRequest only implements ToObjectValue() and Type().

func (ListAppDeploymentsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAppDeploymentsResponse

type ListAppDeploymentsResponse struct {
	// Deployment history of the app.
	AppDeployments types.List `tfsdk:"app_deployments" tf:"optional"`
	// Pagination token to request the next page of apps.
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
}

func (*ListAppDeploymentsResponse) GetAppDeployments added in v1.61.0

func (o *ListAppDeploymentsResponse) GetAppDeployments(ctx context.Context) ([]AppDeployment, bool)

GetAppDeployments returns the value of the AppDeployments field in ListAppDeploymentsResponse as a slice of AppDeployment values. If the field is unknown or null, the boolean return value is false.

func (ListAppDeploymentsResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ListAppDeploymentsResponse) SetAppDeployments added in v1.61.0

func (o *ListAppDeploymentsResponse) SetAppDeployments(ctx context.Context, v []AppDeployment)

SetAppDeployments sets the value of the AppDeployments field in ListAppDeploymentsResponse.

func (*ListAppDeploymentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAppDeploymentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppDeploymentsResponse)

func (*ListAppDeploymentsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAppDeploymentsResponse) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsResponse)

func (ListAppDeploymentsResponse) 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, ListAppDeploymentsResponse only implements ToObjectValue() and Type().

func (ListAppDeploymentsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAppsRequest

type ListAppsRequest struct {
	// Upper bound for items returned.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token to go to the next page of apps. Requests first page if
	// absent.
	PageToken types.String `tfsdk:"-"`
}

List apps

func (ListAppsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ListAppsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAppsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppsRequest)

func (*ListAppsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAppsRequest) SyncEffectiveFieldsDuringRead(existingState ListAppsRequest)

func (ListAppsRequest) ToObjectValue added in v1.61.0

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

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

func (ListAppsRequest) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ListAppsResponse

type ListAppsResponse struct {
	Apps types.List `tfsdk:"apps" tf:"optional"`
	// Pagination token to request the next page of apps.
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
}

func (*ListAppsResponse) GetApps added in v1.61.0

func (o *ListAppsResponse) GetApps(ctx context.Context) ([]App, bool)

GetApps returns the value of the Apps field in ListAppsResponse as a slice of App values. If the field is unknown or null, the boolean return value is false.

func (ListAppsResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ListAppsResponse) SetApps added in v1.61.0

func (o *ListAppsResponse) SetApps(ctx context.Context, v []App)

SetApps sets the value of the Apps field in ListAppsResponse.

func (*ListAppsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAppsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppsResponse)

func (*ListAppsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAppsResponse) SyncEffectiveFieldsDuringRead(existingState ListAppsResponse)

func (ListAppsResponse) ToObjectValue added in v1.61.0

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

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

func (ListAppsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StartAppRequest

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

func (StartAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*StartAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StartAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartAppRequest)

func (*StartAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StartAppRequest) SyncEffectiveFieldsDuringRead(existingState StartAppRequest)

func (StartAppRequest) ToObjectValue added in v1.61.0

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

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

func (StartAppRequest) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type StopAppRequest

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

func (StopAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*StopAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StopAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopAppRequest)

func (*StopAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StopAppRequest) SyncEffectiveFieldsDuringRead(existingState StopAppRequest)

func (StopAppRequest) ToObjectValue added in v1.61.0

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

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

func (StopAppRequest) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type UpdateAppRequest

type UpdateAppRequest struct {
	App types.Object `tfsdk:"app" tf:"optional,object"`
	// The name of the app. The name must contain only lowercase alphanumeric
	// characters and hyphens. It must be unique within the workspace.
	Name types.String `tfsdk:"-"`
}

Update an app

func (*UpdateAppRequest) GetApp added in v1.61.0

func (o *UpdateAppRequest) GetApp(ctx context.Context) (App, bool)

GetApp returns the value of the App field in UpdateAppRequest as a App value. If the field is unknown or null, the boolean return value is false.

func (UpdateAppRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*UpdateAppRequest) SetApp added in v1.61.0

func (o *UpdateAppRequest) SetApp(ctx context.Context, v App)

SetApp sets the value of the App field in UpdateAppRequest.

func (*UpdateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAppRequest)

func (*UpdateAppRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateAppRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAppRequest)

func (UpdateAppRequest) ToObjectValue added in v1.61.0

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

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

func (UpdateAppRequest) 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