Documentation
¶
Index ¶
- Variables
- func NewAccessPolicyResource() resource.Resource
- func NewAccessPolicyTemplateResource() resource.Resource
- func NewTransformerResource() resource.Resource
- type AccessPolicyResource
- func (r *AccessPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AccessPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AccessPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AccessPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AccessPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AccessPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AccessPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AccessPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AccessPolicyTemplateResource
- func (r *AccessPolicyTemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AccessPolicyTemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AccessPolicyTemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AccessPolicyTemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AccessPolicyTemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AccessPolicyTemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AccessPolicyTemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AccessPolicyTemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PaginationCursorJSONClientModel
- type PaginationCursorTFModel
- type PolicyAccessPolicyComponentJSONClientModel
- type PolicyAccessPolicyComponentTFModel
- type PolicyAccessPolicyJSONClientModel
- type PolicyAccessPolicyTFModel
- type PolicyAccessPolicyTemplateJSONClientModel
- type PolicyAccessPolicyTemplateTFModel
- type PolicyAccessPolicyThresholdsJSONClientModel
- type PolicyAccessPolicyThresholdsTFModel
- type PolicyClientContextJSONClientModel
- type PolicyClientContextTFModel
- type PolicyPolicyTypeJSONClientModel
- type PolicyPolicyTypeTFModel
- type PolicyTransformTypeJSONClientModel
- type PolicyTransformTypeTFModel
- type PolicyTransformerJSONClientModel
- type PolicyTransformerTFModel
- type TokenizerCreateAccessPolicyRequestJSONClientModel
- type TokenizerCreateAccessPolicyRequestTFModel
- type TokenizerCreateAccessPolicyTemplateRequestJSONClientModel
- type TokenizerCreateAccessPolicyTemplateRequestTFModel
- type TokenizerCreateTokenRequestJSONClientModel
- type TokenizerCreateTokenRequestTFModel
- type TokenizerCreateTokenResponseJSONClientModel
- type TokenizerCreateTokenResponseTFModel
- type TokenizerCreateTransformerRequestJSONClientModel
- type TokenizerCreateTransformerRequestTFModel
- type TokenizerInspectTokenRequestJSONClientModel
- type TokenizerInspectTokenRequestTFModel
- type TokenizerInspectTokenResponseJSONClientModel
- type TokenizerInspectTokenResponseTFModel
- type TokenizerLookupOrCreateTokensRequestJSONClientModel
- type TokenizerLookupOrCreateTokensRequestTFModel
- type TokenizerLookupOrCreateTokensResponseJSONClientModel
- type TokenizerLookupOrCreateTokensResponseTFModel
- type TokenizerLookupTokensRequestJSONClientModel
- type TokenizerLookupTokensRequestTFModel
- type TokenizerLookupTokensResponseJSONClientModel
- type TokenizerLookupTokensResponseTFModel
- type TokenizerResolveTokenResponseJSONClientModel
- type TokenizerResolveTokenResponseTFModel
- type TokenizerUpdateAccessPolicyRequestJSONClientModel
- type TokenizerUpdateAccessPolicyRequestTFModel
- type TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel
- type TokenizerUpdateAccessPolicyTemplateRequestTFModel
- type TokenizerUpdateTransformerRequestJSONClientModel
- type TokenizerUpdateTransformerRequestTFModel
- type TransformerResource
- func (r *TransformerResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TransformerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TransformerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TransformerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TransformerResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TransformerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TransformerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TransformerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UUIDUuidJSONClientModel
- type UUIDUuidTFModel
- type UserstoreColumnConstraintsJSONClientModel
- type UserstoreColumnConstraintsTFModel
- type UserstoreColumnFieldJSONClientModel
- type UserstoreColumnFieldTFModel
- type UserstoreResourceIDJSONClientModel
- type UserstoreResourceIDTFModel
- type UuidarrayUuidarrayJSONClientModel
- type UuidarrayUuidarrayTFModel
Constants ¶
This section is empty.
Variables ¶
var PaginationCursorAttrTypes = map[string]attr.Type{}
PaginationCursorAttrTypes defines the attribute types for the PaginationCursorAttributes schema.
var PaginationCursorAttributes = map[string]schema.Attribute{}
PaginationCursorAttributes defines the Terraform attributes schema.
var PolicyAccessPolicyAttrTypes = map[string]attr.Type{ "components": types.ListType{ ElemType: types.ObjectType{ AttrTypes: PolicyAccessPolicyComponentAttrTypes, }, }, "description": types.StringType, "id": types.StringType, "is_autogenerated": types.BoolType, "name": types.StringType, "policy_type": types.StringType, "required_context": types.MapType{ ElemType: types.StringType, }, "tag_ids": types.ListType{ ElemType: types.StringType, }, "thresholds": types.ObjectType{ AttrTypes: PolicyAccessPolicyThresholdsAttrTypes, }, "version": types.Int64Type, }
PolicyAccessPolicyAttrTypes defines the attribute types for the PolicyAccessPolicyAttributes schema.
var PolicyAccessPolicyAttributes = map[string]schema.Attribute{ "components": schema.ListNestedAttribute{ NestedObject: schema.NestedAttributeObject{ Attributes: PolicyAccessPolicyComponentAttributes, }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "description": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "id": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "is_autogenerated": schema.BoolAttribute{ Computed: true, Description: "Whether this policy is autogenerated from an accessor or mutator.", MarkdownDescription: "Whether this policy is autogenerated from an accessor or mutator.", Optional: true, }, "name": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, "policy_type": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.OneOf([]string{"composite_and", "composite_or"}...), }, Description: "Valid values: `composite_and`, `composite_or`", MarkdownDescription: "Valid values: `composite_and`, `composite_or`", Required: true, }, "required_context": schema.MapAttribute{ ElementType: types.StringType, Computed: true, Description: "What context is required for this policy to be executed", MarkdownDescription: "What context is required for this policy to be executed", Optional: true, }, "tag_ids": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "thresholds": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyThresholdsAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "version": schema.Int64Attribute{ Computed: true, Description: "", MarkdownDescription: "", PlanModifiers: []planmodifier.Int64{ planmodifiers.IncrementOnUpdate(), }, }, }
PolicyAccessPolicyAttributes defines the Terraform attributes schema.
var PolicyAccessPolicyComponentAttrTypes = map[string]attr.Type{ "policy": types.StringType, "template": types.StringType, "template_parameters": types.StringType, }
PolicyAccessPolicyComponentAttrTypes defines the attribute types for the PolicyAccessPolicyComponentAttributes schema.
var PolicyAccessPolicyComponentAttributes = map[string]schema.Attribute{ "policy": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "template": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "template_parameters": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
PolicyAccessPolicyComponentAttributes defines the Terraform attributes schema.
var PolicyAccessPolicyTemplateAttrTypes = map[string]attr.Type{ "created": types.StringType, "deleted": types.StringType, "description": types.StringType, "function": types.StringType, "id": types.StringType, "name": types.StringType, "updated": types.StringType, "version": types.Int64Type, }
PolicyAccessPolicyTemplateAttrTypes defines the attribute types for the PolicyAccessPolicyTemplateAttributes schema.
var PolicyAccessPolicyTemplateAttributes = map[string]schema.Attribute{ "created": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "deleted": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "description": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "function": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, "id": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "name": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, "updated": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "version": schema.Int64Attribute{ Computed: true, Description: "", MarkdownDescription: "", PlanModifiers: []planmodifier.Int64{ planmodifiers.IncrementOnUpdate(), }, }, }
PolicyAccessPolicyTemplateAttributes defines the Terraform attributes schema.
var PolicyAccessPolicyThresholdsAttrTypes = map[string]attr.Type{ "announce_max_execution_failure": types.BoolType, "announce_max_result_failure": types.BoolType, "max_execution_duration_seconds": types.Int64Type, "max_executions": types.Int64Type, "max_results_per_execution": types.Int64Type, }
PolicyAccessPolicyThresholdsAttrTypes defines the attribute types for the PolicyAccessPolicyThresholdsAttributes schema.
var PolicyAccessPolicyThresholdsAttributes = map[string]schema.Attribute{ "announce_max_execution_failure": schema.BoolAttribute{ Computed: true, Description: "If true, we return '429 Too Many Requests' if max_executions is exceeded for the past max_execution_duration_seconds seconds.", MarkdownDescription: "If true, we return '429 Too Many Requests' if max_executions is exceeded for the past max_execution_duration_seconds seconds.", Optional: true, }, "announce_max_result_failure": schema.BoolAttribute{ Computed: true, Description: "If true, we return '400 Bad Request' if the action would involve more than max_results_per_execution results.", MarkdownDescription: "If true, we return '400 Bad Request' if the action would involve more than max_results_per_execution results.", Optional: true, }, "max_execution_duration_seconds": schema.Int64Attribute{ Computed: true, Description: "Specifies the duration in seconds over which we limit the max executions. If max_executions is non-zero, this value must be between 5 and 60, inclusive.", MarkdownDescription: "Specifies the duration in seconds over which we limit the max executions. If max_executions is non-zero, this value must be between 5 and 60, inclusive.", Optional: true, }, "max_executions": schema.Int64Attribute{ Computed: true, Description: "If non-zero, specifies the maximum number of executions for the past max_execution_duration_seconds seconds.", MarkdownDescription: "If non-zero, specifies the maximum number of executions for the past max_execution_duration_seconds seconds.", Optional: true, }, "max_results_per_execution": schema.Int64Attribute{ Computed: true, Description: "If non-zero, specifies the max number of results that an action can involve.", MarkdownDescription: "If non-zero, specifies the max number of results that an action can involve.", Optional: true, }, }
PolicyAccessPolicyThresholdsAttributes defines the Terraform attributes schema.
var PolicyClientContextAttrTypes = map[string]attr.Type{}
PolicyClientContextAttrTypes defines the attribute types for the PolicyClientContextAttributes schema.
var PolicyClientContextAttributes = map[string]schema.Attribute{}
PolicyClientContextAttributes defines the Terraform attributes schema.
var PolicyPolicyTypeAttrTypes = map[string]attr.Type{}
PolicyPolicyTypeAttrTypes defines the attribute types for the PolicyPolicyTypeAttributes schema.
var PolicyPolicyTypeAttributes = map[string]schema.Attribute{}
PolicyPolicyTypeAttributes defines the Terraform attributes schema.
var PolicyTransformTypeAttrTypes = map[string]attr.Type{}
PolicyTransformTypeAttrTypes defines the attribute types for the PolicyTransformTypeAttributes schema.
var PolicyTransformTypeAttributes = map[string]schema.Attribute{}
PolicyTransformTypeAttributes defines the Terraform attributes schema.
var PolicyTransformerAttrTypes = map[string]attr.Type{ "description": types.StringType, "function": types.StringType, "id": types.StringType, "input_data_type": types.StringType, "input_type": types.StringType, "input_type_constraints": types.ObjectType{ AttrTypes: UserstoreColumnConstraintsAttrTypes, }, "name": types.StringType, "output_data_type": types.StringType, "output_type": types.StringType, "output_type_constraints": types.ObjectType{ AttrTypes: UserstoreColumnConstraintsAttrTypes, }, "parameters": types.StringType, "reuse_existing_token": types.BoolType, "tag_ids": types.ListType{ ElemType: types.StringType, }, "transform_type": types.StringType, "version": types.Int64Type, }
PolicyTransformerAttrTypes defines the attribute types for the PolicyTransformerAttributes schema.
var PolicyTransformerAttributes = map[string]schema.Attribute{ "description": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "function": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, "id": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "input_data_type": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Description: "", MarkdownDescription: "", Required: true, }, "input_type": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "input_type_constraints": schema.SingleNestedAttribute{ Attributes: UserstoreColumnConstraintsAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "name": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, "output_data_type": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Description: "", MarkdownDescription: "", Required: true, }, "output_type": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "output_type_constraints": schema.SingleNestedAttribute{ Attributes: UserstoreColumnConstraintsAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "parameters": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "reuse_existing_token": schema.BoolAttribute{ Computed: true, Description: "Specifies if the tokenizing transformer should return existing token instead of creating a new one.", MarkdownDescription: "Specifies if the tokenizing transformer should return existing token instead of creating a new one.", Optional: true, }, "tag_ids": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "transform_type": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.OneOf([]string{"passthrough", "tokenizebyreference", "tokenizebyvalue", "transform"}...), }, Description: "Valid values: `passthrough`, `tokenizebyreference`, `tokenizebyvalue`, `transform`", MarkdownDescription: "Valid values: `passthrough`, `tokenizebyreference`, `tokenizebyvalue`, `transform`", Required: true, }, "version": schema.Int64Attribute{ Computed: true, Description: "", MarkdownDescription: "", PlanModifiers: []planmodifier.Int64{ planmodifiers.IncrementOnUpdate(), }, }, }
PolicyTransformerAttributes defines the Terraform attributes schema.
var TokenizerCreateAccessPolicyRequestAttrTypes = map[string]attr.Type{ "access_policy": types.ObjectType{ AttrTypes: PolicyAccessPolicyAttrTypes, }, }
TokenizerCreateAccessPolicyRequestAttrTypes defines the attribute types for the TokenizerCreateAccessPolicyRequestAttributes schema.
var TokenizerCreateAccessPolicyRequestAttributes = map[string]schema.Attribute{ "access_policy": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerCreateAccessPolicyRequestAttributes defines the Terraform attributes schema.
var TokenizerCreateAccessPolicyTemplateRequestAttrTypes = map[string]attr.Type{ "access_policy_template": types.ObjectType{ AttrTypes: PolicyAccessPolicyTemplateAttrTypes, }, }
TokenizerCreateAccessPolicyTemplateRequestAttrTypes defines the attribute types for the TokenizerCreateAccessPolicyTemplateRequestAttributes schema.
var TokenizerCreateAccessPolicyTemplateRequestAttributes = map[string]schema.Attribute{ "access_policy_template": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyTemplateAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerCreateAccessPolicyTemplateRequestAttributes defines the Terraform attributes schema.
var TokenizerCreateTokenRequestAttrTypes = map[string]attr.Type{ "access_policy_rid": types.StringType, "data": types.StringType, "transformer_rid": types.StringType, }
TokenizerCreateTokenRequestAttrTypes defines the attribute types for the TokenizerCreateTokenRequestAttributes schema.
var TokenizerCreateTokenRequestAttributes = map[string]schema.Attribute{ "access_policy_rid": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "data": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "transformer_rid": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerCreateTokenRequestAttributes defines the Terraform attributes schema.
var TokenizerCreateTokenResponseAttrTypes = map[string]attr.Type{ "data": types.StringType, }
TokenizerCreateTokenResponseAttrTypes defines the attribute types for the TokenizerCreateTokenResponseAttributes schema.
var TokenizerCreateTokenResponseAttributes = map[string]schema.Attribute{ "data": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerCreateTokenResponseAttributes defines the Terraform attributes schema.
var TokenizerCreateTransformerRequestAttrTypes = map[string]attr.Type{ "transformer": types.ObjectType{ AttrTypes: PolicyTransformerAttrTypes, }, }
TokenizerCreateTransformerRequestAttrTypes defines the attribute types for the TokenizerCreateTransformerRequestAttributes schema.
var TokenizerCreateTransformerRequestAttributes = map[string]schema.Attribute{ "transformer": schema.SingleNestedAttribute{ Attributes: PolicyTransformerAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerCreateTransformerRequestAttributes defines the Terraform attributes schema.
var TokenizerInspectTokenRequestAttrTypes = map[string]attr.Type{ "token": types.StringType, }
TokenizerInspectTokenRequestAttrTypes defines the attribute types for the TokenizerInspectTokenRequestAttributes schema.
var TokenizerInspectTokenRequestAttributes = map[string]schema.Attribute{ "token": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerInspectTokenRequestAttributes defines the Terraform attributes schema.
var TokenizerInspectTokenResponseAttrTypes = map[string]attr.Type{ "access_policy": types.ObjectType{ AttrTypes: PolicyAccessPolicyAttrTypes, }, "created": types.StringType, "id": types.StringType, "token": types.StringType, "transformer": types.ObjectType{ AttrTypes: PolicyTransformerAttrTypes, }, "updated": types.StringType, }
TokenizerInspectTokenResponseAttrTypes defines the attribute types for the TokenizerInspectTokenResponseAttributes schema.
var TokenizerInspectTokenResponseAttributes = map[string]schema.Attribute{ "access_policy": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "created": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "id": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "token": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "transformer": schema.SingleNestedAttribute{ Attributes: PolicyTransformerAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "updated": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerInspectTokenResponseAttributes defines the Terraform attributes schema.
var TokenizerLookupOrCreateTokensRequestAttrTypes = map[string]attr.Type{ "access_policy_rids": types.ListType{ ElemType: types.StringType, }, "data": types.ListType{ ElemType: types.StringType, }, "transformer_rids": types.ListType{ ElemType: types.StringType, }, }
TokenizerLookupOrCreateTokensRequestAttrTypes defines the attribute types for the TokenizerLookupOrCreateTokensRequestAttributes schema.
var TokenizerLookupOrCreateTokensRequestAttributes = map[string]schema.Attribute{ "access_policy_rids": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "data": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "transformer_rids": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerLookupOrCreateTokensRequestAttributes defines the Terraform attributes schema.
var TokenizerLookupOrCreateTokensResponseAttrTypes = map[string]attr.Type{ "tokens": types.ListType{ ElemType: types.StringType, }, }
TokenizerLookupOrCreateTokensResponseAttrTypes defines the attribute types for the TokenizerLookupOrCreateTokensResponseAttributes schema.
var TokenizerLookupOrCreateTokensResponseAttributes = map[string]schema.Attribute{ "tokens": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerLookupOrCreateTokensResponseAttributes defines the Terraform attributes schema.
var TokenizerLookupTokensRequestAttrTypes = map[string]attr.Type{ "access_policy_rid": types.StringType, "data": types.StringType, "transformer_rid": types.StringType, }
TokenizerLookupTokensRequestAttrTypes defines the attribute types for the TokenizerLookupTokensRequestAttributes schema.
var TokenizerLookupTokensRequestAttributes = map[string]schema.Attribute{ "access_policy_rid": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "data": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "transformer_rid": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerLookupTokensRequestAttributes defines the Terraform attributes schema.
var TokenizerLookupTokensResponseAttrTypes = map[string]attr.Type{ "tokens": types.ListType{ ElemType: types.StringType, }, }
TokenizerLookupTokensResponseAttrTypes defines the attribute types for the TokenizerLookupTokensResponseAttributes schema.
var TokenizerLookupTokensResponseAttributes = map[string]schema.Attribute{ "tokens": schema.ListAttribute{ ElementType: types.StringType, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerLookupTokensResponseAttributes defines the Terraform attributes schema.
var TokenizerResolveTokenResponseAttrTypes = map[string]attr.Type{ "data": types.StringType, "token": types.StringType, }
TokenizerResolveTokenResponseAttrTypes defines the attribute types for the TokenizerResolveTokenResponseAttributes schema.
var TokenizerResolveTokenResponseAttributes = map[string]schema.Attribute{ "data": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, "token": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerResolveTokenResponseAttributes defines the Terraform attributes schema.
var TokenizerUpdateAccessPolicyRequestAttrTypes = map[string]attr.Type{ "access_policy": types.ObjectType{ AttrTypes: PolicyAccessPolicyAttrTypes, }, }
TokenizerUpdateAccessPolicyRequestAttrTypes defines the attribute types for the TokenizerUpdateAccessPolicyRequestAttributes schema.
var TokenizerUpdateAccessPolicyRequestAttributes = map[string]schema.Attribute{ "access_policy": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerUpdateAccessPolicyRequestAttributes defines the Terraform attributes schema.
var TokenizerUpdateAccessPolicyTemplateRequestAttrTypes = map[string]attr.Type{ "access_policy_template": types.ObjectType{ AttrTypes: PolicyAccessPolicyTemplateAttrTypes, }, }
TokenizerUpdateAccessPolicyTemplateRequestAttrTypes defines the attribute types for the TokenizerUpdateAccessPolicyTemplateRequestAttributes schema.
var TokenizerUpdateAccessPolicyTemplateRequestAttributes = map[string]schema.Attribute{ "access_policy_template": schema.SingleNestedAttribute{ Attributes: PolicyAccessPolicyTemplateAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerUpdateAccessPolicyTemplateRequestAttributes defines the Terraform attributes schema.
var TokenizerUpdateTransformerRequestAttrTypes = map[string]attr.Type{ "transformer": types.ObjectType{ AttrTypes: PolicyTransformerAttrTypes, }, }
TokenizerUpdateTransformerRequestAttrTypes defines the attribute types for the TokenizerUpdateTransformerRequestAttributes schema.
var TokenizerUpdateTransformerRequestAttributes = map[string]schema.Attribute{ "transformer": schema.SingleNestedAttribute{ Attributes: PolicyTransformerAttributes, Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
TokenizerUpdateTransformerRequestAttributes defines the Terraform attributes schema.
var UUIDUuidAttrTypes = map[string]attr.Type{}
UUIDUuidAttrTypes defines the attribute types for the UUIDUuidAttributes schema.
var UUIDUuidAttributes = map[string]schema.Attribute{}
UUIDUuidAttributes defines the Terraform attributes schema.
var UserstoreColumnConstraintsAttrTypes = map[string]attr.Type{ "fields": types.ListType{ ElemType: types.ObjectType{ AttrTypes: UserstoreColumnFieldAttrTypes, }, }, "immutable_required": types.BoolType, "partial_updates": types.BoolType, "unique_id_required": types.BoolType, "unique_required": types.BoolType, }
UserstoreColumnConstraintsAttrTypes defines the attribute types for the UserstoreColumnConstraintsAttributes schema.
var UserstoreColumnConstraintsAttributes = map[string]schema.Attribute{ "fields": schema.ListNestedAttribute{ NestedObject: schema.NestedAttributeObject{ Attributes: UserstoreColumnFieldAttributes, }, Computed: true, Description: "The set of fields associated with a column of type composite. Fields cannot be specified if the column type is not composite.", MarkdownDescription: "The set of fields associated with a column of type composite. Fields cannot be specified if the column type is not composite.", Optional: true, }, "immutable_required": schema.BoolAttribute{ Computed: true, Description: "Can be enabled when unique_id_required is enabled. If true, values for the associated column cannot be modified, but can be added or removed.", MarkdownDescription: "Can be enabled when unique_id_required is enabled. If true, values for the associated column cannot be modified, but can be added or removed.", Optional: true, }, "partial_updates": schema.BoolAttribute{ Computed: true, Description: "Can be enabled for array columns that have UniqueRequired or UniqueIDRequired enabled. When enabled, a mutation request will update the specified subset of values for the associated column.", MarkdownDescription: "Can be enabled for array columns that have UniqueRequired or UniqueIDRequired enabled. When enabled, a mutation request will update the specified subset of values for the associated column.", Optional: true, }, "unique_id_required": schema.BoolAttribute{ Computed: true, Description: "Can be enabled for column type composite or address. If true, each value for the associated column must have a unique string ID, which can either be provided or generated by backend.", MarkdownDescription: "Can be enabled for column type composite or address. If true, each value for the associated column must have a unique string ID, which can either be provided or generated by backend.", Optional: true, }, "unique_required": schema.BoolAttribute{ Computed: true, Description: "If true, each value for the associated column must be unique for the user. This is primarily useful for array columns.", MarkdownDescription: "If true, each value for the associated column must be unique for the user. This is primarily useful for array columns.", Optional: true, }, }
UserstoreColumnConstraintsAttributes defines the Terraform attributes schema.
var UserstoreColumnFieldAttrTypes = map[string]attr.Type{ "camel_case_name": types.StringType, "ignore_for_uniqueness": types.BoolType, "name": types.StringType, "required": types.BoolType, "struct_name": types.StringType, "type": types.StringType, }
UserstoreColumnFieldAttrTypes defines the attribute types for the UserstoreColumnFieldAttributes schema.
var UserstoreColumnFieldAttributes = map[string]schema.Attribute{ "camel_case_name": schema.StringAttribute{ Computed: true, Description: "Read-only camel-case version of field name, with underscores stripped out. (ex. IDField1)", MarkdownDescription: "Read-only camel-case version of field name, with underscores stripped out. (ex. IDField1)", Optional: true, }, "ignore_for_uniqueness": schema.BoolAttribute{ Computed: true, Description: "If true, field value will be ignored when comparing two composite value for a uniqueness check.", MarkdownDescription: "If true, field value will be ignored when comparing two composite value for a uniqueness check.", Optional: true, }, "name": schema.StringAttribute{ Description: "Each part of name must be capitalized or all-caps, separated by underscores. Names may contain alphanumeric characters, and the first part must start with a letter, while other parts may start with a number. (ex. ID_Field_1)", MarkdownDescription: "Each part of name must be capitalized or all-caps, separated by underscores. Names may contain alphanumeric characters, and the first part must start with a letter, while other parts may start with a number. (ex. ID_Field_1)", Required: true, }, "required": schema.BoolAttribute{ Computed: true, Description: "Whether a value must be specified for the field.", MarkdownDescription: "Whether a value must be specified for the field.", Optional: true, }, "struct_name": schema.StringAttribute{ Computed: true, Description: "Read-only snake-case version of field name, with all letters lowercase. (ex. id_field_1)", MarkdownDescription: "Read-only snake-case version of field name, with all letters lowercase. (ex. id_field_1)", Optional: true, }, "type": schema.StringAttribute{ Description: "", MarkdownDescription: "", Required: true, }, }
UserstoreColumnFieldAttributes defines the Terraform attributes schema.
var UserstoreResourceIDAttrTypes = map[string]attr.Type{ "id": types.StringType, "name": types.StringType, }
UserstoreResourceIDAttrTypes defines the attribute types for the UserstoreResourceIDAttributes schema.
var UserstoreResourceIDAttributes = map[string]schema.Attribute{ "id": schema.StringAttribute{ Validators: []validator.String{ stringvalidator.RegexMatches( regexp.MustCompile("(?i)^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"), "invalid UUID format", ), }, Computed: true, Description: "", MarkdownDescription: "", Optional: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "name": schema.StringAttribute{ Computed: true, Description: "", MarkdownDescription: "", Optional: true, }, }
UserstoreResourceIDAttributes defines the Terraform attributes schema.
var UuidarrayUuidarrayAttrTypes = map[string]attr.Type{}
UuidarrayUuidarrayAttrTypes defines the attribute types for the UuidarrayUuidarrayAttributes schema.
var UuidarrayUuidarrayAttributes = map[string]schema.Attribute{}
UuidarrayUuidarrayAttributes defines the Terraform attributes schema.
Functions ¶
func NewAccessPolicyResource ¶
NewAccessPolicyResource returns a new instance of the resource.
func NewAccessPolicyTemplateResource ¶
NewAccessPolicyTemplateResource returns a new instance of the resource.
func NewTransformerResource ¶
NewTransformerResource returns a new instance of the resource.
Types ¶
type AccessPolicyResource ¶
type AccessPolicyResource struct {
// contains filtered or unexported fields
}
AccessPolicyResource defines the resource implementation.
func (*AccessPolicyResource) Configure ¶
func (r *AccessPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure configures the resource.
func (*AccessPolicyResource) Create ¶
func (r *AccessPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates a new resource.
func (*AccessPolicyResource) Delete ¶
func (r *AccessPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes an existing resource.
func (*AccessPolicyResource) ImportState ¶
func (r *AccessPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports an existing resource into Terraform.
func (*AccessPolicyResource) Metadata ¶
func (r *AccessPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata describes the resource metadata.
func (*AccessPolicyResource) Read ¶
func (r *AccessPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read reads the existing resource state.
func (*AccessPolicyResource) Schema ¶
func (r *AccessPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema describes the resource schema.
func (*AccessPolicyResource) Update ¶
func (r *AccessPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates an existing resource.
type AccessPolicyTemplateResource ¶
type AccessPolicyTemplateResource struct {
// contains filtered or unexported fields
}
AccessPolicyTemplateResource defines the resource implementation.
func (*AccessPolicyTemplateResource) Configure ¶
func (r *AccessPolicyTemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure configures the resource.
func (*AccessPolicyTemplateResource) Create ¶
func (r *AccessPolicyTemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates a new resource.
func (*AccessPolicyTemplateResource) Delete ¶
func (r *AccessPolicyTemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes an existing resource.
func (*AccessPolicyTemplateResource) ImportState ¶
func (r *AccessPolicyTemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports an existing resource into Terraform.
func (*AccessPolicyTemplateResource) Metadata ¶
func (r *AccessPolicyTemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata describes the resource metadata.
func (*AccessPolicyTemplateResource) Read ¶
func (r *AccessPolicyTemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read reads the existing resource state.
func (*AccessPolicyTemplateResource) Schema ¶
func (r *AccessPolicyTemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema describes the resource schema.
func (*AccessPolicyTemplateResource) Update ¶
func (r *AccessPolicyTemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates an existing resource.
type PaginationCursorJSONClientModel ¶
type PaginationCursorJSONClientModel struct { }
PaginationCursorJSONClientModel stores data for use with jsonclient for making API requests.
func PaginationCursorTFModelToJSONClient ¶
func PaginationCursorTFModelToJSONClient(in *PaginationCursorTFModel) (*PaginationCursorJSONClientModel, error)
PaginationCursorTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PaginationCursorTFModel ¶
type PaginationCursorTFModel struct { }
PaginationCursorTFModel is a Terraform model struct for the PaginationCursorAttributes schema.
func PaginationCursorJSONClientModelToTF ¶
func PaginationCursorJSONClientModelToTF(in *PaginationCursorJSONClientModel) (PaginationCursorTFModel, error)
PaginationCursorJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyAccessPolicyComponentJSONClientModel ¶
type PolicyAccessPolicyComponentJSONClientModel struct { Policy *UserstoreResourceIDJSONClientModel `json:"policy,omitempty"` Template *UserstoreResourceIDJSONClientModel `json:"template,omitempty"` TemplateParameters *string `json:"template_parameters,omitempty"` }
PolicyAccessPolicyComponentJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyAccessPolicyComponentTFModelToJSONClient ¶
func PolicyAccessPolicyComponentTFModelToJSONClient(in *PolicyAccessPolicyComponentTFModel) (*PolicyAccessPolicyComponentJSONClientModel, error)
PolicyAccessPolicyComponentTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyAccessPolicyComponentTFModel ¶
type PolicyAccessPolicyComponentTFModel struct { Policy types.String `tfsdk:"policy"` Template types.String `tfsdk:"template"` TemplateParameters types.String `tfsdk:"template_parameters"` }
PolicyAccessPolicyComponentTFModel is a Terraform model struct for the PolicyAccessPolicyComponentAttributes schema.
func PolicyAccessPolicyComponentJSONClientModelToTF ¶
func PolicyAccessPolicyComponentJSONClientModelToTF(in *PolicyAccessPolicyComponentJSONClientModel) (PolicyAccessPolicyComponentTFModel, error)
PolicyAccessPolicyComponentJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyAccessPolicyJSONClientModel ¶
type PolicyAccessPolicyJSONClientModel struct { Components *[]PolicyAccessPolicyComponentJSONClientModel `json:"components,omitempty"` Description *string `json:"description,omitempty"` ID *uuid.UUID `json:"id,omitempty"` IsAutogenerated *bool `json:"is_autogenerated,omitempty"` Name *string `json:"name,omitempty"` PolicyType *string `json:"policy_type,omitempty"` RequiredContext *map[string]string `json:"required_context,omitempty"` TagIDs *[]uuid.UUID `json:"tag_ids,omitempty"` Thresholds *PolicyAccessPolicyThresholdsJSONClientModel `json:"thresholds,omitempty"` Version *int64 `json:"version,omitempty"` }
PolicyAccessPolicyJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyAccessPolicyTFModelToJSONClient ¶
func PolicyAccessPolicyTFModelToJSONClient(in *PolicyAccessPolicyTFModel) (*PolicyAccessPolicyJSONClientModel, error)
PolicyAccessPolicyTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyAccessPolicyTFModel ¶
type PolicyAccessPolicyTFModel struct { Components types.List `tfsdk:"components"` Description types.String `tfsdk:"description"` ID types.String `tfsdk:"id"` IsAutogenerated types.Bool `tfsdk:"is_autogenerated"` Name types.String `tfsdk:"name"` PolicyType types.String `tfsdk:"policy_type"` RequiredContext types.Map `tfsdk:"required_context"` TagIDs types.List `tfsdk:"tag_ids"` Thresholds types.Object `tfsdk:"thresholds"` Version types.Int64 `tfsdk:"version"` }
PolicyAccessPolicyTFModel is a Terraform model struct for the PolicyAccessPolicyAttributes schema.
func PolicyAccessPolicyJSONClientModelToTF ¶
func PolicyAccessPolicyJSONClientModelToTF(in *PolicyAccessPolicyJSONClientModel) (PolicyAccessPolicyTFModel, error)
PolicyAccessPolicyJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyAccessPolicyTemplateJSONClientModel ¶
type PolicyAccessPolicyTemplateJSONClientModel struct { Created *string `json:"created,omitempty"` Deleted *string `json:"deleted,omitempty"` Description *string `json:"description,omitempty"` Function *string `json:"function,omitempty"` ID *uuid.UUID `json:"id,omitempty"` Name *string `json:"name,omitempty"` Updated *string `json:"updated,omitempty"` Version *int64 `json:"version,omitempty"` }
PolicyAccessPolicyTemplateJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyAccessPolicyTemplateTFModelToJSONClient ¶
func PolicyAccessPolicyTemplateTFModelToJSONClient(in *PolicyAccessPolicyTemplateTFModel) (*PolicyAccessPolicyTemplateJSONClientModel, error)
PolicyAccessPolicyTemplateTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyAccessPolicyTemplateTFModel ¶
type PolicyAccessPolicyTemplateTFModel struct { Created types.String `tfsdk:"created"` Deleted types.String `tfsdk:"deleted"` Description types.String `tfsdk:"description"` Function types.String `tfsdk:"function"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Updated types.String `tfsdk:"updated"` Version types.Int64 `tfsdk:"version"` }
PolicyAccessPolicyTemplateTFModel is a Terraform model struct for the PolicyAccessPolicyTemplateAttributes schema.
func PolicyAccessPolicyTemplateJSONClientModelToTF ¶
func PolicyAccessPolicyTemplateJSONClientModelToTF(in *PolicyAccessPolicyTemplateJSONClientModel) (PolicyAccessPolicyTemplateTFModel, error)
PolicyAccessPolicyTemplateJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyAccessPolicyThresholdsJSONClientModel ¶ added in v0.1.8
type PolicyAccessPolicyThresholdsJSONClientModel struct { AnnounceMaxExecutionFailure *bool `json:"announce_max_execution_failure,omitempty"` AnnounceMaxResultFailure *bool `json:"announce_max_result_failure,omitempty"` MaxExecutionDurationSeconds *int64 `json:"max_execution_duration_seconds,omitempty"` MaxExecutions *int64 `json:"max_executions,omitempty"` MaxResultsPerExecution *int64 `json:"max_results_per_execution,omitempty"` }
PolicyAccessPolicyThresholdsJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyAccessPolicyThresholdsTFModelToJSONClient ¶ added in v0.1.8
func PolicyAccessPolicyThresholdsTFModelToJSONClient(in *PolicyAccessPolicyThresholdsTFModel) (*PolicyAccessPolicyThresholdsJSONClientModel, error)
PolicyAccessPolicyThresholdsTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyAccessPolicyThresholdsTFModel ¶ added in v0.1.8
type PolicyAccessPolicyThresholdsTFModel struct { AnnounceMaxExecutionFailure types.Bool `tfsdk:"announce_max_execution_failure"` AnnounceMaxResultFailure types.Bool `tfsdk:"announce_max_result_failure"` MaxExecutionDurationSeconds types.Int64 `tfsdk:"max_execution_duration_seconds"` MaxExecutions types.Int64 `tfsdk:"max_executions"` MaxResultsPerExecution types.Int64 `tfsdk:"max_results_per_execution"` }
PolicyAccessPolicyThresholdsTFModel is a Terraform model struct for the PolicyAccessPolicyThresholdsAttributes schema.
func PolicyAccessPolicyThresholdsJSONClientModelToTF ¶ added in v0.1.8
func PolicyAccessPolicyThresholdsJSONClientModelToTF(in *PolicyAccessPolicyThresholdsJSONClientModel) (PolicyAccessPolicyThresholdsTFModel, error)
PolicyAccessPolicyThresholdsJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyClientContextJSONClientModel ¶
type PolicyClientContextJSONClientModel struct { }
PolicyClientContextJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyClientContextTFModelToJSONClient ¶
func PolicyClientContextTFModelToJSONClient(in *PolicyClientContextTFModel) (*PolicyClientContextJSONClientModel, error)
PolicyClientContextTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyClientContextTFModel ¶
type PolicyClientContextTFModel struct { }
PolicyClientContextTFModel is a Terraform model struct for the PolicyClientContextAttributes schema.
func PolicyClientContextJSONClientModelToTF ¶
func PolicyClientContextJSONClientModelToTF(in *PolicyClientContextJSONClientModel) (PolicyClientContextTFModel, error)
PolicyClientContextJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyPolicyTypeJSONClientModel ¶
type PolicyPolicyTypeJSONClientModel struct { }
PolicyPolicyTypeJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyPolicyTypeTFModelToJSONClient ¶
func PolicyPolicyTypeTFModelToJSONClient(in *PolicyPolicyTypeTFModel) (*PolicyPolicyTypeJSONClientModel, error)
PolicyPolicyTypeTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyPolicyTypeTFModel ¶
type PolicyPolicyTypeTFModel struct { }
PolicyPolicyTypeTFModel is a Terraform model struct for the PolicyPolicyTypeAttributes schema.
func PolicyPolicyTypeJSONClientModelToTF ¶
func PolicyPolicyTypeJSONClientModelToTF(in *PolicyPolicyTypeJSONClientModel) (PolicyPolicyTypeTFModel, error)
PolicyPolicyTypeJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyTransformTypeJSONClientModel ¶
type PolicyTransformTypeJSONClientModel struct { }
PolicyTransformTypeJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyTransformTypeTFModelToJSONClient ¶
func PolicyTransformTypeTFModelToJSONClient(in *PolicyTransformTypeTFModel) (*PolicyTransformTypeJSONClientModel, error)
PolicyTransformTypeTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyTransformTypeTFModel ¶
type PolicyTransformTypeTFModel struct { }
PolicyTransformTypeTFModel is a Terraform model struct for the PolicyTransformTypeAttributes schema.
func PolicyTransformTypeJSONClientModelToTF ¶
func PolicyTransformTypeJSONClientModelToTF(in *PolicyTransformTypeJSONClientModel) (PolicyTransformTypeTFModel, error)
PolicyTransformTypeJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type PolicyTransformerJSONClientModel ¶
type PolicyTransformerJSONClientModel struct { Description *string `json:"description,omitempty"` Function *string `json:"function,omitempty"` ID *uuid.UUID `json:"id,omitempty"` InputDataType *UserstoreResourceIDJSONClientModel `json:"input_data_type,omitempty"` InputType *string `json:"input_type,omitempty"` InputTypeConstraints *UserstoreColumnConstraintsJSONClientModel `json:"input_type_constraints,omitempty"` Name *string `json:"name,omitempty"` OutputDataType *UserstoreResourceIDJSONClientModel `json:"output_data_type,omitempty"` OutputType *string `json:"output_type,omitempty"` OutputTypeConstraints *UserstoreColumnConstraintsJSONClientModel `json:"output_type_constraints,omitempty"` Parameters *string `json:"parameters,omitempty"` ReuseExistingToken *bool `json:"reuse_existing_token,omitempty"` TagIDs *[]uuid.UUID `json:"tag_ids,omitempty"` TransformType *string `json:"transform_type,omitempty"` Version *int64 `json:"version,omitempty"` }
PolicyTransformerJSONClientModel stores data for use with jsonclient for making API requests.
func PolicyTransformerTFModelToJSONClient ¶
func PolicyTransformerTFModelToJSONClient(in *PolicyTransformerTFModel) (*PolicyTransformerJSONClientModel, error)
PolicyTransformerTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type PolicyTransformerTFModel ¶
type PolicyTransformerTFModel struct { Description types.String `tfsdk:"description"` Function types.String `tfsdk:"function"` ID types.String `tfsdk:"id"` InputDataType types.String `tfsdk:"input_data_type"` InputType types.String `tfsdk:"input_type"` InputTypeConstraints types.Object `tfsdk:"input_type_constraints"` Name types.String `tfsdk:"name"` OutputDataType types.String `tfsdk:"output_data_type"` OutputType types.String `tfsdk:"output_type"` OutputTypeConstraints types.Object `tfsdk:"output_type_constraints"` Parameters types.String `tfsdk:"parameters"` ReuseExistingToken types.Bool `tfsdk:"reuse_existing_token"` TagIDs types.List `tfsdk:"tag_ids"` TransformType types.String `tfsdk:"transform_type"` Version types.Int64 `tfsdk:"version"` }
PolicyTransformerTFModel is a Terraform model struct for the PolicyTransformerAttributes schema.
func PolicyTransformerJSONClientModelToTF ¶
func PolicyTransformerJSONClientModelToTF(in *PolicyTransformerJSONClientModel) (PolicyTransformerTFModel, error)
PolicyTransformerJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerCreateAccessPolicyRequestJSONClientModel ¶
type TokenizerCreateAccessPolicyRequestJSONClientModel struct {
AccessPolicy *PolicyAccessPolicyJSONClientModel `json:"access_policy,omitempty"`
}
TokenizerCreateAccessPolicyRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerCreateAccessPolicyRequestTFModelToJSONClient ¶
func TokenizerCreateAccessPolicyRequestTFModelToJSONClient(in *TokenizerCreateAccessPolicyRequestTFModel) (*TokenizerCreateAccessPolicyRequestJSONClientModel, error)
TokenizerCreateAccessPolicyRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerCreateAccessPolicyRequestTFModel ¶
type TokenizerCreateAccessPolicyRequestTFModel struct {
AccessPolicy types.Object `tfsdk:"access_policy"`
}
TokenizerCreateAccessPolicyRequestTFModel is a Terraform model struct for the TokenizerCreateAccessPolicyRequestAttributes schema.
func TokenizerCreateAccessPolicyRequestJSONClientModelToTF ¶
func TokenizerCreateAccessPolicyRequestJSONClientModelToTF(in *TokenizerCreateAccessPolicyRequestJSONClientModel) (TokenizerCreateAccessPolicyRequestTFModel, error)
TokenizerCreateAccessPolicyRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerCreateAccessPolicyTemplateRequestJSONClientModel ¶
type TokenizerCreateAccessPolicyTemplateRequestJSONClientModel struct {
AccessPolicyTemplate *PolicyAccessPolicyTemplateJSONClientModel `json:"access_policy_template,omitempty"`
}
TokenizerCreateAccessPolicyTemplateRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerCreateAccessPolicyTemplateRequestTFModelToJSONClient ¶
func TokenizerCreateAccessPolicyTemplateRequestTFModelToJSONClient(in *TokenizerCreateAccessPolicyTemplateRequestTFModel) (*TokenizerCreateAccessPolicyTemplateRequestJSONClientModel, error)
TokenizerCreateAccessPolicyTemplateRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerCreateAccessPolicyTemplateRequestTFModel ¶
type TokenizerCreateAccessPolicyTemplateRequestTFModel struct {
AccessPolicyTemplate types.Object `tfsdk:"access_policy_template"`
}
TokenizerCreateAccessPolicyTemplateRequestTFModel is a Terraform model struct for the TokenizerCreateAccessPolicyTemplateRequestAttributes schema.
func TokenizerCreateAccessPolicyTemplateRequestJSONClientModelToTF ¶
func TokenizerCreateAccessPolicyTemplateRequestJSONClientModelToTF(in *TokenizerCreateAccessPolicyTemplateRequestJSONClientModel) (TokenizerCreateAccessPolicyTemplateRequestTFModel, error)
TokenizerCreateAccessPolicyTemplateRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerCreateTokenRequestJSONClientModel ¶
type TokenizerCreateTokenRequestJSONClientModel struct { AccessPolicyRid *UserstoreResourceIDJSONClientModel `json:"access_policy_rid,omitempty"` Data *string `json:"data,omitempty"` TransformerRid *UserstoreResourceIDJSONClientModel `json:"transformer_rid,omitempty"` }
TokenizerCreateTokenRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerCreateTokenRequestTFModelToJSONClient ¶
func TokenizerCreateTokenRequestTFModelToJSONClient(in *TokenizerCreateTokenRequestTFModel) (*TokenizerCreateTokenRequestJSONClientModel, error)
TokenizerCreateTokenRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerCreateTokenRequestTFModel ¶
type TokenizerCreateTokenRequestTFModel struct { AccessPolicyRid types.String `tfsdk:"access_policy_rid"` Data types.String `tfsdk:"data"` TransformerRid types.String `tfsdk:"transformer_rid"` }
TokenizerCreateTokenRequestTFModel is a Terraform model struct for the TokenizerCreateTokenRequestAttributes schema.
func TokenizerCreateTokenRequestJSONClientModelToTF ¶
func TokenizerCreateTokenRequestJSONClientModelToTF(in *TokenizerCreateTokenRequestJSONClientModel) (TokenizerCreateTokenRequestTFModel, error)
TokenizerCreateTokenRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerCreateTokenResponseJSONClientModel ¶
type TokenizerCreateTokenResponseJSONClientModel struct {
Data *string `json:"data,omitempty"`
}
TokenizerCreateTokenResponseJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerCreateTokenResponseTFModelToJSONClient ¶
func TokenizerCreateTokenResponseTFModelToJSONClient(in *TokenizerCreateTokenResponseTFModel) (*TokenizerCreateTokenResponseJSONClientModel, error)
TokenizerCreateTokenResponseTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerCreateTokenResponseTFModel ¶
TokenizerCreateTokenResponseTFModel is a Terraform model struct for the TokenizerCreateTokenResponseAttributes schema.
func TokenizerCreateTokenResponseJSONClientModelToTF ¶
func TokenizerCreateTokenResponseJSONClientModelToTF(in *TokenizerCreateTokenResponseJSONClientModel) (TokenizerCreateTokenResponseTFModel, error)
TokenizerCreateTokenResponseJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerCreateTransformerRequestJSONClientModel ¶
type TokenizerCreateTransformerRequestJSONClientModel struct {
Transformer *PolicyTransformerJSONClientModel `json:"transformer,omitempty"`
}
TokenizerCreateTransformerRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerCreateTransformerRequestTFModelToJSONClient ¶
func TokenizerCreateTransformerRequestTFModelToJSONClient(in *TokenizerCreateTransformerRequestTFModel) (*TokenizerCreateTransformerRequestJSONClientModel, error)
TokenizerCreateTransformerRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerCreateTransformerRequestTFModel ¶
type TokenizerCreateTransformerRequestTFModel struct {
Transformer types.Object `tfsdk:"transformer"`
}
TokenizerCreateTransformerRequestTFModel is a Terraform model struct for the TokenizerCreateTransformerRequestAttributes schema.
func TokenizerCreateTransformerRequestJSONClientModelToTF ¶
func TokenizerCreateTransformerRequestJSONClientModelToTF(in *TokenizerCreateTransformerRequestJSONClientModel) (TokenizerCreateTransformerRequestTFModel, error)
TokenizerCreateTransformerRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerInspectTokenRequestJSONClientModel ¶
type TokenizerInspectTokenRequestJSONClientModel struct {
Token *string `json:"token,omitempty"`
}
TokenizerInspectTokenRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerInspectTokenRequestTFModelToJSONClient ¶
func TokenizerInspectTokenRequestTFModelToJSONClient(in *TokenizerInspectTokenRequestTFModel) (*TokenizerInspectTokenRequestJSONClientModel, error)
TokenizerInspectTokenRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerInspectTokenRequestTFModel ¶
TokenizerInspectTokenRequestTFModel is a Terraform model struct for the TokenizerInspectTokenRequestAttributes schema.
func TokenizerInspectTokenRequestJSONClientModelToTF ¶
func TokenizerInspectTokenRequestJSONClientModelToTF(in *TokenizerInspectTokenRequestJSONClientModel) (TokenizerInspectTokenRequestTFModel, error)
TokenizerInspectTokenRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerInspectTokenResponseJSONClientModel ¶
type TokenizerInspectTokenResponseJSONClientModel struct { AccessPolicy *PolicyAccessPolicyJSONClientModel `json:"access_policy,omitempty"` Created *string `json:"created,omitempty"` ID *uuid.UUID `json:"id,omitempty"` Token *string `json:"token,omitempty"` Transformer *PolicyTransformerJSONClientModel `json:"transformer,omitempty"` Updated *string `json:"updated,omitempty"` }
TokenizerInspectTokenResponseJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerInspectTokenResponseTFModelToJSONClient ¶
func TokenizerInspectTokenResponseTFModelToJSONClient(in *TokenizerInspectTokenResponseTFModel) (*TokenizerInspectTokenResponseJSONClientModel, error)
TokenizerInspectTokenResponseTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerInspectTokenResponseTFModel ¶
type TokenizerInspectTokenResponseTFModel struct { AccessPolicy types.Object `tfsdk:"access_policy"` Created types.String `tfsdk:"created"` ID types.String `tfsdk:"id"` Token types.String `tfsdk:"token"` Transformer types.Object `tfsdk:"transformer"` Updated types.String `tfsdk:"updated"` }
TokenizerInspectTokenResponseTFModel is a Terraform model struct for the TokenizerInspectTokenResponseAttributes schema.
func TokenizerInspectTokenResponseJSONClientModelToTF ¶
func TokenizerInspectTokenResponseJSONClientModelToTF(in *TokenizerInspectTokenResponseJSONClientModel) (TokenizerInspectTokenResponseTFModel, error)
TokenizerInspectTokenResponseJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerLookupOrCreateTokensRequestJSONClientModel ¶
type TokenizerLookupOrCreateTokensRequestJSONClientModel struct { AccessPolicyRids *[]UserstoreResourceIDJSONClientModel `json:"access_policy_rids,omitempty"` Data *[]string `json:"data,omitempty"` TransformerRids *[]UserstoreResourceIDJSONClientModel `json:"transformer_rids,omitempty"` }
TokenizerLookupOrCreateTokensRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerLookupOrCreateTokensRequestTFModelToJSONClient ¶
func TokenizerLookupOrCreateTokensRequestTFModelToJSONClient(in *TokenizerLookupOrCreateTokensRequestTFModel) (*TokenizerLookupOrCreateTokensRequestJSONClientModel, error)
TokenizerLookupOrCreateTokensRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerLookupOrCreateTokensRequestTFModel ¶
type TokenizerLookupOrCreateTokensRequestTFModel struct { AccessPolicyRids types.List `tfsdk:"access_policy_rids"` Data types.List `tfsdk:"data"` TransformerRids types.List `tfsdk:"transformer_rids"` }
TokenizerLookupOrCreateTokensRequestTFModel is a Terraform model struct for the TokenizerLookupOrCreateTokensRequestAttributes schema.
func TokenizerLookupOrCreateTokensRequestJSONClientModelToTF ¶
func TokenizerLookupOrCreateTokensRequestJSONClientModelToTF(in *TokenizerLookupOrCreateTokensRequestJSONClientModel) (TokenizerLookupOrCreateTokensRequestTFModel, error)
TokenizerLookupOrCreateTokensRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerLookupOrCreateTokensResponseJSONClientModel ¶
type TokenizerLookupOrCreateTokensResponseJSONClientModel struct {
Tokens *[]string `json:"tokens,omitempty"`
}
TokenizerLookupOrCreateTokensResponseJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerLookupOrCreateTokensResponseTFModelToJSONClient ¶
func TokenizerLookupOrCreateTokensResponseTFModelToJSONClient(in *TokenizerLookupOrCreateTokensResponseTFModel) (*TokenizerLookupOrCreateTokensResponseJSONClientModel, error)
TokenizerLookupOrCreateTokensResponseTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerLookupOrCreateTokensResponseTFModel ¶
TokenizerLookupOrCreateTokensResponseTFModel is a Terraform model struct for the TokenizerLookupOrCreateTokensResponseAttributes schema.
func TokenizerLookupOrCreateTokensResponseJSONClientModelToTF ¶
func TokenizerLookupOrCreateTokensResponseJSONClientModelToTF(in *TokenizerLookupOrCreateTokensResponseJSONClientModel) (TokenizerLookupOrCreateTokensResponseTFModel, error)
TokenizerLookupOrCreateTokensResponseJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerLookupTokensRequestJSONClientModel ¶
type TokenizerLookupTokensRequestJSONClientModel struct { AccessPolicyRid *UserstoreResourceIDJSONClientModel `json:"access_policy_rid,omitempty"` Data *string `json:"data,omitempty"` TransformerRid *UserstoreResourceIDJSONClientModel `json:"transformer_rid,omitempty"` }
TokenizerLookupTokensRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerLookupTokensRequestTFModelToJSONClient ¶
func TokenizerLookupTokensRequestTFModelToJSONClient(in *TokenizerLookupTokensRequestTFModel) (*TokenizerLookupTokensRequestJSONClientModel, error)
TokenizerLookupTokensRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerLookupTokensRequestTFModel ¶
type TokenizerLookupTokensRequestTFModel struct { AccessPolicyRid types.String `tfsdk:"access_policy_rid"` Data types.String `tfsdk:"data"` TransformerRid types.String `tfsdk:"transformer_rid"` }
TokenizerLookupTokensRequestTFModel is a Terraform model struct for the TokenizerLookupTokensRequestAttributes schema.
func TokenizerLookupTokensRequestJSONClientModelToTF ¶
func TokenizerLookupTokensRequestJSONClientModelToTF(in *TokenizerLookupTokensRequestJSONClientModel) (TokenizerLookupTokensRequestTFModel, error)
TokenizerLookupTokensRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerLookupTokensResponseJSONClientModel ¶
type TokenizerLookupTokensResponseJSONClientModel struct {
Tokens *[]string `json:"tokens,omitempty"`
}
TokenizerLookupTokensResponseJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerLookupTokensResponseTFModelToJSONClient ¶
func TokenizerLookupTokensResponseTFModelToJSONClient(in *TokenizerLookupTokensResponseTFModel) (*TokenizerLookupTokensResponseJSONClientModel, error)
TokenizerLookupTokensResponseTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerLookupTokensResponseTFModel ¶
TokenizerLookupTokensResponseTFModel is a Terraform model struct for the TokenizerLookupTokensResponseAttributes schema.
func TokenizerLookupTokensResponseJSONClientModelToTF ¶
func TokenizerLookupTokensResponseJSONClientModelToTF(in *TokenizerLookupTokensResponseJSONClientModel) (TokenizerLookupTokensResponseTFModel, error)
TokenizerLookupTokensResponseJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerResolveTokenResponseJSONClientModel ¶
type TokenizerResolveTokenResponseJSONClientModel struct { Data *string `json:"data,omitempty"` Token *string `json:"token,omitempty"` }
TokenizerResolveTokenResponseJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerResolveTokenResponseTFModelToJSONClient ¶
func TokenizerResolveTokenResponseTFModelToJSONClient(in *TokenizerResolveTokenResponseTFModel) (*TokenizerResolveTokenResponseJSONClientModel, error)
TokenizerResolveTokenResponseTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerResolveTokenResponseTFModel ¶
type TokenizerResolveTokenResponseTFModel struct { Data types.String `tfsdk:"data"` Token types.String `tfsdk:"token"` }
TokenizerResolveTokenResponseTFModel is a Terraform model struct for the TokenizerResolveTokenResponseAttributes schema.
func TokenizerResolveTokenResponseJSONClientModelToTF ¶
func TokenizerResolveTokenResponseJSONClientModelToTF(in *TokenizerResolveTokenResponseJSONClientModel) (TokenizerResolveTokenResponseTFModel, error)
TokenizerResolveTokenResponseJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerUpdateAccessPolicyRequestJSONClientModel ¶
type TokenizerUpdateAccessPolicyRequestJSONClientModel struct {
AccessPolicy *PolicyAccessPolicyJSONClientModel `json:"access_policy,omitempty"`
}
TokenizerUpdateAccessPolicyRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerUpdateAccessPolicyRequestTFModelToJSONClient ¶
func TokenizerUpdateAccessPolicyRequestTFModelToJSONClient(in *TokenizerUpdateAccessPolicyRequestTFModel) (*TokenizerUpdateAccessPolicyRequestJSONClientModel, error)
TokenizerUpdateAccessPolicyRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerUpdateAccessPolicyRequestTFModel ¶
type TokenizerUpdateAccessPolicyRequestTFModel struct {
AccessPolicy types.Object `tfsdk:"access_policy"`
}
TokenizerUpdateAccessPolicyRequestTFModel is a Terraform model struct for the TokenizerUpdateAccessPolicyRequestAttributes schema.
func TokenizerUpdateAccessPolicyRequestJSONClientModelToTF ¶
func TokenizerUpdateAccessPolicyRequestJSONClientModelToTF(in *TokenizerUpdateAccessPolicyRequestJSONClientModel) (TokenizerUpdateAccessPolicyRequestTFModel, error)
TokenizerUpdateAccessPolicyRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel ¶
type TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel struct {
AccessPolicyTemplate *PolicyAccessPolicyTemplateJSONClientModel `json:"access_policy_template,omitempty"`
}
TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerUpdateAccessPolicyTemplateRequestTFModelToJSONClient ¶
func TokenizerUpdateAccessPolicyTemplateRequestTFModelToJSONClient(in *TokenizerUpdateAccessPolicyTemplateRequestTFModel) (*TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel, error)
TokenizerUpdateAccessPolicyTemplateRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerUpdateAccessPolicyTemplateRequestTFModel ¶
type TokenizerUpdateAccessPolicyTemplateRequestTFModel struct {
AccessPolicyTemplate types.Object `tfsdk:"access_policy_template"`
}
TokenizerUpdateAccessPolicyTemplateRequestTFModel is a Terraform model struct for the TokenizerUpdateAccessPolicyTemplateRequestAttributes schema.
func TokenizerUpdateAccessPolicyTemplateRequestJSONClientModelToTF ¶
func TokenizerUpdateAccessPolicyTemplateRequestJSONClientModelToTF(in *TokenizerUpdateAccessPolicyTemplateRequestJSONClientModel) (TokenizerUpdateAccessPolicyTemplateRequestTFModel, error)
TokenizerUpdateAccessPolicyTemplateRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TokenizerUpdateTransformerRequestJSONClientModel ¶ added in v0.1.8
type TokenizerUpdateTransformerRequestJSONClientModel struct {
Transformer *PolicyTransformerJSONClientModel `json:"transformer,omitempty"`
}
TokenizerUpdateTransformerRequestJSONClientModel stores data for use with jsonclient for making API requests.
func TokenizerUpdateTransformerRequestTFModelToJSONClient ¶ added in v0.1.8
func TokenizerUpdateTransformerRequestTFModelToJSONClient(in *TokenizerUpdateTransformerRequestTFModel) (*TokenizerUpdateTransformerRequestJSONClientModel, error)
TokenizerUpdateTransformerRequestTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type TokenizerUpdateTransformerRequestTFModel ¶ added in v0.1.8
type TokenizerUpdateTransformerRequestTFModel struct {
Transformer types.Object `tfsdk:"transformer"`
}
TokenizerUpdateTransformerRequestTFModel is a Terraform model struct for the TokenizerUpdateTransformerRequestAttributes schema.
func TokenizerUpdateTransformerRequestJSONClientModelToTF ¶ added in v0.1.8
func TokenizerUpdateTransformerRequestJSONClientModelToTF(in *TokenizerUpdateTransformerRequestJSONClientModel) (TokenizerUpdateTransformerRequestTFModel, error)
TokenizerUpdateTransformerRequestJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type TransformerResource ¶
type TransformerResource struct {
// contains filtered or unexported fields
}
TransformerResource defines the resource implementation.
func (*TransformerResource) Configure ¶
func (r *TransformerResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure configures the resource.
func (*TransformerResource) Create ¶
func (r *TransformerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates a new resource.
func (*TransformerResource) Delete ¶
func (r *TransformerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes an existing resource.
func (*TransformerResource) ImportState ¶
func (r *TransformerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports an existing resource into Terraform.
func (*TransformerResource) Metadata ¶
func (r *TransformerResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata describes the resource metadata.
func (*TransformerResource) Read ¶
func (r *TransformerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read reads the existing resource state.
func (*TransformerResource) Schema ¶
func (r *TransformerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema describes the resource schema.
func (*TransformerResource) Update ¶
func (r *TransformerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates an existing resource.
type UUIDUuidJSONClientModel ¶
type UUIDUuidJSONClientModel struct { }
UUIDUuidJSONClientModel stores data for use with jsonclient for making API requests.
func UUIDUuidTFModelToJSONClient ¶
func UUIDUuidTFModelToJSONClient(in *UUIDUuidTFModel) (*UUIDUuidJSONClientModel, error)
UUIDUuidTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type UUIDUuidTFModel ¶
type UUIDUuidTFModel struct { }
UUIDUuidTFModel is a Terraform model struct for the UUIDUuidAttributes schema.
func UUIDUuidJSONClientModelToTF ¶
func UUIDUuidJSONClientModelToTF(in *UUIDUuidJSONClientModel) (UUIDUuidTFModel, error)
UUIDUuidJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type UserstoreColumnConstraintsJSONClientModel ¶ added in v0.1.6
type UserstoreColumnConstraintsJSONClientModel struct { Fields *[]UserstoreColumnFieldJSONClientModel `json:"fields,omitempty"` ImmutableRequired *bool `json:"immutable_required,omitempty"` PartialUpdates *bool `json:"partial_updates,omitempty"` UniqueIDRequired *bool `json:"unique_id_required,omitempty"` UniqueRequired *bool `json:"unique_required,omitempty"` }
UserstoreColumnConstraintsJSONClientModel stores data for use with jsonclient for making API requests.
func UserstoreColumnConstraintsTFModelToJSONClient ¶ added in v0.1.6
func UserstoreColumnConstraintsTFModelToJSONClient(in *UserstoreColumnConstraintsTFModel) (*UserstoreColumnConstraintsJSONClientModel, error)
UserstoreColumnConstraintsTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type UserstoreColumnConstraintsTFModel ¶ added in v0.1.6
type UserstoreColumnConstraintsTFModel struct { Fields types.List `tfsdk:"fields"` ImmutableRequired types.Bool `tfsdk:"immutable_required"` PartialUpdates types.Bool `tfsdk:"partial_updates"` UniqueIDRequired types.Bool `tfsdk:"unique_id_required"` UniqueRequired types.Bool `tfsdk:"unique_required"` }
UserstoreColumnConstraintsTFModel is a Terraform model struct for the UserstoreColumnConstraintsAttributes schema.
func UserstoreColumnConstraintsJSONClientModelToTF ¶ added in v0.1.6
func UserstoreColumnConstraintsJSONClientModelToTF(in *UserstoreColumnConstraintsJSONClientModel) (UserstoreColumnConstraintsTFModel, error)
UserstoreColumnConstraintsJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type UserstoreColumnFieldJSONClientModel ¶ added in v0.1.6
type UserstoreColumnFieldJSONClientModel struct { CamelCaseName *string `json:"camel_case_name,omitempty"` IgnoreForUniqueness *bool `json:"ignore_for_uniqueness,omitempty"` Name *string `json:"name,omitempty"` Required *bool `json:"required,omitempty"` StructName *string `json:"struct_name,omitempty"` Type *string `json:"type,omitempty"` }
UserstoreColumnFieldJSONClientModel stores data for use with jsonclient for making API requests.
func UserstoreColumnFieldTFModelToJSONClient ¶ added in v0.1.6
func UserstoreColumnFieldTFModelToJSONClient(in *UserstoreColumnFieldTFModel) (*UserstoreColumnFieldJSONClientModel, error)
UserstoreColumnFieldTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type UserstoreColumnFieldTFModel ¶ added in v0.1.6
type UserstoreColumnFieldTFModel struct { CamelCaseName types.String `tfsdk:"camel_case_name"` IgnoreForUniqueness types.Bool `tfsdk:"ignore_for_uniqueness"` Name types.String `tfsdk:"name"` Required types.Bool `tfsdk:"required"` StructName types.String `tfsdk:"struct_name"` Type types.String `tfsdk:"type"` }
UserstoreColumnFieldTFModel is a Terraform model struct for the UserstoreColumnFieldAttributes schema.
func UserstoreColumnFieldJSONClientModelToTF ¶ added in v0.1.6
func UserstoreColumnFieldJSONClientModelToTF(in *UserstoreColumnFieldJSONClientModel) (UserstoreColumnFieldTFModel, error)
UserstoreColumnFieldJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type UserstoreResourceIDJSONClientModel ¶
type UserstoreResourceIDJSONClientModel struct { ID *uuid.UUID `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
UserstoreResourceIDJSONClientModel stores data for use with jsonclient for making API requests.
func UserstoreResourceIDTFModelToJSONClient ¶
func UserstoreResourceIDTFModelToJSONClient(in *UserstoreResourceIDTFModel) (*UserstoreResourceIDJSONClientModel, error)
UserstoreResourceIDTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type UserstoreResourceIDTFModel ¶
type UserstoreResourceIDTFModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` }
UserstoreResourceIDTFModel is a Terraform model struct for the UserstoreResourceIDAttributes schema.
func UserstoreResourceIDJSONClientModelToTF ¶
func UserstoreResourceIDJSONClientModelToTF(in *UserstoreResourceIDJSONClientModel) (UserstoreResourceIDTFModel, error)
UserstoreResourceIDJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.
type UuidarrayUuidarrayJSONClientModel ¶
type UuidarrayUuidarrayJSONClientModel struct { }
UuidarrayUuidarrayJSONClientModel stores data for use with jsonclient for making API requests.
func UuidarrayUuidarrayTFModelToJSONClient ¶
func UuidarrayUuidarrayTFModelToJSONClient(in *UuidarrayUuidarrayTFModel) (*UuidarrayUuidarrayJSONClientModel, error)
UuidarrayUuidarrayTFModelToJSONClient converts a Terraform model struct to a jsonclient model struct.
type UuidarrayUuidarrayTFModel ¶
type UuidarrayUuidarrayTFModel struct { }
UuidarrayUuidarrayTFModel is a Terraform model struct for the UuidarrayUuidarrayAttributes schema.
func UuidarrayUuidarrayJSONClientModelToTF ¶
func UuidarrayUuidarrayJSONClientModelToTF(in *UuidarrayUuidarrayJSONClientModel) (UuidarrayUuidarrayTFModel, error)
UuidarrayUuidarrayJSONClientModelToTF converts a jsonclient model struct to a Terraform model struct.