hybridnetwork

package
v45.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package hybridnetwork implements the Azure ARM Hybridnetwork service API version 2020-01-01-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Hybridnetwork
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Hybridnetwork.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicDevicePropertiesFormat

type BasicDevicePropertiesFormat interface {
	AsDevicePropertiesFormat() (*DevicePropertiesFormat, bool)
}

BasicDevicePropertiesFormat hybrid network device properties.

type Device

type Device struct {
	autorest.Response `json:"-"`
	// BasicDevicePropertiesFormat - Hybrid network device properties.
	BasicDevicePropertiesFormat `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Device hybrid network device resource.

func (Device) MarshalJSON

func (d Device) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Device.

func (*Device) UnmarshalJSON

func (d *Device) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Device struct.

type DeviceListResult

type DeviceListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of hybrid network devices.
	Value *[]Device `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DeviceListResult response for hybrid network devices API service call.

func (DeviceListResult) IsEmpty

func (dlr DeviceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DeviceListResult) MarshalJSON

func (dlr DeviceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceListResult.

type DeviceListResultIterator

type DeviceListResultIterator struct {
	// contains filtered or unexported fields
}

DeviceListResultIterator provides access to a complete listing of Device values.

func NewDeviceListResultIterator

func NewDeviceListResultIterator(page DeviceListResultPage) DeviceListResultIterator

Creates a new instance of the DeviceListResultIterator type.

func (*DeviceListResultIterator) Next

func (iter *DeviceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceListResultIterator) NextWithContext

func (iter *DeviceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DeviceListResultIterator) NotDone

func (iter DeviceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DeviceListResultIterator) Response

Response returns the raw server response from the last page request.

func (DeviceListResultIterator) Value

func (iter DeviceListResultIterator) Value() Device

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DeviceListResultPage

type DeviceListResultPage struct {
	// contains filtered or unexported fields
}

DeviceListResultPage contains a page of Device values.

func NewDeviceListResultPage

func NewDeviceListResultPage(getNextPage func(context.Context, DeviceListResult) (DeviceListResult, error)) DeviceListResultPage

Creates a new instance of the DeviceListResultPage type.

func (*DeviceListResultPage) Next

func (page *DeviceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceListResultPage) NextWithContext

func (page *DeviceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DeviceListResultPage) NotDone

func (page DeviceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DeviceListResultPage) Response

func (page DeviceListResultPage) Response() DeviceListResult

Response returns the raw server response from the last page request.

func (DeviceListResultPage) Values

func (page DeviceListResultPage) Values() []Device

Values returns the slice of values for the current page or nil if there are no values.

type DevicePropertiesFormat

type DevicePropertiesFormat struct {
	// Status - READ-ONLY; The current device status. Possible values include: 'StatusUnknown', 'StatusNotRegistered', 'StatusRegistered'
	Status Status `json:"status,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the hybrid network device resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// AzureStackEdge - The reference to the azure stack edge device.
	AzureStackEdge *SubResource `json:"azureStackEdge,omitempty"`
	// VirtualNetworkFunctions - READ-ONLY; The list of virtual network functions deployed on the hybrid network device.
	VirtualNetworkFunctions *[]SubResource `json:"virtualNetworkFunctions,omitempty"`
	// DeviceType - Possible values include: 'DeviceTypeDevicePropertiesFormat'
	DeviceType DeviceType `json:"deviceType,omitempty"`
}

DevicePropertiesFormat hybrid network device properties.

func (DevicePropertiesFormat) AsBasicDevicePropertiesFormat

func (dpf DevicePropertiesFormat) AsBasicDevicePropertiesFormat() (BasicDevicePropertiesFormat, bool)

AsBasicDevicePropertiesFormat is the BasicDevicePropertiesFormat implementation for DevicePropertiesFormat.

func (DevicePropertiesFormat) AsDevicePropertiesFormat

func (dpf DevicePropertiesFormat) AsDevicePropertiesFormat() (*DevicePropertiesFormat, bool)

AsDevicePropertiesFormat is the BasicDevicePropertiesFormat implementation for DevicePropertiesFormat.

func (DevicePropertiesFormat) MarshalJSON

func (dpf DevicePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DevicePropertiesFormat.

type DeviceRegistrationKey

type DeviceRegistrationKey struct {
	autorest.Response `json:"-"`
	// RegistrationKey - READ-ONLY; The registration key for hybrid network device.
	RegistrationKey *string `json:"registrationKey,omitempty"`
}

DeviceRegistrationKey the hybrid network device registration key

type DeviceType

type DeviceType string

DeviceType enumerates the values for device type.

const (
	// DeviceTypeDevicePropertiesFormat ...
	DeviceTypeDevicePropertiesFormat DeviceType = "DevicePropertiesFormat"
)

func PossibleDeviceTypeValues

func PossibleDeviceTypeValues() []DeviceType

PossibleDeviceTypeValues returns an array of possible values for the DeviceType const type.

type DevicesClient

type DevicesClient struct {
	BaseClient
}

DevicesClient is the client for the Devices methods of the Hybridnetwork service.

func NewDevicesClient

func NewDevicesClient(subscriptionID string) DevicesClient

NewDevicesClient creates an instance of the DevicesClient client.

func NewDevicesClientWithBaseURI

func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient

NewDevicesClientWithBaseURI creates an instance of the DevicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DevicesClient) CreateOrUpdate

func (client DevicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, parameters Device) (result DevicesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a hybrid network device. Parameters: resourceGroupName - the name of the resource group. deviceName - resource name for the device resource. parameters - parameters supplied to the create or update hybrid network device operation.

func (DevicesClient) CreateOrUpdatePreparer

func (client DevicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deviceName string, parameters Device) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DevicesClient) CreateOrUpdateResponder

func (client DevicesClient) CreateOrUpdateResponder(resp *http.Response) (result Device, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DevicesClient) CreateOrUpdateSender

func (client DevicesClient) CreateOrUpdateSender(req *http.Request) (future DevicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) Delete

func (client DevicesClient) Delete(ctx context.Context, resourceGroupName string, deviceName string) (result DevicesDeleteFuture, err error)

Delete deletes the specified hybrid network device. Parameters: resourceGroupName - the name of the resource group. deviceName - the name of the hybrid network device.

func (DevicesClient) DeletePreparer

func (client DevicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DevicesClient) DeleteResponder

func (client DevicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DevicesClient) DeleteSender

func (client DevicesClient) DeleteSender(req *http.Request) (future DevicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) Get

func (client DevicesClient) Get(ctx context.Context, resourceGroupName string, deviceName string) (result Device, err error)

Get gets information about the specified hybrid network device. Parameters: resourceGroupName - the name of the resource group. deviceName - the name of hybrid network device.

func (DevicesClient) GetPreparer

func (client DevicesClient) GetPreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DevicesClient) GetResponder

func (client DevicesClient) GetResponder(resp *http.Response) (result Device, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DevicesClient) GetSender

func (client DevicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) ListByResourceGroup

func (client DevicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DeviceListResultPage, err error)

ListByResourceGroup lists all the hybrid network devices in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DevicesClient) ListByResourceGroupComplete

func (client DevicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DeviceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DevicesClient) ListByResourceGroupPreparer

func (client DevicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DevicesClient) ListByResourceGroupResponder

func (client DevicesClient) ListByResourceGroupResponder(resp *http.Response) (result DeviceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DevicesClient) ListByResourceGroupSender

func (client DevicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) ListBySubscription

func (client DevicesClient) ListBySubscription(ctx context.Context) (result DeviceListResultPage, err error)

ListBySubscription lists all the hybrid network devices in a subscription.

func (DevicesClient) ListBySubscriptionComplete

func (client DevicesClient) ListBySubscriptionComplete(ctx context.Context) (result DeviceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DevicesClient) ListBySubscriptionPreparer

func (client DevicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DevicesClient) ListBySubscriptionResponder

func (client DevicesClient) ListBySubscriptionResponder(resp *http.Response) (result DeviceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DevicesClient) ListBySubscriptionSender

func (client DevicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) ListRegistrationKey

func (client DevicesClient) ListRegistrationKey(ctx context.Context, resourceGroupName string, deviceName string) (result DeviceRegistrationKey, err error)

ListRegistrationKey list the registration key for the hybrid network device. Parameters: resourceGroupName - the name of the resource group. deviceName - the name of the hybrid network device.

func (DevicesClient) ListRegistrationKeyPreparer

func (client DevicesClient) ListRegistrationKeyPreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)

ListRegistrationKeyPreparer prepares the ListRegistrationKey request.

func (DevicesClient) ListRegistrationKeyResponder

func (client DevicesClient) ListRegistrationKeyResponder(resp *http.Response) (result DeviceRegistrationKey, err error)

ListRegistrationKeyResponder handles the response to the ListRegistrationKey request. The method always closes the http.Response Body.

func (DevicesClient) ListRegistrationKeySender

func (client DevicesClient) ListRegistrationKeySender(req *http.Request) (*http.Response, error)

ListRegistrationKeySender sends the ListRegistrationKey request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) UpdateTags

func (client DevicesClient) UpdateTags(ctx context.Context, resourceGroupName string, deviceName string, parameters TagsObject) (result Device, err error)

UpdateTags updates a hybrid network device tags. Parameters: resourceGroupName - the name of the resource group. deviceName - the name of the hybrid network device. parameters - parameters supplied to update hybrid network device tags.

func (DevicesClient) UpdateTagsPreparer

func (client DevicesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, deviceName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (DevicesClient) UpdateTagsResponder

func (client DevicesClient) UpdateTagsResponder(resp *http.Response) (result Device, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (DevicesClient) UpdateTagsSender

func (client DevicesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type DevicesCreateOrUpdateFuture

type DevicesCreateOrUpdateFuture struct {
	azure.Future
}

DevicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DevicesCreateOrUpdateFuture) Result

func (future *DevicesCreateOrUpdateFuture) Result(client DevicesClient) (d Device, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DevicesDeleteFuture

type DevicesDeleteFuture struct {
	azure.Future
}

DevicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DevicesDeleteFuture) Result

func (future *DevicesDeleteFuture) Result(client DevicesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ErrorDetails

type ErrorDetails struct {
	Error *ErrorResponse `json:"error,omitempty"`
}

ErrorDetails the error response that indicates why an operation has failed.

type ErrorResponse

type ErrorResponse struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
}

ErrorResponse the error response details containing error code and error message

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

func (*ErrorResponse) UnmarshalJSON

func (er *ErrorResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ErrorResponse struct.

type IPAllocationMethod

type IPAllocationMethod string

IPAllocationMethod enumerates the values for ip allocation method.

const (
	// Dynamic ...
	Dynamic IPAllocationMethod = "Dynamic"
	// Static ...
	Static IPAllocationMethod = "Static"
	// Unknown ...
	Unknown IPAllocationMethod = "Unknown"
)

func PossibleIPAllocationMethodValues

func PossibleIPAllocationMethodValues() []IPAllocationMethod

PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.

type IPVersion

type IPVersion string

IPVersion enumerates the values for ip version.

const (
	// IPVersionIPv4 ...
	IPVersionIPv4 IPVersion = "IPv4"
	// IPVersionUnknown ...
	IPVersionUnknown IPVersion = "Unknown"
)

func PossibleIPVersionValues

func PossibleIPVersionValues() []IPVersion

PossibleIPVersionValues returns an array of possible values for the IPVersion const type.

type ImageReference

type ImageReference struct {
	// OsType - The OS type. Possible values include: 'OperatingSystemTypesUnknown', 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
	OsType OperatingSystemTypes `json:"osType,omitempty"`
	// VhdName - The VHD name.
	VhdName *string `json:"vhdName,omitempty"`
	// VhdType - The VHD type. Possible values include: 'VHDTypeUnknown', 'VHDTypeVHD', 'VHDTypeVHDX'
	VhdType VHDType `json:"vhdType,omitempty"`
	// SasURI - The VHD SAS URI.
	SasURI *string `json:"sasUri,omitempty"`
}

ImageReference the image reference properties.

type NetworkInterface

type NetworkInterface struct {
	// NetworkInterfaceName - The name of the network interface.
	NetworkInterfaceName *string `json:"networkInterfaceName,omitempty"`
	// MacAddress - The MAC address of the network interface.
	MacAddress *string `json:"macAddress,omitempty"`
	// IPConfigurations - A list of IP configurations of the network interface.
	IPConfigurations *[]NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	// VMSwitchType - The type of VM switch. Possible values include: 'VMSwitchTypeUnknown', 'VMSwitchTypeManagement', 'VMSwitchTypeWan', 'VMSwitchTypeLan', 'VMSwitchTypeInternal'
	VMSwitchType VMSwitchType `json:"vmSwitchType,omitempty"`
}

NetworkInterface network interface properties.

type NetworkInterfaceIPConfiguration

type NetworkInterfaceIPConfiguration struct {
	// IPAllocationMethod - IP address allocation method. Possible values include: 'Unknown', 'Static', 'Dynamic'
	IPAllocationMethod IPAllocationMethod `json:"ipAllocationMethod,omitempty"`
	// IPAddress - The value of the IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// Subnet - The value of the subnet.
	Subnet *string `json:"subnet,omitempty"`
	// Gateway - The value of the gateway.
	Gateway *string `json:"gateway,omitempty"`
	// IPVersion - IP address version. Possible values include: 'IPVersionUnknown', 'IPVersionIPv4'
	IPVersion IPVersion `json:"ipVersion,omitempty"`
	// DNSServers - The list of DNS servers IP addresses.
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

NetworkInterfaceIPConfiguration network interface IP configuration properties.

type OperatingSystemTypes

type OperatingSystemTypes string

OperatingSystemTypes enumerates the values for operating system types.

const (
	// OperatingSystemTypesLinux ...
	OperatingSystemTypesLinux OperatingSystemTypes = "Linux"
	// OperatingSystemTypesUnknown ...
	OperatingSystemTypesUnknown OperatingSystemTypes = "Unknown"
	// OperatingSystemTypesWindows ...
	OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)

func PossibleOperatingSystemTypesValues

func PossibleOperatingSystemTypesValues() []OperatingSystemTypes

PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.

type Operation

type Operation struct {
	// Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - READ-ONLY; The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation object that describes a single Microsoft.HybridNetwork operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.HybridNetwork
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Registration definition, registration assignment etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationList

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Microsoft.HybridNetwork operations.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationList list of the operations.

func (OperationList) IsEmpty

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListIterator

type OperationListIterator struct {
	// contains filtered or unexported fields
}

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next

func (iter *OperationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListIterator) NextWithContext

func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListIterator) NotDone

func (iter OperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListIterator) Response

func (iter OperationListIterator) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListIterator) Value

func (iter OperationListIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListPage

type OperationListPage struct {
	// contains filtered or unexported fields
}

OperationListPage contains a page of Operation values.

func NewOperationListPage

func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next

func (page *OperationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListPage) NextWithContext

func (page *OperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListPage) NotDone

func (page OperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListPage) Response

func (page OperationListPage) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListPage) Values

func (page OperationListPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Hybridnetwork service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)

List gets a list of the operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OsProfile

type OsProfile struct {
	// AdminUsername - Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters  <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
	AdminUsername *string `json:"adminUsername,omitempty"`
	// AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password).
	AdminPassword *string `json:"adminPassword,omitempty"`
	// SSHPublicKey - Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
	SSHPublicKey *string `json:"sshPublicKey,omitempty"`
}

OsProfile specifies the operating system settings for the role instance.

type PreviewSubscription

type PreviewSubscription struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Preview subscription id
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; ARM id of the resource
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the resource
	Type *string `json:"type,omitempty"`
}

PreviewSubscription customer subscription which can use a sku.

type PreviewSubscriptionsList

type PreviewSubscriptionsList struct {
	autorest.Response `json:"-"`
	// Value - A list of preview subscriptions.
	Value *[]PreviewSubscription `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PreviewSubscriptionsList list of customer subscriptions which can use a sku.

func (PreviewSubscriptionsList) IsEmpty

func (psl PreviewSubscriptionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PreviewSubscriptionsList) MarshalJSON

func (psl PreviewSubscriptionsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PreviewSubscriptionsList.

type PreviewSubscriptionsListIterator

type PreviewSubscriptionsListIterator struct {
	// contains filtered or unexported fields
}

PreviewSubscriptionsListIterator provides access to a complete listing of PreviewSubscription values.

func NewPreviewSubscriptionsListIterator

func NewPreviewSubscriptionsListIterator(page PreviewSubscriptionsListPage) PreviewSubscriptionsListIterator

Creates a new instance of the PreviewSubscriptionsListIterator type.

func (*PreviewSubscriptionsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PreviewSubscriptionsListIterator) NextWithContext

func (iter *PreviewSubscriptionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PreviewSubscriptionsListIterator) NotDone

func (iter PreviewSubscriptionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PreviewSubscriptionsListIterator) Response

Response returns the raw server response from the last page request.

func (PreviewSubscriptionsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PreviewSubscriptionsListPage

type PreviewSubscriptionsListPage struct {
	// contains filtered or unexported fields
}

PreviewSubscriptionsListPage contains a page of PreviewSubscription values.

func NewPreviewSubscriptionsListPage

func NewPreviewSubscriptionsListPage(getNextPage func(context.Context, PreviewSubscriptionsList) (PreviewSubscriptionsList, error)) PreviewSubscriptionsListPage

Creates a new instance of the PreviewSubscriptionsListPage type.

func (*PreviewSubscriptionsListPage) Next

func (page *PreviewSubscriptionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PreviewSubscriptionsListPage) NextWithContext

func (page *PreviewSubscriptionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PreviewSubscriptionsListPage) NotDone

func (page PreviewSubscriptionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PreviewSubscriptionsListPage) Response

Response returns the raw server response from the last page request.

func (PreviewSubscriptionsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateAccepted ...
	ProvisioningStateAccepted ProvisioningState = "Accepted"
	// ProvisioningStateCanceled ...
	ProvisioningStateCanceled ProvisioningState = "Canceled"
	// ProvisioningStateDeleted ...
	ProvisioningStateDeleted ProvisioningState = "Deleted"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUnknown ...
	ProvisioningStateUnknown ProvisioningState = "Unknown"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Resource common resource representation.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SkuDeploymentMode

type SkuDeploymentMode string

SkuDeploymentMode enumerates the values for sku deployment mode.

const (
	// SkuDeploymentModeAzure ...
	SkuDeploymentModeAzure SkuDeploymentMode = "Azure"
	// SkuDeploymentModePrivateEdgeZone ...
	SkuDeploymentModePrivateEdgeZone SkuDeploymentMode = "PrivateEdgeZone"
	// SkuDeploymentModeUnknown ...
	SkuDeploymentModeUnknown SkuDeploymentMode = "Unknown"
)

func PossibleSkuDeploymentModeValues

func PossibleSkuDeploymentModeValues() []SkuDeploymentMode

PossibleSkuDeploymentModeValues returns an array of possible values for the SkuDeploymentMode const type.

type SkuOverview

type SkuOverview struct {
	// SkuName - The vendor sku name.
	SkuName *string `json:"skuName,omitempty"`
	// SkuType - The vendor sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN'
	SkuType SkuType `json:"skuType,omitempty"`
}

SkuOverview the virtual network function sku overview.

type SkuType

type SkuType string

SkuType enumerates the values for sku type.

const (
	// SkuTypeEvolvedPacketCore ...
	SkuTypeEvolvedPacketCore SkuType = "EvolvedPacketCore"
	// SkuTypeSDWAN ...
	SkuTypeSDWAN SkuType = "SDWAN"
	// SkuTypeUnknown ...
	SkuTypeUnknown SkuType = "Unknown"
)

func PossibleSkuTypeValues

func PossibleSkuTypeValues() []SkuType

PossibleSkuTypeValues returns an array of possible values for the SkuType const type.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusNotRegistered ...
	StatusNotRegistered Status = "NotRegistered"
	// StatusRegistered ...
	StatusRegistered Status = "Registered"
	// StatusUnknown ...
	StatusUnknown Status = "Unknown"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type SubResource

type SubResource struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

SubResource reference to another sub resource.

type TagsObject

type TagsObject struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

TagsObject tags object for patch operations.

func (TagsObject) MarshalJSON

func (toVar TagsObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsObject.

type VHDType

type VHDType string

VHDType enumerates the values for vhd type.

const (
	// VHDTypeUnknown ...
	VHDTypeUnknown VHDType = "Unknown"
	// VHDTypeVHD ...
	VHDTypeVHD VHDType = "VHD"
	// VHDTypeVHDX ...
	VHDTypeVHDX VHDType = "VHDX"
)

func PossibleVHDTypeValues

func PossibleVHDTypeValues() []VHDType

PossibleVHDTypeValues returns an array of possible values for the VHDType const type.

type VMSwitchType

type VMSwitchType string

VMSwitchType enumerates the values for vm switch type.

const (
	// VMSwitchTypeInternal ...
	VMSwitchTypeInternal VMSwitchType = "Internal"
	// VMSwitchTypeLan ...
	VMSwitchTypeLan VMSwitchType = "Lan"
	// VMSwitchTypeManagement ...
	VMSwitchTypeManagement VMSwitchType = "Management"
	// VMSwitchTypeUnknown ...
	VMSwitchTypeUnknown VMSwitchType = "Unknown"
	// VMSwitchTypeWan ...
	VMSwitchTypeWan VMSwitchType = "Wan"
)

func PossibleVMSwitchTypeValues

func PossibleVMSwitchTypeValues() []VMSwitchType

PossibleVMSwitchTypeValues returns an array of possible values for the VMSwitchType const type.

type Vendor

type Vendor struct {
	autorest.Response `json:"-"`
	// VendorPropertiesFormat - Vendor properties.
	*VendorPropertiesFormat `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Vendor vendor resource.

func (Vendor) MarshalJSON

func (vVar Vendor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Vendor.

func (*Vendor) UnmarshalJSON

func (vVar *Vendor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Vendor struct.

type VendorDetails

type VendorDetails struct {
	// VendorName - The virtual network function vendor name.
	VendorName *string `json:"vendorName,omitempty"`
	// SkuList - The virtual network function sku list.
	SkuList *[]SkuOverview `json:"skuList,omitempty"`
}

VendorDetails the virtual network function vendor details.

type VendorListResult

type VendorListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of vendors.
	Value *[]Vendor `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VendorListResult response for Vendors API service call.

func (VendorListResult) IsEmpty

func (vlr VendorListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VendorListResult) MarshalJSON

func (vlr VendorListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorListResult.

type VendorListResultIterator

type VendorListResultIterator struct {
	// contains filtered or unexported fields
}

VendorListResultIterator provides access to a complete listing of Vendor values.

func NewVendorListResultIterator

func NewVendorListResultIterator(page VendorListResultPage) VendorListResultIterator

Creates a new instance of the VendorListResultIterator type.

func (*VendorListResultIterator) Next

func (iter *VendorListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorListResultIterator) NextWithContext

func (iter *VendorListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VendorListResultIterator) NotDone

func (iter VendorListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VendorListResultIterator) Response

Response returns the raw server response from the last page request.

func (VendorListResultIterator) Value

func (iter VendorListResultIterator) Value() Vendor

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VendorListResultPage

type VendorListResultPage struct {
	// contains filtered or unexported fields
}

VendorListResultPage contains a page of Vendor values.

func NewVendorListResultPage

func NewVendorListResultPage(getNextPage func(context.Context, VendorListResult) (VendorListResult, error)) VendorListResultPage

Creates a new instance of the VendorListResultPage type.

func (*VendorListResultPage) Next

func (page *VendorListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorListResultPage) NextWithContext

func (page *VendorListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VendorListResultPage) NotDone

func (page VendorListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VendorListResultPage) Response

func (page VendorListResultPage) Response() VendorListResult

Response returns the raw server response from the last page request.

func (VendorListResultPage) Values

func (page VendorListResultPage) Values() []Vendor

Values returns the slice of values for the current page or nil if there are no values.

type VendorPropertiesFormat

type VendorPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the vendor resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Skus - READ-ONLY; A list of ids of the vendor skus offered by the vendor.
	Skus *[]SubResource `json:"skus,omitempty"`
}

VendorPropertiesFormat vendor properties.

type VendorProvisioningState

type VendorProvisioningState string

VendorProvisioningState enumerates the values for vendor provisioning state.

const (
	// VendorProvisioningStateDeprovisioned ...
	VendorProvisioningStateDeprovisioned VendorProvisioningState = "Deprovisioned"
	// VendorProvisioningStateNotProvisioned ...
	VendorProvisioningStateNotProvisioned VendorProvisioningState = "NotProvisioned"
	// VendorProvisioningStateProvisioned ...
	VendorProvisioningStateProvisioned VendorProvisioningState = "Provisioned"
	// VendorProvisioningStateProvisioning ...
	VendorProvisioningStateProvisioning VendorProvisioningState = "Provisioning"
	// VendorProvisioningStateUnknown ...
	VendorProvisioningStateUnknown VendorProvisioningState = "Unknown"
	// VendorProvisioningStateUserDataValidationFailed ...
	VendorProvisioningStateUserDataValidationFailed VendorProvisioningState = "UserDataValidationFailed"
)

func PossibleVendorProvisioningStateValues

func PossibleVendorProvisioningStateValues() []VendorProvisioningState

PossibleVendorProvisioningStateValues returns an array of possible values for the VendorProvisioningState const type.

type VendorSku

type VendorSku struct {
	autorest.Response `json:"-"`
	// VendorSkuPropertiesFormat - Vendor sku details.
	*VendorSkuPropertiesFormat `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VendorSku sku sub resource.

func (VendorSku) MarshalJSON

func (vs VendorSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorSku.

func (*VendorSku) UnmarshalJSON

func (vs *VendorSku) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VendorSku struct.

type VendorSkuListResult

type VendorSkuListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of vendor skus offered by the vendor.
	Value *[]VendorSku `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VendorSkuListResult response for list vendor sku API service call.

func (VendorSkuListResult) IsEmpty

func (vslr VendorSkuListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VendorSkuListResult) MarshalJSON

func (vslr VendorSkuListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorSkuListResult.

type VendorSkuListResultIterator

type VendorSkuListResultIterator struct {
	// contains filtered or unexported fields
}

VendorSkuListResultIterator provides access to a complete listing of VendorSku values.

func NewVendorSkuListResultIterator

func NewVendorSkuListResultIterator(page VendorSkuListResultPage) VendorSkuListResultIterator

Creates a new instance of the VendorSkuListResultIterator type.

func (*VendorSkuListResultIterator) Next

func (iter *VendorSkuListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorSkuListResultIterator) NextWithContext

func (iter *VendorSkuListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VendorSkuListResultIterator) NotDone

func (iter VendorSkuListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VendorSkuListResultIterator) Response

Response returns the raw server response from the last page request.

func (VendorSkuListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VendorSkuListResultPage

type VendorSkuListResultPage struct {
	// contains filtered or unexported fields
}

VendorSkuListResultPage contains a page of VendorSku values.

func NewVendorSkuListResultPage

func NewVendorSkuListResultPage(getNextPage func(context.Context, VendorSkuListResult) (VendorSkuListResult, error)) VendorSkuListResultPage

Creates a new instance of the VendorSkuListResultPage type.

func (*VendorSkuListResultPage) Next

func (page *VendorSkuListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorSkuListResultPage) NextWithContext

func (page *VendorSkuListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VendorSkuListResultPage) NotDone

func (page VendorSkuListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VendorSkuListResultPage) Response

Response returns the raw server response from the last page request.

func (VendorSkuListResultPage) Values

func (page VendorSkuListResultPage) Values() []VendorSku

Values returns the slice of values for the current page or nil if there are no values.

type VendorSkuPreviewClient

type VendorSkuPreviewClient struct {
	BaseClient
}

VendorSkuPreviewClient is the client for the VendorSkuPreview methods of the Hybridnetwork service.

func NewVendorSkuPreviewClient

func NewVendorSkuPreviewClient(subscriptionID string) VendorSkuPreviewClient

NewVendorSkuPreviewClient creates an instance of the VendorSkuPreviewClient client.

func NewVendorSkuPreviewClientWithBaseURI

func NewVendorSkuPreviewClientWithBaseURI(baseURI string, subscriptionID string) VendorSkuPreviewClient

NewVendorSkuPreviewClientWithBaseURI creates an instance of the VendorSkuPreviewClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VendorSkuPreviewClient) CreateOrUpdate

func (client VendorSkuPreviewClient) CreateOrUpdate(ctx context.Context, vendorName string, skuName string, previewSubscription string, parameters PreviewSubscription) (result VendorSkuPreviewCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates preview information of a vendor sku Parameters: vendorName - the name of the vendor. skuName - the name of the vendor sku. previewSubscription - preview subscription id. parameters - parameters supplied to the update vendor virtual network function.

func (VendorSkuPreviewClient) CreateOrUpdatePreparer

func (client VendorSkuPreviewClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, skuName string, previewSubscription string, parameters PreviewSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VendorSkuPreviewClient) CreateOrUpdateResponder

func (client VendorSkuPreviewClient) CreateOrUpdateResponder(resp *http.Response) (result PreviewSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VendorSkuPreviewClient) CreateOrUpdateSender

func (client VendorSkuPreviewClient) CreateOrUpdateSender(req *http.Request) (future VendorSkuPreviewCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VendorSkuPreviewClient) Delete

func (client VendorSkuPreviewClient) Delete(ctx context.Context, vendorName string, skuName string, previewSubscription string) (result VendorSkuPreviewDeleteFuture, err error)

Delete deletes preview information of a vendor sku Parameters: vendorName - the name of the vendor. skuName - the name of the vendor sku. previewSubscription - preview subscription id.

func (VendorSkuPreviewClient) DeletePreparer

func (client VendorSkuPreviewClient) DeletePreparer(ctx context.Context, vendorName string, skuName string, previewSubscription string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VendorSkuPreviewClient) DeleteResponder

func (client VendorSkuPreviewClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VendorSkuPreviewClient) DeleteSender

func (client VendorSkuPreviewClient) DeleteSender(req *http.Request) (future VendorSkuPreviewDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VendorSkuPreviewClient) Get

func (client VendorSkuPreviewClient) Get(ctx context.Context, vendorName string, skuName string, previewSubscription string) (result PreviewSubscription, err error)

Get gets preview information of a vendor sku Parameters: vendorName - the name of the vendor. skuName - the name of the vendor sku. previewSubscription - preview subscription id.

func (VendorSkuPreviewClient) GetPreparer

func (client VendorSkuPreviewClient) GetPreparer(ctx context.Context, vendorName string, skuName string, previewSubscription string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VendorSkuPreviewClient) GetResponder

func (client VendorSkuPreviewClient) GetResponder(resp *http.Response) (result PreviewSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VendorSkuPreviewClient) GetSender

func (client VendorSkuPreviewClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VendorSkuPreviewClient) List

func (client VendorSkuPreviewClient) List(ctx context.Context, vendorName string, skuName string) (result PreviewSubscriptionsListPage, err error)

List gets preview information of a vendor sku Parameters: vendorName - the name of the vendor. skuName - the name of the sku.

func (VendorSkuPreviewClient) ListComplete

func (client VendorSkuPreviewClient) ListComplete(ctx context.Context, vendorName string, skuName string) (result PreviewSubscriptionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VendorSkuPreviewClient) ListPreparer

func (client VendorSkuPreviewClient) ListPreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VendorSkuPreviewClient) ListResponder

func (client VendorSkuPreviewClient) ListResponder(resp *http.Response) (result PreviewSubscriptionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VendorSkuPreviewClient) ListSender

func (client VendorSkuPreviewClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VendorSkuPreviewCreateOrUpdateFuture

type VendorSkuPreviewCreateOrUpdateFuture struct {
	azure.Future
}

VendorSkuPreviewCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorSkuPreviewCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorSkuPreviewDeleteFuture

type VendorSkuPreviewDeleteFuture struct {
	azure.Future
}

VendorSkuPreviewDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorSkuPreviewDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorSkuPropertiesFormat

type VendorSkuPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the vendor sku sub resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// SkuType - Sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN'
	SkuType SkuType `json:"skuType,omitempty"`
	// DeploymentMode - Sku deployment mode. Possible values include: 'SkuDeploymentModeUnknown', 'SkuDeploymentModeAzure', 'SkuDeploymentModePrivateEdgeZone'
	DeploymentMode SkuDeploymentMode `json:"deploymentMode,omitempty"`
	// Preview - Indicates if the vendor sku is in preview mode.
	Preview *bool `json:"preview,omitempty"`
	// ManagedApplicationParameters - The parameters for the managed application to be supplied by vendor.
	ManagedApplicationParameters interface{} `json:"managedApplicationParameters,omitempty"`
	// ManagedApplicationTemplate - The template for the managed application deployment.
	ManagedApplicationTemplate interface{} `json:"managedApplicationTemplate,omitempty"`
	// VirtualNetworkFunctionTemplate - The template definition of the virtual network function.
	VirtualNetworkFunctionTemplate *VirtualNetworkFunctionTemplate `json:"virtualNetworkFunctionTemplate,omitempty"`
}

VendorSkuPropertiesFormat sku properties

func (VendorSkuPropertiesFormat) MarshalJSON

func (vspf VendorSkuPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorSkuPropertiesFormat.

type VendorSkusClient

type VendorSkusClient struct {
	BaseClient
}

VendorSkusClient is the client for the VendorSkus methods of the Hybridnetwork service.

func NewVendorSkusClient

func NewVendorSkusClient(subscriptionID string) VendorSkusClient

NewVendorSkusClient creates an instance of the VendorSkusClient client.

func NewVendorSkusClientWithBaseURI

func NewVendorSkusClientWithBaseURI(baseURI string, subscriptionID string) VendorSkusClient

NewVendorSkusClientWithBaseURI creates an instance of the VendorSkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VendorSkusClient) CreateOrUpdate

func (client VendorSkusClient) CreateOrUpdate(ctx context.Context, vendorName string, skuName string, parameters VendorSku) (result VendorSkusCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a sku Parameters: vendorName - the name of the vendor. skuName - the name of the sku. parameters - parameters supplied to the create or update sku.

func (VendorSkusClient) CreateOrUpdatePreparer

func (client VendorSkusClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, skuName string, parameters VendorSku) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VendorSkusClient) CreateOrUpdateResponder

func (client VendorSkusClient) CreateOrUpdateResponder(resp *http.Response) (result VendorSku, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VendorSkusClient) CreateOrUpdateSender

func (client VendorSkusClient) CreateOrUpdateSender(req *http.Request) (future VendorSkusCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VendorSkusClient) Delete

func (client VendorSkusClient) Delete(ctx context.Context, vendorName string, skuName string) (result VendorSkusDeleteFuture, err error)

Delete deletes the specified sku. Parameters: vendorName - the name of the vendor. skuName - the name of the sku.

func (VendorSkusClient) DeletePreparer

func (client VendorSkusClient) DeletePreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VendorSkusClient) DeleteResponder

func (client VendorSkusClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VendorSkusClient) DeleteSender

func (client VendorSkusClient) DeleteSender(req *http.Request) (future VendorSkusDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VendorSkusClient) Get

func (client VendorSkusClient) Get(ctx context.Context, vendorName string, skuName string) (result VendorSku, err error)

Get gets information about the specified sku. Parameters: vendorName - the name of vendor. skuName - the name of the sku.

func (VendorSkusClient) GetPreparer

func (client VendorSkusClient) GetPreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VendorSkusClient) GetResponder

func (client VendorSkusClient) GetResponder(resp *http.Response) (result VendorSku, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VendorSkusClient) GetSender

func (client VendorSkusClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VendorSkusClient) List

func (client VendorSkusClient) List(ctx context.Context, vendorName string) (result VendorSkuListResultPage, err error)

List lists all the skus of a vendor. Parameters: vendorName - the name of the vendor.

func (VendorSkusClient) ListComplete

func (client VendorSkusClient) ListComplete(ctx context.Context, vendorName string) (result VendorSkuListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VendorSkusClient) ListPreparer

func (client VendorSkusClient) ListPreparer(ctx context.Context, vendorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VendorSkusClient) ListResponder

func (client VendorSkusClient) ListResponder(resp *http.Response) (result VendorSkuListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VendorSkusClient) ListSender

func (client VendorSkusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VendorSkusCreateOrUpdateFuture

type VendorSkusCreateOrUpdateFuture struct {
	azure.Future
}

VendorSkusCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorSkusCreateOrUpdateFuture) Result

func (future *VendorSkusCreateOrUpdateFuture) Result(client VendorSkusClient) (vs VendorSku, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorSkusDeleteFuture

type VendorSkusDeleteFuture struct {
	azure.Future
}

VendorSkusDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorSkusDeleteFuture) Result

func (future *VendorSkusDeleteFuture) Result(client VendorSkusClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorVirtualNetworkFunction

type VendorVirtualNetworkFunction struct {
	autorest.Response `json:"-"`
	// VendorVirtualNetworkFunctionPropertiesFormat - Virtual network function details.
	*VendorVirtualNetworkFunctionPropertiesFormat `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VendorVirtualNetworkFunction vendor virtual network function sub resource.

func (VendorVirtualNetworkFunction) MarshalJSON

func (vvnf VendorVirtualNetworkFunction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorVirtualNetworkFunction.

func (*VendorVirtualNetworkFunction) UnmarshalJSON

func (vvnf *VendorVirtualNetworkFunction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VendorVirtualNetworkFunction struct.

type VendorVirtualNetworkFunctionListResult

type VendorVirtualNetworkFunctionListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of vendor virtual network function.
	Value *[]VendorVirtualNetworkFunction `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VendorVirtualNetworkFunctionListResult response for vendors API service call.

func (VendorVirtualNetworkFunctionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (VendorVirtualNetworkFunctionListResult) MarshalJSON

func (vvnflr VendorVirtualNetworkFunctionListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorVirtualNetworkFunctionListResult.

type VendorVirtualNetworkFunctionListResultIterator

type VendorVirtualNetworkFunctionListResultIterator struct {
	// contains filtered or unexported fields
}

VendorVirtualNetworkFunctionListResultIterator provides access to a complete listing of VendorVirtualNetworkFunction values.

func NewVendorVirtualNetworkFunctionListResultIterator

func NewVendorVirtualNetworkFunctionListResultIterator(page VendorVirtualNetworkFunctionListResultPage) VendorVirtualNetworkFunctionListResultIterator

Creates a new instance of the VendorVirtualNetworkFunctionListResultIterator type.

func (*VendorVirtualNetworkFunctionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorVirtualNetworkFunctionListResultIterator) NextWithContext

func (iter *VendorVirtualNetworkFunctionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VendorVirtualNetworkFunctionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VendorVirtualNetworkFunctionListResultIterator) Response

Response returns the raw server response from the last page request.

func (VendorVirtualNetworkFunctionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VendorVirtualNetworkFunctionListResultPage

type VendorVirtualNetworkFunctionListResultPage struct {
	// contains filtered or unexported fields
}

VendorVirtualNetworkFunctionListResultPage contains a page of VendorVirtualNetworkFunction values.

func NewVendorVirtualNetworkFunctionListResultPage

Creates a new instance of the VendorVirtualNetworkFunctionListResultPage type.

func (*VendorVirtualNetworkFunctionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VendorVirtualNetworkFunctionListResultPage) NextWithContext

func (page *VendorVirtualNetworkFunctionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VendorVirtualNetworkFunctionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VendorVirtualNetworkFunctionListResultPage) Response

Response returns the raw server response from the last page request.

func (VendorVirtualNetworkFunctionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VendorVirtualNetworkFunctionPropertiesFormat

type VendorVirtualNetworkFunctionPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the vendor virtual network function sub resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VendorProvisioningState - Vendor controlled provisioning state of the vendor virtual network function. Possible values include: 'VendorProvisioningStateUnknown', 'VendorProvisioningStateNotProvisioned', 'VendorProvisioningStateProvisioning', 'VendorProvisioningStateProvisioned', 'VendorProvisioningStateDeprovisioned', 'VendorProvisioningStateUserDataValidationFailed'
	VendorProvisioningState VendorProvisioningState `json:"vendorProvisioningState,omitempty"`
	// SkuName - READ-ONLY; Name of the sku
	SkuName *string `json:"skuName,omitempty"`
	// SkuType - READ-ONLY; Sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN'
	SkuType SkuType `json:"skuType,omitempty"`
	// VirtualNetworkFunctionVendorConfigurations - An array of virtual network function vendor configurations.
	VirtualNetworkFunctionVendorConfigurations *[]VirtualNetworkFunctionVendorConfiguration `json:"virtualNetworkFunctionVendorConfigurations,omitempty"`
}

VendorVirtualNetworkFunctionPropertiesFormat vendor virtual network function properties

func (VendorVirtualNetworkFunctionPropertiesFormat) MarshalJSON

func (vvnfpf VendorVirtualNetworkFunctionPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorVirtualNetworkFunctionPropertiesFormat.

type VendorVirtualNetworkFunctionsClient

type VendorVirtualNetworkFunctionsClient struct {
	BaseClient
}

VendorVirtualNetworkFunctionsClient is the client for the VendorVirtualNetworkFunctions methods of the Hybridnetwork service.

func NewVendorVirtualNetworkFunctionsClient

func NewVendorVirtualNetworkFunctionsClient(subscriptionID string) VendorVirtualNetworkFunctionsClient

NewVendorVirtualNetworkFunctionsClient creates an instance of the VendorVirtualNetworkFunctionsClient client.

func NewVendorVirtualNetworkFunctionsClientWithBaseURI

func NewVendorVirtualNetworkFunctionsClientWithBaseURI(baseURI string, subscriptionID string) VendorVirtualNetworkFunctionsClient

NewVendorVirtualNetworkFunctionsClientWithBaseURI creates an instance of the VendorVirtualNetworkFunctionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VendorVirtualNetworkFunctionsClient) CreateOrUpdate

func (client VendorVirtualNetworkFunctionsClient) CreateOrUpdate(ctx context.Context, locationName string, vendorName string, serviceKey string, parameters VendorVirtualNetworkFunction) (result VendorVirtualNetworkFunctionsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a virtual network function. Parameters: locationName - the azure region where the virtual network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the unique GUID for the virtual network function. parameters - parameters supplied to the update vendor virtual network function.

func (VendorVirtualNetworkFunctionsClient) CreateOrUpdatePreparer

func (client VendorVirtualNetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, parameters VendorVirtualNetworkFunction) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VendorVirtualNetworkFunctionsClient) CreateOrUpdateResponder

func (client VendorVirtualNetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result VendorVirtualNetworkFunction, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VendorVirtualNetworkFunctionsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VendorVirtualNetworkFunctionsClient) Get

func (client VendorVirtualNetworkFunctionsClient) Get(ctx context.Context, locationName string, vendorName string, serviceKey string) (result VendorVirtualNetworkFunction, err error)

Get gets information about the specified virtual network function. Parameters: locationName - the azure region where the virtual network function sub resource was created by customer. vendorName - the name of the vendor. serviceKey - the unique GUID for the virtual network function.

func (VendorVirtualNetworkFunctionsClient) GetPreparer

func (client VendorVirtualNetworkFunctionsClient) GetPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VendorVirtualNetworkFunctionsClient) GetResponder

func (client VendorVirtualNetworkFunctionsClient) GetResponder(resp *http.Response) (result VendorVirtualNetworkFunction, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VendorVirtualNetworkFunctionsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VendorVirtualNetworkFunctionsClient) List

func (client VendorVirtualNetworkFunctionsClient) List(ctx context.Context, locationName string, vendorName string, filter string) (result VendorVirtualNetworkFunctionListResultPage, err error)

List list all the vendor virtual network function sub resources in an azure region. Filter by skuType, skuName, vendorProvisioningState Parameters: locationName - the azure region where the virtual network function resource was created by customer. vendorName - the name of the vendor. filter - the filter to apply on the operation. The properties you can use for eq (equals) are: skuType, skuName and vendorProvisioningState.

func (VendorVirtualNetworkFunctionsClient) ListComplete

func (client VendorVirtualNetworkFunctionsClient) ListComplete(ctx context.Context, locationName string, vendorName string, filter string) (result VendorVirtualNetworkFunctionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VendorVirtualNetworkFunctionsClient) ListPreparer

func (client VendorVirtualNetworkFunctionsClient) ListPreparer(ctx context.Context, locationName string, vendorName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (VendorVirtualNetworkFunctionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VendorVirtualNetworkFunctionsClient) ListSender

func (client VendorVirtualNetworkFunctionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VendorVirtualNetworkFunctionsCreateOrUpdateFuture

type VendorVirtualNetworkFunctionsCreateOrUpdateFuture struct {
	azure.Future
}

VendorVirtualNetworkFunctionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorVirtualNetworkFunctionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorsClient

type VendorsClient struct {
	BaseClient
}

VendorsClient is the client for the Vendors methods of the Hybridnetwork service.

func NewVendorsClient

func NewVendorsClient(subscriptionID string) VendorsClient

NewVendorsClient creates an instance of the VendorsClient client.

func NewVendorsClientWithBaseURI

func NewVendorsClientWithBaseURI(baseURI string, subscriptionID string) VendorsClient

NewVendorsClientWithBaseURI creates an instance of the VendorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VendorsClient) CreateOrUpdate

func (client VendorsClient) CreateOrUpdate(ctx context.Context, vendorName string, parameters *Vendor) (result VendorsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a vendor. Parameters: vendorName - the name of the vendor. parameters - parameters supplied to the create vendor.

func (VendorsClient) CreateOrUpdatePreparer

func (client VendorsClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, parameters *Vendor) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VendorsClient) CreateOrUpdateResponder

func (client VendorsClient) CreateOrUpdateResponder(resp *http.Response) (result Vendor, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VendorsClient) CreateOrUpdateSender

func (client VendorsClient) CreateOrUpdateSender(req *http.Request) (future VendorsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VendorsClient) Delete

func (client VendorsClient) Delete(ctx context.Context, vendorName string) (result VendorsDeleteFuture, err error)

Delete deletes the specified vendor. Parameters: vendorName - the name of the vendor.

func (VendorsClient) DeletePreparer

func (client VendorsClient) DeletePreparer(ctx context.Context, vendorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VendorsClient) DeleteResponder

func (client VendorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VendorsClient) DeleteSender

func (client VendorsClient) DeleteSender(req *http.Request) (future VendorsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VendorsClient) Get

func (client VendorsClient) Get(ctx context.Context, vendorName string) (result Vendor, err error)

Get gets information about the specified vendor. Parameters: vendorName - the name of vendor.

func (VendorsClient) GetPreparer

func (client VendorsClient) GetPreparer(ctx context.Context, vendorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VendorsClient) GetResponder

func (client VendorsClient) GetResponder(resp *http.Response) (result Vendor, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VendorsClient) GetSender

func (client VendorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VendorsClient) ListBySubscription

func (client VendorsClient) ListBySubscription(ctx context.Context) (result VendorListResultPage, err error)

ListBySubscription lists all the vendors in a subscription.

func (VendorsClient) ListBySubscriptionComplete

func (client VendorsClient) ListBySubscriptionComplete(ctx context.Context) (result VendorListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (VendorsClient) ListBySubscriptionPreparer

func (client VendorsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VendorsClient) ListBySubscriptionResponder

func (client VendorsClient) ListBySubscriptionResponder(resp *http.Response) (result VendorListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (VendorsClient) ListBySubscriptionSender

func (client VendorsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

type VendorsCreateOrUpdateFuture

type VendorsCreateOrUpdateFuture struct {
	azure.Future
}

VendorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorsCreateOrUpdateFuture) Result

func (future *VendorsCreateOrUpdateFuture) Result(client VendorsClient) (vVar Vendor, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VendorsDeleteFuture

type VendorsDeleteFuture struct {
	azure.Future
}

VendorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VendorsDeleteFuture) Result

func (future *VendorsDeleteFuture) Result(client VendorsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualMachineSizeTypes

type VirtualMachineSizeTypes string

VirtualMachineSizeTypes enumerates the values for virtual machine size types.

const (
	// VirtualMachineSizeTypesStandardD11V2 ...
	VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
	// VirtualMachineSizeTypesStandardD12V2 ...
	VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
	// VirtualMachineSizeTypesStandardD13V2 ...
	VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
	// VirtualMachineSizeTypesStandardD1V2 ...
	VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
	// VirtualMachineSizeTypesStandardD2V2 ...
	VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
	// VirtualMachineSizeTypesStandardD3V2 ...
	VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
	// VirtualMachineSizeTypesStandardD4V2 ...
	VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
	// VirtualMachineSizeTypesStandardD5V2 ...
	VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
	// VirtualMachineSizeTypesStandardDS11V2 ...
	VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2"
	// VirtualMachineSizeTypesStandardDS12V2 ...
	VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2"
	// VirtualMachineSizeTypesStandardDS13V2 ...
	VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2"
	// VirtualMachineSizeTypesStandardDS1V2 ...
	VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2"
	// VirtualMachineSizeTypesStandardDS2V2 ...
	VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2"
	// VirtualMachineSizeTypesStandardDS3V2 ...
	VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2"
	// VirtualMachineSizeTypesStandardDS4V2 ...
	VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2"
	// VirtualMachineSizeTypesStandardDS5V2 ...
	VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2"
	// VirtualMachineSizeTypesUnknown ...
	VirtualMachineSizeTypesUnknown VirtualMachineSizeTypes = "Unknown"
)

func PossibleVirtualMachineSizeTypesValues

func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes

PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.

type VirtualNetworkFunction

type VirtualNetworkFunction struct {
	autorest.Response `json:"-"`
	// VirtualNetworkFunctionPropertiesFormat - Hybrid network virtual network function properties.
	*VirtualNetworkFunctionPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetworkFunction hybrid network virtual network function resource response.

func (VirtualNetworkFunction) MarshalJSON

func (vnf VirtualNetworkFunction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunction.

func (*VirtualNetworkFunction) UnmarshalJSON

func (vnf *VirtualNetworkFunction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkFunction struct.

type VirtualNetworkFunctionListResult

type VirtualNetworkFunctionListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of hybrid network virtual network function resources in a subscription or resource group.
	Value *[]VirtualNetworkFunction `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkFunctionListResult response for hybrid network virtual network function API service call.

func (VirtualNetworkFunctionListResult) IsEmpty

func (vnflr VirtualNetworkFunctionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VirtualNetworkFunctionListResult) MarshalJSON

func (vnflr VirtualNetworkFunctionListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionListResult.

type VirtualNetworkFunctionListResultIterator

type VirtualNetworkFunctionListResultIterator struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionListResultIterator provides access to a complete listing of VirtualNetworkFunction values.

func NewVirtualNetworkFunctionListResultIterator

func NewVirtualNetworkFunctionListResultIterator(page VirtualNetworkFunctionListResultPage) VirtualNetworkFunctionListResultIterator

Creates a new instance of the VirtualNetworkFunctionListResultIterator type.

func (*VirtualNetworkFunctionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionListResultIterator) NextWithContext

func (iter *VirtualNetworkFunctionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkFunctionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkFunctionListResultPage

type VirtualNetworkFunctionListResultPage struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionListResultPage contains a page of VirtualNetworkFunction values.

func NewVirtualNetworkFunctionListResultPage

Creates a new instance of the VirtualNetworkFunctionListResultPage type.

func (*VirtualNetworkFunctionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionListResultPage) NextWithContext

func (page *VirtualNetworkFunctionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkFunctionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkFunctionPropertiesFormat

type VirtualNetworkFunctionPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the hybrid network virtual network function resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Device - The reference to the hybrid network device.
	Device *SubResource `json:"device,omitempty"`
	// SkuName - The sku name for the hybrid network virtual network function.
	SkuName *string `json:"skuName,omitempty"`
	// SkuType - READ-ONLY; The sku type for the hybrid network virtual network function. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN'
	SkuType SkuType `json:"skuType,omitempty"`
	// VendorName - The vendor name for the hybrid network virtual network function.
	VendorName *string `json:"vendorName,omitempty"`
	// ServiceKey - READ-ONLY; The service key for the virtual network function resource.
	ServiceKey *string `json:"serviceKey,omitempty"`
	// VendorProvisioningState - READ-ONLY; The vendor provisioning state for the virtual network function resource. Possible values include: 'VendorProvisioningStateUnknown', 'VendorProvisioningStateNotProvisioned', 'VendorProvisioningStateProvisioning', 'VendorProvisioningStateProvisioned', 'VendorProvisioningStateDeprovisioned', 'VendorProvisioningStateUserDataValidationFailed'
	VendorProvisioningState VendorProvisioningState `json:"vendorProvisioningState,omitempty"`
	// ManagedApplication - READ-ONLY; The resource URI of the managed application.
	ManagedApplication *SubResource `json:"managedApplication,omitempty"`
	// ManagedApplicationParameters - The parameters for the managed application.
	ManagedApplicationParameters interface{} `json:"managedApplicationParameters,omitempty"`
	// VirtualNetworkFunctionUserConfigurations - The virtual network function configurations from the user.
	VirtualNetworkFunctionUserConfigurations *[]VirtualNetworkFunctionUserConfiguration `json:"virtualNetworkFunctionUserConfigurations,omitempty"`
}

VirtualNetworkFunctionPropertiesFormat hybrid network virtual network function properties.

func (VirtualNetworkFunctionPropertiesFormat) MarshalJSON

func (vnfpf VirtualNetworkFunctionPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionPropertiesFormat.

type VirtualNetworkFunctionRoleConfiguration

type VirtualNetworkFunctionRoleConfiguration struct {
	// RoleName - The name of the virtual network function role.
	RoleName *string `json:"roleName,omitempty"`
	// RoleType - Role type. Possible values include: 'VirtualNetworkFunctionRoleConfigurationTypeUnknown', 'VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine'
	RoleType VirtualNetworkFunctionRoleConfigurationType `json:"roleType,omitempty"`
	// VirtualMachineSize - The size of the virtual machine. Possible values include: 'VirtualMachineSizeTypesUnknown', 'VirtualMachineSizeTypesStandardD1V2', 'VirtualMachineSizeTypesStandardD2V2', 'VirtualMachineSizeTypesStandardD3V2', 'VirtualMachineSizeTypesStandardD4V2', 'VirtualMachineSizeTypesStandardD5V2', 'VirtualMachineSizeTypesStandardD11V2', 'VirtualMachineSizeTypesStandardD12V2', 'VirtualMachineSizeTypesStandardD13V2', 'VirtualMachineSizeTypesStandardDS1V2', 'VirtualMachineSizeTypesStandardDS2V2', 'VirtualMachineSizeTypesStandardDS3V2', 'VirtualMachineSizeTypesStandardDS4V2', 'VirtualMachineSizeTypesStandardDS5V2', 'VirtualMachineSizeTypesStandardDS11V2', 'VirtualMachineSizeTypesStandardDS12V2', 'VirtualMachineSizeTypesStandardDS13V2'
	VirtualMachineSize VirtualMachineSizeTypes `json:"virtualMachineSize,omitempty"`
	// ImageReference - The definition of image reference.
	ImageReference *ImageReference `json:"imageReference,omitempty"`
	// OsProfile - Specifies the operating system settings for the role instance. This value can be updated during the deployment of virtual network function.
	OsProfile *OsProfile `json:"osProfile,omitempty"`
	// UserDataTemplate - The user data template for customers. This is json scheme template describing the format and data type of user data parameters.
	UserDataTemplate interface{} `json:"userDataTemplate,omitempty"`
	// UserDataParameters - The user parameters for customers. The format of user data parameters has to be matched with the provided user data template.
	UserDataParameters interface{} `json:"userDataParameters,omitempty"`
	// NetworkInterfaces - The network interface configurations.
	NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}

VirtualNetworkFunctionRoleConfiguration virtual network function role configuration.

type VirtualNetworkFunctionRoleConfigurationType

type VirtualNetworkFunctionRoleConfigurationType string

VirtualNetworkFunctionRoleConfigurationType enumerates the values for virtual network function role configuration type.

const (
	// VirtualNetworkFunctionRoleConfigurationTypeUnknown ...
	VirtualNetworkFunctionRoleConfigurationTypeUnknown VirtualNetworkFunctionRoleConfigurationType = "Unknown"
	// VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine ...
	VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine VirtualNetworkFunctionRoleConfigurationType = "VirtualMachine"
)

func PossibleVirtualNetworkFunctionRoleConfigurationTypeValues

func PossibleVirtualNetworkFunctionRoleConfigurationTypeValues() []VirtualNetworkFunctionRoleConfigurationType

PossibleVirtualNetworkFunctionRoleConfigurationTypeValues returns an array of possible values for the VirtualNetworkFunctionRoleConfigurationType const type.

type VirtualNetworkFunctionSkuDetails

type VirtualNetworkFunctionSkuDetails struct {
	autorest.Response `json:"-"`
	// SkuType - The virtual network function sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN'
	SkuType SkuType `json:"skuType,omitempty"`
	// Value - The virtual network function sku role details.
	Value *[]VirtualNetworkFunctionSkuRoleDetails `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkFunctionSkuDetails the virtual network function sku details.

func (VirtualNetworkFunctionSkuDetails) IsEmpty

func (vnfsd VirtualNetworkFunctionSkuDetails) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VirtualNetworkFunctionSkuDetails) MarshalJSON

func (vnfsd VirtualNetworkFunctionSkuDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionSkuDetails.

type VirtualNetworkFunctionSkuDetailsIterator

type VirtualNetworkFunctionSkuDetailsIterator struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionSkuDetailsIterator provides access to a complete listing of VirtualNetworkFunctionSkuRoleDetails values.

func NewVirtualNetworkFunctionSkuDetailsIterator

func NewVirtualNetworkFunctionSkuDetailsIterator(page VirtualNetworkFunctionSkuDetailsPage) VirtualNetworkFunctionSkuDetailsIterator

Creates a new instance of the VirtualNetworkFunctionSkuDetailsIterator type.

func (*VirtualNetworkFunctionSkuDetailsIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionSkuDetailsIterator) NextWithContext

func (iter *VirtualNetworkFunctionSkuDetailsIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkFunctionSkuDetailsIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionSkuDetailsIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionSkuDetailsIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkFunctionSkuDetailsPage

type VirtualNetworkFunctionSkuDetailsPage struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionSkuDetailsPage contains a page of VirtualNetworkFunctionSkuRoleDetails values.

func NewVirtualNetworkFunctionSkuDetailsPage

Creates a new instance of the VirtualNetworkFunctionSkuDetailsPage type.

func (*VirtualNetworkFunctionSkuDetailsPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionSkuDetailsPage) NextWithContext

func (page *VirtualNetworkFunctionSkuDetailsPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkFunctionSkuDetailsPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionSkuDetailsPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionSkuDetailsPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkFunctionSkuListResult

type VirtualNetworkFunctionSkuListResult struct {
	autorest.Response `json:"-"`
	// Value - The virtual network function vendor sku overview properties.
	Value *[]SkuOverview `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkFunctionSkuListResult a list of available hybrid network virtual network function skus.

func (VirtualNetworkFunctionSkuListResult) IsEmpty

func (vnfslr VirtualNetworkFunctionSkuListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VirtualNetworkFunctionSkuListResult) MarshalJSON

func (vnfslr VirtualNetworkFunctionSkuListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionSkuListResult.

type VirtualNetworkFunctionSkuListResultIterator

type VirtualNetworkFunctionSkuListResultIterator struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionSkuListResultIterator provides access to a complete listing of SkuOverview values.

func NewVirtualNetworkFunctionSkuListResultIterator

func NewVirtualNetworkFunctionSkuListResultIterator(page VirtualNetworkFunctionSkuListResultPage) VirtualNetworkFunctionSkuListResultIterator

Creates a new instance of the VirtualNetworkFunctionSkuListResultIterator type.

func (*VirtualNetworkFunctionSkuListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionSkuListResultIterator) NextWithContext

func (iter *VirtualNetworkFunctionSkuListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkFunctionSkuListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionSkuListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionSkuListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkFunctionSkuListResultPage

type VirtualNetworkFunctionSkuListResultPage struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionSkuListResultPage contains a page of SkuOverview values.

func NewVirtualNetworkFunctionSkuListResultPage

Creates a new instance of the VirtualNetworkFunctionSkuListResultPage type.

func (*VirtualNetworkFunctionSkuListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionSkuListResultPage) NextWithContext

func (page *VirtualNetworkFunctionSkuListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkFunctionSkuListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionSkuListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionSkuListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkFunctionSkuRoleDetails

type VirtualNetworkFunctionSkuRoleDetails struct {
	// RoleName - The name of the virtual network function role.
	RoleName *string `json:"roleName,omitempty"`
	// UserDataTemplate - The user data template for customers.
	UserDataTemplate interface{} `json:"userDataTemplate,omitempty"`
	// UserDataParameters - The user parameters for customers.
	UserDataParameters interface{} `json:"userDataParameters,omitempty"`
	// NetworkInterfaces - The network interface configuration.
	NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}

VirtualNetworkFunctionSkuRoleDetails the virtual network function user configuration.

type VirtualNetworkFunctionTemplate

type VirtualNetworkFunctionTemplate struct {
	// VirutalNetworkFunctionRoleConfigurations - An array of virtual network function role definitions.
	VirutalNetworkFunctionRoleConfigurations *[]VirtualNetworkFunctionRoleConfiguration `json:"virutalNetworkFunctionRoleConfigurations,omitempty"`
}

VirtualNetworkFunctionTemplate the virtual network function template.

type VirtualNetworkFunctionUserConfiguration

type VirtualNetworkFunctionUserConfiguration struct {
	// RoleName - The name of the virtual network function role.
	RoleName *string `json:"roleName,omitempty"`
	// UserDataParameters - The user data parameters from the customer.
	UserDataParameters interface{} `json:"userDataParameters,omitempty"`
	// NetworkInterfaces - The network interface configuration.
	NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}

VirtualNetworkFunctionUserConfiguration the virtual network function user configuration.

type VirtualNetworkFunctionVendor

type VirtualNetworkFunctionVendor struct {
	// VendorDetails - Vendors of the hybrid network service provider.
	*VendorDetails `json:"properties,omitempty"`
}

VirtualNetworkFunctionVendor the virtual network function vendor.

func (VirtualNetworkFunctionVendor) MarshalJSON

func (vnfv VirtualNetworkFunctionVendor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionVendor.

func (*VirtualNetworkFunctionVendor) UnmarshalJSON

func (vnfv *VirtualNetworkFunctionVendor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkFunctionVendor struct.

type VirtualNetworkFunctionVendorConfiguration

type VirtualNetworkFunctionVendorConfiguration struct {
	// RoleName - The name of the virtual network function role.
	RoleName *string `json:"roleName,omitempty"`
	// CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
	CustomData *string `json:"customData,omitempty"`
	// OsProfile - Specifies the operating system settings for the role instance.
	OsProfile *OsProfile `json:"osProfile,omitempty"`
	// UserDataParameters - READ-ONLY; The user parameters from the customer.
	UserDataParameters interface{} `json:"userDataParameters,omitempty"`
	// NetworkInterfaces - The network interface configurations.
	NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}

VirtualNetworkFunctionVendorConfiguration virtual network function vendor configuration.

func (VirtualNetworkFunctionVendorConfiguration) MarshalJSON

func (vnfvc VirtualNetworkFunctionVendorConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionVendorConfiguration.

type VirtualNetworkFunctionVendorListResult

type VirtualNetworkFunctionVendorListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of available hybrid network virtual network function vendors and skus.
	Value *[]VirtualNetworkFunctionVendor `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkFunctionVendorListResult the virtual network function vendor list result.

func (VirtualNetworkFunctionVendorListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (VirtualNetworkFunctionVendorListResult) MarshalJSON

func (vnfvlr VirtualNetworkFunctionVendorListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkFunctionVendorListResult.

type VirtualNetworkFunctionVendorListResultIterator

type VirtualNetworkFunctionVendorListResultIterator struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionVendorListResultIterator provides access to a complete listing of VirtualNetworkFunctionVendor values.

func NewVirtualNetworkFunctionVendorListResultIterator

func NewVirtualNetworkFunctionVendorListResultIterator(page VirtualNetworkFunctionVendorListResultPage) VirtualNetworkFunctionVendorListResultIterator

Creates a new instance of the VirtualNetworkFunctionVendorListResultIterator type.

func (*VirtualNetworkFunctionVendorListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionVendorListResultIterator) NextWithContext

func (iter *VirtualNetworkFunctionVendorListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkFunctionVendorListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionVendorListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionVendorListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkFunctionVendorListResultPage

type VirtualNetworkFunctionVendorListResultPage struct {
	// contains filtered or unexported fields
}

VirtualNetworkFunctionVendorListResultPage contains a page of VirtualNetworkFunctionVendor values.

func NewVirtualNetworkFunctionVendorListResultPage

Creates a new instance of the VirtualNetworkFunctionVendorListResultPage type.

func (*VirtualNetworkFunctionVendorListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkFunctionVendorListResultPage) NextWithContext

func (page *VirtualNetworkFunctionVendorListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkFunctionVendorListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkFunctionVendorListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkFunctionVendorListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkFunctionVendorSkusClient

type VirtualNetworkFunctionVendorSkusClient struct {
	BaseClient
}

VirtualNetworkFunctionVendorSkusClient is the client for the VirtualNetworkFunctionVendorSkus methods of the Hybridnetwork service.

func NewVirtualNetworkFunctionVendorSkusClient

func NewVirtualNetworkFunctionVendorSkusClient(subscriptionID string) VirtualNetworkFunctionVendorSkusClient

NewVirtualNetworkFunctionVendorSkusClient creates an instance of the VirtualNetworkFunctionVendorSkusClient client.

func NewVirtualNetworkFunctionVendorSkusClientWithBaseURI

func NewVirtualNetworkFunctionVendorSkusClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkFunctionVendorSkusClient

NewVirtualNetworkFunctionVendorSkusClientWithBaseURI creates an instance of the VirtualNetworkFunctionVendorSkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkFunctionVendorSkusClient) List

func (client VirtualNetworkFunctionVendorSkusClient) List(ctx context.Context, vendorName string, vendorSkuName string) (result VirtualNetworkFunctionSkuDetailsPage, err error)

List gets information about hybrid network virtual network function vendor sku details Parameters: vendorName - the name of the hybrid network virtual network function vendor. vendorSkuName - the name of the hybrid network virtual network function sku.

func (VirtualNetworkFunctionVendorSkusClient) ListByVendor

ListByVendor list all virtual network function vendor sku details in a vendor Parameters: vendorName - the name of the hybrid network virtual network function vendor.

func (VirtualNetworkFunctionVendorSkusClient) ListByVendorComplete

func (client VirtualNetworkFunctionVendorSkusClient) ListByVendorComplete(ctx context.Context, vendorName string) (result VirtualNetworkFunctionSkuListResultIterator, err error)

ListByVendorComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkFunctionVendorSkusClient) ListByVendorPreparer

func (client VirtualNetworkFunctionVendorSkusClient) ListByVendorPreparer(ctx context.Context, vendorName string) (*http.Request, error)

ListByVendorPreparer prepares the ListByVendor request.

func (VirtualNetworkFunctionVendorSkusClient) ListByVendorResponder

func (client VirtualNetworkFunctionVendorSkusClient) ListByVendorResponder(resp *http.Response) (result VirtualNetworkFunctionSkuListResult, err error)

ListByVendorResponder handles the response to the ListByVendor request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionVendorSkusClient) ListByVendorSender

func (client VirtualNetworkFunctionVendorSkusClient) ListByVendorSender(req *http.Request) (*http.Response, error)

ListByVendorSender sends the ListByVendor request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionVendorSkusClient) ListComplete

func (client VirtualNetworkFunctionVendorSkusClient) ListComplete(ctx context.Context, vendorName string, vendorSkuName string) (result VirtualNetworkFunctionSkuDetailsIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkFunctionVendorSkusClient) ListPreparer

func (client VirtualNetworkFunctionVendorSkusClient) ListPreparer(ctx context.Context, vendorName string, vendorSkuName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkFunctionVendorSkusClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionVendorSkusClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkFunctionVendorsClient

type VirtualNetworkFunctionVendorsClient struct {
	BaseClient
}

VirtualNetworkFunctionVendorsClient is the client for the VirtualNetworkFunctionVendors methods of the Hybridnetwork service.

func NewVirtualNetworkFunctionVendorsClient

func NewVirtualNetworkFunctionVendorsClient(subscriptionID string) VirtualNetworkFunctionVendorsClient

NewVirtualNetworkFunctionVendorsClient creates an instance of the VirtualNetworkFunctionVendorsClient client.

func NewVirtualNetworkFunctionVendorsClientWithBaseURI

func NewVirtualNetworkFunctionVendorsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkFunctionVendorsClient

NewVirtualNetworkFunctionVendorsClientWithBaseURI creates an instance of the VirtualNetworkFunctionVendorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkFunctionVendorsClient) List

List list all the available vendor and sku information in hybrid network.

func (VirtualNetworkFunctionVendorsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkFunctionVendorsClient) ListPreparer

ListPreparer prepares the List request.

func (VirtualNetworkFunctionVendorsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionVendorsClient) ListSender

func (client VirtualNetworkFunctionVendorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkFunctionsClient

type VirtualNetworkFunctionsClient struct {
	BaseClient
}

VirtualNetworkFunctionsClient is the client for the VirtualNetworkFunctions methods of the Hybridnetwork service.

func NewVirtualNetworkFunctionsClient

func NewVirtualNetworkFunctionsClient(subscriptionID string) VirtualNetworkFunctionsClient

NewVirtualNetworkFunctionsClient creates an instance of the VirtualNetworkFunctionsClient client.

func NewVirtualNetworkFunctionsClientWithBaseURI

func NewVirtualNetworkFunctionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkFunctionsClient

NewVirtualNetworkFunctionsClientWithBaseURI creates an instance of the VirtualNetworkFunctionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkFunctionsClient) CreateOrUpdate

func (client VirtualNetworkFunctionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string, parameters VirtualNetworkFunction) (result VirtualNetworkFunctionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a hybrid network virtual network function resource. Parameters: resourceGroupName - the name of the resource group. virtualNetworkFunctionName - resource name for the hybrid network virtual network function resource. parameters - parameters supplied in the body to create or update hybrid network virtual network function operation.

func (VirtualNetworkFunctionsClient) CreateOrUpdatePreparer

func (client VirtualNetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string, parameters VirtualNetworkFunction) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkFunctionsClient) CreateOrUpdateResponder

func (client VirtualNetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkFunction, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) CreateOrUpdateSender

func (client VirtualNetworkFunctionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkFunctionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionsClient) Delete

func (client VirtualNetworkFunctionsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string) (result VirtualNetworkFunctionsDeleteFuture, err error)

Delete deletes the specified hybrid network virtual network function resource. Parameters: resourceGroupName - the name of the resource group. virtualNetworkFunctionName - the name of the hybrid network virtual network function.

func (VirtualNetworkFunctionsClient) DeletePreparer

func (client VirtualNetworkFunctionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkFunctionsClient) DeleteResponder

func (client VirtualNetworkFunctionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionsClient) Get

func (client VirtualNetworkFunctionsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string) (result VirtualNetworkFunction, err error)

Get gets information about the specified hybrid network virtual network function resource. Parameters: resourceGroupName - the name of the resource group. virtualNetworkFunctionName - the name of hybrid network virtual network function resource.

func (VirtualNetworkFunctionsClient) GetPreparer

func (client VirtualNetworkFunctionsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkFunctionsClient) GetResponder

func (client VirtualNetworkFunctionsClient) GetResponder(resp *http.Response) (result VirtualNetworkFunction, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) GetSender

func (client VirtualNetworkFunctionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionsClient) ListByResourceGroup

func (client VirtualNetworkFunctionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualNetworkFunctionListResultPage, err error)

ListByResourceGroup list all the hybrid network virtual network function resources in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualNetworkFunctionsClient) ListByResourceGroupComplete

func (client VirtualNetworkFunctionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkFunctionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkFunctionsClient) ListByResourceGroupPreparer

func (client VirtualNetworkFunctionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualNetworkFunctionsClient) ListByResourceGroupResponder

func (client VirtualNetworkFunctionsClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualNetworkFunctionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) ListByResourceGroupSender

func (client VirtualNetworkFunctionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionsClient) ListBySubscription

func (client VirtualNetworkFunctionsClient) ListBySubscription(ctx context.Context) (result VirtualNetworkFunctionListResultPage, err error)

ListBySubscription list all the hybrid network virtual network functions in a subscription.

func (VirtualNetworkFunctionsClient) ListBySubscriptionComplete

func (client VirtualNetworkFunctionsClient) ListBySubscriptionComplete(ctx context.Context) (result VirtualNetworkFunctionListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkFunctionsClient) ListBySubscriptionPreparer

func (client VirtualNetworkFunctionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VirtualNetworkFunctionsClient) ListBySubscriptionResponder

func (client VirtualNetworkFunctionsClient) ListBySubscriptionResponder(resp *http.Response) (result VirtualNetworkFunctionListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) ListBySubscriptionSender

func (client VirtualNetworkFunctionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkFunctionsClient) UpdateTags

func (client VirtualNetworkFunctionsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string, parameters TagsObject) (result VirtualNetworkFunction, err error)

UpdateTags updates the tags for hybrid network virtual network function resource. Parameters: resourceGroupName - the name of the resource group. virtualNetworkFunctionName - resource name for the virtual network function resource. parameters - parameters supplied to update hybrid network virtual network function tags.

func (VirtualNetworkFunctionsClient) UpdateTagsPreparer

func (client VirtualNetworkFunctionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkFunctionName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualNetworkFunctionsClient) UpdateTagsResponder

func (client VirtualNetworkFunctionsClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkFunction, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualNetworkFunctionsClient) UpdateTagsSender

func (client VirtualNetworkFunctionsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkFunctionsCreateOrUpdateFuture

type VirtualNetworkFunctionsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkFunctionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkFunctionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkFunctionsDeleteFuture

type VirtualNetworkFunctionsDeleteFuture struct {
	azure.Future
}

VirtualNetworkFunctionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkFunctionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL