Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureClient ¶
func NewAzureClient(config Config) (azcore.TokenCredential, error)
Types ¶
type Config ¶
type Config struct { SubscriptionId string ClientId string ClientSecret string TenantId string ResourceGroupName string Zone string Region string SubnetId string SecurityGroupName string SecurityGroupId string Size string ImageId string SSHKeyPath string SSHUserName string DisableCVM bool InstanceSizes instanceSizes InstanceSizeSpecList []provider.InstanceTypeSpec Tags provider.KeyValueFlag DisableCloudConfig bool // Disabled by default, we want to do measured boot. // Secure boot brings no additional security. EnableSecureBoot bool UsePublicIP bool }
Click to show internal directories.
Click to hide internal directories.