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