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
Click to show internal directories.
Click to hide internal directories.