securitygroupclient

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) CreateOrUpdate

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

CreateOrUpdate creates or updates a SecurityGroup.

func (*Client) Delete

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

Delete deletes a SecurityGroup by name.

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armnetwork.SecurityGroup, rerr error)

Get gets the SecurityGroup

func (*Client) List

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

List gets a list of SecurityGroup in the resource group.

type Interface

+azure:client:verbs=get;createorupdate;delete;list,resource=SecurityGroup,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4,packageAlias=armnetwork,clientName=SecurityGroupsClient,expand=false,rateLimitKey=securityGroupRateLimit

func New

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

Directories

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

Jump to

Keyboard shortcuts

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