Documentation ¶
Index ¶
- Variables
- func NewEntitlementDataSource() datasource.DataSource
- func NewEntitlementRequestConfigResource() resource.Resource
- func NewEntitlementResource() resource.Resource
- type AccessProfileApprovalScheme
- 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 EntitlementRequestConfig
- type EntitlementRequestConfigResource
- func (r *EntitlementRequestConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EntitlementRequestConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EntitlementRequestConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EntitlementRequestConfigResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EntitlementRequestConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EntitlementRequestConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EntitlementRequestConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EntitlementRequestConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- 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 OwnerReference
- type OwnerReferenceDto
- type Requestability
Constants ¶
This section is empty.
Variables ¶
View Source
var OwnerSchemeObject = map[string]attr.Type{ "type": types.StringType, "id": types.StringType, "name": types.StringType, }
Functions ¶
func NewEntitlementDataSource ¶
func NewEntitlementDataSource() datasource.DataSource
func NewEntitlementResource ¶
Types ¶
type AccessProfileApprovalScheme ¶
type AccessProfileApprovalScheme struct { // Describes the individual or group that is responsible for an approval step. Values are as follows. **APP_OWNER**: The owner of the Application **OWNER**: Owner of the associated Access Profile or Role **SOURCE_OWNER**: Owner of the Source associated with an Access Profile **MANAGER**: Manager of the Identity making the request **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field ApproverType types.String `tfsdk:"approver_type"` // Id of the specific approver, used only when approverType is GOVERNANCE_GROUP ApproverId types.String `tfsdk:"approver_id"` }
AccessProfileApprovalScheme struct for AccessProfileApprovalScheme
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"` Owner *OwnerReference `tfsdk:"owner"` }
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 EntitlementRequestConfig ¶
type EntitlementRequestConfig struct { // The entitlement id Id types.String `tfsdk:"id"` AccessRequestConfig *Requestability `tfsdk:"access_request_config"` }
Entitlement struct for Entitlement
type EntitlementRequestConfigResource ¶
type EntitlementRequestConfigResource struct {
// contains filtered or unexported fields
}
func (*EntitlementRequestConfigResource) Configure ¶
func (r *EntitlementRequestConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EntitlementRequestConfigResource) Create ¶
func (r *EntitlementRequestConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EntitlementRequestConfigResource) Delete ¶
func (r *EntitlementRequestConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EntitlementRequestConfigResource) ImportState ¶
func (r *EntitlementRequestConfigResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EntitlementRequestConfigResource) Metadata ¶
func (r *EntitlementRequestConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EntitlementRequestConfigResource) Read ¶
func (r *EntitlementRequestConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EntitlementRequestConfigResource) Schema ¶
func (r *EntitlementRequestConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EntitlementRequestConfigResource) Update ¶
func (r *EntitlementRequestConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 OwnerReference ¶
type OwnerReference struct { Type types.String `tfsdk:"type"` // Identity id Id types.String `tfsdk:"id"` // Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result. Name types.String `tfsdk:"name"` }
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
type Requestability ¶
type Requestability struct { // Whether the requester of the containing object must provide comments justifying the request CommentsRequired types.Bool `tfsdk:"comments_required"` // Whether an approver must provide comments when denying the request DenialCommentsRequired types.Bool `tfsdk:"denial_comments_required"` // List describing the steps in approving the request ApprovalSchemes []AccessProfileApprovalScheme `tfsdk:"approval_schemes"` }
Requestability struct for Requestability
Click to show internal directories.
Click to hide internal directories.