integrationaccountmaps

package
v0.20230823.1052657 Latest Latest
Warning

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

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

README

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

The integrationaccountmaps 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/integrationaccountmaps"

Client Initialization

client := integrationaccountmaps.NewIntegrationAccountMapsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationAccountMapsClient.CreateOrUpdate

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

payload := integrationaccountmaps.IntegrationAccountMap{
	// ...
}


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: IntegrationAccountMapsClient.Delete

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

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

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

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: IntegrationAccountMapsClient.List

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

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

Example Usage: IntegrationAccountMapsClient.ListContentCallbackUrl

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

payload := integrationaccountmaps.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 PossibleValuesForMapType

func PossibleValuesForMapType() []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 ValidateMapID

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

ValidateMapID checks that 'input' can be parsed as a Map ID

Types

type ContentHash

type ContentHash struct {
	Algorithm *string `json:"algorithm,omitempty"`
	Value     *string `json:"value,omitempty"`
}
type ContentLink struct {
	ContentHash    *ContentHash `json:"contentHash,omitempty"`
	ContentSize    *int64       `json:"contentSize,omitempty"`
	ContentVersion *string      `json:"contentVersion,omitempty"`
	Metadata       *interface{} `json:"metadata,omitempty"`
	Uri            *string      `json:"uri,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *IntegrationAccountMap
}

type DeleteOperationResponse

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

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
	OData        *odata.OData
	Model        *IntegrationAccountMap
}

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 IntegrationAccountMap

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

type IntegrationAccountMapOperationPredicate

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

func (IntegrationAccountMapOperationPredicate) Matches

type IntegrationAccountMapProperties

type IntegrationAccountMapProperties struct {
	ChangedTime      *string                                          `json:"changedTime,omitempty"`
	Content          *string                                          `json:"content,omitempty"`
	ContentLink      *ContentLink                                     `json:"contentLink,omitempty"`
	ContentType      *string                                          `json:"contentType,omitempty"`
	CreatedTime      *string                                          `json:"createdTime,omitempty"`
	MapType          MapType                                          `json:"mapType"`
	Metadata         *interface{}                                     `json:"metadata,omitempty"`
	ParametersSchema *IntegrationAccountMapPropertiesParametersSchema `json:"parametersSchema,omitempty"`
}

func (*IntegrationAccountMapProperties) GetChangedTimeAsTime

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

func (*IntegrationAccountMapProperties) GetCreatedTimeAsTime

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

func (*IntegrationAccountMapProperties) SetChangedTimeAsTime

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

func (*IntegrationAccountMapProperties) SetCreatedTimeAsTime

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

type IntegrationAccountMapPropertiesParametersSchema

type IntegrationAccountMapPropertiesParametersSchema struct {
	Ref *string `json:"ref,omitempty"`
}

type IntegrationAccountMapsClient

type IntegrationAccountMapsClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationAccountMapsClientWithBaseURI

func NewIntegrationAccountMapsClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationAccountMapsClient, error)

func (IntegrationAccountMapsClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationAccountMapsClient) Delete

Delete ...

func (IntegrationAccountMapsClient) Get

Get ...

func (IntegrationAccountMapsClient) List

List ...

func (IntegrationAccountMapsClient) ListComplete

ListComplete retrieves all the results into a single object

func (IntegrationAccountMapsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (IntegrationAccountMapsClient) ListContentCallbackUrl

ListContentCallbackUrl ...

type KeyType

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

func (*KeyType) UnmarshalJSON added in v0.20230712.1163130

func (s *KeyType) UnmarshalJSON(bytes []byte) error

type ListCompleteResult

type ListCompleteResult struct {
	Items []IntegrationAccountMap
}

type ListContentCallbackUrlOperationResponse

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

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders added in v0.20230712.1163130

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData added in v0.20230712.1163130

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery added in v0.20230712.1163130

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]IntegrationAccountMap
}

type MapId

type MapId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
	MapName                string
}

MapId is a struct representing the Resource ID for a Map

func NewMapID

func NewMapID(subscriptionId string, resourceGroupName string, integrationAccountName string, mapName string) MapId

NewMapID returns a new MapId struct

func ParseMapID

func ParseMapID(input string) (*MapId, error)

ParseMapID parses 'input' into a MapId

func ParseMapIDInsensitively

func ParseMapIDInsensitively(input string) (*MapId, error)

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

func (MapId) ID

func (id MapId) ID() string

ID returns the formatted Map ID

func (MapId) Segments

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

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

func (MapId) String

func (id MapId) String() string

String returns a human-readable description of this Map ID

type MapType

type MapType string
const (
	MapTypeLiquid        MapType = "Liquid"
	MapTypeNotSpecified  MapType = "NotSpecified"
	MapTypeXslt          MapType = "Xslt"
	MapTypeXsltThreeZero MapType = "Xslt30"
	MapTypeXsltTwoZero   MapType = "Xslt20"
)

func (*MapType) UnmarshalJSON added in v0.20230712.1163130

func (s *MapType) UnmarshalJSON(bytes []byte) error

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