graphbetabrowsersite

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Overview

REF: https://learn.microsoft.com/en-us/graph/api/resources/browsersite?view=graph-rest-beta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapIdentityRemoteStateToTerraform

func MapIdentityRemoteStateToTerraform(identity graphmodels.Identityable) sharedmodels.IdentityResourceModel

func MapIdentitySetRemoteStateToTerraform

func MapIdentitySetRemoteStateToTerraform(identitySet graphmodels.IdentitySetable) sharedmodels.IdentitySetResourceModel

func MapRemoteStateToTerraform

func MapRemoteStateToTerraform(ctx context.Context, data *BrowserSiteResourceModel, remoteResource graphmodels.BrowserSiteable)

func NewBrowserSiteResource

func NewBrowserSiteResource() resource.Resource

Types

type BrowserSiteHistoryResourceModel

type BrowserSiteHistoryResourceModel struct {
	AllowRedirect     types.Bool                            `tfsdk:"allow_redirect"`
	Comment           types.String                          `tfsdk:"comment"`
	CompatibilityMode types.String                          `tfsdk:"compatibility_mode"`
	LastModifiedBy    sharedmodels.IdentitySetResourceModel `tfsdk:"last_modified_by"`
	MergeType         types.String                          `tfsdk:"merge_type"`
	PublishedDateTime types.String                          `tfsdk:"published_date_time"`
	TargetEnvironment types.String                          `tfsdk:"target_environment"`
}

type BrowserSiteResource

type BrowserSiteResource struct {
	ProviderTypeName string
	TypeName         string
	ReadPermissions  []string
	WritePermissions []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                     []BrowserSiteHistoryResourceModel     `tfsdk:"history"`
	LastModifiedBy              sharedmodels.IdentitySetResourceModel `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