Documentation ¶
Index ¶
- Constants
- func AzureProvider() provider.Provider
- type MsiCredential
- type OidcCredential
- type OidcCredentialOptions
- type Provider
- func (p Provider) Configure(ctx context.Context, request provider.ConfigureRequest, ...)
- func (p Provider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p Provider) Metadata(ctx context.Context, request provider.MetadataRequest, ...)
- func (p Provider) Resources(ctx context.Context) []func() resource.Resource
- func (p Provider) Schema(ctx context.Context, request provider.SchemaRequest, ...)
Constants ¶
View Source
const ( AppConfiguration cloud.ServiceName = "AppConfiguration" DeviceUpdate cloud.ServiceName = "DeviceUpdate" DigitalTwins cloud.ServiceName = "DigitalTwins" IoTCentral cloud.ServiceName = "IoTCentral" KeyVault cloud.ServiceName = "KeyVault" Purview cloud.ServiceName = "Purview" Synapse cloud.ServiceName = "Synapse" )
Variables ¶
This section is empty.
Functions ¶
func AzureProvider ¶
Types ¶
type MsiCredential ¶ added in v1.7.0
type MsiCredential struct {
// contains filtered or unexported fields
}
func NewManagedIdentityCredential ¶ added in v1.7.0
func NewManagedIdentityCredential(options *azidentity.ManagedIdentityCredentialOptions) (*MsiCredential, error)
func (*MsiCredential) GetToken ¶ added in v1.7.0
func (w *MsiCredential) GetToken(ctx context.Context, opts policy.TokenRequestOptions) (azcore.AccessToken, error)
type OidcCredential ¶ added in v1.3.0
type OidcCredential struct {
// contains filtered or unexported fields
}
func NewOidcCredential ¶ added in v1.3.0
func NewOidcCredential(options *OidcCredentialOptions) (*OidcCredential, error)
func (*OidcCredential) GetToken ¶ added in v1.3.0
func (w *OidcCredential) GetToken(ctx context.Context, opts policy.TokenRequestOptions) (azcore.AccessToken, error)
type OidcCredentialOptions ¶ added in v1.3.0
type Provider ¶ added in v1.13.0
type Provider struct { }
func (Provider) Configure ¶ added in v1.13.0
func (p Provider) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)
func (Provider) DataSources ¶ added in v1.13.0
func (p Provider) DataSources(ctx context.Context) []func() datasource.DataSource
func (Provider) Metadata ¶ added in v1.13.0
func (p Provider) Metadata(ctx context.Context, request provider.MetadataRequest, response *provider.MetadataResponse)
func (Provider) Schema ¶ added in v1.13.0
func (p Provider) Schema(ctx context.Context, request provider.SchemaRequest, response *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.