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