Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForStatus() []string
- func ValidateNetworkInterfaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type ExtendedLocationTypes
- type GetOperationResponse
- type IPConfiguration
- type IPConfigurationProperties
- type IPConfigurationPropertiesSubnet
- type InterfaceDNSSettings
- type ListAllCompleteResult
- type ListAllCustomPager
- type ListAllOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NetworkInterfaceId
- type NetworkInterfaceProperties
- type NetworkInterfaceStatus
- type NetworkInterfaceStatusProvisioningStatus
- type NetworkInterfaces
- type NetworkInterfacesClient
- func (c NetworkInterfacesClient) CreateOrUpdate(ctx context.Context, id NetworkInterfaceId, input NetworkInterfaces) (result CreateOrUpdateOperationResponse, err error)
- func (c NetworkInterfacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NetworkInterfaceId, input NetworkInterfaces) error
- func (c NetworkInterfacesClient) Delete(ctx context.Context, id NetworkInterfaceId) (result DeleteOperationResponse, err error)
- func (c NetworkInterfacesClient) DeleteThenPoll(ctx context.Context, id NetworkInterfaceId) error
- func (c NetworkInterfacesClient) Get(ctx context.Context, id NetworkInterfaceId) (result GetOperationResponse, err error)
- func (c NetworkInterfacesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c NetworkInterfacesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c NetworkInterfacesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c NetworkInterfacesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c NetworkInterfacesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c NetworkInterfacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c NetworkInterfacesClient) Update(ctx context.Context, id NetworkInterfaceId, ...) (result UpdateOperationResponse, err error)
- func (c NetworkInterfacesClient) UpdateThenPoll(ctx context.Context, id NetworkInterfaceId, ...) error
- type NetworkInterfacesOperationPredicate
- type NetworkInterfacesUpdateRequest
- type ProvisioningStateEnum
- type Status
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateNetworkInterfaceID ¶
ValidateNetworkInterfaceID checks that 'input' can be parsed as a Network Interface ID
Types ¶
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type ExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `json:"type,omitempty"` }
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkInterfaces }
type IPConfiguration ¶
type IPConfiguration struct { Name *string `json:"name,omitempty"` Properties *IPConfigurationProperties `json:"properties,omitempty"` }
type IPConfigurationProperties ¶
type IPConfigurationProperties struct { Gateway *string `json:"gateway,omitempty"` PrefixLength *string `json:"prefixLength,omitempty"` PrivateIPAddress *string `json:"privateIPAddress,omitempty"` Subnet *IPConfigurationPropertiesSubnet `json:"subnet,omitempty"` }
type IPConfigurationPropertiesSubnet ¶
type IPConfigurationPropertiesSubnet struct {
Id *string `json:"id,omitempty"`
}
type InterfaceDNSSettings ¶
type InterfaceDNSSettings struct {
DnsServers *[]string `json:"dnsServers,omitempty"`
}
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []NetworkInterfaces }
type ListAllCustomPager ¶
func (*ListAllCustomPager) NextPageLink ¶
func (p *ListAllCustomPager) NextPageLink() *odata.Link
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkInterfaces }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []NetworkInterfaces }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkInterfaces }
type NetworkInterfaceId ¶
type NetworkInterfaceId struct { SubscriptionId string ResourceGroupName string NetworkInterfaceName string }
NetworkInterfaceId is a struct representing the Resource ID for a Network Interface
func NewNetworkInterfaceID ¶
func NewNetworkInterfaceID(subscriptionId string, resourceGroupName string, networkInterfaceName string) NetworkInterfaceId
NewNetworkInterfaceID returns a new NetworkInterfaceId struct
func ParseNetworkInterfaceID ¶
func ParseNetworkInterfaceID(input string) (*NetworkInterfaceId, error)
ParseNetworkInterfaceID parses 'input' into a NetworkInterfaceId
func ParseNetworkInterfaceIDInsensitively ¶
func ParseNetworkInterfaceIDInsensitively(input string) (*NetworkInterfaceId, error)
ParseNetworkInterfaceIDInsensitively parses 'input' case-insensitively into a NetworkInterfaceId note: this method should only be used for API response data and not user input
func (*NetworkInterfaceId) FromParseResult ¶
func (id *NetworkInterfaceId) FromParseResult(input resourceids.ParseResult) error
func (NetworkInterfaceId) ID ¶
func (id NetworkInterfaceId) ID() string
ID returns the formatted Network Interface ID
func (NetworkInterfaceId) Segments ¶
func (id NetworkInterfaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Network Interface ID
func (NetworkInterfaceId) String ¶
func (id NetworkInterfaceId) String() string
String returns a human-readable description of this Network Interface ID
type NetworkInterfaceProperties ¶
type NetworkInterfaceProperties struct { DnsSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"` IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` MacAddress *string `json:"macAddress,omitempty"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` Status *NetworkInterfaceStatus `json:"status,omitempty"` }
type NetworkInterfaceStatus ¶
type NetworkInterfaceStatus struct { ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProvisioningStatus *NetworkInterfaceStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type NetworkInterfaces ¶
type NetworkInterfaces struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *NetworkInterfaceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NetworkInterfacesClient ¶
type NetworkInterfacesClient struct {
Client *resourcemanager.Client
}
func NewNetworkInterfacesClientWithBaseURI ¶
func NewNetworkInterfacesClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkInterfacesClient, error)
func (NetworkInterfacesClient) CreateOrUpdate ¶
func (c NetworkInterfacesClient) CreateOrUpdate(ctx context.Context, id NetworkInterfaceId, input NetworkInterfaces) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NetworkInterfacesClient) CreateOrUpdateThenPoll ¶
func (c NetworkInterfacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NetworkInterfaceId, input NetworkInterfaces) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NetworkInterfacesClient) Delete ¶
func (c NetworkInterfacesClient) Delete(ctx context.Context, id NetworkInterfaceId) (result DeleteOperationResponse, err error)
Delete ...
func (NetworkInterfacesClient) DeleteThenPoll ¶
func (c NetworkInterfacesClient) DeleteThenPoll(ctx context.Context, id NetworkInterfaceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NetworkInterfacesClient) Get ¶
func (c NetworkInterfacesClient) Get(ctx context.Context, id NetworkInterfaceId) (result GetOperationResponse, err error)
Get ...
func (NetworkInterfacesClient) List ¶
func (c NetworkInterfacesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (NetworkInterfacesClient) ListAll ¶
func (c NetworkInterfacesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (NetworkInterfacesClient) ListAllComplete ¶
func (c NetworkInterfacesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (NetworkInterfacesClient) ListAllCompleteMatchingPredicate ¶
func (c NetworkInterfacesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NetworkInterfacesOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NetworkInterfacesClient) ListComplete ¶
func (c NetworkInterfacesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (NetworkInterfacesClient) ListCompleteMatchingPredicate ¶
func (c NetworkInterfacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NetworkInterfacesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NetworkInterfacesClient) Update ¶
func (c NetworkInterfacesClient) Update(ctx context.Context, id NetworkInterfaceId, input NetworkInterfacesUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (NetworkInterfacesClient) UpdateThenPoll ¶
func (c NetworkInterfacesClient) UpdateThenPoll(ctx context.Context, id NetworkInterfaceId, input NetworkInterfacesUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type NetworkInterfacesOperationPredicate ¶
type NetworkInterfacesOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NetworkInterfacesOperationPredicate) Matches ¶
func (p NetworkInterfacesOperationPredicate) Matches(input NetworkInterfaces) bool
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumAccepted ProvisioningStateEnum = "Accepted" ProvisioningStateEnumCanceled ProvisioningStateEnum = "Canceled" ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" )
func (*ProvisioningStateEnum) UnmarshalJSON ¶
func (s *ProvisioningStateEnum) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_networkinterface.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listall.go
- method_update.go
- model_extendedlocation.go
- model_interfacednssettings.go
- model_ipconfiguration.go
- model_ipconfigurationproperties.go
- model_ipconfigurationpropertiessubnet.go
- model_networkinterfaceproperties.go
- model_networkinterfaces.go
- model_networkinterfacestatus.go
- model_networkinterfacestatusprovisioningstatus.go
- model_networkinterfacesupdaterequest.go
- predicates.go
- version.go