Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*armnetwork.IPAddressAvailabilityResult, error)
- func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result *armnetwork.VirtualNetwork, 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.VirtualNetwork, rerr error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.VirtualNetwork, rerr error)
- type Interface
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) 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, rerr error)
Get gets the VirtualNetwork
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.VirtualNetwork, rerr error)
List gets a list of VirtualNetwork in the resource group.
type Interface ¶
type Interface interface { utils.GetWithExpandFunc[armnetwork.VirtualNetwork] utils.CreateOrUpdateFunc[armnetwork.VirtualNetwork] utils.DeleteFunc[armnetwork.VirtualNetwork] utils.ListFunc[armnetwork.VirtualNetwork] CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, ipAddress string) (*armnetwork.IPAddressAvailabilityResult, error) }
+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. |
Click to show internal directories.
Click to hide internal directories.