Documentation ¶
Index ¶
- func NewApplicationResource() resource.Resource
- func NewApplicationsDataSource() datasource.DataSource
- type ApplicationArrayDto
- type ApplicationBapi
- type ApplicationClient
- type ApplicationCreateBapi
- type ApplicationCreateDto
- type ApplicationCreateLinkApplicationMetadataBapi
- type ApplicationCreatePropertiesBapi
- type ApplicationDataSourceModel
- type ApplicationDeleteDto
- type ApplicationDto
- type ApplicationDtoArray
- type ApplicationLifecycleCreatedDto
- type ApplicationLifecycleCreatedPropertiesDto
- type ApplicationLifecycleDto
- type ApplicationLifecycleErrorDto
- type ApplicationPropertiesBapi
- type ApplicationResource
- func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplicationResourceModel
- type ApplicationsDataSource
- func (d *ApplicationsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ApplicationsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *ApplicationsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ApplicationsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ApplicationsListDataSourceModel
- type LinkedApplicationMetadataBapi
- type StatesApplicationBapi
- type StatesManagementApplicationBapi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationResource ¶
func NewApplicationsDataSource ¶
func NewApplicationsDataSource() datasource.DataSource
Types ¶
type ApplicationArrayDto ¶
type ApplicationArrayDto struct {
Value []ApplicationDto `json:"value"`
}
type ApplicationBapi ¶
type ApplicationClient ¶
func NewApplicationClient ¶
func NewApplicationClient(api *api.ApiClient) ApplicationClient
func (*ApplicationClient) GetApplicationsByEnvironmentId ¶
func (client *ApplicationClient) GetApplicationsByEnvironmentId(ctx context.Context, environmentId string) ([]ApplicationDto, error)
func (*ApplicationClient) InstallApplicationInEnvironment ¶
type ApplicationCreateBapi ¶
type ApplicationCreateBapi struct { Location string `json:"location"` Properties ApplicationPropertiesBapi `json:"properties"` }
type ApplicationCreateDto ¶
type ApplicationCreateDto struct {
Location string `json:"location"`
}
type ApplicationCreateLinkApplicationMetadataBapi ¶
type ApplicationCreateLinkApplicationMetadataBapi struct { }
type ApplicationCreatePropertiesBapi ¶
type ApplicationCreatePropertiesBapi struct {
DisplayName string `json:"displayName"`
}
type ApplicationDataSourceModel ¶
type ApplicationDataSourceModel struct { ApplicationId types.String `tfsdk:"application_id"` Name types.String `tfsdk:"application_name"` UniqueName types.String `tfsdk:"unique_name"` Version types.String `tfsdk:"version"` Description types.String `tfsdk:"description"` PublisherId types.String `tfsdk:"publisher_id"` PublisherName types.String `tfsdk:"publisher_name"` LearnMoreUrl types.String `tfsdk:"learn_more_url"` State types.String `tfsdk:"state"` ApplicationVisibility types.String `tfsdk:"application_visibility"` }
type ApplicationDeleteDto ¶
type ApplicationDto ¶
type ApplicationDto struct { ApplicationId string `json:"applicationId"` Name string `json:"applicationName"` UniqueName string `json:"uniqueName"` Version string `json:"version"` Description string `json:"localizedDescription"` PublisherId string `json:"publisherId"` PublisherName string `json:"publisherName"` LearnMoreUrl string `json:"learnMoreUrl"` State string `json:"state"` ApplicationVisibility string `json:"applicationVisibility"` }
type ApplicationDtoArray ¶
type ApplicationDtoArray struct {
Value []ApplicationDto `json:"value"`
}
type ApplicationLifecycleCreatedDto ¶
type ApplicationLifecycleCreatedDto struct { Name string `json:"name"` Properties ApplicationLifecycleCreatedPropertiesDto `json:"properties"` }
type ApplicationLifecycleCreatedPropertiesDto ¶
type ApplicationLifecycleCreatedPropertiesDto struct {
ProvisioningState string `json:"provisioningState"`
}
type ApplicationLifecycleDto ¶
type ApplicationLifecycleDto struct { OperationId string `json:"operationId"` CreatedDateTime string `json:"createdDateTime"` LastActionDateTime string `json:"lastActionDateTime"` Status string `json:"status"` StatusMessage string `json:"statusMessage"` Error ApplicationLifecycleErrorDto `json:"error"` }
type ApplicationResource ¶
type ApplicationResource struct { ApplicationClient ApplicationClient ProviderTypeName string TypeName string }
func (*ApplicationResource) Configure ¶
func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApplicationResource) Create ¶
func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplicationResource) Delete ¶
func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplicationResource) ImportState ¶
func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplicationResource) Metadata ¶
func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApplicationResource) Read ¶
func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplicationResource) Schema ¶
func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplicationResource) Update ¶
func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplicationsDataSource ¶
type ApplicationsDataSource struct { ApplicationClient ApplicationClient ProviderTypeName string TypeName string }
func (*ApplicationsDataSource) Configure ¶
func (d *ApplicationsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ApplicationsDataSource) Metadata ¶
func (d *ApplicationsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ApplicationsDataSource) Read ¶
func (d *ApplicationsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ApplicationsDataSource) Schema ¶
func (d *ApplicationsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type LinkedApplicationMetadataBapi ¶
type LinkedApplicationMetadataBapi struct {
Version string `json:"version"`
}
type StatesApplicationBapi ¶
type StatesApplicationBapi struct {
Management StatesManagementApplicationBapi `json:"management"`
}
type StatesManagementApplicationBapi ¶
type StatesManagementApplicationBapi struct {
Id string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.