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