Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
Constants ¶
View Source
const GetOperationName = "AvailabilitySetsClient.Get"
View Source
const ListOperationName = "AvailabilitySetsClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armcompute.AvailabilitySetsClient // contains filtered or unexported fields }
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armcompute.AvailabilitySet, err error)
Get gets the AvailabilitySet
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcompute.AvailabilitySet, err error)
List gets a list of AvailabilitySet in the resource group.
type Interface ¶
type Interface interface { utils.GetFunc[armcompute.AvailabilitySet] utils.ListFunc[armcompute.AvailabilitySet] }
+azure:client:verbs=get;list,resource=AvailabilitySet,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6,packageAlias=armcompute,clientName=AvailabilitySetsClient,expand=false,rateLimitKey=availabilitySetRateLimit
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_availabilitysetclient is a generated GoMock package.
|
Package mock_availabilitysetclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.