Documentation
¶
Index ¶
- func NewInstanceDataSource() datasource.DataSource
- func NewInstanceResource() resource.Resource
- type AuthParameterModel
- type AuthenticationDatasourceModel
- type AuthenticationModel
- type AzureADDatasourceModel
- type AzureADModel
- type EndpointsModel
- type InstanceDataSourceModel
- type InstanceModel
- type JwtClaimsModel
- type Model
- type OAuthDatasourceModel
- type OAuthModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanceDataSource ¶
func NewInstanceDataSource() datasource.DataSource
func NewInstanceResource ¶
Types ¶
type AuthParameterModel ¶
type AuthenticationDatasourceModel ¶ added in v0.103.0
type AuthenticationDatasourceModel struct {
// Required Fields
Type types.String `tfsdk:"type"`
// Optional Fields
AzureAD *AzureADDatasourceModel `tfsdk:"azuread"`
OAuth *OAuthDatasourceModel `tfsdk:"oauth"`
}
AuthenticationModel maps the nested authentication block.
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 AzureADDatasourceModel ¶ added in v0.103.0
type AzureADModel ¶
type EndpointsModel ¶
type InstanceDataSourceModel ¶
type InstanceDataSourceModel struct {
Model
Authentication *AuthenticationDatasourceModel `tfsdk:"authentication"`
}
type InstanceModel ¶
type InstanceModel struct {
Model
Authentication *AuthenticationModel `tfsdk:"authentication"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
}
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"`
// Optional Fields
Description types.String `tfsdk:"description"`
// Read-only Fields
Endpoints types.Object `tfsdk:"endpoints"` // see EndpointsModel
}
type OAuthDatasourceModel ¶ added in v0.103.0
type OAuthDatasourceModel struct {
// Required Fields
AuthorityUrl types.String `tfsdk:"authority_url"`
ClientId types.String `tfsdk:"client_id"`
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"`
}
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.