azure

package
v1.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.8.0

type Client struct {
	// contains filtered or unexported fields
}

func GetAzureClient

func GetAzureClient(cloud, subscriptionID, clientID, tenantID, clientSecret, aadFederatedTokenFile string) (*Client, error)

func (*Client) DeleteResourceGroup added in v0.8.0

func (az *Client) DeleteResourceGroup(ctx context.Context, groupName string) error

func (*Client) EnsureNIC added in v0.8.0

func (az *Client) EnsureNIC(ctx context.Context, groupName, location, nicName, vnetName, subnetName string) (network.Interface, error)

func (*Client) EnsureResourceGroup added in v0.8.0

func (az *Client) EnsureResourceGroup(ctx context.Context, name, location string, managedBy *string) (resourceGroup *resources.ResourceGroup, err error)

func (*Client) EnsureSSHPublicKey added in v1.1.1

func (az *Client) EnsureSSHPublicKey(ctx context.Context, resourceGroupName, location, keyName string) (publicKey string, err error)

func (*Client) EnsureVirtualMachine added in v0.8.0

func (az *Client) EnsureVirtualMachine(ctx context.Context, groupName, location, vmName string) (compute.VirtualMachine, error)

func (*Client) EnsureVirtualNetworkAndSubnet added in v0.8.0

func (az *Client) EnsureVirtualNetworkAndSubnet(ctx context.Context, groupName, location, vnetName, subnetName string) (network.VirtualNetwork, error)

func (*Client) GetAzureDisksClient added in v0.8.0

func (az *Client) GetAzureDisksClient() (diskclient.Interface, error)

func (*Client) GetVirtualNetworkSubnet added in v0.8.0

func (az *Client) GetVirtualNetworkSubnet(ctx context.Context, groupName, vnetName, subnetName string) (network.Subnet, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL