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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationResource

func NewApplicationResource() resource.Resource

func NewApplicationsDataSource

func NewApplicationsDataSource() datasource.DataSource

Types

type ApplicationArrayDto

type ApplicationArrayDto struct {
	Value []ApplicationDto `json:"value"`
}

type ApplicationBapi

type ApplicationBapi struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type ApplicationClient

type ApplicationClient struct {
	Api *api.ApiClient
}

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

func (client *ApplicationClient) InstallApplicationInEnvironment(ctx context.Context, environmentId string, uniqueName string) (string, error)

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 ApplicationDeleteDto struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

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 ApplicationLifecycleErrorDto

type ApplicationLifecycleErrorDto struct {
	ErrorName  string `json:"errorName"`
	ErrorCode  int    `json:"errorCode"`
	Message    string `json:"message"`
	Type       string `json:"type"`
	StatusCode int    `json:"statusCode"`
	Source     string `json:"source"`
}

type ApplicationPropertiesBapi

type ApplicationPropertiesBapi struct {
	TenantID    string `json:"tenantId"`
	DisplayName string `json:"displayName"`
}

type ApplicationResource

type ApplicationResource struct {
	ApplicationClient ApplicationClient
	ProviderTypeName  string
	TypeName          string
}

func (*ApplicationResource) Configure

func (*ApplicationResource) Create

func (*ApplicationResource) Delete

func (*ApplicationResource) ImportState

func (*ApplicationResource) Metadata

func (*ApplicationResource) Read

func (*ApplicationResource) Schema

func (*ApplicationResource) Update

type ApplicationResourceModel

type ApplicationResourceModel struct {
	Id            types.String `tfsdk:"id"`
	UniqueName    types.String `tfsdk:"unique_name"`
	EnvironmentId types.String `tfsdk:"environment_id"`
}

type ApplicationsDataSource

type ApplicationsDataSource struct {
	ApplicationClient ApplicationClient
	ProviderTypeName  string
	TypeName          string
}

func (*ApplicationsDataSource) Configure

func (*ApplicationsDataSource) Metadata

func (*ApplicationsDataSource) Read

func (*ApplicationsDataSource) Schema

type ApplicationsListDataSourceModel

type ApplicationsListDataSourceModel struct {
	EnvironmentId types.String                 `tfsdk:"environment_id"`
	Name          types.String                 `tfsdk:"name"`
	PublisherName types.String                 `tfsdk:"publisher_name"`
	Id            types.String                 `tfsdk:"id"`
	Applications  []ApplicationDataSourceModel `tfsdk:"applications"`
}

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"`
}

Jump to

Keyboard shortcuts

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