Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (*armstorage.Account, error)
- func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) error
- func (client *Client) GetProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (*armstorage.Account, error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armstorage.Account, rerr error)
- func (client *Client) ListKeys(ctx context.Context, resourceGroupName string, accountName string) ([]*armstorage.AccountKey, error)
- type Interface
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, rerr 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
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. |
Click to show internal directories.
Click to hide internal directories.