resources

package
v0.0.0-...-ddd6cb9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceGroupClient

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

ResourceGroupClient responsible for resource group

func NewResourceGroupClient

func NewResourceGroupClient(authorizer autorest.Authorizer, subscriptionId string) *ResourceGroupClient

NewResourceGroupClient creates a new 'ResourceGroupClient' instance

func (*ResourceGroupClient) CreateOrUpdate

func (r *ResourceGroupClient) CreateOrUpdate(resourceGroup, location string) (*resources.Group, error)

CreateOrUpdate creates/updates a resource group in the given location with the given name

func (*ResourceGroupClient) Delete

func (r *ResourceGroupClient) Delete(resourceGroup string) error

Delete deletes an existing resource group by name

func (*ResourceGroupClient) FindInfrastructureResourceGroup

func (r *ResourceGroupClient) FindInfrastructureResourceGroup(resourceGroup, clusterName, location string) (*resources.Group, error)

FindInfrastructureResourceGroup returns with the infrastructure resource group of the resource group

func (*ResourceGroupClient) ListGroups

func (r *ResourceGroupClient) ListGroups() ([]resources.Group, error)

ListGroups gets all the resource groups for a subscription

Jump to

Keyboard shortcuts

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