integrationaccountpartners

package
v0.20230419.1172249 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/integrationaccountpartners Documentation

The integrationaccountpartners SDK allows for interaction with the Azure Resource Manager Service logic (API Version 2019-05-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/logic/2019-05-01/integrationaccountpartners"

Client Initialization

client := integrationaccountpartners.NewIntegrationAccountPartnersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationAccountPartnersClient.CreateOrUpdate

ctx := context.TODO()
id := integrationaccountpartners.NewPartnerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "partnerValue")

payload := integrationaccountpartners.IntegrationAccountPartner{
	// ...
}


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

Example Usage: IntegrationAccountPartnersClient.Delete

ctx := context.TODO()
id := integrationaccountpartners.NewPartnerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "partnerValue")

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: IntegrationAccountPartnersClient.Get

ctx := context.TODO()
id := integrationaccountpartners.NewPartnerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "partnerValue")

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

Example Usage: IntegrationAccountPartnersClient.List

ctx := context.TODO()
id := integrationaccountpartners.NewIntegrationAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue")

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

Example Usage: IntegrationAccountPartnersClient.ListContentCallbackUrl

ctx := context.TODO()
id := integrationaccountpartners.NewPartnerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "partnerValue")

payload := integrationaccountpartners.GetCallbackUrlParameters{
	// ...
}


read, err := client.ListContentCallbackUrl(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 PossibleValuesForKeyType

func PossibleValuesForKeyType() []string

func PossibleValuesForPartnerType

func PossibleValuesForPartnerType() []string

func ValidateIntegrationAccountID

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

ValidateIntegrationAccountID checks that 'input' can be parsed as a Integration Account ID

func ValidatePartnerID

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

ValidatePartnerID checks that 'input' can be parsed as a Partner ID

Types

type B2BPartnerContent

type B2BPartnerContent struct {
	BusinessIdentities *[]BusinessIdentity `json:"businessIdentities,omitempty"`
}

type BusinessIdentity

type BusinessIdentity struct {
	Qualifier string `json:"qualifier"`
	Value     string `json:"value"`
}

type CreateOrUpdateOperationResponse

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

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetCallbackUrlParameters

type GetCallbackUrlParameters struct {
	KeyType  *KeyType `json:"keyType,omitempty"`
	NotAfter *string  `json:"notAfter,omitempty"`
}

func (*GetCallbackUrlParameters) GetNotAfterAsTime

func (o *GetCallbackUrlParameters) GetNotAfterAsTime() (*time.Time, error)

func (*GetCallbackUrlParameters) SetNotAfterAsTime

func (o *GetCallbackUrlParameters) SetNotAfterAsTime(input time.Time)

type GetOperationResponse

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

type IntegrationAccountId

type IntegrationAccountId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
}

IntegrationAccountId is a struct representing the Resource ID for a Integration Account

func NewIntegrationAccountID

func NewIntegrationAccountID(subscriptionId string, resourceGroupName string, integrationAccountName string) IntegrationAccountId

NewIntegrationAccountID returns a new IntegrationAccountId struct

func ParseIntegrationAccountID

func ParseIntegrationAccountID(input string) (*IntegrationAccountId, error)

ParseIntegrationAccountID parses 'input' into a IntegrationAccountId

func ParseIntegrationAccountIDInsensitively

func ParseIntegrationAccountIDInsensitively(input string) (*IntegrationAccountId, error)

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

func (IntegrationAccountId) ID

func (id IntegrationAccountId) ID() string

ID returns the formatted Integration Account ID

