authorization

package
v1.44.1-0...-2cd6497 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MarketplaceScope = "/providers/Microsoft.Marketplace"
)

Variables

This section is empty.

Functions

Types

type PermissionDataSourceModel

type PermissionDataSourceModel struct {
	Actions          []string `tfschema:"actions"`
	NotActions       []string `tfschema:"not_actions"`
	DataActions      []string `tfschema:"data_actions"`
	NotDataActions   []string `tfschema:"not_data_actions"`
	Condition        string   `tfschema:"condition"`
	ConditionVersion string   `tfschema:"condition_version"`
}

type PermissionModel

type PermissionModel struct {
	Actions        []string `tfschema:"actions"`
	NotActions     []string `tfschema:"not_actions"`
	DataActions    []string `tfschema:"data_actions"`
	NotDataActions []string `tfschema:"not_data_actions"`
}

type PimActiveRoleAssignmentModel

type PimActiveRoleAssignmentModel struct {
	RoleDefinitionId string                                `tfschema:"role_definition_id"`
	Scope            string                                `tfschema:"scope"`
	PrincipalId      string                                `tfschema:"principal_id"`
	PrincipalType    string                                `tfschema:"principal_type"`
	Justification    string                                `tfschema:"justification"`
	TicketInfo       []PimActiveRoleAssignmentTicketInfo   `tfschema:"ticket"`
	ScheduleInfo     []PimActiveRoleAssignmentScheduleInfo `tfschema:"schedule"`
}

type PimActiveRoleAssignmentResource

type PimActiveRoleAssignmentResource struct{}

func (PimActiveRoleAssignmentResource) Arguments

func (PimActiveRoleAssignmentResource) Attributes

func (PimActiveRoleAssignmentResource) Create

func (PimActiveRoleAssignmentResource) Delete

func (PimActiveRoleAssignmentResource) IDValidationFunc

func (PimActiveRoleAssignmentResource) ModelObject

func (PimActiveRoleAssignmentResource) ModelObject() interface{}

func (PimActiveRoleAssignmentResource) Read

func (PimActiveRoleAssignmentResource) ResourceType

func (PimActiveRoleAssignmentResource) ResourceType() string

type PimActiveRoleAssignmentScheduleInfo

type PimActiveRoleAssignmentScheduleInfo struct {
	StartDateTime string                                          `tfschema:"start_date_time"`
	Expiration    []PimActiveRoleAssignmentScheduleInfoExpiration `tfschema:"expiration"`
}

type PimActiveRoleAssignmentScheduleInfoExpiration

type PimActiveRoleAssignmentScheduleInfoExpiration struct {
	DurationDays  int64  `tfschema:"duration_days"`
	DurationHours int64  `tfschema:"duration_hours"`
	EndDateTime   string `tfschema:"end_date_time"`
}

type PimActiveRoleAssignmentTicketInfo

type PimActiveRoleAssignmentTicketInfo struct {
	TicketNumber string `tfschema:"number"`
	TicketSystem string `tfschema:"system"`
}

type PimEligibleRoleAssignmentModel

type PimEligibleRoleAssignmentModel struct {
	RoleDefinitionId string                                  `tfschema:"role_definition_id"`
	Scope            string                                  `tfschema:"scope"`
	PrincipalId      string                                  `tfschema:"principal_id"`
	PrincipalType    string                                  `tfschema:"principal_type"`
	Justification    string                                  `tfschema:"justification"`
	TicketInfo       []PimEligibleRoleAssignmentTicketInfo   `tfschema:"ticket"`
	ScheduleInfo     []PimEligibleRoleAssignmentScheduleInfo `tfschema:"schedule"`
}

type PimEligibleRoleAssignmentResource

type PimEligibleRoleAssignmentResource struct{}

func (PimEligibleRoleAssignmentResource) Arguments

func (PimEligibleRoleAssignmentResource) Attributes

func (PimEligibleRoleAssignmentResource) Create

func (PimEligibleRoleAssignmentResource) Delete

func (PimEligibleRoleAssignmentResource) IDValidationFunc

func (PimEligibleRoleAssignmentResource) ModelObject

func (PimEligibleRoleAssignmentResource) ModelObject() interface{}

func (PimEligibleRoleAssignmentResource) Read

func (PimEligibleRoleAssignmentResource) ResourceType

type PimEligibleRoleAssignmentScheduleInfo

