Documentation ¶
Index ¶
- func NewResource() resource.Resource
- type TenantModel
- type TenantResource
- func (r *TenantResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TenantResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (*TenantResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TenantModel ¶ added in v0.0.5
type TenantModel struct { Name types.String `tfsdk:"name"` Parent types.String `tfsdk:"parent"` SecurityDomain types.String `tfsdk:"security_domain"` Description types.String `tfsdk:"description"` DisplayName types.String `tfsdk:"display_name"` Id types.String `tfsdk:"id"` }
tfsdk typed model definition
type TenantResource ¶
type TenantResource struct {
// contains filtered or unexported fields
}
Resource struct definition
func (*TenantResource) Configure ¶
func (r *TenantResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Implement configure function from Terraform resource interface
func (*TenantResource) Create ¶
func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TenantResource) Delete ¶
func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TenantResource) ImportState ¶
func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TenantResource) Metadata ¶
func (r *TenantResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Implement metadata function from Terraform resource interface
func (*TenantResource) Read ¶
func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TenantResource) Schema ¶
func (*TenantResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Implement schema function from Terraform resource interface
func (*TenantResource) Update ¶
func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.