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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManagedEnvironmentResource

func NewManagedEnvironmentResource() resource.Resource

Types

type ManagedEnvironmentClient

type ManagedEnvironmentClient struct {
	Api *api.ApiClient
	// contains filtered or unexported fields
}

func NewManagedEnvironmentClient

func NewManagedEnvironmentClient(api *api.ApiClient) ManagedEnvironmentClient

func (*ManagedEnvironmentClient) DisableManagedEnvironment

func (client *ManagedEnvironmentClient) DisableManagedEnvironment(ctx context.Context, environmentId string) error

func (*ManagedEnvironmentClient) EnableManagedEnvironment

func (client *ManagedEnvironmentClient) EnableManagedEnvironment(ctx context.Context, managedEnvSettings environment.GovernanceConfigurationDto, environmentId string) error

func (*ManagedEnvironmentClient) GetManagedEnvironmentSettings

func (client *ManagedEnvironmentClient) GetManagedEnvironmentSettings(ctx context.Context, environmentId string) (*environment.GovernanceConfigurationDto, error)

type ManagedEnvironmentResource

type ManagedEnvironmentResource struct {
	ManagedEnvironmentClient ManagedEnvironmentClient
	ProviderTypeName         string
	TypeName                 string
}

func (*ManagedEnvironmentResource) Configure

func (*ManagedEnvironmentResource) Create

func (*ManagedEnvironmentResource) Delete

func (*ManagedEnvironmentResource) ImportState

func (*ManagedEnvironmentResource) Metadata

func (*ManagedEnvironmentResource) Read

func (*ManagedEnvironmentResource) Schema

func (*ManagedEnvironmentResource) Update

type ManagedEnvironmentResourceModel

type ManagedEnvironmentResourceModel struct {
	Id                       types.String `tfsdk:"id"`
	EnvironmentId            types.String `tfsdk:"environment_id"`
	ProtectionLevel          types.String `tfsdk:"protection_level"`
	IsUsageInsightsDisabled  types.Bool   `tfsdk:"is_usage_insights_disabled"`
	IsGroupSharingDisabled   types.Bool   `tfsdk:"is_group_sharing_disabled"`
	MaxLimitUserSharing      types.Int64  `tfsdk:"max_limit_user_sharing"`
	LimitSharingMode         types.String `tfsdk:"limit_sharing_mode"`
	SolutionCheckerMode      types.String `tfsdk:"solution_checker_mode"`
	SuppressValidationEmails types.Bool   `tfsdk:"suppress_validation_emails"`
	//SolutionCheckerRuleOverrides  types.String `tfsdk:"solution_checker_rule_overrides"`
	MakerOnboardingUrl      types.String `tfsdk:"maker_onboarding_url"`
	MakerOnboardingMarkdown types.String `tfsdk:"maker_onboarding_markdown"`
}

type OperationLifecycleCreatedDto

type OperationLifecycleCreatedDto struct {
	Name       string                                 `json:"name"`
	Properties OperationLifecycleCreatedPropertiesDto `json:"properties"`
}

type OperationLifecycleCreatedPropertiesDto

type OperationLifecycleCreatedPropertiesDto struct {
	ProvisioningState string `json:"provisioningState"`
}

type OperationLifecycleDto

type OperationLifecycleDto struct {
	Id                 string                           `json:"id"`
	Links              OperationLifecycleLinksDto       `json:"links"`
	State              OperationLifecycleStateDto       `json:"state"`
	Type               OperationLifecycleStateDto       `json:"type"`
	CreatedDateTime    string                           `json:"createdDateTime"`
	LastActionDateTime string                           `json:"lastActionDateTime"`
	RequestedBy        OperationLifecycleRequestedByDto `json:"requestedBy"`
	Stages             []OperationLifecycleStageDto     `json:"stages"`
}

type OperationLifecycleLinkDto

type OperationLifecycleLinkDto struct {
	Path string `json:"path"`
}

type OperationLifecycleLinksDto

type OperationLifecycleLinksDto struct {
	Self        OperationLifecycleLinkDto `json:"self"`
	Environment OperationLifecycleLinkDto `json:"environment"`
}

type OperationLifecycleRequestedByDto

type OperationLifecycleRequestedByDto struct {
	Id          string `json:"id"`
	DisplayName string `json:"displayName"`
	Type        string `json:"type"`
}

type OperationLifecycleStageDto

type OperationLifecycleStageDto struct {
	Id                  string                     `json:"id"`
	Name                string                     `json:"name"`
	State               OperationLifecycleStateDto `json:"state"`
	FirstActionDateTime string                     `json:"firstActionDateTime"`
	LastActionDateTime  string                     `json:"lastActionDateTime"`
}

type OperationLifecycleStateDto

type OperationLifecycleStateDto struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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