powerplatform

package
v1.0.0-preview Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTenantSettingsDataSource

func NewTenantSettingsDataSource() datasource.DataSource

func NewTenantSettingsResource

func NewTenantSettingsResource() resource.Resource

Types

type CatalogSettingsDto

type CatalogSettingsDto struct {
	PowerCatalogAudienceSetting *string `json:"powerCatalogAudienceSetting,omitempty"`
}

type CatalogSettingsSettings

type CatalogSettingsSettings struct {
	PowerCatalogAudienceSetting types.String `tfsdk:"power_catalog_audience_setting"`
}

type ChampionSettingsDto

type ChampionSettingsDto struct {
	DisableChampionsInvitationReachout   *bool `json:"disableChampionsInvitationReachout,omitempty"`
	DisableSkillsMatchInvitationReachout *bool `json:"disableSkillsMatchInvitationReachout,omitempty"`
}

type ChampionsSettings

type ChampionsSettings struct {
	DisableChampionsInvitationReachout   types.Bool `tfsdk:"disable_champions_invitation_reachout"`
	DisableSkillsMatchInvitationReachout types.Bool `tfsdk:"disable_skills_match_invitation_reachout"`
}

type EnvironmentSettingsDto

type EnvironmentSettingsDto struct {
	DisablePreferredDataLocationForTeamsEnvironment *bool `json:"disablePreferredDataLocationForTeamsEnvironment,omitempty"`
}

type EnvironmentsSettings

type EnvironmentsSettings struct {
	DisablePreferredDataLocationForTeamsEnvironment types.Bool `tfsdk:"disable_preferred_data_location_for_teams_environment"`
}

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 IntelligenceSettings struct {
	DisableCopilot            types.Bool `tfsdk:"disable_copilot"`
	EnableOpenAiBotPublishing types.Bool `tfsdk:"enable_open_ai_bot_publishing"`
}

type IntelligenceSettingsDto

type IntelligenceSettingsDto struct {
	DisableCopilot            *bool `json:"disableCopilot,omitempty"`
	EnableOpenAiBotPublishing *bool `json:"enableOpenAiBotPublishing,omitempty"`
}

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 ModelExperimentationSettings

type ModelExperimentationSettings struct {
	EnableModelDataSharing types.Bool `tfsdk:"enable_model_data_sharing"`
	DisableDataLogging     types.Bool `tfsdk:"disable_data_logging"`
}

type ModelExperimentationSettingsDto

type ModelExperimentationSettingsDto struct {
	EnableModelDataSharing *bool `json:"enableModelDataSharing,omitempty"`
	DisableDataLogging     *bool `json:"disableDataLogging,omitempty"`
}

type PolicySettings

type PolicySettings struct {
	EnableDesktopFlowDataPolicyManagement types.Bool `tfsdk:"enable_desktop_flow_data_policy_management"`
}

type PolicySettingsDto

type PolicySettingsDto struct {
	EnableDesktopFlowDataPolicyManagement *bool `json:"enableDesktopFlowDataPolicyManagement,omitempty"`
}

type PowerAppsSettings

type PowerAppsSettings struct {
	DisableShareWithEveryone             types.Bool `tfsdk:"disable_share_with_everyone"`
	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 {
	DisableShareWithEveryone             *bool `json:"disableShareWithEveryone,omitempty"`
	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 PowerAutomateSettings struct {
	DisableCopilot types.Bool `tfsdk:"disable_copilot"`
}

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 SearchSettingsDto struct {
	DisableDocsSearch      *bool `json:"disableDocsSearch,omitempty"`
	DisableCommunitySearch *bool `json:"disableCommunitySearch,omitempty"`
	DisableBingVideoSearch *bool `json:"disableBingVideoSearch,omitempty"`
}

type SearchSettingsModel

type SearchSettingsModel struct {
	DisableDocsSearch      types.Bool `tfsdk:"disable_docs_search"`
	DisableCommunitySearch types.Bool `tfsdk:"disable_community_search"`
	DisableBingVideoSearch types.Bool `tfsdk:"disable_bing_video_search"`
}

type TeamsIntegrationSettings

type TeamsIntegrationSettings struct {
	ShareWithColleaguesUserLimit types.Int64 `tfsdk:"share_with_colleagues_user_limit"`
}

type TeamsIntegrationSettingsDto

type TeamsIntegrationSettingsDto struct {
	ShareWithColleaguesUserLimit *int64 `json:"shareWithColleaguesUserLimit,omitempty"`
}

type TenantSettingsClient

type TenantSettingsClient struct {
	Api *api.ApiClient
}

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 (*TenantSettingsDataSource) Metadata

Metadata returns the metadata for the resource, which includes the resource type name

func (*TenantSettingsDataSource) Read

func (*TenantSettingsDataSource) Schema

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 (*TenantSettingsResource) Create

func (*TenantSettingsResource) Delete

func (*TenantSettingsResource) ImportState

func (*TenantSettingsResource) Metadata

func (*TenantSettingsResource) Read

func (*TenantSettingsResource) Schema

func (*TenantSettingsResource) Update

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 UserManagementSettings struct {
	EnableDeleteDisabledUserinAllEnvironments types.Bool `tfsdk:"enable_delete_disabled_user_in_all_environments"`
}

type UserManagementSettingsDto

type UserManagementSettingsDto struct {
	EnableDeleteDisabledUserinAllEnvironments *bool `json:"enableDeleteDisabledUserinAllEnvironments,omitempty"`
}

Jump to

Keyboard shortcuts

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