Documentation
¶
Index ¶
- type Azure
- func (a *Azure) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)
- func (a *Azure) DeleteServer(id string, args automation.ServerArgs) error
- func (a *Azure) GetServer(id string, args automation.ServerArgs) (*automation.ResourceResults, error)
- func (a *Azure) ListServer() ([]automation.ResourceResults, error)
- func (a *Azure) UpdateServer(id string, args automation.ServerArgs) error
- func (a *Azure) UploadPlugin(id string, args automation.ServerArgs, plugin, destination string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct {
// contains filtered or unexported fields
}
func NewAzure ¶
NewAzure creates a new Azure instance using DefaultAzureCredential. Authentication is handled automatically via the Azure credential chain: 1. Environment variables (AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET) 2. Managed identity (when running on Azure) 3. Azure CLI authentication (az login) 4. Azure PowerShell authentication 5. Azure Developer CLI authentication
Required environment variables: - AZURE_SUBSCRIPTION_ID: The Azure subscription ID
func (*Azure) CreateServer ¶
func (a *Azure) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)
func (*Azure) DeleteServer ¶
func (a *Azure) DeleteServer(id string, args automation.ServerArgs) error
func (*Azure) GetServer ¶
func (a *Azure) GetServer(id string, args automation.ServerArgs) (*automation.ResourceResults, error)
func (*Azure) ListServer ¶
func (a *Azure) ListServer() ([]automation.ResourceResults, error)
func (*Azure) UpdateServer ¶
func (a *Azure) UpdateServer(id string, args automation.ServerArgs) error
func (*Azure) UploadPlugin ¶
func (a *Azure) UploadPlugin(id string, args automation.ServerArgs, plugin, destination string) error
Click to show internal directories.
Click to hide internal directories.