Documentation
¶
Index ¶
- func GetServiceAccountUsingAccountId(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (*citrixorchestration.ServiceAccountResponseModel, error)
- func NewServiceAccountDataSource() datasource.DataSource
- func NewServiceAccountResource() resource.Resource
- type ServiceAccountDataSource
- func (d *ServiceAccountDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ServiceAccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *ServiceAccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ServiceAccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ServiceAccountDataSourceModel
- type ServiceAccountModel
- func (ServiceAccountModel) GetAttributes() map[string]schema.Attribute
- func (ServiceAccountModel) GetAttributesNamesToMask() map[string]bool
- func (ServiceAccountModel) GetSchema() schema.Schema
- func (r ServiceAccountModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) ServiceAccountModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceAccountUsingAccountId ¶ added in v1.0.18
func GetServiceAccountUsingAccountId(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, accountId string) (*citrixorchestration.ServiceAccountResponseModel, error)
func NewServiceAccountDataSource ¶ added in v1.0.15
func NewServiceAccountDataSource() datasource.DataSource
Types ¶
type ServiceAccountDataSource ¶ added in v1.0.15
type ServiceAccountDataSource struct {
// contains filtered or unexported fields
}
func (*ServiceAccountDataSource) Configure ¶ added in v1.0.15
func (d *ServiceAccountDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ServiceAccountDataSource) Metadata ¶ added in v1.0.15
func (d *ServiceAccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ServiceAccountDataSource) Read ¶ added in v1.0.15
func (d *ServiceAccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ServiceAccountDataSource) Schema ¶ added in v1.0.15
func (d *ServiceAccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ServiceAccountDataSourceModel ¶ added in v1.0.15
type ServiceAccountDataSourceModel struct {
Id types.String `tfsdk:"id"`
DisplayName types.String `tfsdk:"display_name"`
AccountId types.String `tfsdk:"account_id"`
}
func (ServiceAccountDataSourceModel) GetDataSourceSchema ¶ added in v1.0.15
func (ServiceAccountDataSourceModel) GetDataSourceSchema() schema.Schema
func (ServiceAccountDataSourceModel) RefreshPropertyValues ¶ added in v1.0.15
func (r ServiceAccountDataSourceModel) RefreshPropertyValues(ctx context.Context, serviceAccount citrixorchestration.ServiceAccountResponseModel) ServiceAccountDataSourceModel
type ServiceAccountModel ¶
type ServiceAccountModel struct {
Id types.String `tfsdk:"id"`
DisplayName types.String `tfsdk:"display_name"`
Description types.String `tfsdk:"description"`
IdentityProviderType types.String `tfsdk:"identity_provider_type"`
IdentityProviderIdentifier types.String `tfsdk:"identity_provider_identifier"`
AccountId types.String `tfsdk:"account_id"`
AccountSecret types.String `tfsdk:"account_secret"`
AccountSecretFormat types.String `tfsdk:"account_secret_format"`
SecretExpiryTime types.String `tfsdk:"secret_expiry_time"`
EnableIntuneEnrolledDeviceManagement types.Bool `tfsdk:"enable_intune_enrolled_device_management"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
}
func (ServiceAccountModel) GetAttributes ¶
func (ServiceAccountModel) GetAttributes() map[string]schema.Attribute
func (ServiceAccountModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (ServiceAccountModel) GetAttributesNamesToMask() map[string]bool
func (ServiceAccountModel) GetSchema ¶
func (ServiceAccountModel) GetSchema() schema.Schema
func (ServiceAccountModel) RefreshPropertyValues ¶
func (r ServiceAccountModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, serviceAccountModel *citrixorchestration.ServiceAccountResponseModel) ServiceAccountModel
Click to show internal directories.
Click to hide internal directories.