graphBetaBrowserSite

package
v0.15.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	ResourceName  = "graph_beta_m365_admin_browser_site"
	CreateTimeout = 180
	UpdateTimeout = 180
	ReadTimeout   = 180
	DeleteTimeout = 180
)

Variables

This section is empty.

Functions

func MapRemoteStateToTerraform

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

func NewBrowserSiteResource

func NewBrowserSiteResource() resource.Resource

Types

type BrowserSiteResource

type BrowserSiteResource struct {
	ProviderTypeName string
	TypeName         string
	ReadPermissions  []string
	WritePermissions []string
	ResourcePath     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) FullTypeName

func (r *BrowserSiteResource) FullTypeName() string

FullTypeName returns the full resource type name in the format "providername_resourcename".

func (*BrowserSiteResource) ImportState

ImportState imports the resource state.

func (*BrowserSiteResource) Metadata

Metadata returns the resource type name.

func (*BrowserSiteResource) ModifyPlan

ModifyPlan handles plan modification for diff suppression

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"`
	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"`
}

Jump to

Keyboard shortcuts

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