type PimEligibleRoleAssignmentScheduleInfo struct {
	StartDateTime string                                            `tfschema:"start_date_time"`
	Expiration    []PimEligibleRoleAssignmentScheduleInfoExpiration `tfschema:"expiration"`
}

type PimEligibleRoleAssignmentScheduleInfoExpiration

type PimEligibleRoleAssignmentScheduleInfoExpiration struct {
	DurationDays  int64  `tfschema:"duration_days"`
	DurationHours int64  `tfschema:"duration_hours"`
	EndDateTime   string `tfschema:"end_date_time"`
}

type PimEligibleRoleAssignmentTicketInfo

type PimEligibleRoleAssignmentTicketInfo struct {
	TicketNumber string `tfschema:"number"`
	TicketSystem string `tfschema:"system"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type RoleAssignmentMarketplaceResource

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

func (RoleAssignmentMarketplaceResource) Arguments

func (RoleAssignmentMarketplaceResource) Attributes

func (RoleAssignmentMarketplaceResource) Create

func (RoleAssignmentMarketplaceResource) Delete

func (RoleAssignmentMarketplaceResource) IDValidationFunc

func (RoleAssignmentMarketplaceResource) ModelObject

func (r RoleAssignmentMarketplaceResource) ModelObject() interface{}

func (RoleAssignmentMarketplaceResource) Read

func (RoleAssignmentMarketplaceResource) ResourceType

func (r RoleAssignmentMarketplaceResource) ResourceType() string

type RoleDefinitionDataSource

type RoleDefinitionDataSource struct{}

func (RoleDefinitionDataSource) Arguments

func (a RoleDefinitionDataSource) Arguments() map[string]*pluginsdk.Schema

func (RoleDefinitionDataSource) Attributes

func (a RoleDefinitionDataSource) Attributes() map[string]*pluginsdk.Schema

func (RoleDefinitionDataSource) ModelObject

func (a RoleDefinitionDataSource) ModelObject() interface{}

func (RoleDefinitionDataSource) Read

func (RoleDefinitionDataSource) ResourceType

func (a RoleDefinitionDataSource) ResourceType() string

type RoleDefinitionDataSourceModel

type RoleDefinitionDataSourceModel struct {
	Name             string                      `tfschema:"name"`
	RoleDefinitionId string                      `tfschema:"role_definition_id"`
	Scope            string                      `tfschema:"scope"`
	Description      string                      `tfschema:"description"`
	Type             string                      `tfschema:"type"`
	Permissions      []PermissionDataSourceModel `tfschema:"permissions"`
	AssignableScopes []string                    `tfschema:"assignable_scopes"`
}

type RoleDefinitionModel

type RoleDefinitionModel struct {
	RoleDefinitionId         string            `tfschema:"role_definition_id"`
	Name                     string            `tfschema:"name"`
	Scope                    string            `tfschema:"scope"`
	Description              string            `tfschema:"description"`
	Permissions              []PermissionModel `tfschema:"permissions"`
	AssignableScopes         []string          `tfschema:"assignable_scopes"`
	RoleDefinitionResourceId string            `tfschema:"role_definition_resource_id"`
}

type RoleDefinitionResource

type RoleDefinitionResource struct{}

func (RoleDefinitionResource) Arguments

func (r RoleDefinitionResource) Arguments() map[string]*pluginsdk.Schema

func (RoleDefinitionResource) Attributes

func (r RoleDefinitionResource) Attributes() map[string]*pluginsdk.Schema

func (RoleDefinitionResource) Create

func (RoleDefinitionResource) Delete

func (RoleDefinitionResource) IDValidationFunc

func (RoleDefinitionResource) ModelObject

func (r RoleDefinitionResource) ModelObject() interface{}

func (RoleDefinitionResource) Read

func (RoleDefinitionResource) ResourceType

func (r RoleDefinitionResource) ResourceType() string

func (RoleDefinitionResource) StateUpgraders

func (RoleDefinitionResource) StateUpgraders() sdk.StateUpgradeData

func (RoleDefinitionResource) Update

type RoleManagementPolicyActivationRules

type RoleManagementPolicyActivationRules struct {
	MaximumDuration                 string                              `tfschema:"maximum_duration"`
	RequireApproval                 bool                                `tfschema:"require_approval"`
	ApprovalStages                  []RoleManagementPolicyApprovalStage `tfschema:"approval_stage"`
	RequireConditionalAccessContext string                              `tfschema:"required_conditional_access_authentication_context"`
	RequireMultiFactorAuth          bool                                `tfschema:"require_multifactor_authentication"`
	RequireJustification            bool                                `tfschema:"require_justification"`
	RequireTicketInfo               bool                                `tfschema:"require_ticket_info"`
}

type RoleManagementPolicyActiveAssignmentRules

type RoleManagementPolicyActiveAssignmentRules struct {
	ExpirationRequired     bool   `tfschema:"expiration_required"`
	ExpireAfter            string `tfschema:"expire_after"`
	RequireMultiFactorAuth bool   `tfschema:"require_multifactor_authentication"`
	RequireJustification   bool   `tfschema:"require_justification"`
	RequireTicketInfo      bool   `tfschema:"require_ticket_info"`
}

type RoleManagementPolicyApprovalStage

type RoleManagementPolicyApprovalStage struct {
	PrimaryApprovers []RoleManagementPolicyApprover `tfschema:"primary_approver"`
}

type RoleManagementPolicyApprover

type RoleManagementPolicyApprover struct {
	ID   string `tfschema:"object_id"`
	Type string `tfschema:"type"`
}

type RoleManagementPolicyDataSource

type RoleManagementPolicyDataSource struct{}

func (RoleManagementPolicyDataSource) Arguments

func (RoleManagementPolicyDataSource) Attributes

func (RoleManagementPolicyDataSource) IDValidationFunc

func (RoleManagementPolicyDataSource) ModelObject

func (r RoleManagementPolicyDataSource) ModelObject() interface{}

func (RoleManagementPolicyDataSource) Read

func (RoleManagementPolicyDataSource) ResourceType

func (r RoleManagementPolicyDataSource) ResourceType() string

type RoleManagementPolicyDataSourceActivationRules

type RoleManagementPolicyDataSourceActivationRules struct {
	MaximumDuration                 string                                        `tfschema:"maximum_duration"`
	RequireApproval                 bool                                          `tfschema:"require_approval"`
	ApprovalStages                  []RoleManagementPolicyDataSourceApprovalStage `tfschema:"approval_stage"`
	RequireConditionalAccessContext string                                        `tfschema:"required_conditional_access_authentication_context"`
	RequireMultiFactorAuth          bool                                          `tfschema:"require_multifactor_authentication"`
	RequireJustification            bool                                          `tfschema:"require_justification"`
	RequireTicketInfo               bool                                          `tfschema:"require_ticket_info"`
}

type RoleManagementPolicyDataSourceActiveAssignmentRules

type RoleManagementPolicyDataSourceActiveAssignmentRules struct {
	ExpirationRequired     bool   `tfschema:"expiration_required"`
	ExpireAfter            string `tfschema:"expire_after"`
	RequireMultiFactorAuth bool   `tfschema:"require_multifactor_authentication"`
	RequireJustification   bool   `tfschema:"require_justification"`
	RequireTicketInfo      bool   `tfschema:"require_ticket_info"`
}

type RoleManagementPolicyDataSourceApprovalStage

type RoleManagementPolicyDataSourceApprovalStage struct {
	PrimaryApprovers []RoleManagementPolicyDataSourceApprover `tfschema:"primary_approver"`
}

type RoleManagementPolicyDataSourceApprover

type RoleManagementPolicyDataSourceApprover struct {
	ID   string `tfschema:"object_id"`
	Type string `tfschema:"type"`
}

type RoleManagementPolicyDataSourceEligibleAssignmentRules

type RoleManagementPolicyDataSourceEligibleAssignmentRules struct {
	ExpirationRequired bool   `tfschema:"expiration_required"`
	ExpireAfter        string `tfschema:"expire_after"`
}

type RoleManagementPolicyDataSourceModel

type RoleManagementPolicyDataSourceModel struct {
	Scope                   string                                                  `tfschema:"scope"`
	RoleDefinitionId        string                                                  `tfschema:"role_definition_id"`
	Name                    string                                                  `tfschema:"name"`
	Description             string                                                  `tfschema:"description"`
	ActiveAssignmentRules   []RoleManagementPolicyDataSourceActiveAssignmentRules   `tfschema:"active_assignment_rules"`
	EligibleAssignmentRules []RoleManagementPolicyDataSourceEligibleAssignmentRules `tfschema:"eligible_assignment_rules"`
	ActivationRules         []RoleManagementPolicyDataSourceActivationRules         `tfschema:"activation_rules"`
	NotificationRules       []RoleManagementPolicyDataSourceNotificationEvents      `tfschema:"notification_rules"`
}

type RoleManagementPolicyDataSourceNotificationEvents

type RoleManagementPolicyDataSourceNotificationEvents struct {
	ActiveAssignments   []RoleManagementPolicyDataSourceNotificationRule `tfschema:"active_assignments"`
	EligibleActivations []RoleManagementPolicyDataSourceNotificationRule `tfschema:"eligible_activations"`
	EligibleAssignments []RoleManagementPolicyDataSourceNotificationRule `tfschema:"eligible_assignments"`
}

type RoleManagementPolicyDataSourceNotificationRule

type RoleManagementPolicyDataSourceNotificationRule struct {
	AdminNotifications    []RoleManagementPolicyDataSourceNotificationSettings `tfschema:"admin_notifications"`
	ApproverNotifications []RoleManagementPolicyDataSourceNotificationSettings `tfschema:"approver_notifications"`
	AssigneeNotifications []RoleManagementPolicyDataSourceNotificationSettings `tfschema:"assignee_notifications"`
}

type RoleManagementPolicyDataSourceNotificationSettings

type RoleManagementPolicyDataSourceNotificationSettings struct {
	NotificationLevel    string   `tfschema:"notification_level"`
	DefaultRecipients    bool     `tfschema:"default_recipients"`
	AdditionalRecipients []string `tfschema:"additional_recipients"`
}

type RoleManagementPolicyEligibleAssignmentRules

type RoleManagementPolicyEligibleAssignmentRules struct {
	ExpirationRequired bool   `tfschema:"expiration_required"`
	ExpireAfter        string `tfschema:"expire_after"`
}

type RoleManagementPolicyModel

type RoleManagementPolicyModel struct {
	Scope                   string                                        `tfschema:"scope"`
	RoleDefinitionId        string                                        `tfschema:"role_definition_id"`
	Name                    string                                        `tfschema:"name"`
	Description             string                                        `tfschema:"description"`
	ActiveAssignmentRules   []RoleManagementPolicyActiveAssignmentRules   `tfschema:"active_assignment_rules"`
	EligibleAssignmentRules []RoleManagementPolicyEligibleAssignmentRules `tfschema:"eligible_assignment_rules"`
	ActivationRules         []RoleManagementPolicyActivationRules         `tfschema:"activation_rules"`
	NotificationRules       []RoleManagementPolicyNotificationEvents      `tfschema:"notification_rules"`
}

type RoleManagementPolicyNotificationEvents

type RoleManagementPolicyNotificationEvents struct {
	ActiveAssignments   []RoleManagementPolicyNotificationRule `tfschema:"active_assignments"`
	EligibleActivations []RoleManagementPolicyNotificationRule `tfschema:"eligible_activations"`
	EligibleAssignments []RoleManagementPolicyNotificationRule `tfschema:"eligible_assignments"`
}

type RoleManagementPolicyNotificationRule

type RoleManagementPolicyNotificationRule struct {
	AdminNotifications    []RoleManagementPolicyNotificationSettings `tfschema:"admin_notifications"`
	ApproverNotifications []RoleManagementPolicyNotificationSettings `tfschema:"approver_notifications"`
	AssigneeNotifications []RoleManagementPolicyNotificationSettings `tfschema:"assignee_notifications"`
}

type RoleManagementPolicyNotificationSettings

type RoleManagementPolicyNotificationSettings struct {
	NotificationLevel    string   `tfschema:"notification_level"`
	DefaultRecipients    bool     `tfschema:"default_recipients"`
	AdditionalRecipients []string `tfschema:"additional_recipients"`
}

type RoleManagementPolicyResource

type RoleManagementPolicyResource struct{}

func (RoleManagementPolicyResource) Arguments

func (RoleManagementPolicyResource) Attributes

func (RoleManagementPolicyResource) Create

func (RoleManagementPolicyResource) Delete

func (RoleManagementPolicyResource) IDValidationFunc

func (RoleManagementPolicyResource) ModelObject

func (r RoleManagementPolicyResource) ModelObject() interface{}

func (RoleManagementPolicyResource) Read

func (RoleManagementPolicyResource) ResourceType

func (r RoleManagementPolicyResource) ResourceType() string

func (RoleManagementPolicyResource) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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