graphBetaWindowsUpdateRing

package
v0.14.0-alpha Latest Latest
Warning

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

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

Documentation

Overview

read.go

Index

Constants

View Source
const (
	DataSourceName = "graph_beta_device_management_windows_update_ring"
	ReadTimeout    = 180
)

Variables

This section is empty.

Functions

func NewWindowsUpdateRingDataSource

func NewWindowsUpdateRingDataSource() datasource.DataSource

NewWindowsUpdateRingDataSource creates a new data source for Windows Update Rings

Types

type WindowsUpdateRingDataSource

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

WindowsUpdateRingDataSource defines the data source implementation

func (*WindowsUpdateRingDataSource) Configure

Configure configures the data source with the provider client

func (*WindowsUpdateRingDataSource) Metadata

Metadata returns the data source type name

func (*WindowsUpdateRingDataSource) Read

Read handles the Read operation for Windows Update Ring data source.

func (*WindowsUpdateRingDataSource) Schema

Schema defines the schema for the data source

type WindowsUpdateRingDataSourceModel

type WindowsUpdateRingDataSourceModel 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       []WindowsUpdateRingModel `tfsdk:"items"`        // List of Windows Update Rings that match the filters
	Timeouts    timeouts.Value           `tfsdk:"timeouts"`
}

WindowsUpdateRingDataSourceModel defines the data source model

type WindowsUpdateRingModel

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

WindowsUpdateRingModel represents a single Windows Update Ring

func MapRemoteStateToDataSource

func MapRemoteStateToDataSource(data graphmodels.DeviceConfigurationable) WindowsUpdateRingModel

MapRemoteStateToDataSource maps a Windows Update Ring to a model

Jump to

Keyboard shortcuts

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