Documentation
¶
Index ¶
- func NewCloudSecPolicyDataSource() datasource.DataSource
- func NewCloudSecRuleDataSource() datasource.DataSource
- func NewCloudSecRulesDataSource() datasource.DataSource
- type CloudSecPolicyDataSource
- func (d *CloudSecPolicyDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudSecPolicyDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudSecPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudSecPolicyDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type CloudSecRuleDataSource
- func (d *CloudSecRuleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudSecRuleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudSecRuleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudSecRuleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type CloudSecRulesDataSource
- func (d *CloudSecRulesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudSecRulesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudSecRulesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudSecRulesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type CloudSecRulesDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudSecPolicyDataSource ¶
func NewCloudSecPolicyDataSource() datasource.DataSource
NewCloudSecPolicyDataSource is a helper function to simplify the provider implementation.
func NewCloudSecRuleDataSource ¶
func NewCloudSecRuleDataSource() datasource.DataSource
NewCloudSecRuleDataSource is a helper function to simplify the provider implementation.
func NewCloudSecRulesDataSource ¶
func NewCloudSecRulesDataSource() datasource.DataSource
NewCloudSecRulesDataSource is a helper function to simplify the provider implementation.
Types ¶
type CloudSecPolicyDataSource ¶
type CloudSecPolicyDataSource struct {
// contains filtered or unexported fields
}
CloudSecPolicyDataSource is the data source implementation.
func (*CloudSecPolicyDataSource) Configure ¶
func (d *CloudSecPolicyDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*CloudSecPolicyDataSource) Metadata ¶
func (d *CloudSecPolicyDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*CloudSecPolicyDataSource) Read ¶
func (d *CloudSecPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*CloudSecPolicyDataSource) Schema ¶
func (d *CloudSecPolicyDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type CloudSecRuleDataSource ¶
type CloudSecRuleDataSource struct {
// contains filtered or unexported fields
}
CloudSecRuleDataSource is the data source implementation.
func (*CloudSecRuleDataSource) Configure ¶
func (d *CloudSecRuleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*CloudSecRuleDataSource) Metadata ¶
func (d *CloudSecRuleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*CloudSecRuleDataSource) Read ¶
func (d *CloudSecRuleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*CloudSecRuleDataSource) Schema ¶
func (d *CloudSecRuleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type CloudSecRulesDataSource ¶
type CloudSecRulesDataSource struct {
// contains filtered or unexported fields
}
CloudSecRulesDataSource is the data source implementation for listing CloudSec rules.
func (*CloudSecRulesDataSource) Configure ¶
func (d *CloudSecRulesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*CloudSecRulesDataSource) Metadata ¶
func (d *CloudSecRulesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*CloudSecRulesDataSource) Read ¶
func (d *CloudSecRulesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*CloudSecRulesDataSource) Schema ¶
func (d *CloudSecRulesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type CloudSecRulesDataSourceModel ¶
type CloudSecRulesDataSourceModel struct {
ID types.String `tfsdk:"id"`
SearchFrom types.Int32 `tfsdk:"search_from"`
SearchTo types.Int32 `tfsdk:"search_to"`
TotalCount types.Int64 `tfsdk:"total_count"`
FilterCount types.Int64 `tfsdk:"filter_count"`
Rules types.List `tfsdk:"rules"`
Filter types.Object `tfsdk:"filter"`
}
CloudSecRulesDataSourceModel represents the Terraform model for the rules data source.