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.FileShare, error)
- func (client *Client) Delete(ctx context.Context, resourceGroupName string, parentResourceName string, ...) error
- func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, ...) (result *armstorage.FileShare, err error)
- func (client *Client) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (*armstorage.FileShare, error)
- type Interface
Constants ¶
View Source
const GetOperationName = "FileSharesClient.Get"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // contains filtered or unexported fields }
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) error
Delete deletes a FileShare by name.
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. |
Click to show internal directories.
Click to hide internal directories.