Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 License.
Index ¶
- type Service
- type VirtualNetworkClient
- func (c *VirtualNetworkClient) CreateOrUpdate(ctx context.Context, group, name string, network *network.VirtualNetwork) (*network.VirtualNetwork, error)
- func (c *VirtualNetworkClient) Delete(ctx context.Context, group, name string) error
- func (c *VirtualNetworkClient) Get(ctx context.Context, group, name string) (*[]network.VirtualNetwork, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Get(context.Context, string, string) (*[]network.VirtualNetwork, error) CreateOrUpdate(context.Context, string, string, *network.VirtualNetwork) (*network.VirtualNetwork, error) Delete(context.Context, string, string) error }
Service interface
type VirtualNetworkClient ¶
type VirtualNetworkClient struct { network.BaseClient // contains filtered or unexported fields }
Client structure
func NewVirtualNetworkClient ¶
func NewVirtualNetworkClient(cloudFQDN string, authorizer auth.Authorizer) (*VirtualNetworkClient, error)
NewClient method returns new client
func (*VirtualNetworkClient) CreateOrUpdate ¶
func (c *VirtualNetworkClient) CreateOrUpdate(ctx context.Context, group, name string, network *network.VirtualNetwork) (*network.VirtualNetwork, error)
CreateOrUpdate methods invokes create or update on the client
func (*VirtualNetworkClient) Delete ¶
func (c *VirtualNetworkClient) Delete(ctx context.Context, group, name string) error
Delete methods invokes delete of the network resource
func (*VirtualNetworkClient) Get ¶
func (c *VirtualNetworkClient) Get(ctx context.Context, group, name string) (*[]network.VirtualNetwork, error)
Get methods invokes the client Get method
Click to show internal directories.
Click to hide internal directories.