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.SecurityGroup, 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.SecurityGroup, err error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.SecurityGroup, err error)
- type Interface
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, err error)
Get gets the SecurityGroup
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.SecurityGroup, err error)
List gets a list of SecurityGroup in the resource group.
type Interface ¶
type Interface interface { utils.GetFunc[armnetwork.SecurityGroup] utils.CreateOrUpdateFunc[armnetwork.SecurityGroup] utils.DeleteFunc[armnetwork.SecurityGroup] utils.ListFunc[armnetwork.SecurityGroup] }
+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. |
Click to show internal directories.
Click to hide internal directories.