integrationaccountassemblies

package
v0.20241017.1093842 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

README

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

The integrationaccountassemblies SDK allows for interaction with Azure Resource Manager 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/integrationaccountassemblies"

Client Initialization

client := integrationaccountassemblies.NewIntegrationAccountAssembliesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationAccountAssembliesClient.CreateOrUpdate

ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountName", "assemblyName")

payload := integrationaccountassemblies.AssemblyDefinition{
	// ...
}


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

ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountName", "assemblyName")

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

ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountName", "assemblyName")

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

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

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

Example Usage: IntegrationAccountAssembliesClient.ListContentCallbackURL

ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountName", "assemblyName")

read, err := client.ListContentCallbackURL(ctx, id)
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 ValidateAssemblyID

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

ValidateAssemblyID checks that 'input' can be parsed as a Assembly ID

func ValidateIntegrationAccountID

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

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

Types

type AssemblyCollection

type AssemblyCollection struct {
	Value *[]AssemblyDefinition `json:"value,omitempty"`
}

type AssemblyDefinition

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

type AssemblyId

type AssemblyId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
	AssemblyName           string
}

AssemblyId is a struct representing the Resource ID for a Assembly

func NewAssemblyID

func NewAssemblyID(subscriptionId string, resourceGroupName string, integrationAccountName string, assemblyName string) AssemblyId

NewAssemblyID returns a new AssemblyId struct

func ParseAssemblyID

func ParseAssemblyID(input string) (*AssemblyId, error)

ParseAssemblyID parses 'input' into a AssemblyId

func ParseAssemblyIDInsensitively

func ParseAssemblyIDInsensitively(input string) (*AssemblyId, error)

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

func (*AssemblyId) FromParseResult

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

func (AssemblyId) ID

func (id AssemblyId) ID() string

ID returns the formatted Assembly ID

func (AssemblyId) Segments

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

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

func (AssemblyId) String

func (id AssemblyId) String() string

String returns a human-readable description of this Assembly ID

type AssemblyProperties

type AssemblyProperties struct {
	AssemblyCulture        *string      `json:"assemblyCulture,omitempty"`
	AssemblyName           string       `json:"assemblyName"`
	AssemblyPublicKeyToken *string      `json:"assemblyPublicKeyToken,omitempty"`
	AssemblyVersion        *string      `json:"assemblyVersion,omitempty"`
	ChangedTime            *string      `json:"changedTime,omitempty"`
	Content                *interface{} `json:"content,omitempty"`
	ContentLink            *ContentLink `json:"contentLink,omitempty"`
	ContentType            *string      `json:"contentType,omitempty"`
	CreatedTime            *string      `json:"createdTime,omitempty"`
	Metadata               *interface{} `json:"metadata,omitempty"`
}

func (*AssemblyProperties) GetChangedTimeAsTime

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

func (*AssemblyProperties) GetCreatedTimeAsTime

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

func (*AssemblyProperties) SetChangedTimeAsTime

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

func (*AssemblyProperties) SetCreatedTimeAsTime

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

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        *AssemblyDefinition
}

type DeleteOperationResponse

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

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AssemblyDefinition
}

type IntegrationAccountAssembliesClient

type IntegrationAccountAssembliesClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationAccountAssembliesClientWithBaseURI

func NewIntegrationAccountAssembliesClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationAccountAssembliesClient, error)

func (IntegrationAccountAssembliesClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationAccountAssembliesClient) Delete

Delete ...

func (IntegrationAccountAssembliesClient) Get

Get ...

func (IntegrationAccountAssembliesClient) List

List ...

func (IntegrationAccountAssembliesClient) ListContentCallbackURL added in v0.20241009.1142232

ListContentCallbackURL ...

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) FromParseResult

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

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 ListContentCallbackURLOperationResponse added in v0.20241009.1142232

type ListContentCallbackURLOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowTriggerCallbackURL
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AssemblyCollection
}

type WorkflowTriggerCallbackURL added in v0.20241009.1142232

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 added in v0.20241009.1142232

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