managedprivateendpoints

package
v0.20230323.1182043 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MPL-2.0 Imports: 8 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/managedprivateendpoints Documentation

The managedprivateendpoints SDK allows for interaction with the Azure Resource Manager Service datafactory (API Version 2018-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/managedprivateendpoints"

Client Initialization

client := managedprivateendpoints.NewManagedPrivateEndpointsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedPrivateEndpointsClient.CreateOrUpdate

ctx := context.TODO()
id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "managedVirtualNetworkValue", "managedPrivateEndpointValue")

payload := managedprivateendpoints.ManagedPrivateEndpointResource{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload, managedprivateendpoints.DefaultCreateOrUpdateOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedPrivateEndpointsClient.Delete

ctx := context.TODO()
id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "managedVirtualNetworkValue", "managedPrivateEndpointValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedPrivateEndpointsClient.Get

ctx := context.TODO()
id := managedprivateendpoints.NewManagedPrivateEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "managedVirtualNetworkValue", "managedPrivateEndpointValue")

read, err := client.Get(ctx, id, managedprivateendpoints.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagedPrivateEndpointsClient.ListByFactory

ctx := context.TODO()
id := managedprivateendpoints.NewManagedVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "managedVirtualNetworkValue")

// alternatively `client.ListByFactory(ctx, id)` can be used to do batched pagination
items, err := client.ListByFactoryComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateManagedPrivateEndpointID

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

ValidateManagedPrivateEndpointID checks that 'input' can be parsed as a Managed Private Endpoint ID

func ValidateManagedVirtualNetworkID

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

ValidateManagedVirtualNetworkID checks that 'input' can be parsed as a Managed Virtual Network ID

Types

type ConnectionStateProperties

type ConnectionStateProperties struct {
	ActionsRequired *string `json:"actionsRequired,omitempty"`
	Description     *string `json:"description,omitempty"`
	Status          *string `json:"status,omitempty"`
}

type CreateOrUpdateOperationOptions

type CreateOrUpdateOperationOptions struct {
	IfMatch *string
}

func DefaultCreateOrUpdateOperationOptions

func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *ManagedPrivateEndpointResource
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationOptions

type GetOperationOptions struct {
	IfNoneMatch *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

type GetOperationResponse

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

type ListByFactoryCompleteResult

type ListByFactoryCompleteResult struct {
	Items []ManagedPrivateEndpointResource
}

type ListByFactoryOperationResponse

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

func (ListByFactoryOperationResponse) HasMore

func (ListByFactoryOperationResponse) LoadMore

type ManagedPrivateEndpoint

type ManagedPrivateEndpoint struct {
	ConnectionState       *ConnectionStateProperties `json:"connectionState,omitempty"`
	Fqdns                 *[]string                  `json:"fqdns,omitempty"`
	GroupId               *string                    `json:"groupId,omitempty"`
	IsReserved            *bool                      `json:"isReserved,omitempty"`
	PrivateLinkResourceId *string                    `json:"privateLinkResourceId,omitempty"`
	ProvisioningState     *string                    `json:"provisioningState,omitempty"`
}

type ManagedPrivateEndpointId

type ManagedPrivateEndpointId struct {
	SubscriptionId             string
	ResourceGroupName          string
	FactoryName                string
	ManagedVirtualNetworkName  string
	ManagedPrivateEndpointName string
}

ManagedPrivateEndpointId is a struct representing the Resource ID for a Managed Private Endpoint

func NewManagedPrivateEndpointID

func NewManagedPrivateEndpointID(subscriptionId string, resourceGroupName string, factoryName string, managedVirtualNetworkName string, managedPrivateEndpointName string) ManagedPrivateEndpointId

NewManagedPrivateEndpointID returns a new ManagedPrivateEndpointId struct

func ParseManagedPrivateEndpointID

func ParseManagedPrivateEndpointID(input string) (*ManagedPrivateEndpointId, error)

ParseManagedPrivateEndpointID parses 'input' into a ManagedPrivateEndpointId

func ParseManagedPrivateEndpointIDInsensitively

func ParseManagedPrivateEndpointIDInsensitively(input string) (*ManagedPrivateEndpointId, error)

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

func (ManagedPrivateEndpointId) ID

ID returns the formatted Managed Private Endpoint ID

func (ManagedPrivateEndpointId) Segments

Segments returns a slice of Resource ID Segments which comprise this Managed Private Endpoint ID

func (ManagedPrivateEndpointId) String

func (id ManagedPrivateEndpointId) String() string

String returns a human-readable description of this Managed Private Endpoint ID

type ManagedPrivateEndpointResource

type ManagedPrivateEndpointResource struct {
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties ManagedPrivateEndpoint `json:"properties"`
	Type       *string                `json:"type,omitempty"`
}

type ManagedPrivateEndpointResourceOperationPredicate

type ManagedPrivateEndpointResourceOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ManagedPrivateEndpointResourceOperationPredicate) Matches

type ManagedPrivateEndpointsClient

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

func NewManagedPrivateEndpointsClientWithBaseURI

func NewManagedPrivateEndpointsClientWithBaseURI(endpoint string) ManagedPrivateEndpointsClient

func (ManagedPrivateEndpointsClient) CreateOrUpdate

CreateOrUpdate ...

func (ManagedPrivateEndpointsClient) Delete

Delete ...

func (ManagedPrivateEndpointsClient) Get

Get ...

func (ManagedPrivateEndpointsClient) ListByFactory

ListByFactory ...

func (ManagedPrivateEndpointsClient) ListByFactoryComplete

ListByFactoryComplete retrieves all of the results into a single object

func (ManagedPrivateEndpointsClient) ListByFactoryCompleteMatchingPredicate

ListByFactoryCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type ManagedVirtualNetworkId

type ManagedVirtualNetworkId struct {
	SubscriptionId            string
	ResourceGroupName         string
	FactoryName               string
	ManagedVirtualNetworkName string
}

ManagedVirtualNetworkId is a struct representing the Resource ID for a Managed Virtual Network

func NewManagedVirtualNetworkID

func NewManagedVirtualNetworkID(subscriptionId string, resourceGroupName string, factoryName string, managedVirtualNetworkName string) ManagedVirtualNetworkId

NewManagedVirtualNetworkID returns a new ManagedVirtualNetworkId struct

func ParseManagedVirtualNetworkID

func ParseManagedVirtualNetworkID(input string) (*ManagedVirtualNetworkId, error)

ParseManagedVirtualNetworkID parses 'input' into a ManagedVirtualNetworkId

func ParseManagedVirtualNetworkIDInsensitively

func ParseManagedVirtualNetworkIDInsensitively(input string) (*ManagedVirtualNetworkId, error)

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

func (ManagedVirtualNetworkId) ID

ID returns the formatted Managed Virtual Network ID

func (ManagedVirtualNetworkId) Segments

Segments returns a slice of Resource ID Segments which comprise this Managed Virtual Network ID

func (ManagedVirtualNetworkId) String

func (id ManagedVirtualNetworkId) String() string

String returns a human-readable description of this Managed Virtual Network ID

Jump to

Keyboard shortcuts

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