Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanceDataSource ¶
func NewInstanceDataSource() datasource.DataSource
func NewInstanceResource ¶
Types ¶
type AuthParameterModel ¶
type AuthenticationModel ¶
type AuthenticationModel struct {
// Required Fields
Type types.String `tfsdk:"type"`
// Optional Fields
AzureAD *AzureADModel `tfsdk:"azuread"`
OAuth *OAuthModel `tfsdk:"oauth"`
}
AuthenticationModel maps the nested authentication block.
type AzureADModel ¶
type EndpointsModel ¶
type InstanceDataSourceModel ¶
type InstanceDataSourceModel struct {
Model
}
type InstanceModel ¶
InstanceModel maps the resource schema data.
type JwtClaimsModel ¶
type Model ¶
type Model struct {
Id types.String `tfsdk:"id"`
ProjectId types.String `tfsdk:"project_id"`
Region types.String `tfsdk:"region"`
InstanceId types.String `tfsdk:"instance_id"`
// Required Fields
DisplayName types.String `tfsdk:"display_name"`
Authentication *AuthenticationModel `tfsdk:"authentication"`
// Optional Fields
Description types.String `tfsdk:"description"`
// Read-only Fields
Endpoints types.Object `tfsdk:"endpoints"` // see EndpointsModel
}
type OAuthModel ¶
type OAuthModel struct {
// Required Fields
AuthorityUrl types.String `tfsdk:"authority_url"`
ClientId types.String `tfsdk:"client_id"`
ClientSecret types.String `tfsdk:"client_secret"`
JwtClaims *JwtClaimsModel `tfsdk:"jwt_claims"`
// Optional Fields
Scope types.String `tfsdk:"scope"`
Parameters []AuthParameterModel `tfsdk:"parameters"`
// Read-only Fields
RedirectUrl types.String `tfsdk:"redirect_url"`
}
Click to show internal directories.
Click to hide internal directories.