Documentation ¶
Index ¶
- func NewComparisonMonitorResource() resource.Resource
- type Comparison
- type ComparisonMonitorResource
- func (r *ComparisonMonitorResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ComparisonMonitorResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ComparisonMonitorResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ComparisonMonitorResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ComparisonMonitorResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ComparisonMonitorResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ComparisonMonitorResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ComparisonMonitorResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ComparisonMonitorResourceModel
- type CustomRuleComparisonInput
- type QueryResultType
- type ScheduleConfig
- type ScheduleConfigInput
- type Source
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComparisonMonitorResource ¶
To simplify provider implementations, a named function can be created with the resource implementation.
Types ¶
type Comparison ¶
type ComparisonMonitorResource ¶
type ComparisonMonitorResource struct {
// contains filtered or unexported fields
}
ComparisonMonitorResource defines the resource implementation.
func (*ComparisonMonitorResource) Configure ¶
func (r *ComparisonMonitorResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ComparisonMonitorResource) Create ¶
func (r *ComparisonMonitorResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ComparisonMonitorResource) Delete ¶
func (r *ComparisonMonitorResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ComparisonMonitorResource) ImportState ¶
func (r *ComparisonMonitorResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ComparisonMonitorResource) Metadata ¶
func (r *ComparisonMonitorResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ComparisonMonitorResource) Read ¶
func (r *ComparisonMonitorResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ComparisonMonitorResource) Schema ¶
func (r *ComparisonMonitorResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ComparisonMonitorResource) Update ¶
func (r *ComparisonMonitorResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ComparisonMonitorResourceModel ¶
type ComparisonMonitorResourceModel struct { Uuid types.String `tfsdk:"uuid"` Description types.String `tfsdk:"description"` Comparisons Comparison `tfsdk:"comparisons"` QueryResultType types.String `tfsdk:"query_result_type"` Source Source `tfsdk:"source"` Target Target `tfsdk:"target"` ScheduleConfig ScheduleConfig `tfsdk:"schedule_config"` }
ComparisonMonitorResourceModel describes the resource data model according to its Schema.
type QueryResultType ¶
type QueryResultType string
type ScheduleConfig ¶
type ScheduleConfigInput ¶
type ScheduleConfigInput struct {
ScheduleType string `json:"scheduleType"`
}
Click to show internal directories.
Click to hide internal directories.