Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSyncRemoteAddressSpace() []string
- func PossibleValuesForVirtualNetworkEncryptionEnforcement() []string
- func PossibleValuesForVirtualNetworkPeeringLevel() []string
- func PossibleValuesForVirtualNetworkPeeringState() []string
- func ValidateVirtualNetworkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualNetworkPeeringID(input interface{}, key string) (warnings []string, errors []error)
- type AddressSpace
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type SubResource
- type SyncRemoteAddressSpace
- type VirtualNetworkBgpCommunities
- type VirtualNetworkEncryption
- type VirtualNetworkEncryptionEnforcement
- type VirtualNetworkId
- type VirtualNetworkPeering
- type VirtualNetworkPeeringId
- func NewVirtualNetworkPeeringID(subscriptionId string, resourceGroupName string, virtualNetworkName string, ...) VirtualNetworkPeeringId
- func ParseVirtualNetworkPeeringID(input string) (*VirtualNetworkPeeringId, error)
- func ParseVirtualNetworkPeeringIDInsensitively(input string) (*VirtualNetworkPeeringId, error)
- type VirtualNetworkPeeringLevel
- type VirtualNetworkPeeringOperationPredicate
- type VirtualNetworkPeeringPropertiesFormat
- type VirtualNetworkPeeringState
- type VirtualNetworkPeeringsClient
- func (c VirtualNetworkPeeringsClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkPeeringId, input VirtualNetworkPeering, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualNetworkPeeringsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkPeeringId, input VirtualNetworkPeering, ...) error
- func (c VirtualNetworkPeeringsClient) Delete(ctx context.Context, id VirtualNetworkPeeringId) (result DeleteOperationResponse, err error)
- func (c VirtualNetworkPeeringsClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkPeeringId) error
- func (c VirtualNetworkPeeringsClient) Get(ctx context.Context, id VirtualNetworkPeeringId) (result GetOperationResponse, err error)
- func (c VirtualNetworkPeeringsClient) List(ctx context.Context, id VirtualNetworkId) (result ListOperationResponse, err error)
- func (c VirtualNetworkPeeringsClient) ListComplete(ctx context.Context, id VirtualNetworkId) (ListCompleteResult, error)
- func (c VirtualNetworkPeeringsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualNetworkId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSyncRemoteAddressSpace ¶
func PossibleValuesForSyncRemoteAddressSpace() []string
func PossibleValuesForVirtualNetworkEncryptionEnforcement ¶
func PossibleValuesForVirtualNetworkEncryptionEnforcement() []string
func PossibleValuesForVirtualNetworkPeeringLevel ¶
func PossibleValuesForVirtualNetworkPeeringLevel() []string
func PossibleValuesForVirtualNetworkPeeringState ¶
func PossibleValuesForVirtualNetworkPeeringState() []string
func ValidateVirtualNetworkID ¶
ValidateVirtualNetworkID checks that 'input' can be parsed as a Virtual Network ID
func ValidateVirtualNetworkPeeringID ¶
func ValidateVirtualNetworkPeeringID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualNetworkPeeringID checks that 'input' can be parsed as a Virtual Network Peering ID
Types ¶
type AddressSpace ¶
type AddressSpace struct {
AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
SyncRemoteAddressSpace *SyncRemoteAddressSpace
}
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualNetworkPeering }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []VirtualNetworkPeering
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetworkPeering }
type ProvisioningState ¶
type ProvisioningState string
const ( 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 SyncRemoteAddressSpace ¶
type SyncRemoteAddressSpace string
const (
SyncRemoteAddressSpaceTrue SyncRemoteAddressSpace = "true"
)
func (*SyncRemoteAddressSpace) UnmarshalJSON ¶
func (s *SyncRemoteAddressSpace) UnmarshalJSON(bytes []byte) error
type VirtualNetworkEncryption ¶
type VirtualNetworkEncryption struct { Enabled bool `json:"enabled"` Enforcement *VirtualNetworkEncryptionEnforcement `json:"enforcement,omitempty"` }
type VirtualNetworkEncryptionEnforcement ¶
type VirtualNetworkEncryptionEnforcement string
const ( VirtualNetworkEncryptionEnforcementAllowUnencrypted VirtualNetworkEncryptionEnforcement = "AllowUnencrypted" VirtualNetworkEncryptionEnforcementDropUnencrypted VirtualNetworkEncryptionEnforcement = "DropUnencrypted" )
func (*VirtualNetworkEncryptionEnforcement) UnmarshalJSON ¶
func (s *VirtualNetworkEncryptionEnforcement) UnmarshalJSON(bytes []byte) error
type VirtualNetworkId ¶
type VirtualNetworkId struct { SubscriptionId string ResourceGroupName string VirtualNetworkName string }
VirtualNetworkId is a struct representing the Resource ID for a Virtual Network
func NewVirtualNetworkID ¶
func NewVirtualNetworkID(subscriptionId string, resourceGroupName string, virtualNetworkName string) VirtualNetworkId
NewVirtualNetworkID returns a new VirtualNetworkId struct
func ParseVirtualNetworkID ¶
func ParseVirtualNetworkID(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkID parses 'input' into a VirtualNetworkId
func ParseVirtualNetworkIDInsensitively ¶
func ParseVirtualNetworkIDInsensitively(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkIDInsensitively parses 'input' case-insensitively into a VirtualNetworkId note: this method should only be used for API response data and not user input
func (VirtualNetworkId) ID ¶
func (id VirtualNetworkId) ID() string
ID returns the formatted Virtual Network ID
func (VirtualNetworkId) Segments ¶
func (id VirtualNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network ID
func (VirtualNetworkId) String ¶
func (id VirtualNetworkId) String() string
String returns a human-readable description of this Virtual Network ID
type VirtualNetworkPeering ¶
type VirtualNetworkPeering struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualNetworkPeeringId ¶
type VirtualNetworkPeeringId struct { SubscriptionId string ResourceGroupName string VirtualNetworkName string VirtualNetworkPeeringName string }
VirtualNetworkPeeringId is a struct representing the Resource ID for a Virtual Network Peering
func NewVirtualNetworkPeeringID ¶
func NewVirtualNetworkPeeringID(subscriptionId string, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) VirtualNetworkPeeringId
NewVirtualNetworkPeeringID returns a new VirtualNetworkPeeringId struct
func ParseVirtualNetworkPeeringID ¶
func ParseVirtualNetworkPeeringID(input string) (*VirtualNetworkPeeringId, error)
ParseVirtualNetworkPeeringID parses 'input' into a VirtualNetworkPeeringId
func ParseVirtualNetworkPeeringIDInsensitively ¶
func ParseVirtualNetworkPeeringIDInsensitively(input string) (*VirtualNetworkPeeringId, error)
ParseVirtualNetworkPeeringIDInsensitively parses 'input' case-insensitively into a VirtualNetworkPeeringId note: this method should only be used for API response data and not user input
func (VirtualNetworkPeeringId) ID ¶
func (id VirtualNetworkPeeringId) ID() string
ID returns the formatted Virtual Network Peering ID
func (VirtualNetworkPeeringId) Segments ¶
func (id VirtualNetworkPeeringId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network Peering ID
func (VirtualNetworkPeeringId) String ¶
func (id VirtualNetworkPeeringId) String() string
String returns a human-readable description of this Virtual Network Peering ID
type VirtualNetworkPeeringLevel ¶
type VirtualNetworkPeeringLevel string
const ( VirtualNetworkPeeringLevelFullyInSync VirtualNetworkPeeringLevel = "FullyInSync" VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync" VirtualNetworkPeeringLevelLocalNotInSync VirtualNetworkPeeringLevel = "LocalNotInSync" VirtualNetworkPeeringLevelRemoteNotInSync VirtualNetworkPeeringLevel = "RemoteNotInSync" )
func (*VirtualNetworkPeeringLevel) UnmarshalJSON ¶
func (s *VirtualNetworkPeeringLevel) UnmarshalJSON(bytes []byte) error
type VirtualNetworkPeeringOperationPredicate ¶
type VirtualNetworkPeeringOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (VirtualNetworkPeeringOperationPredicate) Matches ¶
func (p VirtualNetworkPeeringOperationPredicate) Matches(input VirtualNetworkPeering) bool
type VirtualNetworkPeeringPropertiesFormat ¶
type VirtualNetworkPeeringPropertiesFormat struct { AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"` AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"` AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"` DoNotVerifyRemoteGateways *bool `json:"doNotVerifyRemoteGateways,omitempty"` PeeringState *VirtualNetworkPeeringState `json:"peeringState,omitempty"` PeeringSyncLevel *VirtualNetworkPeeringLevel `json:"peeringSyncLevel,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"` RemoteBgpCommunities *VirtualNetworkBgpCommunities `json:"remoteBgpCommunities,omitempty"` RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` RemoteVirtualNetworkAddressSpace *AddressSpace `json:"remoteVirtualNetworkAddressSpace,omitempty"` RemoteVirtualNetworkEncryption *VirtualNetworkEncryption `json:"remoteVirtualNetworkEncryption,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"` }
type VirtualNetworkPeeringState ¶
type VirtualNetworkPeeringState string
const ( VirtualNetworkPeeringStateConnected VirtualNetworkPeeringState = "Connected" VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected" VirtualNetworkPeeringStateInitiated VirtualNetworkPeeringState = "Initiated" )
func (*VirtualNetworkPeeringState) UnmarshalJSON ¶
func (s *VirtualNetworkPeeringState) UnmarshalJSON(bytes []byte) error
type VirtualNetworkPeeringsClient ¶
type VirtualNetworkPeeringsClient struct {
Client *resourcemanager.Client
}
func NewVirtualNetworkPeeringsClientWithBaseURI ¶
func NewVirtualNetworkPeeringsClientWithBaseURI(api environments.Api) (*VirtualNetworkPeeringsClient, error)
func (VirtualNetworkPeeringsClient) CreateOrUpdate ¶
func (c VirtualNetworkPeeringsClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkPeeringId, input VirtualNetworkPeering, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualNetworkPeeringsClient) CreateOrUpdateThenPoll ¶
func (c VirtualNetworkPeeringsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkPeeringId, input VirtualNetworkPeering, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualNetworkPeeringsClient) Delete ¶
func (c VirtualNetworkPeeringsClient) Delete(ctx context.Context, id VirtualNetworkPeeringId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworkPeeringsClient) DeleteThenPoll ¶
func (c VirtualNetworkPeeringsClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkPeeringId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualNetworkPeeringsClient) Get ¶
func (c VirtualNetworkPeeringsClient) Get(ctx context.Context, id VirtualNetworkPeeringId) (result GetOperationResponse, err error)
Get ...
func (VirtualNetworkPeeringsClient) List ¶
func (c VirtualNetworkPeeringsClient) List(ctx context.Context, id VirtualNetworkId) (result ListOperationResponse, err error)
List ...
func (VirtualNetworkPeeringsClient) ListComplete ¶
func (c VirtualNetworkPeeringsClient) ListComplete(ctx context.Context, id VirtualNetworkId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualNetworkPeeringsClient) ListCompleteMatchingPredicate ¶
func (c VirtualNetworkPeeringsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualNetworkId, predicate VirtualNetworkPeeringOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_virtualnetwork.go
- id_virtualnetworkpeering.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_addressspace.go
- model_subresource.go
- model_virtualnetworkbgpcommunities.go
- model_virtualnetworkencryption.go
- model_virtualnetworkpeering.go
- model_virtualnetworkpeeringpropertiesformat.go
- predicates.go
- version.go