Documentation ¶
Index ¶
- func NewManagedEnvironmentResource() resource.Resource
- type ManagedEnvironmentClient
- func (client *ManagedEnvironmentClient) DisableManagedEnvironment(ctx context.Context, environmentId string) error
- func (client *ManagedEnvironmentClient) EnableManagedEnvironment(ctx context.Context, managedEnvSettings environment.GovernanceConfigurationDto, ...) error
- func (client *ManagedEnvironmentClient) GetManagedEnvironmentSettings(ctx context.Context, environmentId string) (*environment.GovernanceConfigurationDto, error)
- type ManagedEnvironmentResource
- func (r *ManagedEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ManagedEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ManagedEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ManagedEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ManagedEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ManagedEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ManagedEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ManagedEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ManagedEnvironmentResourceModel
- type OperationLifecycleCreatedDto
- type OperationLifecycleCreatedPropertiesDto
- type OperationLifecycleDto
- type OperationLifecycleLinkDto
- type OperationLifecycleLinksDto
- type OperationLifecycleRequestedByDto
- type OperationLifecycleStageDto
- type OperationLifecycleStateDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (r *ManagedEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ManagedEnvironmentResource) Create ¶
func (r *ManagedEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ManagedEnvironmentResource) Delete ¶
func (r *ManagedEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ManagedEnvironmentResource) ImportState ¶
func (r *ManagedEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ManagedEnvironmentResource) Metadata ¶
func (r *ManagedEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ManagedEnvironmentResource) Read ¶
func (r *ManagedEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ManagedEnvironmentResource) Schema ¶
func (r *ManagedEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ManagedEnvironmentResource) Update ¶
func (r *ManagedEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 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"`
}
Click to show internal directories.
Click to hide internal directories.