graphbetabrowsersite

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

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

func NewBrowserSiteResource() resource.Resource

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

Configure sets the client for the resource.

func (*BrowserSiteResource) Create

Create handles the Create operation.

func (*BrowserSiteResource) Delete

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

ImportState imports the resource state.

func (*BrowserSiteResource) Metadata

Metadata returns the resource type name.

func (*BrowserSiteResource) Read

Read handles the Read operation.

func (*BrowserSiteResource) Schema

func (*BrowserSiteResource) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL