interfaceclient

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

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 *Client) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string) (*armnetwork.Interface, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL