Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "azure"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureConnection ¶
type AzureConnection struct {
Environment *string `hcl:"environment"`
TenantId *string `hcl:"tenant_id"`
SubscriptionId *string `hcl:"subscription_id"`
ClientId *string `hcl:"client_id"`
ClientSecret *string `hcl:"client_secret"`
CertificatePath *string `hcl:"certificate_path"`
CertificatePassword *string `hcl:"certificate_password"`
UserName *string `hcl:"username"`
Password *string `hcl:"password"`
}
func (*AzureConnection) GetSession ¶
func (c *AzureConnection) GetSession() (*AzureConnectionSession, error)
func (*AzureConnection) Identifier ¶
func (c *AzureConnection) Identifier() string
func (*AzureConnection) Validate ¶
func (c *AzureConnection) Validate() error
type AzureConnectionSession ¶
type AzureConnectionSession struct {
Credential azcore.TokenCredential
SubscriptionID string
TenantID string
ClientOptions *policy.ClientOptions
}
Click to show internal directories.
Click to hide internal directories.