accountclient

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

View Source
const ListOperationName = "AccountsClient.List"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*armstorage.AccountsClient
	// contains filtered or unexported fields
}

func (*Client) Create

func (client *Client) Create(ctx context.Context, resourceGroupName string, resourceName string, resource *armstorage.AccountCreateParameters) (*armstorage.Account, error)

func (*Client) Delete

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

Delete deletes a Interface by name.

func (*Client) GetProperties

func (client *Client) GetProperties(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientGetPropertiesOptions) (*armstorage.Account, error)

func (*Client) List

func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armstorage.Account, err error)

List gets a list of Account in the resource group.

func (*Client) ListKeys

func (client *Client) ListKeys(ctx context.Context, resourceGroupName string, accountName string) ([]*armstorage.AccountKey, error)

type Interface

type Interface interface {
	utils.ListFunc[armstorage.Account]
	Create(ctx context.Context, resourceGroupName string, accountName string, resource *armstorage.AccountCreateParameters) (*armstorage.Account, error)
	GetProperties(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientGetPropertiesOptions) (*armstorage.Account, error)
	Delete(ctx context.Context, resourceGroupName string, accountName string) error
	ListKeys(ctx context.Context, resourceGroupName string, accountName string) ([]*armstorage.AccountKey, error)
}

+azure:client:verbs=listbyrg,resource=Account,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage,packageAlias=armstorage,clientName=AccountsClient,expand=true,crossSubFactory=true,rateLimitKey=storageAccountRateLimit

func New

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

Directories

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

Jump to

Keyboard shortcuts

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