Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OperationSchemaV0 = schema.Schema{ Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, }, "path": schema.StringAttribute{ Required: true, }, "method": schema.StringAttribute{ Required: true, }, "body": schema.StringAttribute{ Optional: true, }, "query": schema.MapAttribute{ ElementType: types.ListType{ElemType: types.StringType}, Optional: true, }, "header": schema.MapAttribute{ ElementType: types.StringType, Optional: true, }, "precheck": precheckAttributeV0(true), "poll": pollAttributeV0(), "retry": retryAttributeV0(), "delete_method": schema.StringAttribute{ Optional: true, }, "delete_path": schema.StringAttribute{ Optional: true, }, "delete_body": schema.StringAttribute{ Optional: true, }, "precheck_delete": precheckAttributeV0(false), "poll_delete": pollAttributeV0(), "retry_delete": retryAttributeV0(), "output_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output": schema.StringAttribute{ Computed: true, }, }, }
View Source
var OperationSchemaV1 = schema.Schema{ Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, }, "path": schema.StringAttribute{ Required: true, }, "method": schema.StringAttribute{ Required: true, }, "body": schema.DynamicAttribute{ Optional: true, }, "query": schema.MapAttribute{ ElementType: types.ListType{ElemType: types.StringType}, Optional: true, }, "header": schema.MapAttribute{ ElementType: types.StringType, Optional: true, }, "precheck": precheckAttributeV0(true), "poll": pollAttributeV0(), "retry": retryAttributeV0(), "delete_method": schema.StringAttribute{ Optional: true, }, "delete_path": schema.StringAttribute{ Optional: true, }, "delete_body": schema.DynamicAttribute{ Optional: true, }, "precheck_delete": precheckAttributeV0(false), "poll_delete": pollAttributeV0(), "retry_delete": retryAttributeV0(), "output_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output": schema.DynamicAttribute{ Computed: true, }, }, }
View Source
var ResourceSchemaV0 = schema.Schema{ Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, }, "path": schema.StringAttribute{ Required: true, }, "create_selector": schema.StringAttribute{ Optional: true, }, "read_selector": schema.StringAttribute{ Optional: true, }, "read_path": schema.StringAttribute{ Optional: true, }, "update_path": schema.StringAttribute{ Optional: true, }, "delete_path": schema.StringAttribute{ Optional: true, }, "body": schema.StringAttribute{ Required: true, }, "poll_create": pollAttributeV0(), "poll_update": pollAttributeV0(), "poll_delete": pollAttributeV0(), "precheck_create": precheckAttributeV0(true), "precheck_update": precheckAttributeV0(false), "precheck_delete": precheckAttributeV0(false), "retry_create": retryAttributeV0(), "retry_read": retryAttributeV0(), "retry_update": retryAttributeV0(), "retry_delete": retryAttributeV0(), "create_method": schema.StringAttribute{ Optional: true, }, "update_method": schema.StringAttribute{ Optional: true, }, "delete_method": schema.StringAttribute{ Optional: true, }, "write_only_attrs": schema.ListAttribute{ Optional: true, ElementType: types.StringType, }, "merge_patch_disabled": schema.BoolAttribute{ Optional: true, }, "query": schema.MapAttribute{ ElementType: types.ListType{ElemType: types.StringType}, Optional: true, }, "header": schema.MapAttribute{ ElementType: types.StringType, Optional: true, }, "check_existance": schema.BoolAttribute{ Optional: true, }, "force_new_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output": schema.StringAttribute{ Computed: true, }, }, }
View Source
var ResourceSchemaV1 = schema.Schema{ Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, }, "path": schema.StringAttribute{ Required: true, }, "create_selector": schema.StringAttribute{ Optional: true, }, "read_selector": schema.StringAttribute{ Optional: true, }, "read_path": schema.StringAttribute{ Optional: true, }, "update_path": schema.StringAttribute{ Optional: true, }, "delete_path": schema.StringAttribute{ Optional: true, }, "body": schema.DynamicAttribute{ Required: true, }, "poll_create": pollAttributeV1(), "poll_update": pollAttributeV1(), "poll_delete": pollAttributeV1(), "precheck_create": precheckAttributeV1(true), "precheck_update": precheckAttributeV1(false), "precheck_delete": precheckAttributeV1(false), "retry_create": retryAttributeV1(), "retry_read": retryAttributeV1(), "retry_update": retryAttributeV1(), "retry_delete": retryAttributeV1(), "create_method": schema.StringAttribute{ Optional: true, }, "update_method": schema.StringAttribute{ Optional: true, }, "delete_method": schema.StringAttribute{ Optional: true, }, "write_only_attrs": schema.ListAttribute{ Optional: true, ElementType: types.StringType, }, "merge_patch_disabled": schema.BoolAttribute{ Optional: true, }, "query": schema.MapAttribute{ ElementType: types.ListType{ElemType: types.StringType}, Optional: true, }, "header": schema.MapAttribute{ ElementType: types.StringType, Optional: true, }, "check_existance": schema.BoolAttribute{ Optional: true, }, "force_new_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output_attrs": schema.SetAttribute{ Optional: true, ElementType: types.StringType, }, "output": schema.DynamicAttribute{ Computed: true, }, }, }
Functions ¶
This section is empty.
Types ¶
type OperationDataV0 ¶
type OperationDataV0 struct { ID types.String `tfsdk:"id"` Path types.String `tfsdk:"path"` Method types.String `tfsdk:"method"` Body types.String `tfsdk:"body"` Query types.Map `tfsdk:"query"` Header types.Map `tfsdk:"header"` Precheck types.List `tfsdk:"precheck"` Poll types.Object `tfsdk:"poll"` Retry types.Object `tfsdk:"retry"` DeleteMethod types.String `tfsdk:"delete_method"` DeleteBody types.String `tfsdk:"delete_body"` DeletePath types.String `tfsdk:"delete_path"` PrecheckDelete types.List `tfsdk:"precheck_delete"` PollDelete types.Object `tfsdk:"poll_delete"` RetryDelete types.Object `tfsdk:"retry_delete"` OutputAttrs types.Set `tfsdk:"output_attrs"` Output types.String `tfsdk:"output"` }
type OperationDataV1 ¶ added in v0.16.0
type OperationDataV1 struct { ID types.String `tfsdk:"id"` Path types.String `tfsdk:"path"` Method types.String `tfsdk:"method"` Body types.Dynamic `tfsdk:"body"` Query types.Map `tfsdk:"query"` Header types.Map `tfsdk:"header"` Precheck types.List `tfsdk:"precheck"` Poll types.Object `tfsdk:"poll"` Retry types.Object `tfsdk:"retry"` DeleteMethod types.String `tfsdk:"delete_method"` DeleteBody types.Dynamic `tfsdk:"delete_body"` DeletePath types.String `tfsdk:"delete_path"` PrecheckDelete types.List `tfsdk:"precheck_delete"` PollDelete types.Object `tfsdk:"poll_delete"` RetryDelete types.Object `tfsdk:"retry_delete"` OutputAttrs types.Set `tfsdk:"output_attrs"` Output types.Dynamic `tfsdk:"output"` }
type ResourceDataV0 ¶
type ResourceDataV0 struct { ID types.String `tfsdk:"id"` Path types.String `tfsdk:"path"` CreateSelector types.String `tfsdk:"create_selector"` ReadSelector types.String `tfsdk:"read_selector"` ReadPath types.String `tfsdk:"read_path"` UpdatePath types.String `tfsdk:"update_path"` DeletePath types.String `tfsdk:"delete_path"` CreateMethod types.String `tfsdk:"create_method"` UpdateMethod types.String `tfsdk:"update_method"` DeleteMethod types.String `tfsdk:"delete_method"` PrecheckCreate types.List `tfsdk:"precheck_create"` PrecheckUpdate types.List `tfsdk:"precheck_update"` PrecheckDelete types.List `tfsdk:"precheck_delete"` Body types.String `tfsdk:"body"` PollCreate types.Object `tfsdk:"poll_create"` PollUpdate types.Object `tfsdk:"poll_update"` PollDelete types.Object `tfsdk:"poll_delete"` RetryCreate types.Object `tfsdk:"retry_create"` RetryRead types.Object `tfsdk:"retry_read"` RetryUpdate types.Object `tfsdk:"retry_update"` RetryDelete types.Object `tfsdk:"retry_delete"` WriteOnlyAttributes types.List `tfsdk:"write_only_attrs"` MergePatchDisabled types.Bool `tfsdk:"merge_patch_disabled"` Query types.Map `tfsdk:"query"` Header types.Map `tfsdk:"header"` CheckExistance types.Bool `tfsdk:"check_existance"` ForceNewAttrs types.Set `tfsdk:"force_new_attrs"` OutputAttrs types.Set `tfsdk:"output_attrs"` Output types.String `tfsdk:"output"` }
type ResourceDataV1 ¶ added in v0.16.0
type ResourceDataV1 struct { ID types.String `tfsdk:"id"` Path types.String `tfsdk:"path"` CreateSelector types.String `tfsdk:"create_selector"` ReadSelector types.String `tfsdk:"read_selector"` ReadPath types.String `tfsdk:"read_path"` UpdatePath types.String `tfsdk:"update_path"` DeletePath types.String `tfsdk:"delete_path"` CreateMethod types.String `tfsdk:"create_method"` UpdateMethod types.String `tfsdk:"update_method"` DeleteMethod types.String `tfsdk:"delete_method"` PrecheckCreate types.List `tfsdk:"precheck_create"` PrecheckUpdate types.List `tfsdk:"precheck_update"` PrecheckDelete types.List `tfsdk:"precheck_delete"` Body types.Dynamic `tfsdk:"body"` PollCreate types.Object `tfsdk:"poll_create"` PollUpdate types.Object `tfsdk:"poll_update"` PollDelete types.Object `tfsdk:"poll_delete"` RetryCreate types.Object `tfsdk:"retry_create"` RetryRead types.Object `tfsdk:"retry_read"` RetryUpdate types.Object `tfsdk:"retry_update"` RetryDelete types.Object `tfsdk:"retry_delete"` WriteOnlyAttributes types.List `tfsdk:"write_only_attrs"` MergePatchDisabled types.Bool `tfsdk:"merge_patch_disabled"` Query types.Map `tfsdk:"query"` Header types.Map `tfsdk:"header"` CheckExistance types.Bool `tfsdk:"check_existance"` ForceNewAttrs types.Set `tfsdk:"force_new_attrs"` OutputAttrs types.Set `tfsdk:"output_attrs"` Output types.Dynamic `tfsdk:"output"` }
Click to show internal directories.
Click to hide internal directories.