utilityMicrosoft365EndpointReference

package
v0.37.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewMicrosoft365EndpointReferenceDataSource

func NewMicrosoft365EndpointReferenceDataSource() datasource.DataSource

Types

type EndpointModel

type EndpointModel struct {
	Id                     types.Int64  `tfsdk:"id"`
	ServiceArea            types.String `tfsdk:"service_area"`
	ServiceAreaDisplayName types.String `tfsdk:"service_area_display_name"`
	Urls                   types.List   `tfsdk:"urls"`
	IPs                    types.List   `tfsdk:"ips"`
	TCPPorts               types.String `tfsdk:"tcp_ports"`
	UDPPorts               types.String `tfsdk:"udp_ports"`
	ExpressRoute           types.Bool   `tfsdk:"express_route"`
	Category               types.String `tfsdk:"category"`
	Required               types.Bool   `tfsdk:"required"`
	Notes                  types.String `tfsdk:"notes"`
}

EndpointModel represents a single Microsoft 365 endpoint set

type Microsoft365EndpointReferenceDataSource

type Microsoft365EndpointReferenceDataSource struct{}

func (*Microsoft365EndpointReferenceDataSource) Configure

Configure implements the DataSourceWithConfigure interface. For utility datasources that fetch data from external APIs (not Microsoft Graph), this method doesn't need to extract Microsoft Graph clients from ProviderData. However, it's required for interface compliance and maintains consistency across datasources.

func (*Microsoft365EndpointReferenceDataSource) Metadata

func (*Microsoft365EndpointReferenceDataSource) Read

func (*Microsoft365EndpointReferenceDataSource) Schema

type Microsoft365EndpointReferenceDataSourceModel

type Microsoft365EndpointReferenceDataSourceModel struct {
	Id           types.String   `tfsdk:"id"`
	Instance     types.String   `tfsdk:"instance"`
	ServiceAreas types.Set      `tfsdk:"service_areas"`
	Categories   types.Set      `tfsdk:"categories"`
	RequiredOnly types.Bool     `tfsdk:"required_only"`
	ExpressRoute types.Bool     `tfsdk:"express_route"`
	Endpoints    types.List     `tfsdk:"endpoints"`
	Timeouts     timeouts.Value `tfsdk:"timeouts"`
}

Microsoft365EndpointReferenceDataSourceModel describes the Terraform datasource data model

type Microsoft365EndpointResponse

type Microsoft365EndpointResponse struct {
	ID                     int64    `json:"id"`
	ServiceArea            string   `json:"serviceArea"`
	ServiceAreaDisplayName string   `json:"serviceAreaDisplayName"`
	URLs                   []string `json:"urls,omitempty"`
	IPs                    []string `json:"ips,omitempty"`
	TCPPorts               string   `json:"tcpPorts,omitempty"`
	UDPPorts               string   `json:"udpPorts,omitempty"`
	ExpressRoute           bool     `json:"expressRoute"`
	Category               string   `json:"category"`
	Required               bool     `json:"required"`
	Notes                  string   `json:"notes,omitempty"`
}

Microsoft365EndpointResponse represents the JSON response from the Microsoft 365 endpoints API

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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