entitlement

package
v0.0.0-...-0c40f91 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntitlementDataSource

func NewEntitlementDataSource() datasource.DataSource

func NewEntitlementResource

func NewEntitlementResource() resource.Resource

Types

type Entitlement

type Entitlement struct {
	// The entitlement id
	Id types.String `tfsdk:"id"`
	// The entitlement name
	Name types.String `tfsdk:"name"`
	// Time when the entitlement was created
	Created types.String `tfsdk:"created"`
	// Time when the entitlement was last modified
	Modified types.String `tfsdk:"modified"`
	// The entitlement attribute name
	Attribute types.String `tfsdk:"attribute"`
	// The value of the entitlement
	Value types.String `tfsdk:"value"`
	// The object type of the entitlement from the source schema
	SourceSchemaObjectType types.String `tfsdk:"source_schema_object_type"`
	// True if the entitlement is privileged
	Privileged types.Bool `tfsdk:"privileged"`
	// True if the entitlement is cloud governed
	CloudGoverned types.Bool `tfsdk:"cloud_governed"`
	// The description of the entitlement
	Description types.String `tfsdk:"description"`
	// True if the entitlement is requestable
	Requestable types.Bool `tfsdk:"requestable"`
	// A map of free-form key-value pairs from the source system
	// Attributes map[string]interface{} `tfsdk:"attributes"`
	SourceID types.String `tfsdk:"source_id"`
	OwnerID  types.String `tfsdk:"owner_id"`
}

Entitlement struct for Entitlement

type EntitlementDataSource

type EntitlementDataSource struct {
	// contains filtered or unexported fields
}

func (*EntitlementDataSource) Configure

func (*EntitlementDataSource) Metadata

func (*EntitlementDataSource) Read

func (*EntitlementDataSource) Schema

type EntitlementResource

type EntitlementResource struct {
	// contains filtered or unexported fields
}

func (*EntitlementResource) Configure

func (*EntitlementResource) Create

func (*EntitlementResource) Delete

func (*EntitlementResource) ImportState

func (*EntitlementResource) Metadata

func (*EntitlementResource) Read

func (*EntitlementResource) Schema

func (*EntitlementResource) Update

func (EntitlementResource) ValidateConfig

type EntitlementSource

type EntitlementSource struct {
	// The source ID
	Id types.String `tfsdk:"id"`
	// The source type, will always be \"SOURCE\"
	Type types.String `tfsdk:"type"`
	// The source name
	Name types.String `tfsdk:"name"`
}

EntitlementSource struct for EntitlementSource

type OwnerReferenceDto

type OwnerReferenceDto struct {
	// The owner id for the entitlement
	Id types.String `tfsdk:"id"`
	// The owner name for the entitlement
	Name types.String `tfsdk:"name"`
	// The type of the owner. Initially only type IDENTITY is supported
	Type types.String `tfsdk:"type"`
}

OwnerReferenceDto Simplified DTO for the owner object of the entitlement

Jump to

Keyboard shortcuts

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