virtualnetworkclient

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

View Source
const CreateOrUpdateOperationName = "VirtualNetworksClient.Create"
View Source
const DeleteOperationName = "VirtualNetworksClient.Delete"
View Source
const GetOperationName = "VirtualNetworksClient.Get"
View Source
const ListOperationName = "VirtualNetworksClient.List"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*armnetwork.VirtualNetworksClient
	// contains filtered or unexported fields
}

func (*Client) CheckIPAddressAvailability

func (client *Client) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, ipAddress string) (*armnetwork.IPAddressAvailabilityResult, error)

func (*Client) CreateOrUpdate

func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armnetwork.VirtualNetwork) (result *armnetwork.VirtualNetwork, err error)

CreateOrUpdate creates or updates a VirtualNetwork.

func (*Client) Delete

func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)

Delete deletes a VirtualNetwork by name.

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string, expand *string) (result *armnetwork.VirtualNetwork, err error)

Get gets the VirtualNetwork

func (*Client) List

func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.VirtualNetwork, err error)

List gets a list of VirtualNetwork in the resource group.

type Interface

+azure:client:verbs=get;createorupdate;delete;list,resource=VirtualNetwork,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4,packageAlias=armnetwork,clientName=VirtualNetworksClient,expand=true

func New

func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)

Directories

Path Synopsis
Package mock_virtualnetworkclient is a generated GoMock package.
Package mock_virtualnetworkclient is a generated GoMock package.

Jump to

Keyboard shortcuts

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