managedvirtualnetwork

package
v54.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package managedvirtualnetwork implements the Azure ARM Managedvirtualnetwork service API version 2019-06-01-preview.

Index

Constants

This section is empty.

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 BaseClient

type BaseClient struct {
	autorest.Client
	Endpoint string
}

BaseClient is the base client for Managedvirtualnetwork.

func New

func New(endpoint string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(endpoint string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type ManagedPrivateEndpoint

type ManagedPrivateEndpoint struct {
	autorest.Response `json:"-"`
	// 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
	Type *string `json:"type,omitempty"`
	// Properties - Managed private endpoint properties
	Properties *ManagedPrivateEndpointProperties `json:"properties,omitempty"`
}

ManagedPrivateEndpoint managed private endpoint

func (ManagedPrivateEndpoint) MarshalJSON

func (mpe ManagedPrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedPrivateEndpoint.

type ManagedPrivateEndpointConnectionState

type ManagedPrivateEndpointConnectionState struct {
	// Status - READ-ONLY; The approval status
	Status *string `json:"status,omitempty"`
	// Description - The managed private endpoint description
	Description *string `json:"description,omitempty"`
	// ActionsRequired - The actions required on the managed private endpoint
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

ManagedPrivateEndpointConnectionState the connection state of a managed private endpoint

func (ManagedPrivateEndpointConnectionState) MarshalJSON

func (mpecs ManagedPrivateEndpointConnectionState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedPrivateEndpointConnectionState.

type ManagedPrivateEndpointListResponse

type ManagedPrivateEndpointListResponse struct {
	autorest.Response `json:"-"`
	// Value - List of managed private endpoints
	Value *[]ManagedPrivateEndpoint `json:"value,omitempty"`
	// NextLink - READ-ONLY; The link to the next page of results, if any remaining results exist.
	NextLink *string `json:"nextLink,omitempty"`
}

ManagedPrivateEndpointListResponse a list of managed private endpoints

func (ManagedPrivateEndpointListResponse) IsEmpty

func (mpelr ManagedPrivateEndpointListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ManagedPrivateEndpointListResponse) MarshalJSON

func (mpelr ManagedPrivateEndpointListResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedPrivateEndpointListResponse.

type ManagedPrivateEndpointListResponseIterator

type ManagedPrivateEndpointListResponseIterator struct {
	// contains filtered or unexported fields
}

ManagedPrivateEndpointListResponseIterator provides access to a complete listing of ManagedPrivateEndpoint values.

func NewManagedPrivateEndpointListResponseIterator

func NewManagedPrivateEndpointListResponseIterator(page ManagedPrivateEndpointListResponsePage) ManagedPrivateEndpointListResponseIterator

Creates a new instance of the ManagedPrivateEndpointListResponseIterator type.

func (*ManagedPrivateEndpointListResponseIterator) Next

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 (*ManagedPrivateEndpointListResponseIterator) NextWithContext

func (iter *ManagedPrivateEndpointListResponseIterator) 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 (ManagedPrivateEndpointListResponseIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ManagedPrivateEndpointListResponseIterator) Response

Response returns the raw server response from the last page request.

func (ManagedPrivateEndpointListResponseIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ManagedPrivateEndpointListResponsePage

type ManagedPrivateEndpointListResponsePage struct {
	// contains filtered or unexported fields
}

ManagedPrivateEndpointListResponsePage contains a page of ManagedPrivateEndpoint values.

func NewManagedPrivateEndpointListResponsePage

Creates a new instance of the ManagedPrivateEndpointListResponsePage type.

func (*ManagedPrivateEndpointListResponsePage) Next

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 (*ManagedPrivateEndpointListResponsePage) NextWithContext

func (page *ManagedPrivateEndpointListResponsePage) 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 (ManagedPrivateEndpointListResponsePage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ManagedPrivateEndpointListResponsePage) Response

Response returns the raw server response from the last page request.

func (ManagedPrivateEndpointListResponsePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ManagedPrivateEndpointProperties

type ManagedPrivateEndpointProperties struct {
	// PrivateLinkResourceID - The ARM resource ID of the resource to which the managed private endpoint is created
	PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"`
	// GroupID - The groupId to which the managed private endpoint is created
	GroupID *string `json:"groupId,omitempty"`
	// ProvisioningState - READ-ONLY; The managed private endpoint provisioning state
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// ConnectionState - The managed private endpoint connection state
	ConnectionState *ManagedPrivateEndpointConnectionState `json:"connectionState,omitempty"`
	// IsReserved - READ-ONLY; Denotes whether the managed private endpoint is reserved
	IsReserved *bool `json:"isReserved,omitempty"`
}

ManagedPrivateEndpointProperties properties of a managed private endpoint

func (ManagedPrivateEndpointProperties) MarshalJSON

func (mpep ManagedPrivateEndpointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedPrivateEndpointProperties.

type ManagedPrivateEndpointsClient

type ManagedPrivateEndpointsClient struct {
	BaseClient
}

ManagedPrivateEndpointsClient is the client for the ManagedPrivateEndpoints methods of the Managedvirtualnetwork service.

func NewManagedPrivateEndpointsClient

func NewManagedPrivateEndpointsClient(endpoint string) ManagedPrivateEndpointsClient

NewManagedPrivateEndpointsClient creates an instance of the ManagedPrivateEndpointsClient client.

func (ManagedPrivateEndpointsClient) Create

func (client ManagedPrivateEndpointsClient) Create(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string, managedPrivateEndpoint ManagedPrivateEndpoint) (result ManagedPrivateEndpoint, err error)

Create create Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name managedPrivateEndpoint - managed private endpoint properties.

func (ManagedPrivateEndpointsClient) CreatePreparer

func (client ManagedPrivateEndpointsClient) CreatePreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string, managedPrivateEndpoint ManagedPrivateEndpoint) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ManagedPrivateEndpointsClient) CreateResponder

func (client ManagedPrivateEndpointsClient) CreateResponder(resp *http.Response) (result ManagedPrivateEndpoint, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ManagedPrivateEndpointsClient) CreateSender

func (client ManagedPrivateEndpointsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ManagedPrivateEndpointsClient) Delete

func (client ManagedPrivateEndpointsClient) Delete(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (result autorest.Response, err error)

Delete delete Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name

func (ManagedPrivateEndpointsClient) DeletePreparer

func (client ManagedPrivateEndpointsClient) DeletePreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ManagedPrivateEndpointsClient) DeleteResponder

func (client ManagedPrivateEndpointsClient) 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 (ManagedPrivateEndpointsClient) DeleteSender

func (client ManagedPrivateEndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ManagedPrivateEndpointsClient) Get

func (client ManagedPrivateEndpointsClient) Get(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (result ManagedPrivateEndpoint, err error)

Get get Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name managedPrivateEndpointName - managed private endpoint name

func (ManagedPrivateEndpointsClient) GetPreparer

func (client ManagedPrivateEndpointsClient) GetPreparer(ctx context.Context, managedVirtualNetworkName string, managedPrivateEndpointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ManagedPrivateEndpointsClient) GetResponder

func (client ManagedPrivateEndpointsClient) GetResponder(resp *http.Response) (result ManagedPrivateEndpoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ManagedPrivateEndpointsClient) GetSender

func (client ManagedPrivateEndpointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ManagedPrivateEndpointsClient) List

func (client ManagedPrivateEndpointsClient) List(ctx context.Context, managedVirtualNetworkName string) (result ManagedPrivateEndpointListResponsePage, err error)

List list Managed Private Endpoints Parameters: managedVirtualNetworkName - managed virtual network name

func (ManagedPrivateEndpointsClient) ListComplete

func (client ManagedPrivateEndpointsClient) ListComplete(ctx context.Context, managedVirtualNetworkName string) (result ManagedPrivateEndpointListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ManagedPrivateEndpointsClient) ListPreparer

func (client ManagedPrivateEndpointsClient) ListPreparer(ctx context.Context, managedVirtualNetworkName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ManagedPrivateEndpointsClient) ListResponder

func (client ManagedPrivateEndpointsClient) ListResponder(resp *http.Response) (result ManagedPrivateEndpointListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ManagedPrivateEndpointsClient) ListSender

func (client ManagedPrivateEndpointsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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