Documentation ¶
Index ¶
- func NewTenantSettingsDataSource() datasource.DataSource
- func NewTenantSettingsResource() resource.Resource
- type CatalogSettingsDto
- type CatalogSettingsSettings
- type ChampionSettingsDto
- type ChampionsSettings
- type EnvironmentSettingsDto
- type EnvironmentsSettings
- type GovernanceSettings
- type GovernanceSettingsDto
- type IntelligenceSettings
- type IntelligenceSettingsDto
- type LicenseSettingsDto
- type LicensingSettings
- type ModelExperimentationSettings
- type ModelExperimentationSettingsDto
- type PolicySettings
- type PolicySettingsDto
- type PowerAppsSettings
- type PowerAppsSettingsDto
- type PowerAutomateSettings
- type PowerAutomateSettingsDto
- type PowerPagesSettings
- type PowerPagesSettingsDto
- type PowerPlatformSettingsDto
- type PowerPlatformSettingsModel
- type SearchSettingsDto
- type SearchSettingsModel
- type TeamsIntegrationSettings
- type TeamsIntegrationSettingsDto
- type TenantSettingsClient
- type TenantSettingsDataSource
- func (d *TenantSettingsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *TenantSettingsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *TenantSettingsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TenantSettingsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type TenantSettingsDto
- type TenantSettingsResource
- func (r *TenantSettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TenantSettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TenantSettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TenantSettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TenantSettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TenantSettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TenantSettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TenantSettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TenantSettingsSourceModel
- type UserManagementSettings
- type UserManagementSettingsDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTenantSettingsDataSource ¶
func NewTenantSettingsDataSource() datasource.DataSource
Types ¶
type CatalogSettingsDto ¶
type CatalogSettingsDto struct {
PowerCatalogAudienceSetting *string `json:"powerCatalogAudienceSetting,omitempty"`
}
type CatalogSettingsSettings ¶
type ChampionSettingsDto ¶
type ChampionsSettings ¶
type EnvironmentSettingsDto ¶
type EnvironmentSettingsDto struct {
DisablePreferredDataLocationForTeamsEnvironment *bool `json:"disablePreferredDataLocationForTeamsEnvironment,omitempty"`
}
type EnvironmentsSettings ¶
type GovernanceSettings ¶
type GovernanceSettings struct { DisableAdminDigest types.Bool `tfsdk:"disable_admin_digest"` DisableDeveloperEnvironmentCreationByNonAdminUsers types.Bool `tfsdk:"disable_developer_environment_creation_by_non_admin_users"` EnableDefaultEnvironmentRouting types.Bool `tfsdk:"enable_default_environment_routing"` Policy types.Object `tfsdk:"policy"` }
type GovernanceSettingsDto ¶
type GovernanceSettingsDto struct { DisableAdminDigest *bool `json:"disableAdminDigest,omitempty"` DisableDeveloperEnvironmentCreationByNonAdminUsers *bool `json:"disableDeveloperEnvironmentCreationByNonAdminUsers,omitempty"` EnableDefaultEnvironmentRouting *bool `json:"enableDefaultEnvironmentRouting,omitempty"` Policy *PolicySettingsDto `json:"policy,omitempty"` }
type IntelligenceSettings ¶
type IntelligenceSettingsDto ¶
type LicenseSettingsDto ¶
type LicenseSettingsDto struct { DisableBillingPolicyCreationByNonAdminUsers *bool `json:"disableBillingPolicyCreationByNonAdminUsers,omitempty"` EnableTenantCapacityReportForEnvironmentAdmins *bool `json:"enableTenantCapacityReportForEnvironmentAdmins,omitempty"` StorageCapacityConsumptionWarningThreshold *int64 `json:"storageCapacityConsumptionWarningThreshold,omitempty"` EnableTenantLicensingReportForEnvironmentAdmins *bool `json:"enableTenantLicensingReportForEnvironmentAdmins,omitempty"` DisableUseOfUnassignedAIBuilderCredits *bool `json:"disableUseOfUnassignedAIBuilderCredits,omitempty"` }
type LicensingSettings ¶
type LicensingSettings struct { DisableBillingPolicyCreationByNonAdminUsers types.Bool `tfsdk:"disable_billing_policy_creation_by_non_admin_users"` EnableTenantCapacityReportForEnvironmentAdmins types.Bool `tfsdk:"enable_tenant_capacity_report_for_environment_admins"` StorageCapacityConsumptionWarningThreshold types.Int64 `tfsdk:"storage_capacity_consumption_warning_threshold"` EnableTenantLicensingReportForEnvironmentAdmins types.Bool `tfsdk:"enable_tenant_licensing_report_for_environment_admins"` DisableUseOfUnassignedAIBuilderCredits types.Bool `tfsdk:"disable_use_of_unassigned_ai_builder_credits"` }
type PolicySettings ¶
type PolicySettingsDto ¶
type PolicySettingsDto struct {
EnableDesktopFlowDataPolicyManagement *bool `json:"enableDesktopFlowDataPolicyManagement,omitempty"`
}
type PowerAppsSettings ¶
type PowerAppsSettings struct { EnableGuestsToMake types.Bool `tfsdk:"enable_guests_to_make"` DisableMakerMatch types.Bool `tfsdk:"disable_maker_match"` DisableUnusedLicenseAssignment types.Bool `tfsdk:"disable_unused_license_assignment"` DisableCreateFromImage types.Bool `tfsdk:"disable_create_from_image"` DisableCreateFromFigma types.Bool `tfsdk:"disable_create_from_figma"` DisableConnectionSharingWithEveryone types.Bool `tfsdk:"disable_connection_sharing_with_everyone"` }
type PowerAppsSettingsDto ¶
type PowerAppsSettingsDto struct { EnableGuestsToMake *bool `json:"enableGuestsToMake,omitempty"` DisableMakerMatch *bool `json:"disableMakerMatch,omitempty"` DisableUnusedLicenseAssignment *bool `json:"disableUnusedLicenseAssignment,omitempty"` DisableCreateFromImage *bool `json:"disableCreateFromImage,omitempty"` DisableCreateFromFigma *bool `json:"disableCreateFromFigma,omitempty"` DisableConnectionSharingWithEveryone *bool `json:"disableConnectionSharingWithEveryone,omitempty"` }
type PowerAutomateSettings ¶
type PowerAutomateSettingsDto ¶
type PowerAutomateSettingsDto struct {
DisableCopilot *bool `json:"disableCopilot,omitempty"`
}
type PowerPagesSettings ¶
type PowerPagesSettings struct { }
type PowerPagesSettingsDto ¶
type PowerPagesSettingsDto struct { }
type PowerPlatformSettingsDto ¶
type PowerPlatformSettingsDto struct { Search *SearchSettingsDto `json:"search,omitempty"` TeamsIntegration *TeamsIntegrationSettingsDto `json:"teamsIntegration,omitempty"` PowerApps *PowerAppsSettingsDto `json:"powerApps,omitempty"` PowerAutomate *PowerAutomateSettingsDto `json:"powerAutomate,omitempty"` Environments *EnvironmentSettingsDto `json:"environments,omitempty"` Governance *GovernanceSettingsDto `json:"governance,omitempty"` Licensing *LicenseSettingsDto `json:"licensing,omitempty"` PowerPages *PowerPagesSettingsDto `json:"powerPages,omitempty"` Champions *ChampionSettingsDto `json:"champions,omitempty"` Intelligence *IntelligenceSettingsDto `json:"intelligence,omitempty"` ModelExperimentation *ModelExperimentationSettingsDto `json:"modelExperimentation,omitempty"` CatalogSettings *CatalogSettingsDto `json:"catalogSettings,omitempty"` UserManagementSettings *UserManagementSettingsDto `json:"userManagementSettings,omitempty"` }
type PowerPlatformSettingsModel ¶
type PowerPlatformSettingsModel struct { Search types.Map `tfsdk:"search"` TeamsIntegration types.Map `tfsdk:"teams_integration"` PowerApps types.Map `tfsdk:"power_apps"` PowerAutomate types.Map `tfsdk:"power_automate"` Environments types.Map `tfsdk:"environments"` Governance types.Map `tfsdk:"governance"` Licensing types.Map `tfsdk:"licensing"` PowerPages types.Map `tfsdk:"power_pages"` Champions types.Map `tfsdk:"champions"` Intelligence types.Map `tfsdk:"intelligence"` ModelExperimentation types.Map `tfsdk:"model_experimentation"` CatalogSettings types.Map `tfsdk:"catalog_settings"` UserManagementSettings types.Map `tfsdk:"user_management_settings"` }
type SearchSettingsDto ¶
type SearchSettingsModel ¶
type TeamsIntegrationSettings ¶
type TeamsIntegrationSettings struct {
}type TeamsIntegrationSettingsDto ¶
type TeamsIntegrationSettingsDto struct {
}type TenantSettingsClient ¶
func NewTenantSettingsClient ¶
func NewTenantSettingsClient(api *api.ApiClient) TenantSettingsClient
func (*TenantSettingsClient) GetTenantSettings ¶
func (client *TenantSettingsClient) GetTenantSettings(ctx context.Context) (*TenantSettingsDto, error)
func (*TenantSettingsClient) UpdateTenantSettings ¶
func (client *TenantSettingsClient) UpdateTenantSettings(ctx context.Context, tenantSettings TenantSettingsDto) (*TenantSettingsDto, error)
type TenantSettingsDataSource ¶
type TenantSettingsDataSource struct { TenantSettingsClient TenantSettingsClient ProviderTypeName string TypeName string }
func (*TenantSettingsDataSource) Configure ¶
func (d *TenantSettingsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*TenantSettingsDataSource) Metadata ¶
func (d *TenantSettingsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the metadata for the resource, which includes the resource type name
func (*TenantSettingsDataSource) Read ¶
func (d *TenantSettingsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*TenantSettingsDataSource) Schema ¶
func (d *TenantSettingsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type TenantSettingsDto ¶
type TenantSettingsDto struct { WalkMeOptOut *bool `json:"walkMeOptOut,omitempty"` DisableNPSCommentsReachout *bool `json:"disableNPSCommentsReachout,omitempty"` DisableNewsletterSendout *bool `json:"disableNewsletterSendout,omitempty"` DisableEnvironmentCreationByNonAdminUsers *bool `json:"disableEnvironmentCreationByNonAdminUsers,omitempty"` DisablePortalsCreationByNonAdminUsers *bool `json:"disablePortalsCreationByNonAdminUsers,omitempty"` DisableSurveyFeedback *bool `json:"disableSurveyFeedback,omitempty"` DisableTrialEnvironmentCreationByNonAdminUsers *bool `json:"disableTrialEnvironmentCreationByNonAdminUsers,omitempty"` DisableCapacityAllocationByEnvironmentAdmins *bool `json:"disableCapacityAllocationByEnvironmentAdmins,omitempty"` DisableSupportTicketsVisibleByAllUsers *bool `json:"disableSupportTicketsVisibleByAllUsers,omitempty"` PowerPlatform *PowerPlatformSettingsDto `json:"powerPlatform,omitempty"` }
func ConvertFromTenantSettingsModel ¶
func ConvertFromTenantSettingsModel(ctx context.Context, tenantSettings TenantSettingsSourceModel) TenantSettingsDto
type TenantSettingsResource ¶
type TenantSettingsResource struct { TenantSettingClient TenantSettingsClient ProviderTypeName string TypeName string }
func (*TenantSettingsResource) Configure ¶
func (r *TenantSettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TenantSettingsResource) Create ¶
func (r *TenantSettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TenantSettingsResource) Delete ¶
func (r *TenantSettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TenantSettingsResource) ImportState ¶
func (r *TenantSettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TenantSettingsResource) Metadata ¶
func (r *TenantSettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TenantSettingsResource) Read ¶
func (r *TenantSettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TenantSettingsResource) Schema ¶
func (r *TenantSettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TenantSettingsResource) Update ¶
func (r *TenantSettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TenantSettingsSourceModel ¶
type TenantSettingsSourceModel struct { Id types.String `tfsdk:"id"` WalkMeOptOut types.Bool `tfsdk:"walk_me_opt_out"` DisableNPSCommentsReachout types.Bool `tfsdk:"disable_nps_comments_reachout"` DisableNewsletterSendout types.Bool `tfsdk:"disable_newsletter_sendout"` DisableEnvironmentCreationByNonAdminUsers types.Bool `tfsdk:"disable_environment_creation_by_non_admin_users"` DisablePortalsCreationByNonAdminUsers types.Bool `tfsdk:"disable_portals_creation_by_non_admin_users"` DisableSurveyFeedback types.Bool `tfsdk:"disable_survey_feedback"` DisableTrialEnvironmentCreationByNonAdminUsers types.Bool `tfsdk:"disable_trial_environment_creation_by_non_admin_users"` DisableCapacityAllocationByEnvironmentAdmins types.Bool `tfsdk:"disable_capacity_allocation_by_environment_admins"` DisableSupportTicketsVisibleByAllUsers types.Bool `tfsdk:"disable_support_tickets_visible_by_all_users"` PowerPlatform types.Object `tfsdk:"power_platform"` }
func ConvertFromTenantSettingsDto ¶
func ConvertFromTenantSettingsDto(tenantSettingsDto TenantSettingsDto) TenantSettingsSourceModel
type UserManagementSettings ¶
type UserManagementSettingsDto ¶
type UserManagementSettingsDto struct {
EnableDeleteDisabledUserinAllEnvironments *bool `json:"enableDeleteDisabledUserinAllEnvironments,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.