Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVirtualNetworkLinkState() []string
- func ValidatePrivateDnsZoneID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualNetworkLinkID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PrivateDnsZoneId
- type ProvisioningState
- type SubResource
- type UpdateOperationOptions
- type UpdateOperationResponse
- type VirtualNetworkLink
- type VirtualNetworkLinkId
- type VirtualNetworkLinkOperationPredicate
- type VirtualNetworkLinkProperties
- type VirtualNetworkLinkState
- type VirtualNetworkLinksClient
- func (c VirtualNetworkLinksClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualNetworkLinksClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, ...) error
- func (c VirtualNetworkLinksClient) Delete(ctx context.Context, id VirtualNetworkLinkId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VirtualNetworkLinksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkLinkId, options DeleteOperationOptions) error
- func (c VirtualNetworkLinksClient) Get(ctx context.Context, id VirtualNetworkLinkId) (result GetOperationResponse, err error)
- func (c VirtualNetworkLinksClient) List(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c VirtualNetworkLinksClient) ListComplete(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (ListCompleteResult, error)
- func (c VirtualNetworkLinksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c VirtualNetworkLinksClient) Update(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, ...) (result UpdateOperationResponse, err error)
- func (c VirtualNetworkLinksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVirtualNetworkLinkState ¶
func PossibleValuesForVirtualNetworkLinkState() []string
func ValidatePrivateDnsZoneID ¶
ValidatePrivateDnsZoneID checks that 'input' can be parsed as a Private Dns Zone ID
func ValidateVirtualNetworkLinkID ¶
func ValidateVirtualNetworkLinkID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualNetworkLinkID checks that 'input' can be parsed as a Virtual Network Link ID
Types ¶
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualNetworkLink }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetworkLink }
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetworkLink }
type PrivateDnsZoneId ¶
type PrivateDnsZoneId struct { SubscriptionId string ResourceGroupName string PrivateDnsZoneName string }
PrivateDnsZoneId is a struct representing the Resource ID for a Private Dns Zone
func NewPrivateDnsZoneID ¶
func NewPrivateDnsZoneID(subscriptionId string, resourceGroupName string, privateDnsZoneName string) PrivateDnsZoneId
NewPrivateDnsZoneID returns a new PrivateDnsZoneId struct
func ParsePrivateDnsZoneID ¶
func ParsePrivateDnsZoneID(input string) (*PrivateDnsZoneId, error)
ParsePrivateDnsZoneID parses 'input' into a PrivateDnsZoneId
func ParsePrivateDnsZoneIDInsensitively ¶
func ParsePrivateDnsZoneIDInsensitively(input string) (*PrivateDnsZoneId, error)
ParsePrivateDnsZoneIDInsensitively parses 'input' case-insensitively into a PrivateDnsZoneId note: this method should only be used for API response data and not user input
func (*PrivateDnsZoneId) FromParseResult ¶
func (id *PrivateDnsZoneId) FromParseResult(input resourceids.ParseResult) error
func (PrivateDnsZoneId) ID ¶
func (id PrivateDnsZoneId) ID() string
ID returns the formatted Private Dns Zone ID
func (PrivateDnsZoneId) Segments ¶
func (id PrivateDnsZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Dns Zone ID
func (PrivateDnsZoneId) String ¶
func (id PrivateDnsZoneId) String() string
String returns a human-readable description of this Private Dns Zone ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type VirtualNetworkLink ¶
type VirtualNetworkLink struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualNetworkLinkProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualNetworkLinkId ¶
type VirtualNetworkLinkId struct { SubscriptionId string ResourceGroupName string PrivateDnsZoneName string VirtualNetworkLinkName string }
VirtualNetworkLinkId is a struct representing the Resource ID for a Virtual Network Link
func NewVirtualNetworkLinkID ¶
func NewVirtualNetworkLinkID(subscriptionId string, resourceGroupName string, privateDnsZoneName string, virtualNetworkLinkName string) VirtualNetworkLinkId
NewVirtualNetworkLinkID returns a new VirtualNetworkLinkId struct
func ParseVirtualNetworkLinkID ¶
func ParseVirtualNetworkLinkID(input string) (*VirtualNetworkLinkId, error)
ParseVirtualNetworkLinkID parses 'input' into a VirtualNetworkLinkId
func ParseVirtualNetworkLinkIDInsensitively ¶
func ParseVirtualNetworkLinkIDInsensitively(input string) (*VirtualNetworkLinkId, error)
ParseVirtualNetworkLinkIDInsensitively parses 'input' case-insensitively into a VirtualNetworkLinkId note: this method should only be used for API response data and not user input
func (*VirtualNetworkLinkId) FromParseResult ¶
func (id *VirtualNetworkLinkId) FromParseResult(input resourceids.ParseResult) error
func (VirtualNetworkLinkId) ID ¶
func (id VirtualNetworkLinkId) ID() string
ID returns the formatted Virtual Network Link ID
func (VirtualNetworkLinkId) Segments ¶
func (id VirtualNetworkLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network Link ID
func (VirtualNetworkLinkId) String ¶
func (id VirtualNetworkLinkId) String() string
String returns a human-readable description of this Virtual Network Link ID
type VirtualNetworkLinkOperationPredicate ¶
type VirtualNetworkLinkOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (VirtualNetworkLinkOperationPredicate) Matches ¶
func (p VirtualNetworkLinkOperationPredicate) Matches(input VirtualNetworkLink) bool
type VirtualNetworkLinkProperties ¶
type VirtualNetworkLinkProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationEnabled *bool `json:"registrationEnabled,omitempty"` VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` VirtualNetworkLinkState *VirtualNetworkLinkState `json:"virtualNetworkLinkState,omitempty"` }
type VirtualNetworkLinkState ¶
type VirtualNetworkLinkState string
const ( VirtualNetworkLinkStateCompleted VirtualNetworkLinkState = "Completed" VirtualNetworkLinkStateInProgress VirtualNetworkLinkState = "InProgress" )
func (*VirtualNetworkLinkState) UnmarshalJSON ¶
func (s *VirtualNetworkLinkState) UnmarshalJSON(bytes []byte) error
type VirtualNetworkLinksClient ¶
type VirtualNetworkLinksClient struct {
Client *resourcemanager.Client
}
func NewVirtualNetworkLinksClientWithBaseURI ¶
func NewVirtualNetworkLinksClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworkLinksClient, error)
func (VirtualNetworkLinksClient) CreateOrUpdate ¶
func (c VirtualNetworkLinksClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualNetworkLinksClient) CreateOrUpdateThenPoll ¶
func (c VirtualNetworkLinksClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualNetworkLinksClient) Delete ¶
func (c VirtualNetworkLinksClient) Delete(ctx context.Context, id VirtualNetworkLinkId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworkLinksClient) DeleteThenPoll ¶
func (c VirtualNetworkLinksClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkLinkId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualNetworkLinksClient) Get ¶
func (c VirtualNetworkLinksClient) Get(ctx context.Context, id VirtualNetworkLinkId) (result GetOperationResponse, err error)
Get ...
func (VirtualNetworkLinksClient) List ¶
func (c VirtualNetworkLinksClient) List(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VirtualNetworkLinksClient) ListComplete ¶
func (c VirtualNetworkLinksClient) ListComplete(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualNetworkLinksClient) ListCompleteMatchingPredicate ¶
func (c VirtualNetworkLinksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions, predicate VirtualNetworkLinkOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualNetworkLinksClient) Update ¶
func (c VirtualNetworkLinksClient) Update(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (VirtualNetworkLinksClient) UpdateThenPoll ¶
func (c VirtualNetworkLinksClient) UpdateThenPoll(ctx context.Context, id VirtualNetworkLinkId, input VirtualNetworkLink, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed