vnetpeering

package
v0.20220622.1090000 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForPeeringProvisioningState

func PossibleValuesForPeeringProvisioningState() []string

func PossibleValuesForPeeringState

func PossibleValuesForPeeringState() []string

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

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type AddressSpace

type AddressSpace struct {
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *VirtualNetworkPeering
}

type ListByWorkspaceCompleteResult

type ListByWorkspaceCompleteResult struct {
	Items []VirtualNetworkPeering
}

type ListByWorkspaceOperationResponse

type ListByWorkspaceOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualNetworkPeering
	// contains filtered or unexported fields
}

func (ListByWorkspaceOperationResponse) HasMore

func (ListByWorkspaceOperationResponse) LoadMore

type PeeringProvisioningState

type PeeringProvisioningState string
const (
	PeeringProvisioningStateDeleting  PeeringProvisioningState = "Deleting"
	PeeringProvisioningStateFailed    PeeringProvisioningState = "Failed"
	PeeringProvisioningStateSucceeded PeeringProvisioningState = "Succeeded"
	PeeringProvisioningStateUpdating  PeeringProvisioningState = "Updating"
)

type PeeringState

type PeeringState string
const (
	PeeringStateConnected    PeeringState = "Connected"
	PeeringStateDisconnected PeeringState = "Disconnected"
	PeeringStateInitiated    PeeringState = "Initiated"
)

type VNetPeeringClient

type VNetPeeringClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewVNetPeeringClientWithBaseURI

func NewVNetPeeringClientWithBaseURI(endpoint string) VNetPeeringClient

func (VNetPeeringClient) CreateOrUpdate

CreateOrUpdate ...

func (VNetPeeringClient) CreateOrUpdateThenPoll

func (c VNetPeeringClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkPeeringId, input VirtualNetworkPeering) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VNetPeeringClient) Delete

Delete ...

func (VNetPeeringClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VNetPeeringClient) Get

Get ...

func (VNetPeeringClient) ListByWorkspace

func (c VNetPeeringClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (resp ListByWorkspaceOperationResponse, err error)

ListByWorkspace ...

func (VNetPeeringClient) ListByWorkspaceComplete

func (c VNetPeeringClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)

ListByWorkspaceComplete retrieves all of the results into a single object

func (VNetPeeringClient) ListByWorkspaceCompleteMatchingPredicate

func (c VNetPeeringClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate VirtualNetworkPeeringOperationPredicate) (resp ListByWorkspaceCompleteResult, err error)

ListByWorkspaceCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type VirtualNetworkPeering

type VirtualNetworkPeering struct {
	Id         *string                               `json:"id,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties VirtualNetworkPeeringPropertiesFormat `json:"properties"`
	Type       *string                               `json:"type,omitempty"`
}

type VirtualNetworkPeeringId

type VirtualNetworkPeeringId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	PeeringName       string
}

VirtualNetworkPeeringId is a struct representing the Resource ID for a Virtual Network Peering

func NewVirtualNetworkPeeringID

func NewVirtualNetworkPeeringID(subscriptionId string, resourceGroupName string, workspaceName string, peeringName 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

ID returns the formatted Virtual Network Peering ID

func (VirtualNetworkPeeringId) Segments

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 VirtualNetworkPeeringOperationPredicate

type VirtualNetworkPeeringOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (VirtualNetworkPeeringOperationPredicate) Matches

type VirtualNetworkPeeringPropertiesFormat

type VirtualNetworkPeeringPropertiesFormat struct {
	AllowForwardedTraffic     *bool                                                          `json:"allowForwardedTraffic,omitempty"`
	AllowGatewayTransit       *bool                                                          `json:"allowGatewayTransit,omitempty"`
	AllowVirtualNetworkAccess *bool                                                          `json:"allowVirtualNetworkAccess,omitempty"`
	DatabricksAddressSpace    *AddressSpace                                                  `json:"databricksAddressSpace,omitempty"`
	DatabricksVirtualNetwork  *VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork `json:"databricksVirtualNetwork,omitempty"`
	PeeringState              *PeeringState                                                  `json:"peeringState,omitempty"`
	ProvisioningState         *PeeringProvisioningState                                      `json:"provisioningState,omitempty"`
	RemoteAddressSpace        *AddressSpace                                                  `json:"remoteAddressSpace,omitempty"`
	RemoteVirtualNetwork      VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork      `json:"remoteVirtualNetwork"`
	UseRemoteGateways         *bool                                                          `json:"useRemoteGateways,omitempty"`
}

type VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork

type VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork struct {
	Id *string `json:"id,omitempty"`
}

type VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork

type VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork struct {
	Id *string `json:"id,omitempty"`
}

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

func ParseWorkspaceID(input string) (*WorkspaceId, error)

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)

ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

func (id WorkspaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

Jump to

Keyboard shortcuts

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