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.PublicIPPrefix, 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.PublicIPPrefix, err error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.PublicIPPrefix, err error)
- type Interface
Constants ¶
View Source
const CreateOrUpdateOperationName = "PublicIPPrefixesClient.Create"
View Source
const DeleteOperationName = "PublicIPPrefixesClient.Delete"
View Source
const GetOperationName = "PublicIPPrefixesClient.Get"
View Source
const ListOperationName = "PublicIPPrefixesClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armnetwork.PublicIPPrefixesClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armnetwork.PublicIPPrefix) (result *armnetwork.PublicIPPrefix, err error)
CreateOrUpdate creates or updates a PublicIPPrefix.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
Delete deletes a PublicIPPrefix by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string, expand *string) (result *armnetwork.PublicIPPrefix, err error)
Get gets the PublicIPPrefix
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armnetwork.PublicIPPrefix, err error)
List gets a list of PublicIPPrefix in the resource group.
type Interface ¶
type Interface interface { utils.GetWithExpandFunc[armnetwork.PublicIPPrefix] utils.CreateOrUpdateFunc[armnetwork.PublicIPPrefix] utils.DeleteFunc[armnetwork.PublicIPPrefix] utils.ListFunc[armnetwork.PublicIPPrefix] }
+azure:client:verbs=get;createorupdate;delete;list,resource=PublicIPPrefix,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v6,packageAlias=armnetwork,clientName=PublicIPPrefixesClient,expand=true,etag=true
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_publicipprefixclient is a generated GoMock package.
|
Package mock_publicipprefixclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.