Documentation ¶
Index ¶
- func NewEntitlementDataSource() datasource.DataSource
- func NewEntitlementResource() resource.Resource
- type Entitlement
- type EntitlementDataSource
- func (d *EntitlementDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *EntitlementDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *EntitlementDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *EntitlementDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type EntitlementResource
- func (r *EntitlementResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EntitlementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EntitlementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EntitlementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EntitlementResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EntitlementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EntitlementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EntitlementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r EntitlementResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type EntitlementSource
- type OwnerReferenceDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEntitlementDataSource ¶
func NewEntitlementDataSource() datasource.DataSource
func NewEntitlementResource ¶
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 (d *EntitlementDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*EntitlementDataSource) Metadata ¶
func (d *EntitlementDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*EntitlementDataSource) Read ¶
func (d *EntitlementDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*EntitlementDataSource) Schema ¶
func (d *EntitlementDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type EntitlementResource ¶
type EntitlementResource struct {
// contains filtered or unexported fields
}
func (*EntitlementResource) Configure ¶
func (r *EntitlementResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EntitlementResource) Create ¶
func (r *EntitlementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EntitlementResource) Delete ¶
func (r *EntitlementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EntitlementResource) ImportState ¶
func (r *EntitlementResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EntitlementResource) Metadata ¶
func (r *EntitlementResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EntitlementResource) Read ¶
func (r *EntitlementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EntitlementResource) Schema ¶
func (r *EntitlementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EntitlementResource) Update ¶
func (r *EntitlementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (EntitlementResource) ValidateConfig ¶
func (r EntitlementResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
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
Click to show internal directories.
Click to hide internal directories.