utilityLicensingServicePlanReference

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

Overview

REF: https://learn.microsoft.com/en-us/entra/identity/users/licensing-service-plan-reference

Index

Constants

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

Variables

This section is empty.

Functions

func NewlicensingServicePlanReferenceDataSource

func NewlicensingServicePlanReferenceDataSource() datasource.DataSource

Types

type LicenseData

type LicenseData struct {
	ProductName          string        `json:"product_name"`
	StringId             string        `json:"string_id"`
	Guid                 string        `json:"guid"`
	ServicePlansIncluded []ServicePlan `json:"service_plans_included"`
}

LicenseData represents the structure of the JSON data file

type ProductModel

type ProductModel struct {
	ProductName          types.String `tfsdk:"product_name"`
	StringId             types.String `tfsdk:"string_id"`
	Guid                 types.String `tfsdk:"guid"`
	ServicePlansIncluded types.List   `tfsdk:"service_plans_included"` // List of ServicePlanIncludedModel
}

ProductModel represents a license product/SKU

type ServicePlan

type ServicePlan struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	Guid string `json:"guid"`
}

ServicePlan represents a service plan in the JSON data

type ServicePlanIncludedModel

type ServicePlanIncludedModel struct {
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Guid types.String `tfsdk:"guid"`
}

ServicePlanIncludedModel represents a service plan included in a product

type ServicePlanModel

type ServicePlanModel struct {
	Id             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Guid           types.String `tfsdk:"guid"`
	IncludedInSkus types.List   `tfsdk:"included_in_skus"` // List of SkuReferenceModel
}

ServicePlanModel represents a unique service plan across all products

type SkuReferenceModel

type SkuReferenceModel struct {
	ProductName types.String `tfsdk:"product_name"`
	StringId    types.String `tfsdk:"string_id"`
	Guid        types.String `tfsdk:"guid"`
}

SkuReferenceModel represents a reference to a SKU that includes a service plan

Jump to

Keyboard shortcuts

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