Documentation ¶
Index ¶
- func NewPowerAppsDataSource() datasource.DataSource
- type PowerAppBapi
- type PowerAppCreatedByDto
- type PowerAppDtoArray
- type PowerAppEnvironmentDto
- type PowerAppPropertiesBapi
- type PowerAppsDataSource
- func (d *PowerAppsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *PowerAppsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *PowerAppsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PowerAppsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type PowerAppsDataSourceModel
- type PowerAppsListDataSourceModel
- type PowerAppssClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPowerAppsDataSource ¶
func NewPowerAppsDataSource() datasource.DataSource
Types ¶
type PowerAppBapi ¶
type PowerAppBapi struct { Name string `json:"name"` Properties PowerAppPropertiesBapi `json:"properties"` }
type PowerAppCreatedByDto ¶
type PowerAppDtoArray ¶
type PowerAppDtoArray struct {
Value []PowerAppBapi `json:"value"`
}
type PowerAppEnvironmentDto ¶
type PowerAppPropertiesBapi ¶
type PowerAppPropertiesBapi struct { DisplayName string `json:"displayName"` Owner PowerAppCreatedByDto `json:"owner"` CreatedBy PowerAppCreatedByDto `json:"createdBy"` LastModifiedBy PowerAppCreatedByDto `json:"lastModifiedBy"` LastPublishedBy PowerAppCreatedByDto `json:"lastPublishedBy"` CreatedTime string `json:"createdTime"` LastModifiedTime string `json:"lastModifiedTime"` LastPublishTime string `json:"lastPublishTime"` Environment PowerAppEnvironmentDto `json:"environment"` }
type PowerAppsDataSource ¶
type PowerAppsDataSource struct { PowerAppssClient PowerAppssClient ProviderTypeName string TypeName string }
func (*PowerAppsDataSource) Configure ¶
func (d *PowerAppsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PowerAppsDataSource) Metadata ¶
func (d *PowerAppsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PowerAppsDataSource) Read ¶
func (d *PowerAppsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PowerAppsDataSource) Schema ¶
func (d *PowerAppsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PowerAppsDataSourceModel ¶
type PowerAppsDataSourceModel struct { EnvironmentId types.String `tfsdk:"id"` DisplayName types.String `tfsdk:"display_name"` Name types.String `tfsdk:"name"` CreatedTime types.String `tfsdk:"created_time"` }
func ConvertFromPowerAppDto ¶
func ConvertFromPowerAppDto(powerAppDto PowerAppBapi) PowerAppsDataSourceModel
type PowerAppsListDataSourceModel ¶
type PowerAppsListDataSourceModel struct { Id types.String `tfsdk:"id"` PowerApps []PowerAppsDataSourceModel `tfsdk:"powerapps"` }
type PowerAppssClient ¶
func NewPowerAppssClient ¶
func NewPowerAppssClient(api *api.ApiClient) PowerAppssClient
func (*PowerAppssClient) GetPowerApps ¶
func (client *PowerAppssClient) GetPowerApps(ctx context.Context, environmentId string) ([]PowerAppBapi, error)
Click to show internal directories.
Click to hide internal directories.