backendreconnect

package
v0.20240123.1162016 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2021-08-01/backendreconnect Documentation

The backendreconnect SDK allows for interaction with the Azure Resource Manager Service apimanagement (API Version 2021-08-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/apimanagement/2021-08-01/backendreconnect"

Client Initialization

client := backendreconnect.NewBackendReconnectClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BackendReconnectClient.BackendReconnect

ctx := context.TODO()
id := backendreconnect.NewBackendID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "backendIdValue")

payload := backendreconnect.BackendReconnectContract{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBackendID

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

ValidateBackendID checks that 'input' can be parsed as a Backend ID

Types

type BackendId

type BackendId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	BackendId         string
}

BackendId is a struct representing the Resource ID for a Backend

func NewBackendID

func NewBackendID(subscriptionId string, resourceGroupName string, serviceName string, backendId string) BackendId

NewBackendID returns a new BackendId struct

func ParseBackendID

func ParseBackendID(input string) (*BackendId, error)

ParseBackendID parses 'input' into a BackendId

func ParseBackendIDInsensitively

func ParseBackendIDInsensitively(input string) (*BackendId, error)

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

func (*BackendId) FromParseResult added in v0.20231127.1171502

func (id *BackendId) FromParseResult(input resourceids.ParseResult) error

func (BackendId) ID

func (id BackendId) ID() string

ID returns the formatted Backend ID

func (BackendId) Segments

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

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

func (BackendId) String

func (id BackendId) String() string

String returns a human-readable description of this Backend ID

type BackendReconnectClient

type BackendReconnectClient struct {
	Client *resourcemanager.Client
}

func NewBackendReconnectClientWithBaseURI

func NewBackendReconnectClientWithBaseURI(sdkApi sdkEnv.Api) (*BackendReconnectClient, error)

func (BackendReconnectClient) BackendReconnect

BackendReconnect ...

type BackendReconnectContract

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

type BackendReconnectOperationResponse

type BackendReconnectOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type BackendReconnectProperties

type BackendReconnectProperties struct {
	After *string `json:"after,omitempty"`
}

Jump to

Keyboard shortcuts

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