azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/synapse/2019-06-01-preview/managedvirtualnetwork Index | Files | Directories

package managedvirtualnetwork

import "github.com/Azure/azure-sdk-for-go/services/preview/synapse/2019-06-01-preview/managedvirtualnetwork"

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

Index

Package Files

client.go managedprivateendpoints.go models.go version.go

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    Endpoint string
}

BaseClient is the base client for Managedvirtualnetwork.

func New Uses

func New(endpoint string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults Uses

func NewWithoutDefaults(endpoint string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type ManagedPrivateEndpoint Uses

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 Uses

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

MarshalJSON is the custom marshaler for ManagedPrivateEndpoint.

type ManagedPrivateEndpointConnectionState Uses

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 Uses

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

MarshalJSON is the custom marshaler for ManagedPrivateEndpointConnectionState.

type ManagedPrivateEndpointListResponse Uses

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 Uses

func (mpelr ManagedPrivateEndpointListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ManagedPrivateEndpointListResponse) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ManagedPrivateEndpointListResponse.

type ManagedPrivateEndpointListResponseIterator Uses

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

ManagedPrivateEndpointListResponseIterator provides access to a complete listing of ManagedPrivateEndpoint values.

func NewManagedPrivateEndpointListResponseIterator Uses

func NewManagedPrivateEndpointListResponseIterator(page ManagedPrivateEndpointListResponsePage) ManagedPrivateEndpointListResponseIterator

Creates a new instance of the ManagedPrivateEndpointListResponseIterator type.

func (*ManagedPrivateEndpointListResponseIterator) Next Uses

func (iter *ManagedPrivateEndpointListResponseIterator) Next() error

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 Uses

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 Uses

func (iter ManagedPrivateEndpointListResponseIterator) NotDone() bool

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

func (ManagedPrivateEndpointListResponseIterator) Response Uses

func (iter ManagedPrivateEndpointListResponseIterator) Response() ManagedPrivateEndpointListResponse

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

func (ManagedPrivateEndpointListResponseIterator) Value Uses

func (iter ManagedPrivateEndpointListResponseIterator) Value() ManagedPrivateEndpoint

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

type ManagedPrivateEndpointListResponsePage Uses

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

ManagedPrivateEndpointListResponsePage contains a page of ManagedPrivateEndpoint values.

func NewManagedPrivateEndpointListResponsePage Uses

func NewManagedPrivateEndpointListResponsePage(cur ManagedPrivateEndpointListResponse, getNextPage func(context.Context, ManagedPrivateEndpointListResponse) (ManagedPrivateEndpointListResponse, error)) ManagedPrivateEndpointListResponsePage

Creates a new instance of the ManagedPrivateEndpointListResponsePage type.

func (*ManagedPrivateEndpointListResponsePage) Next Uses

func (page *ManagedPrivateEndpointListResponsePage) Next() error

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 Uses

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 Uses

func (page ManagedPrivateEndpointListResponsePage) NotDone() bool

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

func (ManagedPrivateEndpointListResponsePage) Response Uses

func (page ManagedPrivateEndpointListResponsePage) Response() ManagedPrivateEndpointListResponse

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

func (ManagedPrivateEndpointListResponsePage) Values Uses

func (page ManagedPrivateEndpointListResponsePage) Values() []ManagedPrivateEndpoint

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

type ManagedPrivateEndpointProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ManagedPrivateEndpointProperties.

type ManagedPrivateEndpointsClient Uses

type ManagedPrivateEndpointsClient struct {
    BaseClient
}

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

func NewManagedPrivateEndpointsClient Uses

func NewManagedPrivateEndpointsClient(endpoint string) ManagedPrivateEndpointsClient

NewManagedPrivateEndpointsClient creates an instance of the ManagedPrivateEndpointsClient client.

func (ManagedPrivateEndpointsClient) Create Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (ManagedPrivateEndpointsClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ManagedPrivateEndpointsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ManagedPrivateEndpointsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ManagedPrivateEndpointsClient) ListResponder Uses

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 Uses

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

PathSynopsis
managedvirtualnetworkapi

Package managedvirtualnetwork imports 8 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.