Documentation ¶
Index ¶
- type ResourceGroupClient
- func (r *ResourceGroupClient) CreateOrUpdate(resourceGroup, location string) (*resources.Group, error)
- func (r *ResourceGroupClient) Delete(resourceGroup string) error
- func (r *ResourceGroupClient) FindInfrastructureResourceGroup(resourceGroup, clusterName, location string) (*resources.Group, error)
- func (r *ResourceGroupClient) ListGroups() ([]resources.Group, error)
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
Click to show internal directories.
Click to hide internal directories.