func (IntegrationAccountId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Integration Account ID

func (IntegrationAccountId) String

func (id IntegrationAccountId) String() string

String returns a human-readable description of this Integration Account ID

type IntegrationAccountPartner

type IntegrationAccountPartner struct {
	Id         *string                             `json:"id,omitempty"`
	Location   *string                             `json:"location,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Properties IntegrationAccountPartnerProperties `json:"properties"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
	Type       *string                             `json:"type,omitempty"`
}

type IntegrationAccountPartnerOperationPredicate

type IntegrationAccountPartnerOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (IntegrationAccountPartnerOperationPredicate) Matches

type IntegrationAccountPartnerProperties

type IntegrationAccountPartnerProperties struct {
	ChangedTime *string        `json:"changedTime,omitempty"`
	Content     PartnerContent `json:"content"`
	CreatedTime *string        `json:"createdTime,omitempty"`
	Metadata    *interface{}   `json:"metadata,omitempty"`
	PartnerType PartnerType    `json:"partnerType"`
}

func (*IntegrationAccountPartnerProperties) GetChangedTimeAsTime

func (o *IntegrationAccountPartnerProperties) GetChangedTimeAsTime() (*time.Time, error)

func (*IntegrationAccountPartnerProperties) GetCreatedTimeAsTime

func (o *IntegrationAccountPartnerProperties) GetCreatedTimeAsTime() (*time.Time, error)

func (*IntegrationAccountPartnerProperties) SetChangedTimeAsTime

func (o *IntegrationAccountPartnerProperties) SetChangedTimeAsTime(input time.Time)

func (*IntegrationAccountPartnerProperties) SetCreatedTimeAsTime

func (o *IntegrationAccountPartnerProperties) SetCreatedTimeAsTime(input time.Time)

type IntegrationAccountPartnersClient

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

func NewIntegrationAccountPartnersClientWithBaseURI

func NewIntegrationAccountPartnersClientWithBaseURI(endpoint string) IntegrationAccountPartnersClient

func (IntegrationAccountPartnersClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationAccountPartnersClient) Delete

Delete ...

func (IntegrationAccountPartnersClient) Get

Get ...

func (IntegrationAccountPartnersClient) List

List ...

func (IntegrationAccountPartnersClient) ListComplete

ListComplete retrieves all of the results into a single object

func (IntegrationAccountPartnersClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (IntegrationAccountPartnersClient) ListContentCallbackUrl

ListContentCallbackUrl ...

type KeyType

type KeyType string
const (
	KeyTypeNotSpecified KeyType = "NotSpecified"
	KeyTypePrimary      KeyType = "Primary"
	KeyTypeSecondary    KeyType = "Secondary"
)

type ListCompleteResult

type ListCompleteResult struct {
	Items []IntegrationAccountPartner
}

type ListContentCallbackUrlOperationResponse

type ListContentCallbackUrlOperationResponse struct {
	HttpResponse *http.Response
	Model        *WorkflowTriggerCallbackUrl
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

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

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type PartnerContent

type PartnerContent struct {
	B2b *B2BPartnerContent `json:"b2b,omitempty"`
}

type PartnerId

type PartnerId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
	PartnerName            string
}

PartnerId is a struct representing the Resource ID for a Partner

func NewPartnerID

func NewPartnerID(subscriptionId string, resourceGroupName string, integrationAccountName string, partnerName string) PartnerId

NewPartnerID returns a new PartnerId struct

func ParsePartnerID

func ParsePartnerID(input string) (*PartnerId, error)

ParsePartnerID parses 'input' into a PartnerId

func ParsePartnerIDInsensitively

func ParsePartnerIDInsensitively(input string) (*PartnerId, error)

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

func (PartnerId) ID

func (id PartnerId) ID() string

ID returns the formatted Partner ID

func (PartnerId) Segments

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

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

func (PartnerId) String

func (id PartnerId) String() string

String returns a human-readable description of this Partner ID

type PartnerType

type PartnerType string
const (
	PartnerTypeBTwoB        PartnerType = "B2B"
	PartnerTypeNotSpecified PartnerType = "NotSpecified"
)

type WorkflowTriggerCallbackUrl

type WorkflowTriggerCallbackUrl struct {
	BasePath               *string                                `json:"basePath,omitempty"`
	Method                 *string                                `json:"method,omitempty"`
	Queries                *WorkflowTriggerListCallbackUrlQueries `json:"queries,omitempty"`
	RelativePath           *string                                `json:"relativePath,omitempty"`
	RelativePathParameters *[]string                              `json:"relativePathParameters,omitempty"`
	Value                  *string                                `json:"value,omitempty"`
}

type WorkflowTriggerListCallbackUrlQueries

type WorkflowTriggerListCallbackUrlQueries struct {
	ApiVersion *string `json:"api-version,omitempty"`
	Se         *string `json:"se,omitempty"`
	Sig        *string `json:"sig,omitempty"`
	Sp         *string `json:"sp,omitempty"`
	Sv         *string `json:"sv,omitempty"`
}

Jump to

Keyboard shortcuts

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