fileshareclient

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 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 GetOperationName = "FileSharesClient.Get"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) Create

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

func (*Client) Delete

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

Delete deletes a FileShare by name.

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) (result *armstorage.FileShare, err error)

Get gets the FileShare

func (*Client) Update

func (client *Client) Update(ctx context.Context, resourceGroupName string, resourceName string, parentResourceName string, resource armstorage.FileShare) (*armstorage.FileShare, error)

type Interface

type Interface interface {
	utils.SubResourceGetFunc[armstorage.FileShare]
	Create(ctx context.Context, resourceGroupName string, resourceName string, parentResourceName string, resource armstorage.FileShare) (*armstorage.FileShare, error)
	Update(ctx context.Context, resourceGroupName string, resourceName string, parentResourceName string, resource armstorage.FileShare) (*armstorage.FileShare, error)
	Delete(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) error
}

+azure:client:verbs=get,resource=Account,subResource=FileShare,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage,packageAlias=armstorage,clientName=FileSharesClient,expand=false,crossSubFactory=true

func New

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

Directories

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

Jump to

Keyboard shortcuts

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