Documentation
¶
Index ¶
- func AzureCLIDefaultResourceGroup() string
- func AzureCLISubscriptionID() string
- func GetIPClient() (publicIpClient *armnetwork.PublicIPAddressesClient)
- func GetNSGClient() (nsgClient *armnetwork.SecurityGroupsClient)
- func GetNicClient() (nicClient *armnetwork.InterfacesClient)
- func GetResourceGraphClient() (resourceGraphClient *armresourcegraph.Client)
- func GetSSHKeyClient() (sshClient *armcompute.SSHPublicKeysClient)
- func GetVmClient() (vmClient *armcompute.VirtualMachinesClient)
- func GetVnetClient() (vnetClient *armnetwork.VirtualNetworksClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AzureCLIDefaultResourceGroup ¶ added in v0.1.28
func AzureCLIDefaultResourceGroup() string
AzureCLIDefaultResourceGroup best-effort resolves the az CLI's configured default resource group (`az configure --defaults group=<name>`). Most users won't have this set (opt-in), so empty is normal.
func AzureCLISubscriptionID ¶ added in v0.1.28
func AzureCLISubscriptionID() string
AzureCLISubscriptionID best-effort resolves the az CLI's active subscription (the same one `az` commands run against), so onctl can default azure.subscriptionId to it when the value in onctl.yaml is still the placeholder or unset. Returns "" if az isn't installed/logged in or errors.
func GetIPClient ¶
func GetIPClient() (publicIpClient *armnetwork.PublicIPAddressesClient)
func GetNSGClient ¶ added in v0.1.22
func GetNSGClient() (nsgClient *armnetwork.SecurityGroupsClient)
func GetNicClient ¶
func GetNicClient() (nicClient *armnetwork.InterfacesClient)
func GetResourceGraphClient ¶ added in v0.1.3
func GetResourceGraphClient() (resourceGraphClient *armresourcegraph.Client)
func GetSSHKeyClient ¶
func GetSSHKeyClient() (sshClient *armcompute.SSHPublicKeysClient)
func GetVmClient ¶
func GetVmClient() (vmClient *armcompute.VirtualMachinesClient)
func GetVnetClient ¶ added in v0.0.8
func GetVnetClient() (vnetClient *armnetwork.VirtualNetworksClient)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.