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 *armnetwork.Interface, 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 *armnetwork.Interface, rerr error)
- func (client *Client) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, ...) (*armnetwork.Interface, error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.Interface, rerr error)
- func (client *Client) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, ...) ([]*armnetwork.Interface, error)
- type Interface
Constants ¶
View Source
const CreateOrUpdateOperationName = "InterfacesClient.Create"
View Source
const DeleteOperationName = "InterfacesClient.Delete"
View Source
const GetOperationName = "InterfacesClient.Get"
View Source
const ListOperationName = "InterfacesClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armnetwork.InterfacesClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armnetwork.Interface) (result *armnetwork.Interface, err error)
CreateOrUpdate creates or updates a Interface.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
Delete deletes a Interface by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string, expand *string) (result *armnetwork.Interface, rerr error)
Get gets the Interface
func (*Client) GetVirtualMachineScaleSetNetworkInterface ¶
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.Interface, rerr error)
List gets a list of Interface in the resource group.
func (*Client) ListVirtualMachineScaleSetNetworkInterfaces ¶
func (client *Client) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) ([]*armnetwork.Interface, error)
List gets a list of IPGroup in the resource group.
type Interface ¶
type Interface interface { // GetVirtualMachineScaleSetNetworkInterface gets a network.Interface of VMSS VM. GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string) (*armnetwork.Interface, error) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) ([]*armnetwork.Interface, error) utils.GetWithExpandFunc[armnetwork.Interface] utils.CreateOrUpdateFunc[armnetwork.Interface] utils.DeleteFunc[armnetwork.Interface] utils.ListFunc[armnetwork.Interface] }
+azure:client:verbs=get;createorupdate;delete;list,resource=Interface,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4,packageAlias=armnetwork,clientName=InterfacesClient,expand=true,rateLimitKey=interfaceRateLimit
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_interfaceclient is a generated GoMock package.
|
Package mock_interfaceclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.