graphBetaReuseablePolicySettings

package
v0.14.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

read.go

Index

Constants

View Source
const (
	ResourceName = "graph_beta_device_management_reuseable_policy_setting"
	ReadTimeout  = 180
)

Variables

This section is empty.

Functions

func NewReuseablePolicySettingsDataSource

func NewReuseablePolicySettingsDataSource() datasource.DataSource

Types

type ReuseablePolicySettingModel

type ReuseablePolicySettingModel struct {
	ID          types.String `tfsdk:"id"`
	DisplayName types.String `tfsdk:"display_name"`
	Description types.String `tfsdk:"description"`
}

ReuseablePolicySettingModel represents a single reusable policy setting

func MapRemoteStateToDataSource

MapRemoteStateToDataSource maps a Reusable Policy Setting to a model

type ReuseablePolicySettingsDataSource

type ReuseablePolicySettingsDataSource struct {
	ProviderTypeName string
	TypeName         string
	ReadPermissions  []string
	// contains filtered or unexported fields
}

func (*ReuseablePolicySettingsDataSource) Configure

func (*ReuseablePolicySettingsDataSource) Metadata

Metadata returns the resource type name.

func (*ReuseablePolicySettingsDataSource) Read

Read handles the Read operation for Reusable Policy Settings data source.

func (*ReuseablePolicySettingsDataSource) Schema

Schema defines the schema for the data source

type ReuseablePolicySettingsDataSourceModel

type ReuseablePolicySettingsDataSourceModel struct {
	FilterType  types.String                  `tfsdk:"filter_type"`  // Required field to specify how to filter
	FilterValue types.String                  `tfsdk:"filter_value"` // Value to filter by (not used for "all")
	Items       []ReuseablePolicySettingModel `tfsdk:"items"`        // List of reusable policy settings that match the filters
	Timeouts    timeouts.Value                `tfsdk:"timeouts"`
}

ReuseablePolicySettingsDataSourceModel defines the data source model

Jump to

Keyboard shortcuts

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