Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result *armcompute.VirtualMachineScaleSet, err error)
- func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
- func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result *armcompute.VirtualMachineScaleSet, rerr error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcompute.VirtualMachineScaleSet, err error)
- type Interface
Constants ¶
View Source
const CreateOrUpdateOperationName = "VirtualMachineScaleSetsClient.Create"
View Source
const DeleteOperationName = "VirtualMachineScaleSetsClient.Delete"
View Source
const ListOperationName = "VirtualMachineScaleSetsClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armcompute.VirtualMachineScaleSetsClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armcompute.VirtualMachineScaleSet) (result *armcompute.VirtualMachineScaleSet, err error)
CreateOrUpdate creates or updates a VirtualMachineScaleSet.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
Delete deletes a VirtualMachineScaleSet by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string, expand *armcompute.ExpandTypesForGetVMScaleSets) (result *armcompute.VirtualMachineScaleSet, rerr error)
Get gets the VirtualMachineScaleSet
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcompute.VirtualMachineScaleSet, err error)
List gets a list of VirtualMachineScaleSet in the resource group.
type Interface ¶
type Interface interface { Get(ctx context.Context, resourceGroupName string, resourceName string, expand *armcompute.ExpandTypesForGetVMScaleSets) (result *armcompute.VirtualMachineScaleSet, rerr error) utils.CreateOrUpdateFunc[armcompute.VirtualMachineScaleSet] utils.DeleteFunc[armcompute.VirtualMachineScaleSet] utils.ListFunc[armcompute.VirtualMachineScaleSet] }
+azure:client:verbs=createorupdate;delete;list,resource=VirtualMachineScaleSet,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5,packageAlias=armcompute,clientName=VirtualMachineScaleSetsClient,expand=true,rateLimitKey=virtualMachineScaleSetRateLimit
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_virtualmachinescalesetclient is a generated GoMock package.
|
Package mock_virtualmachinescalesetclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.