resourcegroupclient

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*resources.ResourceGroupsClient
	// contains filtered or unexported fields
}

func (*Client) CreateOrUpdate

func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceParam resources.ResourceGroup) (*resources.ResourceGroup, error)

func (*Client) Delete

func (client *Client) Delete(ctx context.Context, resourceGroupName string) error

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string) (result *resources.ResourceGroup, rerr error)

func (*Client) List

func (client *Client) List(ctx context.Context) (result []*resources.ResourceGroup, rerr error)

type Interface

type Interface interface {
	Get(ctx context.Context, resourceGroupName string) (result *resources.ResourceGroup, rerr error)
	CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceParam resources.ResourceGroup) (*resources.ResourceGroup, error)
	Delete(ctx context.Context, resourceGroupName string) error
	List(ctx context.Context) (result []*resources.ResourceGroup, rerr error)
}

+azure:client:verbs=,resource=ResourceGroup,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources,packageAlias=resources,clientName=ResourceGroupsClient,expand=false

func New

func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)

Directories

Path Synopsis
Package mock_resourcegroupclient is a generated GoMock package.
Package mock_resourcegroupclient is a generated GoMock package.

Jump to

Keyboard shortcuts

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