Documentation
¶
Index ¶
- func MapIdentityRemoteStateToTerraform(identity models.Identityable) sharedmodels.IdentityModel
- func MapIdentitySetRemoteStateToTerraform(identitySet models.IdentitySetable) sharedmodels.IdentitySetModel
- func MapRemoteStateToTerraform(ctx context.Context, data *BrowserSiteResourceModel, ...)
- func NewBrowserSiteResource() resource.Resource
- type BrowserSiteHistoryModel
- type BrowserSiteResource
- func (r *BrowserSiteResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BrowserSiteResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BrowserSiteResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BrowserSiteResource) GetTypeName() string
- func (r *BrowserSiteResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BrowserSiteResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *BrowserSiteResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BrowserSiteResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BrowserSiteResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BrowserSiteResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapIdentityRemoteStateToTerraform ¶
func MapIdentityRemoteStateToTerraform(identity models.Identityable) sharedmodels.IdentityModel
func MapIdentitySetRemoteStateToTerraform ¶
func MapIdentitySetRemoteStateToTerraform(identitySet models.IdentitySetable) sharedmodels.IdentitySetModel
func MapRemoteStateToTerraform ¶
func MapRemoteStateToTerraform(ctx context.Context, data *BrowserSiteResourceModel, remoteResource models.BrowserSiteable)
func NewBrowserSiteResource ¶
Types ¶
type BrowserSiteHistoryModel ¶
type BrowserSiteHistoryModel struct {
AllowRedirect types.Bool `tfsdk:"allow_redirect"`
Comment types.String `tfsdk:"comment"`
CompatibilityMode types.String `tfsdk:"compatibility_mode"`
LastModifiedBy sharedmodels.IdentitySetModel `tfsdk:"last_modified_by"`
MergeType types.String `tfsdk:"merge_type"`
PublishedDateTime types.String `tfsdk:"published_date_time"`
TargetEnvironment types.String `tfsdk:"target_environment"`
}
func MapHistoryRemoteStateToTerraform ¶
func MapHistoryRemoteStateToTerraform(historyItem models.BrowserSiteHistoryable) BrowserSiteHistoryModel
type BrowserSiteResource ¶
type BrowserSiteResource struct {
ProviderTypeName string
TypeName string
// contains filtered or unexported fields
}
func (*BrowserSiteResource) Configure ¶
func (r *BrowserSiteResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure sets the client for the resource.
func (*BrowserSiteResource) Create ¶
func (r *BrowserSiteResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create handles the Create operation.
func (*BrowserSiteResource) Delete ¶
func (r *BrowserSiteResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete handles the Delete operation.
func (*BrowserSiteResource) GetTypeName ¶
func (r *BrowserSiteResource) GetTypeName() string
GetTypeName returns the type name of the resource from the state model.
func (*BrowserSiteResource) ImportState ¶
func (r *BrowserSiteResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource state.
func (*BrowserSiteResource) Metadata ¶
func (r *BrowserSiteResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BrowserSiteResource) Read ¶
func (r *BrowserSiteResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read handles the Read operation.
func (*BrowserSiteResource) Schema ¶
func (r *BrowserSiteResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*BrowserSiteResource) Update ¶
func (r *BrowserSiteResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update handles the Update operation.
type BrowserSiteResourceModel ¶
type BrowserSiteResourceModel struct {
ID types.String `tfsdk:"id"`
BrowserSiteListAssignmentID types.String `tfsdk:"browser_site_list_assignment_id"`
AllowRedirect types.Bool `tfsdk:"allow_redirect"`
Comment types.String `tfsdk:"comment"`
CompatibilityMode types.String `tfsdk:"compatibility_mode"`
CreatedDateTime types.String `tfsdk:"created_date_time"`
DeletedDateTime types.String `tfsdk:"deleted_date_time"`
History []BrowserSiteHistoryModel `tfsdk:"history"`
LastModifiedBy sharedmodels.IdentitySetModel `tfsdk:"last_modified_by"`
LastModifiedDateTime types.String `tfsdk:"last_modified_date_time"`
MergeType types.String `tfsdk:"merge_type"`
Status types.String `tfsdk:"status"`
TargetEnvironment types.String `tfsdk:"target_environment"`
WebUrl types.String `tfsdk:"web_url"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
}
func (*BrowserSiteResourceModel) GetID ¶
func (s *BrowserSiteResourceModel) GetID() string
GetID returns the ID of a resource from the state model.
Click to show internal directories.
Click to hide internal directories.