Documentation ¶
Overview ¶
Package hybridnetwork implements the Azure ARM Hybridnetwork service API version 2020-01-01-preview.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AzureEntityResource
- type BaseClient
- type BasicDevicePropertiesFormat
- type CustomProfile
- type DataDisk
- type Device
- type DeviceListResult
- type DeviceListResultIterator
- func (iter *DeviceListResultIterator) Next() error
- func (iter *DeviceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DeviceListResultIterator) NotDone() bool
- func (iter DeviceListResultIterator) Response() DeviceListResult
- func (iter DeviceListResultIterator) Value() Device
- type DeviceListResultPage
- type DevicePropertiesFormat
- type DeviceRegistrationKey
- type DeviceType
- type DevicesClient
- func (client DevicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, ...) (result DevicesCreateOrUpdateFuture, err error)
- func (client DevicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deviceName string, ...) (*http.Request, error)
- func (client DevicesClient) CreateOrUpdateResponder(resp *http.Response) (result Device, err error)
- func (client DevicesClient) CreateOrUpdateSender(req *http.Request) (future DevicesCreateOrUpdateFuture, err error)
- func (client DevicesClient) Delete(ctx context.Context, resourceGroupName string, deviceName string) (result DevicesDeleteFuture, err error)
- func (client DevicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)
- func (client DevicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DevicesClient) DeleteSender(req *http.Request) (future DevicesDeleteFuture, err error)
- func (client DevicesClient) Get(ctx context.Context, resourceGroupName string, deviceName string) (result Device, err error)
- func (client DevicesClient) GetPreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)
- func (client DevicesClient) GetResponder(resp *http.Response) (result Device, err error)
- func (client DevicesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DevicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DeviceListResultPage, err error)
- func (client DevicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DeviceListResultIterator, err error)
- func (client DevicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DevicesClient) ListByResourceGroupResponder(resp *http.Response) (result DeviceListResult, err error)
- func (client DevicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DevicesClient) ListBySubscription(ctx context.Context) (result DeviceListResultPage, err error)
- func (client DevicesClient) ListBySubscriptionComplete(ctx context.Context) (result DeviceListResultIterator, err error)
- func (client DevicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client DevicesClient) ListBySubscriptionResponder(resp *http.Response) (result DeviceListResult, err error)
- func (client DevicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client DevicesClient) ListRegistrationKey(ctx context.Context, resourceGroupName string, deviceName string) (result DeviceRegistrationKey, err error)
- func (client DevicesClient) ListRegistrationKeyPreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)
- func (client DevicesClient) ListRegistrationKeyResponder(resp *http.Response) (result DeviceRegistrationKey, err error)
- func (client DevicesClient) ListRegistrationKeySender(req *http.Request) (*http.Response, error)
- func (client DevicesClient) UpdateTags(ctx context.Context, resourceGroupName string, deviceName string, ...) (result Device, err error)
- func (client DevicesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, deviceName string, ...) (*http.Request, error)
- func (client DevicesClient) UpdateTagsResponder(resp *http.Response) (result Device, err error)
- func (client DevicesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
- type DevicesCreateOrUpdateFuture
- type DevicesDeleteFuture
- type DiskCreateOptionTypes
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type IPAllocationMethod
- type IPVersion
- type ImageReference
- type LinuxConfiguration
- type NetworkFunction
- type NetworkFunctionListResult
- type NetworkFunctionListResultIterator
- func (iter *NetworkFunctionListResultIterator) Next() error
- func (iter *NetworkFunctionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkFunctionListResultIterator) NotDone() bool
- func (iter NetworkFunctionListResultIterator) Response() NetworkFunctionListResult
- func (iter NetworkFunctionListResultIterator) Value() NetworkFunction
- type NetworkFunctionListResultPage
- func (page *NetworkFunctionListResultPage) Next() error
- func (page *NetworkFunctionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkFunctionListResultPage) NotDone() bool
- func (page NetworkFunctionListResultPage) Response() NetworkFunctionListResult
- func (page NetworkFunctionListResultPage) Values() []NetworkFunction
- type NetworkFunctionPropertiesFormat
- type NetworkFunctionRoleConfiguration
- type NetworkFunctionRoleConfigurationType
- type NetworkFunctionRoleInstanceListResult
- type NetworkFunctionRoleInstanceListResultIterator
- func (iter *NetworkFunctionRoleInstanceListResultIterator) Next() error
- func (iter *NetworkFunctionRoleInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkFunctionRoleInstanceListResultIterator) NotDone() bool
- func (iter NetworkFunctionRoleInstanceListResultIterator) Response() NetworkFunctionRoleInstanceListResult
- func (iter NetworkFunctionRoleInstanceListResultIterator) Value() RoleInstance
- type NetworkFunctionRoleInstanceListResultPage
- func (page *NetworkFunctionRoleInstanceListResultPage) Next() error
- func (page *NetworkFunctionRoleInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkFunctionRoleInstanceListResultPage) NotDone() bool
- func (page NetworkFunctionRoleInstanceListResultPage) Response() NetworkFunctionRoleInstanceListResult
- func (page NetworkFunctionRoleInstanceListResultPage) Values() []RoleInstance
- type NetworkFunctionSkuDetails
- type NetworkFunctionSkuDetailsIterator
- func (iter *NetworkFunctionSkuDetailsIterator) Next() error
- func (iter *NetworkFunctionSkuDetailsIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkFunctionSkuDetailsIterator) NotDone() bool
- func (iter NetworkFunctionSkuDetailsIterator) Response() NetworkFunctionSkuDetails
- func (iter NetworkFunctionSkuDetailsIterator) Value() NetworkFunctionSkuRoleDetails
- type NetworkFunctionSkuDetailsPage
- func (page *NetworkFunctionSkuDetailsPage) Next() error
- func (page *NetworkFunctionSkuDetailsPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkFunctionSkuDetailsPage) NotDone() bool
- func (page NetworkFunctionSkuDetailsPage) Response() NetworkFunctionSkuDetails
- func (page NetworkFunctionSkuDetailsPage) Values() []NetworkFunctionSkuRoleDetails
- type NetworkFunctionSkuListResult
- type NetworkFunctionSkuListResultIterator
- func (iter *NetworkFunctionSkuListResultIterator) Next() error
- func (iter *NetworkFunctionSkuListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkFunctionSkuListResultIterator) NotDone() bool
- func (iter NetworkFunctionSkuListResultIterator) Response() NetworkFunctionSkuListResult
- func (iter NetworkFunctionSkuListResultIterator) Value() SkuOverview
- type NetworkFunctionSkuListResultPage
- func (page *NetworkFunctionSkuListResultPage) Next() error
- func (page *NetworkFunctionSkuListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkFunctionSkuListResultPage) NotDone() bool
- func (page NetworkFunctionSkuListResultPage) Response() NetworkFunctionSkuListResult
- func (page NetworkFunctionSkuListResultPage) Values() []SkuOverview
- type NetworkFunctionSkuRoleDetails
- type NetworkFunctionTemplate
- type NetworkFunctionUserConfiguration
- type NetworkFunctionUserConfigurationOsProfile
- type NetworkFunctionVendor
- type NetworkFunctionVendorConfiguration
- type NetworkFunctionVendorListResult
- type NetworkFunctionVendorListResultIterator
- func (iter *NetworkFunctionVendorListResultIterator) Next() error
- func (iter *NetworkFunctionVendorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkFunctionVendorListResultIterator) NotDone() bool
- func (iter NetworkFunctionVendorListResultIterator) Response() NetworkFunctionVendorListResult
- func (iter NetworkFunctionVendorListResultIterator) Value() NetworkFunctionVendor
- type NetworkFunctionVendorListResultPage
- func (page *NetworkFunctionVendorListResultPage) Next() error
- func (page *NetworkFunctionVendorListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkFunctionVendorListResultPage) NotDone() bool
- func (page NetworkFunctionVendorListResultPage) Response() NetworkFunctionVendorListResult
- func (page NetworkFunctionVendorListResultPage) Values() []NetworkFunctionVendor
- type NetworkFunctionVendorSkusClient
- func (client NetworkFunctionVendorSkusClient) ListBySku(ctx context.Context, vendorName string, vendorSkuName string) (result NetworkFunctionSkuDetailsPage, err error)
- func (client NetworkFunctionVendorSkusClient) ListBySkuComplete(ctx context.Context, vendorName string, vendorSkuName string) (result NetworkFunctionSkuDetailsIterator, err error)
- func (client NetworkFunctionVendorSkusClient) ListBySkuPreparer(ctx context.Context, vendorName string, vendorSkuName string) (*http.Request, error)
- func (client NetworkFunctionVendorSkusClient) ListBySkuResponder(resp *http.Response) (result NetworkFunctionSkuDetails, err error)
- func (client NetworkFunctionVendorSkusClient) ListBySkuSender(req *http.Request) (*http.Response, error)
- func (client NetworkFunctionVendorSkusClient) ListByVendor(ctx context.Context, vendorName string) (result NetworkFunctionSkuListResultPage, err error)
- func (client NetworkFunctionVendorSkusClient) ListByVendorComplete(ctx context.Context, vendorName string) (result NetworkFunctionSkuListResultIterator, err error)
- func (client NetworkFunctionVendorSkusClient) ListByVendorPreparer(ctx context.Context, vendorName string) (*http.Request, error)
- func (client NetworkFunctionVendorSkusClient) ListByVendorResponder(resp *http.Response) (result NetworkFunctionSkuListResult, err error)
- func (client NetworkFunctionVendorSkusClient) ListByVendorSender(req *http.Request) (*http.Response, error)
- type NetworkFunctionVendorsClient
- func (client NetworkFunctionVendorsClient) List(ctx context.Context) (result NetworkFunctionVendorListResultPage, err error)
- func (client NetworkFunctionVendorsClient) ListComplete(ctx context.Context) (result NetworkFunctionVendorListResultIterator, err error)
- func (client NetworkFunctionVendorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client NetworkFunctionVendorsClient) ListResponder(resp *http.Response) (result NetworkFunctionVendorListResult, err error)
- func (client NetworkFunctionVendorsClient) ListSender(req *http.Request) (*http.Response, error)
- type NetworkFunctionsClient
- func (client NetworkFunctionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkFunctionName string, ...) (result NetworkFunctionsCreateOrUpdateFuture, err error)
- func (client NetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkFunctionName string, ...) (*http.Request, error)
- func (client NetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result NetworkFunction, err error)
- func (client NetworkFunctionsClient) CreateOrUpdateSender(req *http.Request) (future NetworkFunctionsCreateOrUpdateFuture, err error)
- func (client NetworkFunctionsClient) Delete(ctx context.Context, resourceGroupName string, networkFunctionName string) (result NetworkFunctionsDeleteFuture, err error)
- func (client NetworkFunctionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkFunctionName string) (*http.Request, error)
- func (client NetworkFunctionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client NetworkFunctionsClient) DeleteSender(req *http.Request) (future NetworkFunctionsDeleteFuture, err error)
- func (client NetworkFunctionsClient) Get(ctx context.Context, resourceGroupName string, networkFunctionName string) (result NetworkFunction, err error)
- func (client NetworkFunctionsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkFunctionName string) (*http.Request, error)
- func (client NetworkFunctionsClient) GetResponder(resp *http.Response) (result NetworkFunction, err error)
- func (client NetworkFunctionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client NetworkFunctionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result NetworkFunctionListResultPage, err error)
- func (client NetworkFunctionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NetworkFunctionListResultIterator, err error)
- func (client NetworkFunctionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client NetworkFunctionsClient) ListByResourceGroupResponder(resp *http.Response) (result NetworkFunctionListResult, err error)
- func (client NetworkFunctionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client NetworkFunctionsClient) ListBySubscription(ctx context.Context) (result NetworkFunctionListResultPage, err error)
- func (client NetworkFunctionsClient) ListBySubscriptionComplete(ctx context.Context) (result NetworkFunctionListResultIterator, err error)
- func (client NetworkFunctionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client NetworkFunctionsClient) ListBySubscriptionResponder(resp *http.Response) (result NetworkFunctionListResult, err error)
- func (client NetworkFunctionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client NetworkFunctionsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkFunctionName string, ...) (result NetworkFunction, err error)
- func (client NetworkFunctionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkFunctionName string, ...) (*http.Request, error)
- func (client NetworkFunctionsClient) UpdateTagsResponder(resp *http.Response) (result NetworkFunction, err error)
- func (client NetworkFunctionsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
- type NetworkFunctionsCreateOrUpdateFuture
- type NetworkFunctionsDeleteFuture
- type NetworkInterface
- type NetworkInterfaceIPConfiguration
- type OperatingSystemTypes
- type Operation
- type OperationDisplay
- type OperationList
- type OperationListIterator
- type OperationListPage
- type OperationalState
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OsDisk
- type OsProfile
- type PreviewSubscription
- type PreviewSubscriptionsList
- type PreviewSubscriptionsListIterator
- func (iter *PreviewSubscriptionsListIterator) Next() error
- func (iter *PreviewSubscriptionsListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PreviewSubscriptionsListIterator) NotDone() bool
- func (iter PreviewSubscriptionsListIterator) Response() PreviewSubscriptionsList
- func (iter PreviewSubscriptionsListIterator) Value() PreviewSubscription
- type PreviewSubscriptionsListPage
- func (page *PreviewSubscriptionsListPage) Next() error
- func (page *PreviewSubscriptionsListPage) NextWithContext(ctx context.Context) (err error)
- func (page PreviewSubscriptionsListPage) NotDone() bool
- func (page PreviewSubscriptionsListPage) Response() PreviewSubscriptionsList
- func (page PreviewSubscriptionsListPage) Values() []PreviewSubscription
- type ProvisioningState
- type ProxyResource
- type Resource
- type RoleInstance
- type RoleInstanceProperties
- type RoleInstancesClient
- func (client RoleInstancesClient) Get(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (result RoleInstance, err error)
- func (client RoleInstancesClient) GetPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (*http.Request, error)
- func (client RoleInstancesClient) GetResponder(resp *http.Response) (result RoleInstance, err error)
- func (client RoleInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RoleInstancesClient) List(ctx context.Context, locationName string, vendorName string, serviceKey string) (result NetworkFunctionRoleInstanceListResultPage, err error)
- func (client RoleInstancesClient) ListComplete(ctx context.Context, locationName string, vendorName string, serviceKey string) (result NetworkFunctionRoleInstanceListResultIterator, err error)
- func (client RoleInstancesClient) ListPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string) (*http.Request, error)
- func (client RoleInstancesClient) ListResponder(resp *http.Response) (result NetworkFunctionRoleInstanceListResult, err error)
- func (client RoleInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client RoleInstancesClient) Restart(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (result RoleInstancesRestartFuture, err error)
- func (client RoleInstancesClient) RestartPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (*http.Request, error)
- func (client RoleInstancesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoleInstancesClient) RestartSender(req *http.Request) (future RoleInstancesRestartFuture, err error)
- func (client RoleInstancesClient) Start(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (result RoleInstancesStartFuture, err error)
- func (client RoleInstancesClient) StartPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (*http.Request, error)
- func (client RoleInstancesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoleInstancesClient) StartSender(req *http.Request) (future RoleInstancesStartFuture, err error)
- func (client RoleInstancesClient) Stop(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (result RoleInstancesStopFuture, err error)
- func (client RoleInstancesClient) StopPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (*http.Request, error)
- func (client RoleInstancesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoleInstancesClient) StopSender(req *http.Request) (future RoleInstancesStopFuture, err error)
- type RoleInstancesRestartFuture
- type RoleInstancesStartFuture
- type RoleInstancesStopFuture
- type SSHConfiguration
- type SSHPublicKey
- type SkuDeploymentMode
- type SkuOverview
- type SkuType
- type Status
- type StorageProfile
- type SubResource
- type TagsObject
- type TrackedResource
- type VMSwitchType
- type Vendor
- type VendorDetails
- type VendorListResult
- type VendorListResultIterator
- func (iter *VendorListResultIterator) Next() error
- func (iter *VendorListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VendorListResultIterator) NotDone() bool
- func (iter VendorListResultIterator) Response() VendorListResult
- func (iter VendorListResultIterator) Value() Vendor
- type VendorListResultPage
- type VendorNetworkFunction
- type VendorNetworkFunctionListResult
- type VendorNetworkFunctionListResultIterator
- func (iter *VendorNetworkFunctionListResultIterator) Next() error
- func (iter *VendorNetworkFunctionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VendorNetworkFunctionListResultIterator) NotDone() bool
- func (iter VendorNetworkFunctionListResultIterator) Response() VendorNetworkFunctionListResult
- func (iter VendorNetworkFunctionListResultIterator) Value() VendorNetworkFunction
- type VendorNetworkFunctionListResultPage
- func (page *VendorNetworkFunctionListResultPage) Next() error
- func (page *VendorNetworkFunctionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VendorNetworkFunctionListResultPage) NotDone() bool
- func (page VendorNetworkFunctionListResultPage) Response() VendorNetworkFunctionListResult
- func (page VendorNetworkFunctionListResultPage) Values() []VendorNetworkFunction
- type VendorNetworkFunctionPropertiesFormat
- type VendorNetworkFunctionsClient
- func (client VendorNetworkFunctionsClient) CreateOrUpdate(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (result VendorNetworkFunctionsCreateOrUpdateFuture, err error)
- func (client VendorNetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, ...) (*http.Request, error)
- func (client VendorNetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result VendorNetworkFunction, err error)
- func (client VendorNetworkFunctionsClient) CreateOrUpdateSender(req *http.Request) (future VendorNetworkFunctionsCreateOrUpdateFuture, err error)
- func (client VendorNetworkFunctionsClient) Get(ctx context.Context, locationName string, vendorName string, serviceKey string) (result VendorNetworkFunction, err error)
- func (client VendorNetworkFunctionsClient) GetPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string) (*http.Request, error)
- func (client VendorNetworkFunctionsClient) GetResponder(resp *http.Response) (result VendorNetworkFunction, err error)
- func (client VendorNetworkFunctionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VendorNetworkFunctionsClient) List(ctx context.Context, locationName string, vendorName string, filter string) (result VendorNetworkFunctionListResultPage, err error)
- func (client VendorNetworkFunctionsClient) ListComplete(ctx context.Context, locationName string, vendorName string, filter string) (result VendorNetworkFunctionListResultIterator, err error)
- func (client VendorNetworkFunctionsClient) ListPreparer(ctx context.Context, locationName string, vendorName string, filter string) (*http.Request, error)
- func (client VendorNetworkFunctionsClient) ListResponder(resp *http.Response) (result VendorNetworkFunctionListResult, err error)
- func (client VendorNetworkFunctionsClient) ListSender(req *http.Request) (*http.Response, error)
- type VendorNetworkFunctionsCreateOrUpdateFuture
- type VendorPropertiesFormat
- type VendorProvisioningState
- type VendorSku
- type VendorSkuListResult
- type VendorSkuListResultIterator
- func (iter *VendorSkuListResultIterator) Next() error
- func (iter *VendorSkuListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VendorSkuListResultIterator) NotDone() bool
- func (iter VendorSkuListResultIterator) Response() VendorSkuListResult
- func (iter VendorSkuListResultIterator) Value() VendorSku
- type VendorSkuListResultPage
- func (page *VendorSkuListResultPage) Next() error
- func (page *VendorSkuListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VendorSkuListResultPage) NotDone() bool
- func (page VendorSkuListResultPage) Response() VendorSkuListResult
- func (page VendorSkuListResultPage) Values() []VendorSku
- type VendorSkuPreviewClient
- func (client VendorSkuPreviewClient) CreateOrUpdate(ctx context.Context, vendorName string, skuName string, ...) (result VendorSkuPreviewCreateOrUpdateFuture, err error)
- func (client VendorSkuPreviewClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, skuName string, ...) (*http.Request, error)
- func (client VendorSkuPreviewClient) CreateOrUpdateResponder(resp *http.Response) (result PreviewSubscription, err error)
- func (client VendorSkuPreviewClient) CreateOrUpdateSender(req *http.Request) (future VendorSkuPreviewCreateOrUpdateFuture, err error)
- func (client VendorSkuPreviewClient) Delete(ctx context.Context, vendorName string, skuName string, ...) (result VendorSkuPreviewDeleteFuture, err error)
- func (client VendorSkuPreviewClient) DeletePreparer(ctx context.Context, vendorName string, skuName string, ...) (*http.Request, error)
- func (client VendorSkuPreviewClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VendorSkuPreviewClient) DeleteSender(req *http.Request) (future VendorSkuPreviewDeleteFuture, err error)
- func (client VendorSkuPreviewClient) Get(ctx context.Context, vendorName string, skuName string, ...) (result PreviewSubscription, err error)
- func (client VendorSkuPreviewClient) GetPreparer(ctx context.Context, vendorName string, skuName string, ...) (*http.Request, error)
- func (client VendorSkuPreviewClient) GetResponder(resp *http.Response) (result PreviewSubscription, err error)
- func (client VendorSkuPreviewClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VendorSkuPreviewClient) List(ctx context.Context, vendorName string, skuName string) (result PreviewSubscriptionsListPage, err error)
- func (client VendorSkuPreviewClient) ListComplete(ctx context.Context, vendorName string, skuName string) (result PreviewSubscriptionsListIterator, err error)
- func (client VendorSkuPreviewClient) ListPreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)
- func (client VendorSkuPreviewClient) ListResponder(resp *http.Response) (result PreviewSubscriptionsList, err error)
- func (client VendorSkuPreviewClient) ListSender(req *http.Request) (*http.Response, error)
- type VendorSkuPreviewCreateOrUpdateFuture
- type VendorSkuPreviewDeleteFuture
- type VendorSkuPropertiesFormat
- type VendorSkusClient
- func (client VendorSkusClient) CreateOrUpdate(ctx context.Context, vendorName string, skuName string, parameters VendorSku) (result VendorSkusCreateOrUpdateFuture, err error)
- func (client VendorSkusClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, skuName string, parameters VendorSku) (*http.Request, error)
- func (client VendorSkusClient) CreateOrUpdateResponder(resp *http.Response) (result VendorSku, err error)
- func (client VendorSkusClient) CreateOrUpdateSender(req *http.Request) (future VendorSkusCreateOrUpdateFuture, err error)
- func (client VendorSkusClient) Delete(ctx context.Context, vendorName string, skuName string) (result VendorSkusDeleteFuture, err error)
- func (client VendorSkusClient) DeletePreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)
- func (client VendorSkusClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VendorSkusClient) DeleteSender(req *http.Request) (future VendorSkusDeleteFuture, err error)
- func (client VendorSkusClient) Get(ctx context.Context, vendorName string, skuName string) (result VendorSku, err error)
- func (client VendorSkusClient) GetPreparer(ctx context.Context, vendorName string, skuName string) (*http.Request, error)
- func (client VendorSkusClient) GetResponder(resp *http.Response) (result VendorSku, err error)
- func (client VendorSkusClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VendorSkusClient) List(ctx context.Context, vendorName string) (result VendorSkuListResultPage, err error)
- func (client VendorSkusClient) ListComplete(ctx context.Context, vendorName string) (result VendorSkuListResultIterator, err error)
- func (client VendorSkusClient) ListPreparer(ctx context.Context, vendorName string) (*http.Request, error)
- func (client VendorSkusClient) ListResponder(resp *http.Response) (result VendorSkuListResult, err error)
- func (client VendorSkusClient) ListSender(req *http.Request) (*http.Response, error)
- type VendorSkusCreateOrUpdateFuture
- type VendorSkusDeleteFuture
- type VendorsClient
- func (client VendorsClient) CreateOrUpdate(ctx context.Context, vendorName string, parameters *Vendor) (result VendorsCreateOrUpdateFuture, err error)
- func (client VendorsClient) CreateOrUpdatePreparer(ctx context.Context, vendorName string, parameters *Vendor) (*http.Request, error)
- func (client VendorsClient) CreateOrUpdateResponder(resp *http.Response) (result Vendor, err error)
- func (client VendorsClient) CreateOrUpdateSender(req *http.Request) (future VendorsCreateOrUpdateFuture, err error)
- func (client VendorsClient) Delete(ctx context.Context, vendorName string) (result VendorsDeleteFuture, err error)
- func (client VendorsClient) DeletePreparer(ctx context.Context, vendorName string) (*http.Request, error)
- func (client VendorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VendorsClient) DeleteSender(req *http.Request) (future VendorsDeleteFuture, err error)
- func (client VendorsClient) Get(ctx context.Context, vendorName string) (result Vendor, err error)
- func (client VendorsClient) GetPreparer(ctx context.Context, vendorName string) (*http.Request, error)
- func (client VendorsClient) GetResponder(resp *http.Response) (result Vendor, err error)
- func (client VendorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VendorsClient) ListBySubscription(ctx context.Context) (result VendorListResultPage, err error)
- func (client VendorsClient) ListBySubscriptionComplete(ctx context.Context) (result VendorListResultIterator, err error)
- func (client VendorsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client VendorsClient) ListBySubscriptionResponder(resp *http.Response) (result VendorListResult, err error)
- func (client VendorsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- type VendorsCreateOrUpdateFuture
- type VendorsDeleteFuture
- type VirtualHardDisk
- type VirtualMachineSizeTypes
Constants ¶
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 AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
func (AzureEntityResource) MarshalJSON ¶
func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureEntityResource.
type BaseClient ¶
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 device properties.
type CustomProfile ¶
type CustomProfile struct { // MetadataConfigurationPath - Path for metadata configuration. MetadataConfigurationPath *string `json:"metadataConfigurationPath,omitempty"` }
CustomProfile specifies the custom settings for the virtual machine.
type DataDisk ¶
type DataDisk struct { // CreateOption - Specifies how the virtual machine should be created. Possible values include: 'Unknown', 'Empty' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // Name - The name of data disk. Name *string `json:"name,omitempty"` // DiskSizeGB - Specifies the size of an empty disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` }
DataDisk specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
type Device ¶
type Device struct { autorest.Response `json:"-"` // BasicDevicePropertiesFormat - Device properties. BasicDevicePropertiesFormat `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Device device resource.
func (Device) MarshalJSON ¶
MarshalJSON is the custom marshaler for Device.
func (*Device) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Device struct.
type DeviceListResult ¶
type DeviceListResult struct { autorest.Response `json:"-"` // Value - A list of 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 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 ¶
func (iter DeviceListResultIterator) Response() DeviceListResult
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(cur DeviceListResult, 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', 'StatusDeleted' Status Status `json:"status,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the 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"` // NetworkFunctions - READ-ONLY; The list of network functions deployed on the device. NetworkFunctions *[]SubResource `json:"networkFunctions,omitempty"` // DeviceType - Possible values include: 'DeviceTypeDevicePropertiesFormat' DeviceType DeviceType `json:"deviceType,omitempty"` }
DevicePropertiesFormat 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 the device. RegistrationKey *string `json:"registrationKey,omitempty"` }
DeviceRegistrationKey the device registration key.
func (DeviceRegistrationKey) MarshalJSON ¶
func (drk DeviceRegistrationKey) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeviceRegistrationKey.
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 device. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deviceName - resource name for the device resource. parameters - parameters supplied to the create or update 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 device. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deviceName - the name of the device resource.
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 device. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deviceName - the name of the device resource.
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 ¶
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 device resource in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
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 ¶
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 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 ¶
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 ¶
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 device. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deviceName - the name of the device resource.
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 ¶
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 device tags. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deviceName - the name of the device resource. parameters - parameters supplied to the update device tags operation.
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 ¶
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type DevicesCreateOrUpdateFuture ¶
type DevicesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DevicesClient) (Device, error) }
DevicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DevicesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DevicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DevicesDeleteFuture ¶
type DevicesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DevicesClient) (autorest.Response, error) }
DevicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DevicesDeleteFuture) UnmarshalJSON ¶
func (future *DevicesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DiskCreateOptionTypes ¶
type DiskCreateOptionTypes string
DiskCreateOptionTypes enumerates the values for disk create option types.
const ( // Empty ... Empty DiskCreateOptionTypes = "Empty" // Unknown ... Unknown DiskCreateOptionTypes = "Unknown" )
func PossibleDiskCreateOptionTypesValues ¶
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes
PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // Type - READ-ONLY; The additional info type. Type *string `json:"type,omitempty"` // Info - READ-ONLY; The additional info. Info interface{} `json:"info,omitempty"` }
ErrorAdditionalInfo the resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The error target. Target *string `json:"target,omitempty"` // Details - READ-ONLY; The error details. Details *[]ErrorDetail `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; The error additional info. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorDetail the error detail.
func (ErrorDetail) MarshalJSON ¶
func (ed ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // Error - The error object. Error *ErrorDetail `json:"error,omitempty"` }
ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
type IPAllocationMethod ¶
type IPAllocationMethod string
IPAllocationMethod enumerates the values for ip allocation method.
const ( // IPAllocationMethodDynamic ... IPAllocationMethodDynamic IPAllocationMethod = "Dynamic" // IPAllocationMethodStatic ... IPAllocationMethodStatic IPAllocationMethod = "Static" // IPAllocationMethodUnknown ... IPAllocationMethodUnknown 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.
func PossibleIPVersionValues ¶
func PossibleIPVersionValues() []IPVersion
PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
type ImageReference ¶
type ImageReference struct { // Publisher - The image publisher. Publisher *string `json:"publisher,omitempty"` // Offer - Specifies the offer of the image used to create the virtual machine. Offer *string `json:"offer,omitempty"` // Sku - The image SKU. Sku *string `json:"sku,omitempty"` // Version - Specifies the version of the image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Version *string `json:"version,omitempty"` // ExactVersion - Specifies in decimal numbers, the exact version of image used to create the virtual machine. ExactVersion *string `json:"exactVersion,omitempty"` }
ImageReference the image reference properties.
type LinuxConfiguration ¶
type LinuxConfiguration struct { // SSH - Specifies the ssh key configuration for a Linux OS. SSH *SSHConfiguration `json:"ssh,omitempty"` }
LinuxConfiguration specifies the Linux operating system settings on the virtual machine.
type NetworkFunction ¶
type NetworkFunction struct { autorest.Response `json:"-"` // NetworkFunctionPropertiesFormat - Network function properties. *NetworkFunctionPropertiesFormat `json:"properties,omitempty"` // Etag - A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
NetworkFunction network function resource response.
func (NetworkFunction) MarshalJSON ¶
func (nf NetworkFunction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunction.
func (*NetworkFunction) UnmarshalJSON ¶
func (nf *NetworkFunction) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NetworkFunction struct.
type NetworkFunctionListResult ¶
type NetworkFunctionListResult struct { autorest.Response `json:"-"` // Value - A list of network function resources in a subscription or resource group. Value *[]NetworkFunction `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
NetworkFunctionListResult response for network function API service call.
func (NetworkFunctionListResult) IsEmpty ¶
func (nflr NetworkFunctionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (NetworkFunctionListResult) MarshalJSON ¶
func (nflr NetworkFunctionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionListResult.
type NetworkFunctionListResultIterator ¶
type NetworkFunctionListResultIterator struct {
// contains filtered or unexported fields
}
NetworkFunctionListResultIterator provides access to a complete listing of NetworkFunction values.
func NewNetworkFunctionListResultIterator ¶
func NewNetworkFunctionListResultIterator(page NetworkFunctionListResultPage) NetworkFunctionListResultIterator
Creates a new instance of the NetworkFunctionListResultIterator type.
func (*NetworkFunctionListResultIterator) Next ¶
func (iter *NetworkFunctionListResultIterator) 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 (*NetworkFunctionListResultIterator) NextWithContext ¶
func (iter *NetworkFunctionListResultIterator) 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 (NetworkFunctionListResultIterator) NotDone ¶
func (iter NetworkFunctionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkFunctionListResultIterator) Response ¶
func (iter NetworkFunctionListResultIterator) Response() NetworkFunctionListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionListResultIterator) Value ¶
func (iter NetworkFunctionListResultIterator) Value() NetworkFunction
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkFunctionListResultPage ¶
type NetworkFunctionListResultPage struct {
// contains filtered or unexported fields
}
NetworkFunctionListResultPage contains a page of NetworkFunction values.
func NewNetworkFunctionListResultPage ¶
func NewNetworkFunctionListResultPage(cur NetworkFunctionListResult, getNextPage func(context.Context, NetworkFunctionListResult) (NetworkFunctionListResult, error)) NetworkFunctionListResultPage
Creates a new instance of the NetworkFunctionListResultPage type.
func (*NetworkFunctionListResultPage) Next ¶
func (page *NetworkFunctionListResultPage) 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 (*NetworkFunctionListResultPage) NextWithContext ¶
func (page *NetworkFunctionListResultPage) 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 (NetworkFunctionListResultPage) NotDone ¶
func (page NetworkFunctionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkFunctionListResultPage) Response ¶
func (page NetworkFunctionListResultPage) Response() NetworkFunctionListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionListResultPage) Values ¶
func (page NetworkFunctionListResultPage) Values() []NetworkFunction
Values returns the slice of values for the current page or nil if there are no values.
type NetworkFunctionPropertiesFormat ¶
type NetworkFunctionPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the network function resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // Device - The reference to the device resource. Device *SubResource `json:"device,omitempty"` // SkuName - The sku name for the network function. SkuName *string `json:"skuName,omitempty"` // SkuType - READ-ONLY; The sku type for the network function. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN', 'SkuTypeFirewall' SkuType SkuType `json:"skuType,omitempty"` // VendorName - The vendor name for the network function. VendorName *string `json:"vendorName,omitempty"` // ServiceKey - READ-ONLY; The service key for the network function resource. ServiceKey *string `json:"serviceKey,omitempty"` // VendorProvisioningState - READ-ONLY; The vendor provisioning state for the 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"` // NetworkFunctionUserConfigurations - The network function configurations from the user. NetworkFunctionUserConfigurations *[]NetworkFunctionUserConfiguration `json:"networkFunctionUserConfigurations,omitempty"` }
NetworkFunctionPropertiesFormat network function properties.
func (NetworkFunctionPropertiesFormat) MarshalJSON ¶
func (nfpf NetworkFunctionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionPropertiesFormat.
type NetworkFunctionRoleConfiguration ¶
type NetworkFunctionRoleConfiguration struct { // RoleName - The name of the network function role. RoleName *string `json:"roleName,omitempty"` // RoleType - Role type. Possible values include: 'NetworkFunctionRoleConfigurationTypeUnknown', 'NetworkFunctionRoleConfigurationTypeVirtualMachine' RoleType NetworkFunctionRoleConfigurationType `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', 'VirtualMachineSizeTypesStandardF1', 'VirtualMachineSizeTypesStandardF2', 'VirtualMachineSizeTypesStandardF4', 'VirtualMachineSizeTypesStandardF8', 'VirtualMachineSizeTypesStandardF16', 'VirtualMachineSizeTypesStandardF1s', 'VirtualMachineSizeTypesStandardF2s', 'VirtualMachineSizeTypesStandardF4s', 'VirtualMachineSizeTypesStandardF8s', 'VirtualMachineSizeTypesStandardF16s' VirtualMachineSize VirtualMachineSizeTypes `json:"virtualMachineSize,omitempty"` // OsProfile - Specifies the operating system settings for the role instance. This value can be updated during the deployment of network function. OsProfile *OsProfile `json:"osProfile,omitempty"` // UserDataTemplate - The user data template for customers. This is a json schema 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"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // CustomProfile - Specifies the custom settings for the virtual machine. CustomProfile *CustomProfile `json:"customProfile,omitempty"` }
NetworkFunctionRoleConfiguration network function role configuration.
type NetworkFunctionRoleConfigurationType ¶
type NetworkFunctionRoleConfigurationType string
NetworkFunctionRoleConfigurationType enumerates the values for network function role configuration type.
const ( // NetworkFunctionRoleConfigurationTypeUnknown ... NetworkFunctionRoleConfigurationTypeUnknown NetworkFunctionRoleConfigurationType = "Unknown" // NetworkFunctionRoleConfigurationTypeVirtualMachine ... NetworkFunctionRoleConfigurationTypeVirtualMachine NetworkFunctionRoleConfigurationType = "VirtualMachine" )
func PossibleNetworkFunctionRoleConfigurationTypeValues ¶
func PossibleNetworkFunctionRoleConfigurationTypeValues() []NetworkFunctionRoleConfigurationType
PossibleNetworkFunctionRoleConfigurationTypeValues returns an array of possible values for the NetworkFunctionRoleConfigurationType const type.
type NetworkFunctionRoleInstanceListResult ¶
type NetworkFunctionRoleInstanceListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; A list of role instances. Value *[]RoleInstance `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
NetworkFunctionRoleInstanceListResult list of role instances of vendor network function.
func (NetworkFunctionRoleInstanceListResult) IsEmpty ¶
func (nfrilr NetworkFunctionRoleInstanceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (NetworkFunctionRoleInstanceListResult) MarshalJSON ¶
func (nfrilr NetworkFunctionRoleInstanceListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionRoleInstanceListResult.
type NetworkFunctionRoleInstanceListResultIterator ¶
type NetworkFunctionRoleInstanceListResultIterator struct {
// contains filtered or unexported fields
}
NetworkFunctionRoleInstanceListResultIterator provides access to a complete listing of RoleInstance values.
func NewNetworkFunctionRoleInstanceListResultIterator ¶
func NewNetworkFunctionRoleInstanceListResultIterator(page NetworkFunctionRoleInstanceListResultPage) NetworkFunctionRoleInstanceListResultIterator
Creates a new instance of the NetworkFunctionRoleInstanceListResultIterator type.
func (*NetworkFunctionRoleInstanceListResultIterator) Next ¶
func (iter *NetworkFunctionRoleInstanceListResultIterator) 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 (*NetworkFunctionRoleInstanceListResultIterator) NextWithContext ¶
func (iter *NetworkFunctionRoleInstanceListResultIterator) 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 (NetworkFunctionRoleInstanceListResultIterator) NotDone ¶
func (iter NetworkFunctionRoleInstanceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkFunctionRoleInstanceListResultIterator) Response ¶
func (iter NetworkFunctionRoleInstanceListResultIterator) Response() NetworkFunctionRoleInstanceListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionRoleInstanceListResultIterator) Value ¶
func (iter NetworkFunctionRoleInstanceListResultIterator) Value() RoleInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkFunctionRoleInstanceListResultPage ¶
type NetworkFunctionRoleInstanceListResultPage struct {
// contains filtered or unexported fields
}
NetworkFunctionRoleInstanceListResultPage contains a page of RoleInstance values.
func NewNetworkFunctionRoleInstanceListResultPage ¶
func NewNetworkFunctionRoleInstanceListResultPage(cur NetworkFunctionRoleInstanceListResult, getNextPage func(context.Context, NetworkFunctionRoleInstanceListResult) (NetworkFunctionRoleInstanceListResult, error)) NetworkFunctionRoleInstanceListResultPage
Creates a new instance of the NetworkFunctionRoleInstanceListResultPage type.
func (*NetworkFunctionRoleInstanceListResultPage) Next ¶
func (page *NetworkFunctionRoleInstanceListResultPage) 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 (*NetworkFunctionRoleInstanceListResultPage) NextWithContext ¶
func (page *NetworkFunctionRoleInstanceListResultPage) 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 (NetworkFunctionRoleInstanceListResultPage) NotDone ¶
func (page NetworkFunctionRoleInstanceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkFunctionRoleInstanceListResultPage) Response ¶
func (page NetworkFunctionRoleInstanceListResultPage) Response() NetworkFunctionRoleInstanceListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionRoleInstanceListResultPage) Values ¶
func (page NetworkFunctionRoleInstanceListResultPage) Values() []RoleInstance
Values returns the slice of values for the current page or nil if there are no values.
type NetworkFunctionSkuDetails ¶
type NetworkFunctionSkuDetails struct { autorest.Response `json:"-"` // SkuType - The network function sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN', 'SkuTypeFirewall' SkuType SkuType `json:"skuType,omitempty"` // Value - The network function sku role details. Value *[]NetworkFunctionSkuRoleDetails `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
NetworkFunctionSkuDetails the network function sku details.
func (NetworkFunctionSkuDetails) IsEmpty ¶
func (nfsd NetworkFunctionSkuDetails) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (NetworkFunctionSkuDetails) MarshalJSON ¶
func (nfsd NetworkFunctionSkuDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionSkuDetails.
type NetworkFunctionSkuDetailsIterator ¶
type NetworkFunctionSkuDetailsIterator struct {
// contains filtered or unexported fields
}
NetworkFunctionSkuDetailsIterator provides access to a complete listing of NetworkFunctionSkuRoleDetails values.
func NewNetworkFunctionSkuDetailsIterator ¶
func NewNetworkFunctionSkuDetailsIterator(page NetworkFunctionSkuDetailsPage) NetworkFunctionSkuDetailsIterator
Creates a new instance of the NetworkFunctionSkuDetailsIterator type.
func (*NetworkFunctionSkuDetailsIterator) Next ¶
func (iter *NetworkFunctionSkuDetailsIterator) 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 (*NetworkFunctionSkuDetailsIterator) NextWithContext ¶
func (iter *NetworkFunctionSkuDetailsIterator) 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 (NetworkFunctionSkuDetailsIterator) NotDone ¶
func (iter NetworkFunctionSkuDetailsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkFunctionSkuDetailsIterator) Response ¶
func (iter NetworkFunctionSkuDetailsIterator) Response() NetworkFunctionSkuDetails
Response returns the raw server response from the last page request.
func (NetworkFunctionSkuDetailsIterator) Value ¶
func (iter NetworkFunctionSkuDetailsIterator) Value() NetworkFunctionSkuRoleDetails
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkFunctionSkuDetailsPage ¶
type NetworkFunctionSkuDetailsPage struct {
// contains filtered or unexported fields
}
NetworkFunctionSkuDetailsPage contains a page of NetworkFunctionSkuRoleDetails values.
func NewNetworkFunctionSkuDetailsPage ¶
func NewNetworkFunctionSkuDetailsPage(cur NetworkFunctionSkuDetails, getNextPage func(context.Context, NetworkFunctionSkuDetails) (NetworkFunctionSkuDetails, error)) NetworkFunctionSkuDetailsPage
Creates a new instance of the NetworkFunctionSkuDetailsPage type.
func (*NetworkFunctionSkuDetailsPage) Next ¶
func (page *NetworkFunctionSkuDetailsPage) 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 (*NetworkFunctionSkuDetailsPage) NextWithContext ¶
func (page *NetworkFunctionSkuDetailsPage) 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 (NetworkFunctionSkuDetailsPage) NotDone ¶
func (page NetworkFunctionSkuDetailsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkFunctionSkuDetailsPage) Response ¶
func (page NetworkFunctionSkuDetailsPage) Response() NetworkFunctionSkuDetails
Response returns the raw server response from the last page request.
func (NetworkFunctionSkuDetailsPage) Values ¶
func (page NetworkFunctionSkuDetailsPage) Values() []NetworkFunctionSkuRoleDetails
Values returns the slice of values for the current page or nil if there are no values.
type NetworkFunctionSkuListResult ¶
type NetworkFunctionSkuListResult struct { autorest.Response `json:"-"` // Value - The 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"` }
NetworkFunctionSkuListResult a list of available network function skus.
func (NetworkFunctionSkuListResult) IsEmpty ¶
func (nfslr NetworkFunctionSkuListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (NetworkFunctionSkuListResult) MarshalJSON ¶
func (nfslr NetworkFunctionSkuListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionSkuListResult.
type NetworkFunctionSkuListResultIterator ¶
type NetworkFunctionSkuListResultIterator struct {
// contains filtered or unexported fields
}
NetworkFunctionSkuListResultIterator provides access to a complete listing of SkuOverview values.
func NewNetworkFunctionSkuListResultIterator ¶
func NewNetworkFunctionSkuListResultIterator(page NetworkFunctionSkuListResultPage) NetworkFunctionSkuListResultIterator
Creates a new instance of the NetworkFunctionSkuListResultIterator type.
func (*NetworkFunctionSkuListResultIterator) Next ¶
func (iter *NetworkFunctionSkuListResultIterator) 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 (*NetworkFunctionSkuListResultIterator) NextWithContext ¶
func (iter *NetworkFunctionSkuListResultIterator) 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 (NetworkFunctionSkuListResultIterator) NotDone ¶
func (iter NetworkFunctionSkuListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkFunctionSkuListResultIterator) Response ¶
func (iter NetworkFunctionSkuListResultIterator) Response() NetworkFunctionSkuListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionSkuListResultIterator) Value ¶
func (iter NetworkFunctionSkuListResultIterator) Value() SkuOverview
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkFunctionSkuListResultPage ¶
type NetworkFunctionSkuListResultPage struct {
// contains filtered or unexported fields
}
NetworkFunctionSkuListResultPage contains a page of SkuOverview values.
func NewNetworkFunctionSkuListResultPage ¶
func NewNetworkFunctionSkuListResultPage(cur NetworkFunctionSkuListResult, getNextPage func(context.Context, NetworkFunctionSkuListResult) (NetworkFunctionSkuListResult, error)) NetworkFunctionSkuListResultPage
Creates a new instance of the NetworkFunctionSkuListResultPage type.
func (*NetworkFunctionSkuListResultPage) Next ¶
func (page *NetworkFunctionSkuListResultPage) 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 (*NetworkFunctionSkuListResultPage) NextWithContext ¶
func (page *NetworkFunctionSkuListResultPage) 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 (NetworkFunctionSkuListResultPage) NotDone ¶
func (page NetworkFunctionSkuListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkFunctionSkuListResultPage) Response ¶
func (page NetworkFunctionSkuListResultPage) Response() NetworkFunctionSkuListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionSkuListResultPage) Values ¶
func (page NetworkFunctionSkuListResultPage) Values() []SkuOverview
Values returns the slice of values for the current page or nil if there are no values.
type NetworkFunctionSkuRoleDetails ¶
type NetworkFunctionSkuRoleDetails struct { // RoleName - The name of the 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"` }
NetworkFunctionSkuRoleDetails the network function user configuration.
type NetworkFunctionTemplate ¶
type NetworkFunctionTemplate struct { // NetworkFunctionRoleConfigurations - An array of network function role definitions. NetworkFunctionRoleConfigurations *[]NetworkFunctionRoleConfiguration `json:"networkFunctionRoleConfigurations,omitempty"` }
NetworkFunctionTemplate the network function template.
type NetworkFunctionUserConfiguration ¶
type NetworkFunctionUserConfiguration struct { // RoleName - The name of the 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"` // OsProfile - Specifies the operating system settings for the role instance. OsProfile *NetworkFunctionUserConfigurationOsProfile `json:"osProfile,omitempty"` }
NetworkFunctionUserConfiguration the network function user configuration.
type NetworkFunctionUserConfigurationOsProfile ¶
type NetworkFunctionUserConfigurationOsProfile struct { // 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"` }
NetworkFunctionUserConfigurationOsProfile specifies the operating system settings for the role instance.
type NetworkFunctionVendor ¶
type NetworkFunctionVendor struct { // VendorDetails - Vendors of Hybrid Network service provider. *VendorDetails `json:"properties,omitempty"` }
NetworkFunctionVendor the network function vendor.
func (NetworkFunctionVendor) MarshalJSON ¶
func (nfv NetworkFunctionVendor) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionVendor.
func (*NetworkFunctionVendor) UnmarshalJSON ¶
func (nfv *NetworkFunctionVendor) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NetworkFunctionVendor struct.
type NetworkFunctionVendorConfiguration ¶
type NetworkFunctionVendorConfiguration struct { // RoleName - The name of the vendor network function role. RoleName *string `json:"roleName,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"` }
NetworkFunctionVendorConfiguration network function vendor configuration.
func (NetworkFunctionVendorConfiguration) MarshalJSON ¶
func (nfvc NetworkFunctionVendorConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionVendorConfiguration.
type NetworkFunctionVendorListResult ¶
type NetworkFunctionVendorListResult struct { autorest.Response `json:"-"` // Value - A list of available network function vendors and skus. Value *[]NetworkFunctionVendor `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
NetworkFunctionVendorListResult the network function vendor list result.
func (NetworkFunctionVendorListResult) IsEmpty ¶
func (nfvlr NetworkFunctionVendorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (NetworkFunctionVendorListResult) MarshalJSON ¶
func (nfvlr NetworkFunctionVendorListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkFunctionVendorListResult.
type NetworkFunctionVendorListResultIterator ¶
type NetworkFunctionVendorListResultIterator struct {
// contains filtered or unexported fields
}
NetworkFunctionVendorListResultIterator provides access to a complete listing of NetworkFunctionVendor values.
func NewNetworkFunctionVendorListResultIterator ¶
func NewNetworkFunctionVendorListResultIterator(page NetworkFunctionVendorListResultPage) NetworkFunctionVendorListResultIterator
Creates a new instance of the NetworkFunctionVendorListResultIterator type.
func (*NetworkFunctionVendorListResultIterator) Next ¶
func (iter *NetworkFunctionVendorListResultIterator) 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 (*NetworkFunctionVendorListResultIterator) NextWithContext ¶
func (iter *NetworkFunctionVendorListResultIterator) 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 (NetworkFunctionVendorListResultIterator) NotDone ¶
func (iter NetworkFunctionVendorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkFunctionVendorListResultIterator) Response ¶
func (iter NetworkFunctionVendorListResultIterator) Response() NetworkFunctionVendorListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionVendorListResultIterator) Value ¶
func (iter NetworkFunctionVendorListResultIterator) Value() NetworkFunctionVendor
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkFunctionVendorListResultPage ¶
type NetworkFunctionVendorListResultPage struct {
// contains filtered or unexported fields
}
NetworkFunctionVendorListResultPage contains a page of NetworkFunctionVendor values.
func NewNetworkFunctionVendorListResultPage ¶
func NewNetworkFunctionVendorListResultPage(cur NetworkFunctionVendorListResult, getNextPage func(context.Context, NetworkFunctionVendorListResult) (NetworkFunctionVendorListResult, error)) NetworkFunctionVendorListResultPage
Creates a new instance of the NetworkFunctionVendorListResultPage type.
func (*NetworkFunctionVendorListResultPage) Next ¶
func (page *NetworkFunctionVendorListResultPage) 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 (*NetworkFunctionVendorListResultPage) NextWithContext ¶
func (page *NetworkFunctionVendorListResultPage) 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 (NetworkFunctionVendorListResultPage) NotDone ¶
func (page NetworkFunctionVendorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkFunctionVendorListResultPage) Response ¶
func (page NetworkFunctionVendorListResultPage) Response() NetworkFunctionVendorListResult
Response returns the raw server response from the last page request.
func (NetworkFunctionVendorListResultPage) Values ¶
func (page NetworkFunctionVendorListResultPage) Values() []NetworkFunctionVendor
Values returns the slice of values for the current page or nil if there are no values.
type NetworkFunctionVendorSkusClient ¶
type NetworkFunctionVendorSkusClient struct {
BaseClient
}
NetworkFunctionVendorSkusClient is the client for the NetworkFunctionVendorSkus methods of the Hybridnetwork service.
func NewNetworkFunctionVendorSkusClient ¶
func NewNetworkFunctionVendorSkusClient(subscriptionID string) NetworkFunctionVendorSkusClient
NewNetworkFunctionVendorSkusClient creates an instance of the NetworkFunctionVendorSkusClient client.
func NewNetworkFunctionVendorSkusClientWithBaseURI ¶
func NewNetworkFunctionVendorSkusClientWithBaseURI(baseURI string, subscriptionID string) NetworkFunctionVendorSkusClient
NewNetworkFunctionVendorSkusClientWithBaseURI creates an instance of the NetworkFunctionVendorSkusClient 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 (NetworkFunctionVendorSkusClient) ListBySku ¶
func (client NetworkFunctionVendorSkusClient) ListBySku(ctx context.Context, vendorName string, vendorSkuName string) (result NetworkFunctionSkuDetailsPage, err error)
ListBySku lists information about network function vendor sku details. Parameters: vendorName - the name of the network function vendor. vendorSkuName - the name of the network function sku.
func (NetworkFunctionVendorSkusClient) ListBySkuComplete ¶
func (client NetworkFunctionVendorSkusClient) ListBySkuComplete(ctx context.Context, vendorName string, vendorSkuName string) (result NetworkFunctionSkuDetailsIterator, err error)
ListBySkuComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkFunctionVendorSkusClient) ListBySkuPreparer ¶
func (client NetworkFunctionVendorSkusClient) ListBySkuPreparer(ctx context.Context, vendorName string, vendorSkuName string) (*http.Request, error)
ListBySkuPreparer prepares the ListBySku request.
func (NetworkFunctionVendorSkusClient) ListBySkuResponder ¶
func (client NetworkFunctionVendorSkusClient) ListBySkuResponder(resp *http.Response) (result NetworkFunctionSkuDetails, err error)
ListBySkuResponder handles the response to the ListBySku request. The method always closes the http.Response Body.
func (NetworkFunctionVendorSkusClient) ListBySkuSender ¶
func (client NetworkFunctionVendorSkusClient) ListBySkuSender(req *http.Request) (*http.Response, error)
ListBySkuSender sends the ListBySku request. The method will close the http.Response Body if it receives an error.
func (NetworkFunctionVendorSkusClient) ListByVendor ¶
func (client NetworkFunctionVendorSkusClient) ListByVendor(ctx context.Context, vendorName string) (result NetworkFunctionSkuListResultPage, err error)
ListByVendor lists all network function vendor sku details in a vendor. Parameters: vendorName - the name of the network function vendor.
func (NetworkFunctionVendorSkusClient) ListByVendorComplete ¶
func (client NetworkFunctionVendorSkusClient) ListByVendorComplete(ctx context.Context, vendorName string) (result NetworkFunctionSkuListResultIterator, err error)
ListByVendorComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkFunctionVendorSkusClient) ListByVendorPreparer ¶
func (client NetworkFunctionVendorSkusClient) ListByVendorPreparer(ctx context.Context, vendorName string) (*http.Request, error)
ListByVendorPreparer prepares the ListByVendor request.
func (NetworkFunctionVendorSkusClient) ListByVendorResponder ¶
func (client NetworkFunctionVendorSkusClient) ListByVendorResponder(resp *http.Response) (result NetworkFunctionSkuListResult, err error)
ListByVendorResponder handles the response to the ListByVendor request. The method always closes the http.Response Body.
func (NetworkFunctionVendorSkusClient) ListByVendorSender ¶
func (client NetworkFunctionVendorSkusClient) 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.
type NetworkFunctionVendorsClient ¶
type NetworkFunctionVendorsClient struct {
BaseClient
}
NetworkFunctionVendorsClient is the client for the NetworkFunctionVendors methods of the Hybridnetwork service.
func NewNetworkFunctionVendorsClient ¶
func NewNetworkFunctionVendorsClient(subscriptionID string) NetworkFunctionVendorsClient
NewNetworkFunctionVendorsClient creates an instance of the NetworkFunctionVendorsClient client.
func NewNetworkFunctionVendorsClientWithBaseURI ¶
func NewNetworkFunctionVendorsClientWithBaseURI(baseURI string, subscriptionID string) NetworkFunctionVendorsClient
NewNetworkFunctionVendorsClientWithBaseURI creates an instance of the NetworkFunctionVendorsClient 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 (NetworkFunctionVendorsClient) List ¶
func (client NetworkFunctionVendorsClient) List(ctx context.Context) (result NetworkFunctionVendorListResultPage, err error)
List lists all the available vendor and sku information.
func (NetworkFunctionVendorsClient) ListComplete ¶
func (client NetworkFunctionVendorsClient) ListComplete(ctx context.Context) (result NetworkFunctionVendorListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkFunctionVendorsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (NetworkFunctionVendorsClient) ListResponder ¶
func (client NetworkFunctionVendorsClient) ListResponder(resp *http.Response) (result NetworkFunctionVendorListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (NetworkFunctionVendorsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type NetworkFunctionsClient ¶
type NetworkFunctionsClient struct {
BaseClient
}
NetworkFunctionsClient is the client for the NetworkFunctions methods of the Hybridnetwork service.
func NewNetworkFunctionsClient ¶
func NewNetworkFunctionsClient(subscriptionID string) NetworkFunctionsClient
NewNetworkFunctionsClient creates an instance of the NetworkFunctionsClient client.
func NewNetworkFunctionsClientWithBaseURI ¶
func NewNetworkFunctionsClientWithBaseURI(baseURI string, subscriptionID string) NetworkFunctionsClient
NewNetworkFunctionsClientWithBaseURI creates an instance of the NetworkFunctionsClient 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 (NetworkFunctionsClient) CreateOrUpdate ¶
func (client NetworkFunctionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters NetworkFunction) (result NetworkFunctionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a network function resource. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. networkFunctionName - resource name for the network function resource. parameters - parameters supplied in the body to the create or update network function operation.
func (NetworkFunctionsClient) CreateOrUpdatePreparer ¶
func (client NetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters NetworkFunction) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (NetworkFunctionsClient) CreateOrUpdateResponder ¶
func (client NetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result NetworkFunction, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (NetworkFunctionsClient) CreateOrUpdateSender ¶
func (client NetworkFunctionsClient) CreateOrUpdateSender(req *http.Request) (future NetworkFunctionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (NetworkFunctionsClient) Delete ¶
func (client NetworkFunctionsClient) Delete(ctx context.Context, resourceGroupName string, networkFunctionName string) (result NetworkFunctionsDeleteFuture, err error)
Delete deletes the specified network function resource. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. networkFunctionName - the name of the network function.
func (NetworkFunctionsClient) DeletePreparer ¶
func (client NetworkFunctionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkFunctionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (NetworkFunctionsClient) DeleteResponder ¶
func (client NetworkFunctionsClient) 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 (NetworkFunctionsClient) DeleteSender ¶
func (client NetworkFunctionsClient) DeleteSender(req *http.Request) (future NetworkFunctionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (NetworkFunctionsClient) Get ¶
func (client NetworkFunctionsClient) Get(ctx context.Context, resourceGroupName string, networkFunctionName string) (result NetworkFunction, err error)
Get gets information about the specified network function resource. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. networkFunctionName - the name of the network function resource.
func (NetworkFunctionsClient) GetPreparer ¶
func (client NetworkFunctionsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkFunctionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (NetworkFunctionsClient) GetResponder ¶
func (client NetworkFunctionsClient) GetResponder(resp *http.Response) (result NetworkFunction, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (NetworkFunctionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (NetworkFunctionsClient) ListByResourceGroup ¶
func (client NetworkFunctionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result NetworkFunctionListResultPage, err error)
ListByResourceGroup lists all the network function resources in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (NetworkFunctionsClient) ListByResourceGroupComplete ¶
func (client NetworkFunctionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NetworkFunctionListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkFunctionsClient) ListByResourceGroupPreparer ¶
func (client NetworkFunctionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (NetworkFunctionsClient) ListByResourceGroupResponder ¶
func (client NetworkFunctionsClient) ListByResourceGroupResponder(resp *http.Response) (result NetworkFunctionListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (NetworkFunctionsClient) ListByResourceGroupSender ¶
func (client NetworkFunctionsClient) 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 (NetworkFunctionsClient) ListBySubscription ¶
func (client NetworkFunctionsClient) ListBySubscription(ctx context.Context) (result NetworkFunctionListResultPage, err error)
ListBySubscription lists all the network functions in a subscription.
func (NetworkFunctionsClient) ListBySubscriptionComplete ¶
func (client NetworkFunctionsClient) ListBySubscriptionComplete(ctx context.Context) (result NetworkFunctionListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkFunctionsClient) ListBySubscriptionPreparer ¶
func (client NetworkFunctionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (NetworkFunctionsClient) ListBySubscriptionResponder ¶
func (client NetworkFunctionsClient) ListBySubscriptionResponder(resp *http.Response) (result NetworkFunctionListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (NetworkFunctionsClient) ListBySubscriptionSender ¶
func (client NetworkFunctionsClient) 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 (NetworkFunctionsClient) UpdateTags ¶
func (client NetworkFunctionsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters TagsObject) (result NetworkFunction, err error)
UpdateTags updates the tags for the network function resource. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. networkFunctionName - resource name for the network function resource. parameters - parameters supplied to the update network function tags operation.
func (NetworkFunctionsClient) UpdateTagsPreparer ¶
func (client NetworkFunctionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters TagsObject) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (NetworkFunctionsClient) UpdateTagsResponder ¶
func (client NetworkFunctionsClient) UpdateTagsResponder(resp *http.Response) (result NetworkFunction, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (NetworkFunctionsClient) UpdateTagsSender ¶
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type NetworkFunctionsCreateOrUpdateFuture ¶
type NetworkFunctionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NetworkFunctionsClient) (NetworkFunction, error) }
NetworkFunctionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*NetworkFunctionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *NetworkFunctionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type NetworkFunctionsDeleteFuture ¶
type NetworkFunctionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(NetworkFunctionsClient) (autorest.Response, error) }
NetworkFunctionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*NetworkFunctionsDeleteFuture) UnmarshalJSON ¶
func (future *NetworkFunctionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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 the VM switch. Possible values include: 'VMSwitchTypeUnknown', 'VMSwitchTypeManagement', 'VMSwitchTypeWan', 'VMSwitchTypeLan' VMSwitchType VMSwitchType `json:"vmSwitchType,omitempty"` }
NetworkInterface network interface properties.
type NetworkInterfaceIPConfiguration ¶
type NetworkInterfaceIPConfiguration struct { // IPAllocationMethod - IP address allocation method. Possible values include: 'IPAllocationMethodUnknown', 'IPAllocationMethodStatic', 'IPAllocationMethodDynamic' 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.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for 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; A 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 a list of the operations.
func (OperationList) IsEmpty ¶
func (ol OperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OperationList) MarshalJSON ¶
func (ol OperationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationList.
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(cur OperationList, 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 OperationalState ¶
type OperationalState string
OperationalState enumerates the values for operational state.
const ( // OperationalStateRunning ... OperationalStateRunning OperationalState = "Running" // OperationalStateStarting ... OperationalStateStarting OperationalState = "Starting" // OperationalStateStopped ... OperationalStateStopped OperationalState = "Stopped" // OperationalStateStopping ... OperationalStateStopping OperationalState = "Stopping" // OperationalStateUnknown ... OperationalStateUnknown OperationalState = "Unknown" )
func PossibleOperationalStateValues ¶
func PossibleOperationalStateValues() []OperationalState
PossibleOperationalStateValues returns an array of possible values for the OperationalState const type.
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OsDisk ¶
type OsDisk struct { // OsType - The OS type. Possible values include: 'OperatingSystemTypesUnknown', 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux' OsType OperatingSystemTypes `json:"osType,omitempty"` // Name - The VHD name. Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // DiskSizeGB - Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` }
OsDisk specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
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"` // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,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"` // CustomDataRequired - Indicates if custom data is required to deploy this role. CustomDataRequired *bool `json:"customDataRequired,omitempty"` }
OsProfile specifies the operating system settings for the role instance.
type PreviewSubscription ¶
type PreviewSubscription struct { autorest.Response `json:"-"` // Name - READ-ONLY; The preview subscription ID. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ARM ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
PreviewSubscription customer subscription which can use a sku.
func (PreviewSubscription) MarshalJSON ¶
func (ps PreviewSubscription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PreviewSubscription.
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 a 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 ¶
func (iter *PreviewSubscriptionsListIterator) 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 (*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 ¶
func (iter PreviewSubscriptionsListIterator) Response() PreviewSubscriptionsList
Response returns the raw server response from the last page request.
func (PreviewSubscriptionsListIterator) Value ¶
func (iter PreviewSubscriptionsListIterator) Value() PreviewSubscription
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(cur PreviewSubscriptionsList, 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 ¶
func (page PreviewSubscriptionsListPage) Response() PreviewSubscriptionsList
Response returns the raw server response from the last page request.
func (PreviewSubscriptionsListPage) Values ¶
func (page PreviewSubscriptionsListPage) Values() []PreviewSubscription
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 ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type RoleInstance ¶
type RoleInstance struct { autorest.Response `json:"-"` // Name - The role instance name. Name *string `json:"name,omitempty"` // ID - The ARM ID of the resource. ID *string `json:"id,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // RoleInstanceProperties - The role instance properties. *RoleInstanceProperties `json:"properties,omitempty"` }
RoleInstance the role instance sub resource.
func (RoleInstance) MarshalJSON ¶
func (ri RoleInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoleInstance.
func (*RoleInstance) UnmarshalJSON ¶
func (ri *RoleInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoleInstance struct.
type RoleInstanceProperties ¶
type RoleInstanceProperties struct { // OperationalState - The operational state of the role instance. Possible values include: 'OperationalStateUnknown', 'OperationalStateStopped', 'OperationalStateRunning', 'OperationalStateStopping', 'OperationalStateStarting' OperationalState OperationalState `json:"operationalState,omitempty"` }
RoleInstanceProperties the role instance properties of the network function.
type RoleInstancesClient ¶
type RoleInstancesClient struct {
BaseClient
}
RoleInstancesClient is the client for the RoleInstances methods of the Hybridnetwork service.
func NewRoleInstancesClient ¶
func NewRoleInstancesClient(subscriptionID string) RoleInstancesClient
NewRoleInstancesClient creates an instance of the RoleInstancesClient client.
func NewRoleInstancesClientWithBaseURI ¶
func NewRoleInstancesClientWithBaseURI(baseURI string, subscriptionID string) RoleInstancesClient
NewRoleInstancesClientWithBaseURI creates an instance of the RoleInstancesClient 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 (RoleInstancesClient) Get ¶
func (client RoleInstancesClient) Get(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result RoleInstance, err error)
Get gets the information of role instance of vendor network function. Parameters: locationName - the Azure region where the network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function. roleInstanceName - the name of the role instance of the vendor network function.
func (RoleInstancesClient) GetPreparer ¶
func (client RoleInstancesClient) GetPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RoleInstancesClient) GetResponder ¶
func (client RoleInstancesClient) GetResponder(resp *http.Response) (result RoleInstance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RoleInstancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RoleInstancesClient) List ¶
func (client RoleInstancesClient) List(ctx context.Context, locationName string, vendorName string, serviceKey string) (result NetworkFunctionRoleInstanceListResultPage, err error)
List lists the information of role instances of vendor network function. Parameters: locationName - the Azure region where the network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function.
func (RoleInstancesClient) ListComplete ¶
func (client RoleInstancesClient) ListComplete(ctx context.Context, locationName string, vendorName string, serviceKey string) (result NetworkFunctionRoleInstanceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RoleInstancesClient) ListPreparer ¶
func (client RoleInstancesClient) ListPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string) (*http.Request, error)
ListPreparer prepares the List request.
func (RoleInstancesClient) ListResponder ¶
func (client RoleInstancesClient) ListResponder(resp *http.Response) (result NetworkFunctionRoleInstanceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RoleInstancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (RoleInstancesClient) Restart ¶
func (client RoleInstancesClient) Restart(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result RoleInstancesRestartFuture, err error)
Restart restarts a role instance of a vendor network function. Parameters: locationName - the Azure region where the network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function. roleInstanceName - the name of the role instance of the vendor network function.
func (RoleInstancesClient) RestartPreparer ¶
func (client RoleInstancesClient) RestartPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (RoleInstancesClient) RestartResponder ¶
func (client RoleInstancesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (RoleInstancesClient) RestartSender ¶
func (client RoleInstancesClient) RestartSender(req *http.Request) (future RoleInstancesRestartFuture, err error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (RoleInstancesClient) Start ¶
func (client RoleInstancesClient) Start(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result RoleInstancesStartFuture, err error)
Start starts a role instance of a vendor network function. Parameters: locationName - the Azure region where the network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function. roleInstanceName - the name of the role instance of the vendor network function.
func (RoleInstancesClient) StartPreparer ¶
func (client RoleInstancesClient) StartPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (RoleInstancesClient) StartResponder ¶
func (client RoleInstancesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (RoleInstancesClient) StartSender ¶
func (client RoleInstancesClient) StartSender(req *http.Request) (future RoleInstancesStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (RoleInstancesClient) Stop ¶
func (client RoleInstancesClient) Stop(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result RoleInstancesStopFuture, err error)
Stop powers off (stop) a role instance of a vendor network function. Parameters: locationName - the Azure region where the network function resource was created by customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function. roleInstanceName - the name of the role instance of the vendor network function.
func (RoleInstancesClient) StopPreparer ¶
func (client RoleInstancesClient) StopPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (RoleInstancesClient) StopResponder ¶
func (client RoleInstancesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (RoleInstancesClient) StopSender ¶
func (client RoleInstancesClient) StopSender(req *http.Request) (future RoleInstancesStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
type RoleInstancesRestartFuture ¶
type RoleInstancesRestartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoleInstancesClient) (autorest.Response, error) }
RoleInstancesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoleInstancesRestartFuture) UnmarshalJSON ¶
func (future *RoleInstancesRestartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type RoleInstancesStartFuture ¶
type RoleInstancesStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoleInstancesClient) (autorest.Response, error) }
RoleInstancesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoleInstancesStartFuture) UnmarshalJSON ¶
func (future *RoleInstancesStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type RoleInstancesStopFuture ¶
type RoleInstancesStopFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(RoleInstancesClient) (autorest.Response, error) }
RoleInstancesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoleInstancesStopFuture) UnmarshalJSON ¶
func (future *RoleInstancesStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
SSHConfiguration SSH configuration for Linux based VMs running on Azure
type SSHPublicKey ¶
type SSHPublicKey struct { // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys Path *string `json:"path,omitempty"` // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). KeyData *string `json:"keyData,omitempty"` }
SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
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', 'SkuTypeFirewall' SkuType SkuType `json:"skuType,omitempty"` }
SkuOverview the network function sku overview.
type SkuType ¶
type SkuType string
SkuType enumerates the values for sku type.
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.
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
type StorageProfile ¶
type StorageProfile struct { // ImageReference - The image reference properties. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - Specifies information about the operating system disk used by the virtual machine. OsDisk *OsDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine. DataDisks *[]DataDisk `json:"dataDisks,omitempty"` }
StorageProfile specifies the storage settings for the virtual machine disks.
type SubResource ¶
type SubResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` }
SubResource reference to another sub resource.
type TagsObject ¶
TagsObject tags object for patch operations.
func (TagsObject) MarshalJSON ¶
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type VMSwitchType ¶
type VMSwitchType string
VMSwitchType enumerates the values for vm switch type.
const ( // 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; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Vendor vendor resource.
func (Vendor) MarshalJSON ¶
MarshalJSON is the custom marshaler for Vendor.
func (*Vendor) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Vendor struct.
type VendorDetails ¶
type VendorDetails struct { // VendorName - The network function vendor name. VendorName *string `json:"vendorName,omitempty"` // SkuList - The network function sku list. SkuList *[]SkuOverview `json:"skuList,omitempty"` }
VendorDetails the 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 ¶
func (iter VendorListResultIterator) Response() VendorListResult
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(cur VendorListResult, 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 VendorNetworkFunction ¶
type VendorNetworkFunction struct { autorest.Response `json:"-"` // VendorNetworkFunctionPropertiesFormat - Network function details. *VendorNetworkFunctionPropertiesFormat `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
VendorNetworkFunction vendor network function sub resource.
func (VendorNetworkFunction) MarshalJSON ¶
func (vnf VendorNetworkFunction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VendorNetworkFunction.
func (*VendorNetworkFunction) UnmarshalJSON ¶
func (vnf *VendorNetworkFunction) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VendorNetworkFunction struct.
type VendorNetworkFunctionListResult ¶
type VendorNetworkFunctionListResult struct { autorest.Response `json:"-"` // Value - A list of vendor network functions. Value *[]VendorNetworkFunction `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
VendorNetworkFunctionListResult response for vendors API service call.
func (VendorNetworkFunctionListResult) IsEmpty ¶
func (vnflr VendorNetworkFunctionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (VendorNetworkFunctionListResult) MarshalJSON ¶
func (vnflr VendorNetworkFunctionListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VendorNetworkFunctionListResult.
type VendorNetworkFunctionListResultIterator ¶
type VendorNetworkFunctionListResultIterator struct {
// contains filtered or unexported fields
}
VendorNetworkFunctionListResultIterator provides access to a complete listing of VendorNetworkFunction values.
func NewVendorNetworkFunctionListResultIterator ¶
func NewVendorNetworkFunctionListResultIterator(page VendorNetworkFunctionListResultPage) VendorNetworkFunctionListResultIterator
Creates a new instance of the VendorNetworkFunctionListResultIterator type.
func (*VendorNetworkFunctionListResultIterator) Next ¶
func (iter *VendorNetworkFunctionListResultIterator) 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 (*VendorNetworkFunctionListResultIterator) NextWithContext ¶
func (iter *VendorNetworkFunctionListResultIterator) 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 (VendorNetworkFunctionListResultIterator) NotDone ¶
func (iter VendorNetworkFunctionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VendorNetworkFunctionListResultIterator) Response ¶
func (iter VendorNetworkFunctionListResultIterator) Response() VendorNetworkFunctionListResult
Response returns the raw server response from the last page request.
func (VendorNetworkFunctionListResultIterator) Value ¶
func (iter VendorNetworkFunctionListResultIterator) Value() VendorNetworkFunction
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VendorNetworkFunctionListResultPage ¶
type VendorNetworkFunctionListResultPage struct {
// contains filtered or unexported fields
}
VendorNetworkFunctionListResultPage contains a page of VendorNetworkFunction values.
func NewVendorNetworkFunctionListResultPage ¶
func NewVendorNetworkFunctionListResultPage(cur VendorNetworkFunctionListResult, getNextPage func(context.Context, VendorNetworkFunctionListResult) (VendorNetworkFunctionListResult, error)) VendorNetworkFunctionListResultPage
Creates a new instance of the VendorNetworkFunctionListResultPage type.
func (*VendorNetworkFunctionListResultPage) Next ¶
func (page *VendorNetworkFunctionListResultPage) 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 (*VendorNetworkFunctionListResultPage) NextWithContext ¶
func (page *VendorNetworkFunctionListResultPage) 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 (VendorNetworkFunctionListResultPage) NotDone ¶
func (page VendorNetworkFunctionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VendorNetworkFunctionListResultPage) Response ¶
func (page VendorNetworkFunctionListResultPage) Response() VendorNetworkFunctionListResult
Response returns the raw server response from the last page request.
func (VendorNetworkFunctionListResultPage) Values ¶
func (page VendorNetworkFunctionListResultPage) Values() []VendorNetworkFunction
Values returns the slice of values for the current page or nil if there are no values.
type VendorNetworkFunctionPropertiesFormat ¶
type VendorNetworkFunctionPropertiesFormat struct { // ProvisioningState - READ-ONLY; The provisioning state of the vendor network function sub resource. Possible values include: 'ProvisioningStateUnknown', 'ProvisioningStateSucceeded', 'ProvisioningStateAccepted', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // VendorProvisioningState - The vendor controlled provisioning state of the vendor network function. Possible values include: 'VendorProvisioningStateUnknown', 'VendorProvisioningStateNotProvisioned', 'VendorProvisioningStateProvisioning', 'VendorProvisioningStateProvisioned', 'VendorProvisioningStateDeprovisioned', 'VendorProvisioningStateUserDataValidationFailed' VendorProvisioningState VendorProvisioningState `json:"vendorProvisioningState,omitempty"` // SkuName - READ-ONLY; The name of the sku. SkuName *string `json:"skuName,omitempty"` // SkuType - READ-ONLY; The sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN', 'SkuTypeFirewall' SkuType SkuType `json:"skuType,omitempty"` // NetworkFunctionVendorConfigurations - An array of network function vendor configurations. NetworkFunctionVendorConfigurations *[]NetworkFunctionVendorConfiguration `json:"networkFunctionVendorConfigurations,omitempty"` }
VendorNetworkFunctionPropertiesFormat vendor network function properties.
func (VendorNetworkFunctionPropertiesFormat) MarshalJSON ¶
func (vnfpf VendorNetworkFunctionPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VendorNetworkFunctionPropertiesFormat.
type VendorNetworkFunctionsClient ¶
type VendorNetworkFunctionsClient struct {
BaseClient
}
VendorNetworkFunctionsClient is the client for the VendorNetworkFunctions methods of the Hybridnetwork service.
func NewVendorNetworkFunctionsClient ¶
func NewVendorNetworkFunctionsClient(subscriptionID string) VendorNetworkFunctionsClient
NewVendorNetworkFunctionsClient creates an instance of the VendorNetworkFunctionsClient client.
func NewVendorNetworkFunctionsClientWithBaseURI ¶
func NewVendorNetworkFunctionsClientWithBaseURI(baseURI string, subscriptionID string) VendorNetworkFunctionsClient
NewVendorNetworkFunctionsClientWithBaseURI creates an instance of the VendorNetworkFunctionsClient 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 (VendorNetworkFunctionsClient) CreateOrUpdate ¶
func (client VendorNetworkFunctionsClient) CreateOrUpdate(ctx context.Context, locationName string, vendorName string, serviceKey string, parameters VendorNetworkFunction) (result VendorNetworkFunctionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a vendor network function. Parameters: locationName - the Azure region where the network function resource was created by the customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function. parameters - parameters supplied to the create or update vendor network function operation.
func (VendorNetworkFunctionsClient) CreateOrUpdatePreparer ¶
func (client VendorNetworkFunctionsClient) CreateOrUpdatePreparer(ctx context.Context, locationName string, vendorName string, serviceKey string, parameters VendorNetworkFunction) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VendorNetworkFunctionsClient) CreateOrUpdateResponder ¶
func (client VendorNetworkFunctionsClient) CreateOrUpdateResponder(resp *http.Response) (result VendorNetworkFunction, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VendorNetworkFunctionsClient) CreateOrUpdateSender ¶
func (client VendorNetworkFunctionsClient) CreateOrUpdateSender(req *http.Request) (future VendorNetworkFunctionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VendorNetworkFunctionsClient) Get ¶
func (client VendorNetworkFunctionsClient) Get(ctx context.Context, locationName string, vendorName string, serviceKey string) (result VendorNetworkFunction, err error)
Get gets information about the specified vendor network function. Parameters: locationName - the Azure region where the network function resource was created by the customer. vendorName - the name of the vendor. serviceKey - the GUID for the vendor network function.
func (VendorNetworkFunctionsClient) GetPreparer ¶
func (client VendorNetworkFunctionsClient) GetPreparer(ctx context.Context, locationName string, vendorName string, serviceKey string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VendorNetworkFunctionsClient) GetResponder ¶
func (client VendorNetworkFunctionsClient) GetResponder(resp *http.Response) (result VendorNetworkFunction, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VendorNetworkFunctionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VendorNetworkFunctionsClient) List ¶
func (client VendorNetworkFunctionsClient) List(ctx context.Context, locationName string, vendorName string, filter string) (result VendorNetworkFunctionListResultPage, err error)
List lists all the vendor network function sub resources in an Azure region, filtered by skuType, skuName, vendorProvisioningState. Parameters: locationName - the Azure region where the network function resource was created by the 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 (VendorNetworkFunctionsClient) ListComplete ¶
func (client VendorNetworkFunctionsClient) ListComplete(ctx context.Context, locationName string, vendorName string, filter string) (result VendorNetworkFunctionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VendorNetworkFunctionsClient) ListPreparer ¶
func (client VendorNetworkFunctionsClient) ListPreparer(ctx context.Context, locationName string, vendorName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (VendorNetworkFunctionsClient) ListResponder ¶
func (client VendorNetworkFunctionsClient) ListResponder(resp *http.Response) (result VendorNetworkFunctionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VendorNetworkFunctionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VendorNetworkFunctionsCreateOrUpdateFuture ¶
type VendorNetworkFunctionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorNetworkFunctionsClient) (VendorNetworkFunction, error) }
VendorNetworkFunctionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorNetworkFunctionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VendorNetworkFunctionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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.
func (VendorPropertiesFormat) MarshalJSON ¶
func (vpf VendorPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VendorPropertiesFormat.
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; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
VendorSku sku sub resource.
func (VendorSku) MarshalJSON ¶
MarshalJSON is the custom marshaler for VendorSku.
func (*VendorSku) UnmarshalJSON ¶
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 ¶
func (iter VendorSkuListResultIterator) Response() VendorSkuListResult
Response returns the raw server response from the last page request.
func (VendorSkuListResultIterator) Value ¶
func (iter VendorSkuListResultIterator) Value() VendorSku
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(cur VendorSkuListResult, 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 ¶
func (page VendorSkuListResultPage) Response() VendorSkuListResult
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 create or update vendor preview subscription operation.
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 the 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 the 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 ¶
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 lists all the 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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VendorSkuPreviewCreateOrUpdateFuture ¶
type VendorSkuPreviewCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorSkuPreviewClient) (PreviewSubscription, error) }
VendorSkuPreviewCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorSkuPreviewCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VendorSkuPreviewCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VendorSkuPreviewDeleteFuture ¶
type VendorSkuPreviewDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorSkuPreviewClient) (autorest.Response, error) }
VendorSkuPreviewDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorSkuPreviewDeleteFuture) UnmarshalJSON ¶
func (future *VendorSkuPreviewDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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 - The sku type. Possible values include: 'SkuTypeUnknown', 'SkuTypeEvolvedPacketCore', 'SkuTypeSDWAN', 'SkuTypeFirewall' SkuType SkuType `json:"skuType,omitempty"` // DeploymentMode - The 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 the vendor. ManagedApplicationParameters interface{} `json:"managedApplicationParameters,omitempty"` // ManagedApplicationTemplate - The template for the managed application deployment. ManagedApplicationTemplate interface{} `json:"managedApplicationTemplate,omitempty"` // NetworkFunctionTemplate - The template definition of the network function. NetworkFunctionTemplate *NetworkFunctionTemplate `json:"networkFunctionTemplate,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 operation.
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 the 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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VendorSkusCreateOrUpdateFuture ¶
type VendorSkusCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorSkusClient) (VendorSku, error) }
VendorSkusCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorSkusCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VendorSkusCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VendorSkusDeleteFuture ¶
type VendorSkusDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorSkusClient) (autorest.Response, error) }
VendorSkusDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorSkusDeleteFuture) UnmarshalJSON ¶
func (future *VendorSkusDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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 operation.
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 ¶
Get gets information about the specified vendor. Parameters: vendorName - the name of the 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 ¶
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 ¶
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 ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
type VendorsCreateOrUpdateFuture ¶
type VendorsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorsClient) (Vendor, error) }
VendorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VendorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VendorsDeleteFuture ¶
type VendorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VendorsClient) (autorest.Response, error) }
VendorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VendorsDeleteFuture) UnmarshalJSON ¶
func (future *VendorsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualHardDisk ¶
type VirtualHardDisk struct { // URI - Specifies the virtual hard disk's uri. URI *string `json:"uri,omitempty"` }
VirtualHardDisk describes the uri of a disk.
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" // VirtualMachineSizeTypesStandardF1 ... VirtualMachineSizeTypesStandardF1 VirtualMachineSizeTypes = "Standard_F1" // VirtualMachineSizeTypesStandardF16 ... VirtualMachineSizeTypesStandardF16 VirtualMachineSizeTypes = "Standard_F16" // VirtualMachineSizeTypesStandardF16s ... VirtualMachineSizeTypesStandardF16s VirtualMachineSizeTypes = "Standard_F16s" // VirtualMachineSizeTypesStandardF1s ... VirtualMachineSizeTypesStandardF1s VirtualMachineSizeTypes = "Standard_F1s" // VirtualMachineSizeTypesStandardF2 ... VirtualMachineSizeTypesStandardF2 VirtualMachineSizeTypes = "Standard_F2" // VirtualMachineSizeTypesStandardF2s ... VirtualMachineSizeTypesStandardF2s VirtualMachineSizeTypes = "Standard_F2s" // VirtualMachineSizeTypesStandardF4 ... VirtualMachineSizeTypesStandardF4 VirtualMachineSizeTypes = "Standard_F4" // VirtualMachineSizeTypesStandardF4s ... VirtualMachineSizeTypesStandardF4s VirtualMachineSizeTypes = "Standard_F4s" // VirtualMachineSizeTypesStandardF8 ... VirtualMachineSizeTypesStandardF8 VirtualMachineSizeTypes = "Standard_F8" // VirtualMachineSizeTypesStandardF8s ... VirtualMachineSizeTypesStandardF8s VirtualMachineSizeTypes = "Standard_F8s" // VirtualMachineSizeTypesUnknown ... VirtualMachineSizeTypesUnknown VirtualMachineSizeTypes = "Unknown" )
func PossibleVirtualMachineSizeTypesValues ¶
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes
PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.