armlogic

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 15 Imported by: 2

README

Azure Logic Apps Module for Go

PkgGoDev

The armlogic module provides operations for working with Azure Logic Apps.

Source code

Getting started

Prerequisites

  • an Azure subscription
  • Go 1.18 or above (You could download and install the latest version of Go from here. It will replace the existing Go on your machine. If you want to install multiple Go versions on the same machine, you could refer this doc.)

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Logic Apps module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Logic Apps. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Client Factory

Azure Logic Apps module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

clientFactory, err := armlogic.NewClientFactory(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options := arm.ClientOptions {
    ClientOptions: azcore.ClientOptions {
        Cloud: cloud.AzureChina,
    },
}
clientFactory, err := armlogic.NewClientFactory(<subscription ID>, cred, &options)

Clients

A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

client := clientFactory.NewWorkflowsClient()

Fakes

The fake package contains types used for constructing in-memory fake servers used in unit tests. This allows writing tests to cover various success/error conditions without the need for connecting to a live service.

Please see https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/samples/fakes for details and examples on how to use fakes.

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Logic Apps label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDeploymentParameterMetadata

type APIDeploymentParameterMetadata struct {
	// The description.
	Description *string

	// The display name.
	DisplayName *string

	// Indicates whether its required.
	IsRequired *bool

	// The type.
	Type *string

	// The visibility.
	Visibility *APIDeploymentParameterVisibility
}

APIDeploymentParameterMetadata - The API deployment parameter metadata.

func (APIDeploymentParameterMetadata) MarshalJSON added in v1.1.0

func (a APIDeploymentParameterMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIDeploymentParameterMetadata.

func (*APIDeploymentParameterMetadata) UnmarshalJSON added in v1.1.0

func (a *APIDeploymentParameterMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIDeploymentParameterMetadata.

type APIDeploymentParameterMetadataSet

type APIDeploymentParameterMetadataSet struct {
	// The package content link parameter.
	PackageContentLink *APIDeploymentParameterMetadata

	// The package content link parameter.
	RedisCacheConnectionString *APIDeploymentParameterMetadata
}

APIDeploymentParameterMetadataSet - The API deployment parameters metadata.

func (APIDeploymentParameterMetadataSet) MarshalJSON added in v1.1.0

func (a APIDeploymentParameterMetadataSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIDeploymentParameterMetadataSet.

func (*APIDeploymentParameterMetadataSet) UnmarshalJSON added in v1.1.0

func (a *APIDeploymentParameterMetadataSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIDeploymentParameterMetadataSet.

type APIDeploymentParameterVisibility

type APIDeploymentParameterVisibility string

APIDeploymentParameterVisibility - The Api deployment parameter visibility.

const (
	APIDeploymentParameterVisibilityDefault      APIDeploymentParameterVisibility = "Default"
	APIDeploymentParameterVisibilityInternal     APIDeploymentParameterVisibility = "Internal"
	APIDeploymentParameterVisibilityNotSpecified APIDeploymentParameterVisibility = "NotSpecified"
)

func PossibleAPIDeploymentParameterVisibilityValues

func PossibleAPIDeploymentParameterVisibilityValues() []APIDeploymentParameterVisibility

PossibleAPIDeploymentParameterVisibilityValues returns the possible values for the APIDeploymentParameterVisibility const type.

type APIOperation

type APIOperation struct {
	// The resource location.
	Location *string

	// The api operations properties
	Properties *APIOperationPropertiesDefinition

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

APIOperation - The api operation.

func (APIOperation) MarshalJSON

func (a APIOperation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIOperation.

func (*APIOperation) UnmarshalJSON added in v1.1.0

func (a *APIOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIOperation.

type APIOperationAnnotation

type APIOperationAnnotation struct {
	// The family.
	Family *string

	// The revision.
	Revision *int32

	// The status annotation.
	Status *StatusAnnotation
}

APIOperationAnnotation - The Api Operation Annotation.

func (APIOperationAnnotation) MarshalJSON added in v1.1.0

func (a APIOperationAnnotation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIOperationAnnotation.

func (*APIOperationAnnotation) UnmarshalJSON added in v1.1.0

func (a *APIOperationAnnotation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIOperationAnnotation.

type APIOperationListResult

type APIOperationListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The api operation definitions for an API.
	Value []*APIOperation
}

APIOperationListResult - The list of managed API operations.

func (APIOperationListResult) MarshalJSON

func (a APIOperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIOperationListResult.

func (*APIOperationListResult) UnmarshalJSON added in v1.1.0

func (a *APIOperationListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIOperationListResult.

type APIOperationPropertiesDefinition

type APIOperationPropertiesDefinition struct {
	// The api reference.
	API *APIReference

	// The annotation of api operation.
	Annotation *APIOperationAnnotation

	// The description of the api operation.
	Description *string

	// The operation inputs definition schema.
	InputsDefinition *SwaggerSchema

	// Indicates whether the API operation is notification or not.
	IsNotification *bool

	// Indicates whether the API operation is webhook or not.
	IsWebhook *bool

	// Indicates whether the api operation is pageable.
	Pageable *bool

	// The operation responses definition schemas.
	ResponsesDefinition map[string]*SwaggerSchema

	// The summary of the api operation.
	Summary *string

	// The trigger type of api operation.
	Trigger *string

	// The trigger hint for the api operation.
	TriggerHint *string

	// The visibility of the api operation.
	Visibility *string
}

APIOperationPropertiesDefinition - The api operations properties

func (APIOperationPropertiesDefinition) MarshalJSON

func (a APIOperationPropertiesDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIOperationPropertiesDefinition.

func (*APIOperationPropertiesDefinition) UnmarshalJSON added in v1.1.0

func (a *APIOperationPropertiesDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIOperationPropertiesDefinition.

type APIReference

type APIReference struct {
	// The brand color of the api.
	BrandColor *string

	// The tier.
	Category *APITier

	// The description of the api.
	Description *string

	// The display name of the api.
	DisplayName *string

	// The resource id.
	ID *string

	// The icon uri of the api.
	IconURI *string

	// The integration service environment reference.
	IntegrationServiceEnvironment *ResourceReference

	// The swagger of the api.
	Swagger any

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

APIReference - The Api reference.

func (APIReference) MarshalJSON added in v1.1.0

func (a APIReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIReference.

func (*APIReference) UnmarshalJSON added in v1.1.0

func (a *APIReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIReference.

type APIResourceBackendService

type APIResourceBackendService struct {
	// The service URL.
	ServiceURL *string
}

APIResourceBackendService - The API backend service.

func (APIResourceBackendService) MarshalJSON added in v1.1.0

func (a APIResourceBackendService) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourceBackendService.

func (*APIResourceBackendService) UnmarshalJSON added in v1.1.0

func (a *APIResourceBackendService) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourceBackendService.

type APIResourceDefinitions

type APIResourceDefinitions struct {
	// The modified swagger url.
	ModifiedSwaggerURL *string

	// The original swagger url.
	OriginalSwaggerURL *string
}

APIResourceDefinitions - The Api resource definition.

func (APIResourceDefinitions) MarshalJSON added in v1.1.0

func (a APIResourceDefinitions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourceDefinitions.

func (*APIResourceDefinitions) UnmarshalJSON added in v1.1.0

func (a *APIResourceDefinitions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourceDefinitions.

type APIResourceGeneralInformation

type APIResourceGeneralInformation struct {
	// The description.
	Description *string

	// The display name.
	DisplayName *string

	// The icon url.
	IconURL *string

	// The release tag.
	ReleaseTag *string

	// The terms of use url.
	TermsOfUseURL *string

	// The tier.
	Tier *APITier
}

APIResourceGeneralInformation - The API general information.

func (APIResourceGeneralInformation) MarshalJSON added in v1.1.0

func (a APIResourceGeneralInformation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourceGeneralInformation.

func (*APIResourceGeneralInformation) UnmarshalJSON added in v1.1.0

func (a *APIResourceGeneralInformation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourceGeneralInformation.

type APIResourceMetadata

type APIResourceMetadata struct {
	// The api type.
	APIType *APIType

	// The brand color.
	BrandColor *string

	// The connection type.
	ConnectionType *string

	// The connector deployment parameters metadata.
	DeploymentParameters *APIDeploymentParameterMetadataSet

	// The hide key.
	HideKey *string

	// The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// The source.
	Source *string

	// The tags.
	Tags map[string]*string

	// The WSDL import method.
	WsdlImportMethod *WsdlImportMethod

	// The WSDL service.
	WsdlService *WsdlService
}

APIResourceMetadata - The api resource metadata.

func (APIResourceMetadata) MarshalJSON

func (a APIResourceMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourceMetadata.

func (*APIResourceMetadata) UnmarshalJSON added in v1.1.0

func (a *APIResourceMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourceMetadata.

type APIResourcePolicies

type APIResourcePolicies struct {
	// The API level only policies XML as embedded content.
	Content *string

	// The content link to the policies.
	ContentLink *string
}

APIResourcePolicies - The API resource policies.

func (APIResourcePolicies) MarshalJSON added in v1.1.0

func (a APIResourcePolicies) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourcePolicies.

func (*APIResourcePolicies) UnmarshalJSON added in v1.1.0

func (a *APIResourcePolicies) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourcePolicies.

type APIResourceProperties

type APIResourceProperties struct {
	// The integration service environment reference.
	IntegrationServiceEnvironment *ResourceReference

	// READ-ONLY; The API definition.
	APIDefinitionURL *string

	// READ-ONLY; The api definitions.
	APIDefinitions *APIResourceDefinitions

	// READ-ONLY; The backend service.
	BackendService *APIResourceBackendService

	// READ-ONLY; The capabilities.
	Capabilities []*string

	// READ-ONLY; The category.
	Category *APITier

	// READ-ONLY; The connection parameters.
	ConnectionParameters map[string]any

	// READ-ONLY; The api general information.
	GeneralInformation *APIResourceGeneralInformation

	// READ-ONLY; The metadata.
	Metadata *APIResourceMetadata

	// READ-ONLY; The name
	Name *string

	// READ-ONLY; The policies for the API.
	Policies *APIResourcePolicies

	// READ-ONLY; The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The runtime urls.
	RuntimeUrls []*string
}

APIResourceProperties - The API resource properties.

func (APIResourceProperties) MarshalJSON

func (a APIResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type APIResourceProperties.

func (*APIResourceProperties) UnmarshalJSON added in v1.1.0

func (a *APIResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type APIResourceProperties.

type APITier

type APITier string

APITier - The Api tier.

const (
	APITierEnterprise   APITier = "Enterprise"
	APITierNotSpecified APITier = "NotSpecified"
	APITierPremium      APITier = "Premium"
	APITierStandard     APITier = "Standard"
)

func PossibleAPITierValues

func PossibleAPITierValues() []APITier

PossibleAPITierValues returns the possible values for the APITier const type.

type APIType

type APIType string
const (
	APITypeNotSpecified APIType = "NotSpecified"
	APITypeRest         APIType = "Rest"
	APITypeSoap         APIType = "Soap"
)

func PossibleAPITypeValues

func PossibleAPITypeValues() []APIType

PossibleAPITypeValues returns the possible values for the APIType const type.

type AS2AcknowledgementConnectionSettings

type AS2AcknowledgementConnectionSettings struct {
	// REQUIRED; Indicates whether to ignore mismatch in certificate name.
	IgnoreCertificateNameMismatch *bool

	// REQUIRED; Indicates whether to keep the connection alive.
	KeepHTTPConnectionAlive *bool

	// REQUIRED; Indicates whether to support HTTP status code 'CONTINUE'.
	SupportHTTPStatusCodeContinue *bool

	// REQUIRED; Indicates whether to unfold the HTTP headers.
	UnfoldHTTPHeaders *bool
}

AS2AcknowledgementConnectionSettings - The AS2 agreement acknowledgement connection settings.

func (AS2AcknowledgementConnectionSettings) MarshalJSON added in v1.1.0

func (a AS2AcknowledgementConnectionSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2AcknowledgementConnectionSettings.

func (*AS2AcknowledgementConnectionSettings) UnmarshalJSON added in v1.1.0

func (a *AS2AcknowledgementConnectionSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2AcknowledgementConnectionSettings.

type AS2AgreementContent

type AS2AgreementContent struct {
	// REQUIRED; The AS2 one-way receive agreement.
	ReceiveAgreement *AS2OneWayAgreement

	// REQUIRED; The AS2 one-way send agreement.
	SendAgreement *AS2OneWayAgreement
}

AS2AgreementContent - The integration account AS2 agreement content.

func (AS2AgreementContent) MarshalJSON added in v1.1.0

func (a AS2AgreementContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2AgreementContent.

func (*AS2AgreementContent) UnmarshalJSON added in v1.1.0

func (a *AS2AgreementContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2AgreementContent.

type AS2EnvelopeSettings

type AS2EnvelopeSettings struct {
	// REQUIRED; The value indicating whether to auto generate file name.
	AutogenerateFileName *bool

	// REQUIRED; The template for file name.
	FileNameTemplate *string

	// REQUIRED; The message content type.
	MessageContentType *string

	// REQUIRED; The value indicating whether to suspend message on file name generation error.
	SuspendMessageOnFileNameGenerationError *bool

	// REQUIRED; The value indicating whether to transmit file name in mime header.
	TransmitFileNameInMimeHeader *bool
}

AS2EnvelopeSettings - The AS2 agreement envelope settings.

func (AS2EnvelopeSettings) MarshalJSON added in v1.1.0

func (a AS2EnvelopeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2EnvelopeSettings.

func (*AS2EnvelopeSettings) UnmarshalJSON added in v1.1.0

func (a *AS2EnvelopeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2EnvelopeSettings.

type AS2ErrorSettings

type AS2ErrorSettings struct {
	// REQUIRED; The value indicating whether to resend message If MDN is not received.
	ResendIfMDNNotReceived *bool

	// REQUIRED; The value indicating whether to suspend duplicate message.
	SuspendDuplicateMessage *bool
}

AS2ErrorSettings - The AS2 agreement error settings.

func (AS2ErrorSettings) MarshalJSON added in v1.1.0

func (a AS2ErrorSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2ErrorSettings.

func (*AS2ErrorSettings) UnmarshalJSON added in v1.1.0

func (a *AS2ErrorSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2ErrorSettings.

type AS2MdnSettings

type AS2MdnSettings struct {
	// REQUIRED; The signing or hashing algorithm.
	MicHashingAlgorithm *HashingAlgorithm

	// REQUIRED; The value indicating whether to send or request a MDN.
	NeedMDN *bool

	// REQUIRED; The value indicating whether to send inbound MDN to message box.
	SendInboundMDNToMessageBox *bool

	// REQUIRED; The value indicating whether to send the asynchronous MDN.
	SendMDNAsynchronously *bool

	// REQUIRED; The value indicating whether the MDN needs to be signed or not.
	SignMDN *bool

	// REQUIRED; The value indicating whether to sign the outbound MDN if optional.
	SignOutboundMDNIfOptional *bool

	// The disposition notification to header value.
	DispositionNotificationTo *string

	// The MDN text.
	MdnText *string

	// The receipt delivery URL.
	ReceiptDeliveryURL *string
}

AS2MdnSettings - The AS2 agreement mdn settings.

func (AS2MdnSettings) MarshalJSON added in v1.1.0

func (a AS2MdnSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2MdnSettings.

func (*AS2MdnSettings) UnmarshalJSON added in v1.1.0

func (a *AS2MdnSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2MdnSettings.

type AS2MessageConnectionSettings

type AS2MessageConnectionSettings struct {
	// REQUIRED; The value indicating whether to ignore mismatch in certificate name.
	IgnoreCertificateNameMismatch *bool

	// REQUIRED; The value indicating whether to keep the connection alive.
	KeepHTTPConnectionAlive *bool

	// REQUIRED; The value indicating whether to support HTTP status code 'CONTINUE'.
	SupportHTTPStatusCodeContinue *bool

	// REQUIRED; The value indicating whether to unfold the HTTP headers.
	UnfoldHTTPHeaders *bool
}

AS2MessageConnectionSettings - The AS2 agreement message connection settings.

func (AS2MessageConnectionSettings) MarshalJSON added in v1.1.0

func (a AS2MessageConnectionSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2MessageConnectionSettings.

func (*AS2MessageConnectionSettings) UnmarshalJSON added in v1.1.0

func (a *AS2MessageConnectionSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2MessageConnectionSettings.

type AS2OneWayAgreement

type AS2OneWayAgreement struct {
	// REQUIRED; The AS2 protocol settings.
	ProtocolSettings *AS2ProtocolSettings

	// REQUIRED; The receiver business identity
	ReceiverBusinessIdentity *BusinessIdentity

	// REQUIRED; The sender business identity
	SenderBusinessIdentity *BusinessIdentity
}

AS2OneWayAgreement - The integration account AS2 one-way agreement.

func (AS2OneWayAgreement) MarshalJSON added in v1.1.0

func (a AS2OneWayAgreement) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2OneWayAgreement.

func (*AS2OneWayAgreement) UnmarshalJSON added in v1.1.0

func (a *AS2OneWayAgreement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2OneWayAgreement.

type AS2ProtocolSettings

type AS2ProtocolSettings struct {
	// REQUIRED; The acknowledgement connection settings.
	AcknowledgementConnectionSettings *AS2AcknowledgementConnectionSettings

	// REQUIRED; The envelope settings.
	EnvelopeSettings *AS2EnvelopeSettings

	// REQUIRED; The error settings.
	ErrorSettings *AS2ErrorSettings

	// REQUIRED; The MDN settings.
	MdnSettings *AS2MdnSettings

	// REQUIRED; The message connection settings.
	MessageConnectionSettings *AS2MessageConnectionSettings

	// REQUIRED; The security settings.
	SecuritySettings *AS2SecuritySettings

	// REQUIRED; The validation settings.
	ValidationSettings *AS2ValidationSettings
}

AS2ProtocolSettings - The AS2 agreement protocol settings.

func (AS2ProtocolSettings) MarshalJSON added in v1.1.0

func (a AS2ProtocolSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2ProtocolSettings.

func (*AS2ProtocolSettings) UnmarshalJSON added in v1.1.0

func (a *AS2ProtocolSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2ProtocolSettings.

type AS2SecuritySettings

type AS2SecuritySettings struct {
	// REQUIRED; The value indicating whether to enable NRR for inbound decoded messages.
	EnableNRRForInboundDecodedMessages *bool

	// REQUIRED; The value indicating whether to enable NRR for inbound encoded messages.
	EnableNRRForInboundEncodedMessages *bool

	// REQUIRED; The value indicating whether to enable NRR for inbound MDN.
	EnableNRRForInboundMDN *bool

	// REQUIRED; The value indicating whether to enable NRR for outbound decoded messages.
	EnableNRRForOutboundDecodedMessages *bool

	// REQUIRED; The value indicating whether to enable NRR for outbound encoded messages.
	EnableNRRForOutboundEncodedMessages *bool

	// REQUIRED; The value indicating whether to enable NRR for outbound MDN.
	EnableNRRForOutboundMDN *bool

	// REQUIRED; The value indicating whether to send or request a MDN.
	OverrideGroupSigningCertificate *bool

	// The name of the encryption certificate.
	EncryptionCertificateName *string

	// The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize.
	SHA2AlgorithmFormat *string

	// The name of the signing certificate.
	SigningCertificateName *string
}

AS2SecuritySettings - The AS2 agreement security settings.

func (AS2SecuritySettings) MarshalJSON added in v1.1.0

func (a AS2SecuritySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2SecuritySettings.

func (*AS2SecuritySettings) UnmarshalJSON added in v1.1.0

func (a *AS2SecuritySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2SecuritySettings.

type AS2ValidationSettings

type AS2ValidationSettings struct {
	// REQUIRED; The value indicating whether to check for certificate revocation list on receive.
	CheckCertificateRevocationListOnReceive *bool

	// REQUIRED; The value indicating whether to check for certificate revocation list on send.
	CheckCertificateRevocationListOnSend *bool

	// REQUIRED; The value indicating whether to check for duplicate message.
	CheckDuplicateMessage *bool

	// REQUIRED; The value indicating whether the message has to be compressed.
	CompressMessage *bool

	// REQUIRED; The value indicating whether the message has to be encrypted.
	EncryptMessage *bool

	// REQUIRED; The encryption algorithm.
	EncryptionAlgorithm *EncryptionAlgorithm

	// REQUIRED; The number of days to look back for duplicate interchange.
	InterchangeDuplicatesValidityDays *int32

	// REQUIRED; The value indicating whether to override incoming message properties with those in agreement.
	OverrideMessageProperties *bool

	// REQUIRED; The value indicating whether the message has to be signed.
	SignMessage *bool

	// The signing algorithm.
	SigningAlgorithm *SigningAlgorithm
}

AS2ValidationSettings - The AS2 agreement validation settings.

func (AS2ValidationSettings) MarshalJSON added in v1.1.0

func (a AS2ValidationSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AS2ValidationSettings.

func (*AS2ValidationSettings) UnmarshalJSON added in v1.1.0

func (a *AS2ValidationSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AS2ValidationSettings.

type AgreementContent

type AgreementContent struct {
	// The AS2 agreement content.
	AS2 *AS2AgreementContent

	// The EDIFACT agreement content.
	Edifact *EdifactAgreementContent

	// The X12 agreement content.
	X12 *X12AgreementContent
}

AgreementContent - The integration account agreement content.

func (AgreementContent) MarshalJSON added in v1.1.0

func (a AgreementContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AgreementContent.

func (*AgreementContent) UnmarshalJSON added in v1.1.0

func (a *AgreementContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AgreementContent.

type AgreementType

type AgreementType string

AgreementType - The agreement type.

const (
	AgreementTypeAS2          AgreementType = "AS2"
	AgreementTypeEdifact      AgreementType = "Edifact"
	AgreementTypeNotSpecified AgreementType = "NotSpecified"
	AgreementTypeX12          AgreementType = "X12"
)

func PossibleAgreementTypeValues

func PossibleAgreementTypeValues() []AgreementType

PossibleAgreementTypeValues returns the possible values for the AgreementType const type.

type ArtifactContentPropertiesDefinition

type ArtifactContentPropertiesDefinition struct {
	// The artifact changed time.
	ChangedTime *time.Time

	// Anything
	Content any

	// The content link.
	ContentLink *ContentLink

	// The content type.
	ContentType *string

	// The artifact creation time.
	CreatedTime *time.Time

	// Anything
	Metadata any
}

ArtifactContentPropertiesDefinition - The artifact content properties definition.

func (ArtifactContentPropertiesDefinition) MarshalJSON

func (a ArtifactContentPropertiesDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ArtifactContentPropertiesDefinition.

func (*ArtifactContentPropertiesDefinition) UnmarshalJSON

func (a *ArtifactContentPropertiesDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ArtifactContentPropertiesDefinition.

type ArtifactProperties

type ArtifactProperties struct {
	// The artifact changed time.
	ChangedTime *time.Time

	// The artifact creation time.
	CreatedTime *time.Time

	// Anything
	Metadata any
}

ArtifactProperties - The artifact properties definition.

func (ArtifactProperties) MarshalJSON

func (a ArtifactProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ArtifactProperties.

func (*ArtifactProperties) UnmarshalJSON

func (a *ArtifactProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ArtifactProperties.

type AssemblyCollection

type AssemblyCollection struct {
	Value []*AssemblyDefinition
}

AssemblyCollection - A collection of assembly definitions.

func (AssemblyCollection) MarshalJSON

func (a AssemblyCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssemblyCollection.

func (*AssemblyCollection) UnmarshalJSON added in v1.1.0

func (a *AssemblyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssemblyCollection.

type AssemblyDefinition

type AssemblyDefinition struct {
	// REQUIRED; The assembly properties.
	Properties *AssemblyProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

AssemblyDefinition - The assembly definition.

func (AssemblyDefinition) MarshalJSON

func (a AssemblyDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssemblyDefinition.

func (*AssemblyDefinition) UnmarshalJSON added in v1.1.0

func (a *AssemblyDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssemblyDefinition.

type AssemblyProperties

type AssemblyProperties struct {
	// REQUIRED; The assembly name.
	AssemblyName *string

	// The assembly culture.
	AssemblyCulture *string

	// The assembly public key token.
	AssemblyPublicKeyToken *string

	// The assembly version.
	AssemblyVersion *string

	// The artifact changed time.
	ChangedTime *time.Time

	// Anything
	Content any

	// The content link.
	ContentLink *ContentLink

	// The content type.
	ContentType *string

	// The artifact creation time.
	CreatedTime *time.Time

	// Anything
	Metadata any
}

AssemblyProperties - The assembly properties definition.

func (AssemblyProperties) MarshalJSON

func (a AssemblyProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssemblyProperties.

func (*AssemblyProperties) UnmarshalJSON

func (a *AssemblyProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssemblyProperties.

type AzureAsyncOperationState

type AzureAsyncOperationState string

AzureAsyncOperationState - The Azure async operation state.

const (
	AzureAsyncOperationStateCanceled  AzureAsyncOperationState = "Canceled"
	AzureAsyncOperationStateFailed    AzureAsyncOperationState = "Failed"
	AzureAsyncOperationStatePending   AzureAsyncOperationState = "Pending"
	AzureAsyncOperationStateSucceeded AzureAsyncOperationState = "Succeeded"
)

func PossibleAzureAsyncOperationStateValues

func PossibleAzureAsyncOperationStateValues() []AzureAsyncOperationState

PossibleAzureAsyncOperationStateValues returns the possible values for the AzureAsyncOperationState const type.

type AzureResourceErrorInfo

type AzureResourceErrorInfo struct {
	// REQUIRED; The error code.
	Code *string

	// REQUIRED; The error message.
	Message *string

	// The error details.
	Details []*AzureResourceErrorInfo
}

AzureResourceErrorInfo - The azure resource error info.

func (AzureResourceErrorInfo) MarshalJSON

func (a AzureResourceErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureResourceErrorInfo.

func (*AzureResourceErrorInfo) UnmarshalJSON added in v1.1.0

func (a *AzureResourceErrorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureResourceErrorInfo.

type B2BPartnerContent

type B2BPartnerContent struct {
	// The list of partner business identities.
	BusinessIdentities []*BusinessIdentity
}

B2BPartnerContent - The B2B partner content.

func (B2BPartnerContent) MarshalJSON

func (b B2BPartnerContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type B2BPartnerContent.

func (*B2BPartnerContent) UnmarshalJSON added in v1.1.0

func (b *B2BPartnerContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type B2BPartnerContent.

type BatchConfiguration

type BatchConfiguration struct {
	// REQUIRED; The batch configuration properties.
	Properties *BatchConfigurationProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

BatchConfiguration - The batch configuration resource definition.

func (BatchConfiguration) MarshalJSON

func (b BatchConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BatchConfiguration.

func (*BatchConfiguration) UnmarshalJSON added in v1.1.0

func (b *BatchConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BatchConfiguration.

type BatchConfigurationCollection

type BatchConfigurationCollection struct {
	Value []*BatchConfiguration
}

BatchConfigurationCollection - A collection of batch configurations.

func (BatchConfigurationCollection) MarshalJSON

func (b BatchConfigurationCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BatchConfigurationCollection.

func (*BatchConfigurationCollection) UnmarshalJSON added in v1.1.0

func (b *BatchConfigurationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BatchConfigurationCollection.

type BatchConfigurationProperties

type BatchConfigurationProperties struct {
	// REQUIRED; The name of the batch group.
	BatchGroupName *string

	// REQUIRED; The batch release criteria.
	ReleaseCriteria *BatchReleaseCriteria

	// The artifact changed time.
	ChangedTime *time.Time

	// The artifact creation time.
	CreatedTime *time.Time

	// Anything
	Metadata any
}

BatchConfigurationProperties - The batch configuration properties definition.

func (BatchConfigurationProperties) MarshalJSON

func (b BatchConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BatchConfigurationProperties.

func (*BatchConfigurationProperties) UnmarshalJSON

func (b *BatchConfigurationProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BatchConfigurationProperties.

type BatchReleaseCriteria

type BatchReleaseCriteria struct {
	// The batch size in bytes.
	BatchSize *int32

	// The message count.
	MessageCount *int32

	// The recurrence.
	Recurrence *WorkflowTriggerRecurrence
}

BatchReleaseCriteria - The batch release criteria.

func (BatchReleaseCriteria) MarshalJSON added in v1.1.0

func (b BatchReleaseCriteria) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BatchReleaseCriteria.

func (*BatchReleaseCriteria) UnmarshalJSON added in v1.1.0

func (b *BatchReleaseCriteria) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BatchReleaseCriteria.

type BusinessIdentity

type BusinessIdentity struct {
	// REQUIRED; The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
	Qualifier *string

	// REQUIRED; The user defined business identity value.
	Value *string
}

BusinessIdentity - The integration account partner's business identity.

func (BusinessIdentity) MarshalJSON added in v1.1.0

func (b BusinessIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BusinessIdentity.

func (*BusinessIdentity) UnmarshalJSON added in v1.1.0

func (b *BusinessIdentity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BusinessIdentity.

type CallbackURL

type CallbackURL struct {
	// The URL value.
	Value *string
}

CallbackURL - The callback url.

func (CallbackURL) MarshalJSON added in v1.1.0

func (c CallbackURL) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CallbackURL.

func (*CallbackURL) UnmarshalJSON added in v1.1.0

func (c *CallbackURL) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CallbackURL.

type ClientFactory added in v1.1.0

type ClientFactory struct {
	// contains filtered or unexported fields
}

ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.

func NewClientFactory added in v1.1.0

func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)

NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ClientFactory) NewIntegrationAccountAgreementsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountAgreementsClient() *IntegrationAccountAgreementsClient

NewIntegrationAccountAgreementsClient creates a new instance of IntegrationAccountAgreementsClient.

func (*ClientFactory) NewIntegrationAccountAssembliesClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountAssembliesClient() *IntegrationAccountAssembliesClient

NewIntegrationAccountAssembliesClient creates a new instance of IntegrationAccountAssembliesClient.

func (*ClientFactory) NewIntegrationAccountBatchConfigurationsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountBatchConfigurationsClient() *IntegrationAccountBatchConfigurationsClient

NewIntegrationAccountBatchConfigurationsClient creates a new instance of IntegrationAccountBatchConfigurationsClient.

func (*ClientFactory) NewIntegrationAccountCertificatesClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountCertificatesClient() *IntegrationAccountCertificatesClient

NewIntegrationAccountCertificatesClient creates a new instance of IntegrationAccountCertificatesClient.

func (*ClientFactory) NewIntegrationAccountMapsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountMapsClient() *IntegrationAccountMapsClient

NewIntegrationAccountMapsClient creates a new instance of IntegrationAccountMapsClient.

func (*ClientFactory) NewIntegrationAccountPartnersClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountPartnersClient() *IntegrationAccountPartnersClient

NewIntegrationAccountPartnersClient creates a new instance of IntegrationAccountPartnersClient.

func (*ClientFactory) NewIntegrationAccountSchemasClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountSchemasClient() *IntegrationAccountSchemasClient

NewIntegrationAccountSchemasClient creates a new instance of IntegrationAccountSchemasClient.

func (*ClientFactory) NewIntegrationAccountSessionsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountSessionsClient() *IntegrationAccountSessionsClient

NewIntegrationAccountSessionsClient creates a new instance of IntegrationAccountSessionsClient.

func (*ClientFactory) NewIntegrationAccountsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationAccountsClient() *IntegrationAccountsClient

NewIntegrationAccountsClient creates a new instance of IntegrationAccountsClient.

func (*ClientFactory) NewIntegrationServiceEnvironmentManagedAPIOperationsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationServiceEnvironmentManagedAPIOperationsClient() *IntegrationServiceEnvironmentManagedAPIOperationsClient

NewIntegrationServiceEnvironmentManagedAPIOperationsClient creates a new instance of IntegrationServiceEnvironmentManagedAPIOperationsClient.

func (*ClientFactory) NewIntegrationServiceEnvironmentManagedApisClient added in v1.1.0

func (c *ClientFactory) NewIntegrationServiceEnvironmentManagedApisClient() *IntegrationServiceEnvironmentManagedApisClient

NewIntegrationServiceEnvironmentManagedApisClient creates a new instance of IntegrationServiceEnvironmentManagedApisClient.

func (*ClientFactory) NewIntegrationServiceEnvironmentNetworkHealthClient added in v1.1.0

func (c *ClientFactory) NewIntegrationServiceEnvironmentNetworkHealthClient() *IntegrationServiceEnvironmentNetworkHealthClient

NewIntegrationServiceEnvironmentNetworkHealthClient creates a new instance of IntegrationServiceEnvironmentNetworkHealthClient.

func (*ClientFactory) NewIntegrationServiceEnvironmentSKUsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationServiceEnvironmentSKUsClient() *IntegrationServiceEnvironmentSKUsClient

NewIntegrationServiceEnvironmentSKUsClient creates a new instance of IntegrationServiceEnvironmentSKUsClient.

func (*ClientFactory) NewIntegrationServiceEnvironmentsClient added in v1.1.0

func (c *ClientFactory) NewIntegrationServiceEnvironmentsClient() *IntegrationServiceEnvironmentsClient

NewIntegrationServiceEnvironmentsClient creates a new instance of IntegrationServiceEnvironmentsClient.

func (*ClientFactory) NewOperationsClient added in v1.1.0

func (c *ClientFactory) NewOperationsClient() *OperationsClient

NewOperationsClient creates a new instance of OperationsClient.

func (*ClientFactory) NewWorkflowRunActionRepetitionsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunActionRepetitionsClient() *WorkflowRunActionRepetitionsClient

NewWorkflowRunActionRepetitionsClient creates a new instance of WorkflowRunActionRepetitionsClient.

func (*ClientFactory) NewWorkflowRunActionRepetitionsRequestHistoriesClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunActionRepetitionsRequestHistoriesClient() *WorkflowRunActionRepetitionsRequestHistoriesClient

NewWorkflowRunActionRepetitionsRequestHistoriesClient creates a new instance of WorkflowRunActionRepetitionsRequestHistoriesClient.

func (*ClientFactory) NewWorkflowRunActionRequestHistoriesClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunActionRequestHistoriesClient() *WorkflowRunActionRequestHistoriesClient

NewWorkflowRunActionRequestHistoriesClient creates a new instance of WorkflowRunActionRequestHistoriesClient.

func (*ClientFactory) NewWorkflowRunActionScopeRepetitionsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunActionScopeRepetitionsClient() *WorkflowRunActionScopeRepetitionsClient

NewWorkflowRunActionScopeRepetitionsClient creates a new instance of WorkflowRunActionScopeRepetitionsClient.

func (*ClientFactory) NewWorkflowRunActionsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunActionsClient() *WorkflowRunActionsClient

NewWorkflowRunActionsClient creates a new instance of WorkflowRunActionsClient.

func (*ClientFactory) NewWorkflowRunOperationsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunOperationsClient() *WorkflowRunOperationsClient

NewWorkflowRunOperationsClient creates a new instance of WorkflowRunOperationsClient.

func (*ClientFactory) NewWorkflowRunsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowRunsClient() *WorkflowRunsClient

NewWorkflowRunsClient creates a new instance of WorkflowRunsClient.

func (*ClientFactory) NewWorkflowTriggerHistoriesClient added in v1.1.0

func (c *ClientFactory) NewWorkflowTriggerHistoriesClient() *WorkflowTriggerHistoriesClient

NewWorkflowTriggerHistoriesClient creates a new instance of WorkflowTriggerHistoriesClient.

func (*ClientFactory) NewWorkflowTriggersClient added in v1.1.0

func (c *ClientFactory) NewWorkflowTriggersClient() *WorkflowTriggersClient

NewWorkflowTriggersClient creates a new instance of WorkflowTriggersClient.

func (*ClientFactory) NewWorkflowVersionTriggersClient added in v1.1.0

func (c *ClientFactory) NewWorkflowVersionTriggersClient() *WorkflowVersionTriggersClient

NewWorkflowVersionTriggersClient creates a new instance of WorkflowVersionTriggersClient.

func (*ClientFactory) NewWorkflowVersionsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowVersionsClient() *WorkflowVersionsClient

NewWorkflowVersionsClient creates a new instance of WorkflowVersionsClient.

func (*ClientFactory) NewWorkflowsClient added in v1.1.0

func (c *ClientFactory) NewWorkflowsClient() *WorkflowsClient

NewWorkflowsClient creates a new instance of WorkflowsClient.

type ContentHash

type ContentHash struct {
	// The algorithm of the content hash.
	Algorithm *string

	// The value of the content hash.
	Value *string
}

ContentHash - The content hash.

func (ContentHash) MarshalJSON added in v1.1.0

func (c ContentHash) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContentHash.

func (*ContentHash) UnmarshalJSON added in v1.1.0

func (c *ContentHash) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContentHash.

type ContentLink struct {
	// The content link URI.
	URI *string

	// READ-ONLY; The content hash.
	ContentHash *ContentHash

	// READ-ONLY; The content size.
	ContentSize *int64

	// READ-ONLY; The content version.
	ContentVersion *string

	// READ-ONLY; The metadata.
	Metadata any
}

ContentLink - The content link.

func (ContentLink) MarshalJSON added in v1.1.0

func (c ContentLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContentLink.

func (*ContentLink) UnmarshalJSON added in v1.1.0

func (c *ContentLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ContentLink.

type Correlation

type Correlation struct {
	// The client tracking id.
	ClientTrackingID *string
}

Correlation - The correlation property.

func (Correlation) MarshalJSON added in v1.1.0

func (c Correlation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Correlation.

func (*Correlation) UnmarshalJSON added in v1.1.0

func (c *Correlation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Correlation.

type DayOfWeek

type DayOfWeek string

DayOfWeek - The day of the week.

const (
	DayOfWeekFriday    DayOfWeek = "Friday"
	DayOfWeekMonday    DayOfWeek = "Monday"
	DayOfWeekSaturday  DayOfWeek = "Saturday"
	DayOfWeekSunday    DayOfWeek = "Sunday"
	DayOfWeekThursday  DayOfWeek = "Thursday"
	DayOfWeekTuesday   DayOfWeek = "Tuesday"
	DayOfWeekWednesday DayOfWeek = "Wednesday"
)

func PossibleDayOfWeekValues

func PossibleDayOfWeekValues() []DayOfWeek

PossibleDayOfWeekValues returns the possible values for the DayOfWeek const type.

type DaysOfWeek

type DaysOfWeek string
const (
	DaysOfWeekFriday    DaysOfWeek = "Friday"
	DaysOfWeekMonday    DaysOfWeek = "Monday"
	DaysOfWeekSaturday  DaysOfWeek = "Saturday"
	DaysOfWeekSunday    DaysOfWeek = "Sunday"
	DaysOfWeekThursday  DaysOfWeek = "Thursday"
	DaysOfWeekTuesday   DaysOfWeek = "Tuesday"
	DaysOfWeekWednesday DaysOfWeek = "Wednesday"
)

func PossibleDaysOfWeekValues

func PossibleDaysOfWeekValues() []DaysOfWeek

PossibleDaysOfWeekValues returns the possible values for the DaysOfWeek const type.

type EdifactAcknowledgementSettings

type EdifactAcknowledgementSettings struct {
	// REQUIRED; The acknowledgement control number lower bound.
	AcknowledgementControlNumberLowerBound *int32

	// REQUIRED; The acknowledgement control number upper bound.
	AcknowledgementControlNumberUpperBound *int32

	// REQUIRED; The value indicating whether to batch functional acknowledgements.
	BatchFunctionalAcknowledgements *bool

	// REQUIRED; The value indicating whether to batch the technical acknowledgements.
	BatchTechnicalAcknowledgements *bool

	// REQUIRED; The value indicating whether functional acknowledgement is needed.
	NeedFunctionalAcknowledgement *bool

	// REQUIRED; The value indicating whether a loop is needed for valid messages.
	NeedLoopForValidMessages *bool

	// REQUIRED; The value indicating whether technical acknowledgement is needed.
	NeedTechnicalAcknowledgement *bool

	// REQUIRED; The value indicating whether to rollover acknowledgement control number.
	RolloverAcknowledgementControlNumber *bool

	// REQUIRED; The value indicating whether to send synchronous acknowledgement.
	SendSynchronousAcknowledgement *bool

	// The acknowledgement control number prefix.
	AcknowledgementControlNumberPrefix *string

	// The acknowledgement control number suffix.
	AcknowledgementControlNumberSuffix *string
}

EdifactAcknowledgementSettings - The Edifact agreement acknowledgement settings.

func (EdifactAcknowledgementSettings) MarshalJSON added in v1.1.0

func (e EdifactAcknowledgementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactAcknowledgementSettings.

func (*EdifactAcknowledgementSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactAcknowledgementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactAcknowledgementSettings.

type EdifactAgreementContent

type EdifactAgreementContent struct {
	// REQUIRED; The EDIFACT one-way receive agreement.
	ReceiveAgreement *EdifactOneWayAgreement

	// REQUIRED; The EDIFACT one-way send agreement.
	SendAgreement *EdifactOneWayAgreement
}

EdifactAgreementContent - The Edifact agreement content.

func (EdifactAgreementContent) MarshalJSON added in v1.1.0

func (e EdifactAgreementContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactAgreementContent.

func (*EdifactAgreementContent) UnmarshalJSON added in v1.1.0

func (e *EdifactAgreementContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactAgreementContent.

type EdifactCharacterSet

type EdifactCharacterSet string

EdifactCharacterSet - The edifact character set.

const (
	EdifactCharacterSetKECA         EdifactCharacterSet = "KECA"
	EdifactCharacterSetNotSpecified EdifactCharacterSet = "NotSpecified"
	EdifactCharacterSetUNOA         EdifactCharacterSet = "UNOA"
	EdifactCharacterSetUNOB         EdifactCharacterSet = "UNOB"
	EdifactCharacterSetUNOC         EdifactCharacterSet = "UNOC"
	EdifactCharacterSetUNOD         EdifactCharacterSet = "UNOD"
	EdifactCharacterSetUNOE         EdifactCharacterSet = "UNOE"
	EdifactCharacterSetUNOF         EdifactCharacterSet = "UNOF"
	EdifactCharacterSetUNOG         EdifactCharacterSet = "UNOG"
	EdifactCharacterSetUNOH         EdifactCharacterSet = "UNOH"
	EdifactCharacterSetUNOI         EdifactCharacterSet = "UNOI"
	EdifactCharacterSetUNOJ         EdifactCharacterSet = "UNOJ"
	EdifactCharacterSetUNOK         EdifactCharacterSet = "UNOK"
	EdifactCharacterSetUNOX         EdifactCharacterSet = "UNOX"
	EdifactCharacterSetUNOY         EdifactCharacterSet = "UNOY"
)

func PossibleEdifactCharacterSetValues

func PossibleEdifactCharacterSetValues() []EdifactCharacterSet

PossibleEdifactCharacterSetValues returns the possible values for the EdifactCharacterSet const type.

type EdifactDecimalIndicator

type EdifactDecimalIndicator string

EdifactDecimalIndicator - The edifact decimal indicator.

const (
	EdifactDecimalIndicatorComma        EdifactDecimalIndicator = "Comma"
	EdifactDecimalIndicatorDecimal      EdifactDecimalIndicator = "Decimal"
	EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = "NotSpecified"
)

func PossibleEdifactDecimalIndicatorValues

func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator

PossibleEdifactDecimalIndicatorValues returns the possible values for the EdifactDecimalIndicator const type.

type EdifactDelimiterOverride

type EdifactDelimiterOverride struct {
	// REQUIRED; The component separator.
	ComponentSeparator *int32

	// REQUIRED; The data element separator.
	DataElementSeparator *int32

	// REQUIRED; The decimal point indicator.
	DecimalPointIndicator *EdifactDecimalIndicator

	// REQUIRED; The release indicator.
	ReleaseIndicator *int32

	// REQUIRED; The repetition separator.
	RepetitionSeparator *int32

	// REQUIRED; The segment terminator.
	SegmentTerminator *int32

	// REQUIRED; The segment terminator suffix.
	SegmentTerminatorSuffix *SegmentTerminatorSuffix

	// The message association assigned code.
	MessageAssociationAssignedCode *string

	// The message id.
	MessageID *string

	// The message release.
	MessageRelease *string

	// The message version.
	MessageVersion *string

	// The target namespace on which this delimiter settings has to be applied.
	TargetNamespace *string
}

EdifactDelimiterOverride - The Edifact delimiter override settings.

func (EdifactDelimiterOverride) MarshalJSON added in v1.1.0

func (e EdifactDelimiterOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactDelimiterOverride.

func (*EdifactDelimiterOverride) UnmarshalJSON added in v1.1.0

func (e *EdifactDelimiterOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactDelimiterOverride.

type EdifactEnvelopeOverride

type EdifactEnvelopeOverride struct {
	// The application password.
	ApplicationPassword *string

	// The association assigned code.
	AssociationAssignedCode *string

	// The controlling agency code.
	ControllingAgencyCode *string

	// The functional group id.
	FunctionalGroupID *string

	// The group header message release.
	GroupHeaderMessageRelease *string

	// The group header message version.
	GroupHeaderMessageVersion *string

	// The message association assigned code.
	MessageAssociationAssignedCode *string

	// The message id on which this envelope settings has to be applied.
	MessageID *string

	// The message release version on which this envelope settings has to be applied.
	MessageRelease *string

	// The message version on which this envelope settings has to be applied.
	MessageVersion *string

	// The receiver application id.
	ReceiverApplicationID *string

	// The receiver application qualifier.
	ReceiverApplicationQualifier *string

	// The sender application id.
	SenderApplicationID *string

	// The sender application qualifier.
	SenderApplicationQualifier *string

	// The target namespace on which this envelope settings has to be applied.
	TargetNamespace *string
}

EdifactEnvelopeOverride - The Edifact envelope override settings.

func (EdifactEnvelopeOverride) MarshalJSON added in v1.1.0

func (e EdifactEnvelopeOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactEnvelopeOverride.

func (*EdifactEnvelopeOverride) UnmarshalJSON added in v1.1.0

func (e *EdifactEnvelopeOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactEnvelopeOverride.

type EdifactEnvelopeSettings

type EdifactEnvelopeSettings struct {
	// REQUIRED; The value indicating whether to apply delimiter string advice.
	ApplyDelimiterStringAdvice *bool

	// REQUIRED; The value indicating whether to create grouping segments.
	CreateGroupingSegments *bool

	// REQUIRED; The value indicating whether to enable default group headers.
	EnableDefaultGroupHeaders *bool

	// REQUIRED; The group control number lower bound.
	GroupControlNumberLowerBound *int64

	// REQUIRED; The group control number upper bound.
	GroupControlNumberUpperBound *int64

	// REQUIRED; The interchange control number lower bound.
	InterchangeControlNumberLowerBound *int64

	// REQUIRED; The interchange control number upper bound.
	InterchangeControlNumberUpperBound *int64

	// REQUIRED; The value indicating whether the message is a test interchange.
	IsTestInterchange *bool

	// REQUIRED; The value indicating whether to overwrite existing transaction set control number.
	OverwriteExistingTransactionSetControlNumber *bool

	// REQUIRED; The value indicating whether to rollover group control number.
	RolloverGroupControlNumber *bool

	// REQUIRED; The value indicating whether to rollover interchange control number.
	RolloverInterchangeControlNumber *bool

	// REQUIRED; The value indicating whether to rollover transaction set control number.
	RolloverTransactionSetControlNumber *bool

	// REQUIRED; The transaction set control number lower bound.
	TransactionSetControlNumberLowerBound *int64

	// REQUIRED; The transaction set control number upper bound.
	TransactionSetControlNumberUpperBound *int64

	// The application reference id.
	ApplicationReferenceID *string

	// The communication agreement id.
	CommunicationAgreementID *string

	// The functional group id.
	FunctionalGroupID *string

	// The group application password.
	GroupApplicationPassword *string

	// The group application receiver id.
	GroupApplicationReceiverID *string

	// The group application receiver qualifier.
	GroupApplicationReceiverQualifier *string

	// The group application sender id.
	GroupApplicationSenderID *string

	// The group application sender qualifier.
	GroupApplicationSenderQualifier *string

	// The group association assigned code.
	GroupAssociationAssignedCode *string

	// The group control number prefix.
	GroupControlNumberPrefix *string

	// The group control number suffix.
	GroupControlNumberSuffix *string

	// The group controlling agency code.
	GroupControllingAgencyCode *string

	// The group message release.
	GroupMessageRelease *string

	// The group message version.
	GroupMessageVersion *string

	// The interchange control number prefix.
	InterchangeControlNumberPrefix *string

	// The interchange control number suffix.
	InterchangeControlNumberSuffix *string

	// The processing priority code.
	ProcessingPriorityCode *string

	// The receiver internal identification.
	ReceiverInternalIdentification *string

	// The receiver internal sub identification.
	ReceiverInternalSubIdentification *string

	// The receiver reverse routing address.
	ReceiverReverseRoutingAddress *string

	// The recipient reference password qualifier.
	RecipientReferencePasswordQualifier *string

	// The recipient reference password value.
	RecipientReferencePasswordValue *string

	// The sender internal identification.
	SenderInternalIdentification *string

	// The sender internal sub identification.
	SenderInternalSubIdentification *string

	// The sender reverse routing address.
	SenderReverseRoutingAddress *string

	// The transaction set control number prefix.
	TransactionSetControlNumberPrefix *string

	// The transaction set control number suffix.
	TransactionSetControlNumberSuffix *string
}

EdifactEnvelopeSettings - The Edifact agreement envelope settings.

func (EdifactEnvelopeSettings) MarshalJSON added in v1.1.0

func (e EdifactEnvelopeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactEnvelopeSettings.

func (*EdifactEnvelopeSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactEnvelopeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactEnvelopeSettings.

type EdifactFramingSettings

type EdifactFramingSettings struct {
	// REQUIRED; The EDIFACT frame setting characterSet.
	CharacterSet *EdifactCharacterSet

	// REQUIRED; The component separator.
	ComponentSeparator *int32

	// REQUIRED; The data element separator.
	DataElementSeparator *int32

	// REQUIRED; The EDIFACT frame setting decimal indicator.
	DecimalPointIndicator *EdifactDecimalIndicator

	// REQUIRED; The protocol version.
	ProtocolVersion *int32

	// REQUIRED; The release indicator.
	ReleaseIndicator *int32

	// REQUIRED; The repetition separator.
	RepetitionSeparator *int32

	// REQUIRED; The segment terminator.
	SegmentTerminator *int32

	// REQUIRED; The EDIFACT frame setting segment terminator suffix.
	SegmentTerminatorSuffix *SegmentTerminatorSuffix

	// The character encoding.
	CharacterEncoding *string

	// The service code list directory version.
	ServiceCodeListDirectoryVersion *string
}

EdifactFramingSettings - The Edifact agreement framing settings.

func (EdifactFramingSettings) MarshalJSON added in v1.1.0

func (e EdifactFramingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactFramingSettings.

func (*EdifactFramingSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactFramingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactFramingSettings.

type EdifactMessageFilter

type EdifactMessageFilter struct {
	// REQUIRED; The message filter type.
	MessageFilterType *MessageFilterType
}

EdifactMessageFilter - The Edifact message filter for odata query.

func (EdifactMessageFilter) MarshalJSON added in v1.1.0

func (e EdifactMessageFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactMessageFilter.

func (*EdifactMessageFilter) UnmarshalJSON added in v1.1.0

func (e *EdifactMessageFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactMessageFilter.

type EdifactMessageIdentifier

type EdifactMessageIdentifier struct {
	// REQUIRED; The message id on which this envelope settings has to be applied.
	MessageID *string
}

EdifactMessageIdentifier - The Edifact message identifier.

func (EdifactMessageIdentifier) MarshalJSON added in v1.1.0

func (e EdifactMessageIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactMessageIdentifier.

func (*EdifactMessageIdentifier) UnmarshalJSON added in v1.1.0

func (e *EdifactMessageIdentifier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactMessageIdentifier.

type EdifactOneWayAgreement

type EdifactOneWayAgreement struct {
	// REQUIRED; The EDIFACT protocol settings.
	ProtocolSettings *EdifactProtocolSettings

	// REQUIRED; The receiver business identity
	ReceiverBusinessIdentity *BusinessIdentity

	// REQUIRED; The sender business identity
	SenderBusinessIdentity *BusinessIdentity
}

EdifactOneWayAgreement - The Edifact one way agreement.

func (EdifactOneWayAgreement) MarshalJSON added in v1.1.0

func (e EdifactOneWayAgreement) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactOneWayAgreement.

func (*EdifactOneWayAgreement) UnmarshalJSON added in v1.1.0

func (e *EdifactOneWayAgreement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactOneWayAgreement.

type EdifactProcessingSettings

type EdifactProcessingSettings struct {
	// REQUIRED; The value indicating whether to create empty xml tags for trailing separators.
	CreateEmptyXMLTagsForTrailingSeparators *bool

	// REQUIRED; The value indicating whether to mask security information.
	MaskSecurityInfo *bool

	// REQUIRED; The value indicating whether to preserve interchange.
	PreserveInterchange *bool

	// REQUIRED; The value indicating whether to suspend interchange on error.
	SuspendInterchangeOnError *bool

	// REQUIRED; The value indicating whether to use dot as decimal separator.
	UseDotAsDecimalSeparator *bool
}

EdifactProcessingSettings - The Edifact agreement protocol settings.

func (EdifactProcessingSettings) MarshalJSON added in v1.1.0

func (e EdifactProcessingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactProcessingSettings.

func (*EdifactProcessingSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactProcessingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactProcessingSettings.

type EdifactProtocolSettings

type EdifactProtocolSettings struct {
	// REQUIRED; The EDIFACT acknowledgement settings.
	AcknowledgementSettings *EdifactAcknowledgementSettings

	// REQUIRED; The EDIFACT envelope settings.
	EnvelopeSettings *EdifactEnvelopeSettings

	// REQUIRED; The EDIFACT framing settings.
	FramingSettings *EdifactFramingSettings

	// REQUIRED; The EDIFACT message filter.
	MessageFilter *EdifactMessageFilter

	// REQUIRED; The EDIFACT processing Settings.
	ProcessingSettings *EdifactProcessingSettings

	// REQUIRED; The EDIFACT schema references.
	SchemaReferences []*EdifactSchemaReference

	// REQUIRED; The EDIFACT validation settings.
	ValidationSettings *EdifactValidationSettings

	// The EDIFACT delimiter override settings.
	EdifactDelimiterOverrides []*EdifactDelimiterOverride

	// The EDIFACT envelope override settings.
	EnvelopeOverrides []*EdifactEnvelopeOverride

	// The EDIFACT message filter list.
	MessageFilterList []*EdifactMessageIdentifier

	// The EDIFACT validation override settings.
	ValidationOverrides []*EdifactValidationOverride
}

EdifactProtocolSettings - The Edifact agreement protocol settings.

func (EdifactProtocolSettings) MarshalJSON

func (e EdifactProtocolSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactProtocolSettings.

func (*EdifactProtocolSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactProtocolSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactProtocolSettings.

type EdifactSchemaReference

type EdifactSchemaReference struct {
	// REQUIRED; The message id.
	MessageID *string

	// REQUIRED; The message release version.
	MessageRelease *string

	// REQUIRED; The message version.
	MessageVersion *string

	// REQUIRED; The schema name.
	SchemaName *string

	// The association assigned code.
	AssociationAssignedCode *string

	// The sender application id.
	SenderApplicationID *string

	// The sender application qualifier.
	SenderApplicationQualifier *string
}

EdifactSchemaReference - The Edifact schema reference.

func (EdifactSchemaReference) MarshalJSON added in v1.1.0

func (e EdifactSchemaReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactSchemaReference.

func (*EdifactSchemaReference) UnmarshalJSON added in v1.1.0

func (e *EdifactSchemaReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactSchemaReference.

type EdifactValidationOverride

type EdifactValidationOverride struct {
	// REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes.
	AllowLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to validate character Set.
	EnforceCharacterSet *bool

	// REQUIRED; The message id on which the validation settings has to be applied.
	MessageID *string

	// REQUIRED; The trailing separator policy.
	TrailingSeparatorPolicy *TrailingSeparatorPolicy

	// REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes.
	TrimLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to validate EDI types.
	ValidateEDITypes *bool

	// REQUIRED; The value indicating whether to validate XSD types.
	ValidateXSDTypes *bool
}

EdifactValidationOverride - The Edifact validation override settings.

func (EdifactValidationOverride) MarshalJSON added in v1.1.0

func (e EdifactValidationOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactValidationOverride.

func (*EdifactValidationOverride) UnmarshalJSON added in v1.1.0

func (e *EdifactValidationOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactValidationOverride.

type EdifactValidationSettings

type EdifactValidationSettings struct {
	// REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes.
	AllowLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to check for duplicate group control number.
	CheckDuplicateGroupControlNumber *bool

	// REQUIRED; The value indicating whether to check for duplicate interchange control number.
	CheckDuplicateInterchangeControlNumber *bool

	// REQUIRED; The value indicating whether to check for duplicate transaction set control number.
	CheckDuplicateTransactionSetControlNumber *bool

	// REQUIRED; The validity period of interchange control number.
	InterchangeControlNumberValidityDays *int32

	// REQUIRED; The trailing separator policy.
	TrailingSeparatorPolicy *TrailingSeparatorPolicy

	// REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes.
	TrimLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to validate character set in the message.
	ValidateCharacterSet *bool

	// REQUIRED; The value indicating whether to Whether to validate EDI types.
	ValidateEDITypes *bool

	// REQUIRED; The value indicating whether to Whether to validate XSD types.
	ValidateXSDTypes *bool
}

EdifactValidationSettings - The Edifact agreement validation settings.

func (EdifactValidationSettings) MarshalJSON added in v1.1.0

func (e EdifactValidationSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EdifactValidationSettings.

func (*EdifactValidationSettings) UnmarshalJSON added in v1.1.0

func (e *EdifactValidationSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EdifactValidationSettings.

type EncryptionAlgorithm

type EncryptionAlgorithm string

EncryptionAlgorithm - The encryption algorithm.

const (
	EncryptionAlgorithmAES128       EncryptionAlgorithm = "AES128"
	EncryptionAlgorithmAES192       EncryptionAlgorithm = "AES192"
	EncryptionAlgorithmAES256       EncryptionAlgorithm = "AES256"
	EncryptionAlgorithmDES3         EncryptionAlgorithm = "DES3"
	EncryptionAlgorithmNone         EncryptionAlgorithm = "None"
	EncryptionAlgorithmNotSpecified EncryptionAlgorithm = "NotSpecified"
	EncryptionAlgorithmRC2          EncryptionAlgorithm = "RC2"
)

func PossibleEncryptionAlgorithmValues

func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm

PossibleEncryptionAlgorithmValues returns the possible values for the EncryptionAlgorithm const type.

type ErrorInfo

type ErrorInfo struct {
	// REQUIRED; The error code.
	Code *string
}

ErrorInfo - The error info.

func (ErrorInfo) MarshalJSON

func (e ErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorInfo.

func (*ErrorInfo) UnmarshalJSON added in v1.1.0

func (e *ErrorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorInfo.

type ErrorProperties

type ErrorProperties struct {
	// Error code.
	Code *string

	// Error message indicating why the operation failed.
	Message *string
}

ErrorProperties - Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.

func (ErrorProperties) MarshalJSON added in v1.1.0

func (e ErrorProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorProperties.

func (*ErrorProperties) UnmarshalJSON added in v1.1.0

func (e *ErrorProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorProperties.

type ErrorResponse

type ErrorResponse struct {
	// The error properties.
	Error *ErrorProperties
}

ErrorResponse - Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.

func (ErrorResponse) MarshalJSON added in v1.1.0

func (e ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorResponse.

func (*ErrorResponse) UnmarshalJSON added in v1.1.0

func (e *ErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.

type ErrorResponseCode

type ErrorResponseCode string

ErrorResponseCode - The error response code.

const (
	ErrorResponseCodeIntegrationServiceEnvironmentNotFound ErrorResponseCode = "IntegrationServiceEnvironmentNotFound"
	ErrorResponseCodeInternalServerError                   ErrorResponseCode = "InternalServerError"
	ErrorResponseCodeInvalidOperationID                    ErrorResponseCode = "InvalidOperationId"
	ErrorResponseCodeNotSpecified                          ErrorResponseCode = "NotSpecified"
)

func PossibleErrorResponseCodeValues

func PossibleErrorResponseCodeValues() []ErrorResponseCode

PossibleErrorResponseCodeValues returns the possible values for the ErrorResponseCode const type.

type EventLevel

type EventLevel string

EventLevel - The event level.

const (
	EventLevelCritical      EventLevel = "Critical"
	EventLevelError         EventLevel = "Error"
	EventLevelInformational EventLevel = "Informational"
	EventLevelLogAlways     EventLevel = "LogAlways"
	EventLevelVerbose       EventLevel = "Verbose"
	EventLevelWarning       EventLevel = "Warning"
)

func PossibleEventLevelValues

func PossibleEventLevelValues() []EventLevel

PossibleEventLevelValues returns the possible values for the EventLevel const type.

type Expression

type Expression struct {
	// The azure resource error info.
	Error *AzureResourceErrorInfo

	// The sub expressions.
	Subexpressions []*Expression

	// The text.
	Text *string

	// Anything
	Value any
}

Expression - The expression.

func (Expression) MarshalJSON

func (e Expression) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Expression.

func (*Expression) UnmarshalJSON added in v1.1.0

func (e *Expression) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Expression.

type ExpressionRoot

type ExpressionRoot struct {
	// The azure resource error info.
	Error *AzureResourceErrorInfo

	// The path.
	Path *string

	// The sub expressions.
	Subexpressions []*Expression

	// The text.
	Text *string

	// Anything
	Value any
}

ExpressionRoot - The expression root.

func (ExpressionRoot) MarshalJSON

func (e ExpressionRoot) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressionRoot.

func (*ExpressionRoot) UnmarshalJSON added in v1.1.0

func (e *ExpressionRoot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExpressionRoot.

type ExpressionTraces

type ExpressionTraces struct {
	Inputs []*ExpressionRoot
}

ExpressionTraces - The expression traces.

func (ExpressionTraces) MarshalJSON

func (e ExpressionTraces) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressionTraces.

func (*ExpressionTraces) UnmarshalJSON added in v1.1.0

func (e *ExpressionTraces) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExpressionTraces.

type ExtendedErrorInfo

type ExtendedErrorInfo struct {
	// REQUIRED; The error code.
	Code *ErrorResponseCode

	// REQUIRED; The error message.
	Message *string

	// The error message details.
	Details []*ExtendedErrorInfo

	// The inner error.
	InnerError any
}

ExtendedErrorInfo - The extended error info.

func (ExtendedErrorInfo) MarshalJSON

func (e ExtendedErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExtendedErrorInfo.

func (*ExtendedErrorInfo) UnmarshalJSON added in v1.1.0

func (e *ExtendedErrorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ExtendedErrorInfo.

type FlowAccessControlConfiguration

type FlowAccessControlConfiguration struct {
	// The access control configuration for workflow actions.
	Actions *FlowAccessControlConfigurationPolicy

	// The access control configuration for accessing workflow run contents.
	Contents *FlowAccessControlConfigurationPolicy

	// The access control configuration for invoking workflow triggers.
	Triggers *FlowAccessControlConfigurationPolicy

	// The access control configuration for workflow management.
	WorkflowManagement *FlowAccessControlConfigurationPolicy
}

FlowAccessControlConfiguration - The access control configuration.

func (FlowAccessControlConfiguration) MarshalJSON added in v1.1.0

func (f FlowAccessControlConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowAccessControlConfiguration.

func (*FlowAccessControlConfiguration) UnmarshalJSON added in v1.1.0

func (f *FlowAccessControlConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowAccessControlConfiguration.

type FlowAccessControlConfigurationPolicy

type FlowAccessControlConfigurationPolicy struct {
	// The allowed caller IP address ranges.
	AllowedCallerIPAddresses []*IPAddressRange

	// The authentication policies for workflow.
	OpenAuthenticationPolicies *OpenAuthenticationAccessPolicies
}

FlowAccessControlConfigurationPolicy - The access control configuration policy.

func (FlowAccessControlConfigurationPolicy) MarshalJSON

func (f FlowAccessControlConfigurationPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowAccessControlConfigurationPolicy.

func (*FlowAccessControlConfigurationPolicy) UnmarshalJSON added in v1.1.0

func (f *FlowAccessControlConfigurationPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowAccessControlConfigurationPolicy.

type FlowEndpoints

type FlowEndpoints struct {
	// The access endpoint ip address.
	AccessEndpointIPAddresses []*IPAddress

	// The outgoing ip address.
	OutgoingIPAddresses []*IPAddress
}

FlowEndpoints - The flow endpoints configuration.

func (FlowEndpoints) MarshalJSON

func (f FlowEndpoints) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowEndpoints.

func (*FlowEndpoints) UnmarshalJSON added in v1.1.0

func (f *FlowEndpoints) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowEndpoints.

type FlowEndpointsConfiguration

type FlowEndpointsConfiguration struct {
	// The connector endpoints.
	Connector *FlowEndpoints

	// The workflow endpoints.
	Workflow *FlowEndpoints
}

FlowEndpointsConfiguration - The endpoints configuration.

func (FlowEndpointsConfiguration) MarshalJSON added in v1.1.0

func (f FlowEndpointsConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowEndpointsConfiguration.

func (*FlowEndpointsConfiguration) UnmarshalJSON added in v1.1.0

func (f *FlowEndpointsConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FlowEndpointsConfiguration.

type GenerateUpgradedDefinitionParameters

type GenerateUpgradedDefinitionParameters struct {
	// The target schema version.
	TargetSchemaVersion *string
}

GenerateUpgradedDefinitionParameters - The parameters to generate upgraded definition.

func (GenerateUpgradedDefinitionParameters) MarshalJSON added in v1.1.0

func (g GenerateUpgradedDefinitionParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenerateUpgradedDefinitionParameters.

func (*GenerateUpgradedDefinitionParameters) UnmarshalJSON added in v1.1.0

func (g *GenerateUpgradedDefinitionParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenerateUpgradedDefinitionParameters.

type GetCallbackURLParameters

type GetCallbackURLParameters struct {
	// The key type.
	KeyType *KeyType

	// The expiry time.
	NotAfter *time.Time
}

GetCallbackURLParameters - The callback url parameters.

func (GetCallbackURLParameters) MarshalJSON

func (g GetCallbackURLParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GetCallbackURLParameters.

func (*GetCallbackURLParameters) UnmarshalJSON

func (g *GetCallbackURLParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GetCallbackURLParameters.

type HashingAlgorithm

type HashingAlgorithm string

HashingAlgorithm - The signing or hashing algorithm.

const (
	HashingAlgorithmMD5          HashingAlgorithm = "MD5"
	HashingAlgorithmNone         HashingAlgorithm = "None"
	HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified"
	HashingAlgorithmSHA1         HashingAlgorithm = "SHA1"
	HashingAlgorithmSHA2256      HashingAlgorithm = "SHA2256"
	HashingAlgorithmSHA2384      HashingAlgorithm = "SHA2384"
	HashingAlgorithmSHA2512      HashingAlgorithm = "SHA2512"
)

func PossibleHashingAlgorithmValues

func PossibleHashingAlgorithmValues() []HashingAlgorithm

PossibleHashingAlgorithmValues returns the possible values for the HashingAlgorithm const type.

type IPAddress

type IPAddress struct {
	// The address.
	Address *string
}

IPAddress - The ip address.

func (IPAddress) MarshalJSON added in v1.1.0

func (i IPAddress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAddress.

func (*IPAddress) UnmarshalJSON added in v1.1.0

func (i *IPAddress) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IPAddress.

type IPAddressRange

type IPAddressRange struct {
	// The IP address range.
	AddressRange *string
}

IPAddressRange - The ip address range.

func (IPAddressRange) MarshalJSON added in v1.1.0

func (i IPAddressRange) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAddressRange.

func (*IPAddressRange) UnmarshalJSON added in v1.1.0

func (i *IPAddressRange) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IPAddressRange.

type IntegrationAccount

type IntegrationAccount struct {
	// The resource location.
	Location *string

	// The integration account properties.
	Properties *IntegrationAccountProperties

	// The sku.
	SKU *IntegrationAccountSKU

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccount - The integration account.

func (IntegrationAccount) MarshalJSON

func (i IntegrationAccount) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccount.

func (*IntegrationAccount) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccount) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccount.

type IntegrationAccountAgreement

type IntegrationAccountAgreement struct {
	// REQUIRED; The integration account agreement properties.
	Properties *IntegrationAccountAgreementProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountAgreement - The integration account agreement.

func (IntegrationAccountAgreement) MarshalJSON

func (i IntegrationAccountAgreement) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountAgreement.

func (*IntegrationAccountAgreement) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountAgreement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountAgreement.

type IntegrationAccountAgreementFilter

type IntegrationAccountAgreementFilter struct {
	// REQUIRED; The agreement type of integration account agreement.
	AgreementType *AgreementType
}

IntegrationAccountAgreementFilter - The integration account agreement filter for odata query.

func (IntegrationAccountAgreementFilter) MarshalJSON added in v1.1.0

func (i IntegrationAccountAgreementFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountAgreementFilter.

func (*IntegrationAccountAgreementFilter) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountAgreementFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountAgreementFilter.

type IntegrationAccountAgreementListResult

type IntegrationAccountAgreementListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account agreements.
	Value []*IntegrationAccountAgreement
}

IntegrationAccountAgreementListResult - The list of integration account agreements.

func (IntegrationAccountAgreementListResult) MarshalJSON

func (i IntegrationAccountAgreementListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountAgreementListResult.

func (*IntegrationAccountAgreementListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountAgreementListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountAgreementListResult.

type IntegrationAccountAgreementProperties

type IntegrationAccountAgreementProperties struct {
	// REQUIRED; The agreement type.
	AgreementType *AgreementType

	// REQUIRED; The agreement content.
	Content *AgreementContent

	// REQUIRED; The business identity of the guest partner.
	GuestIdentity *BusinessIdentity

	// REQUIRED; The integration account partner that is set as guest partner for this agreement.
	GuestPartner *string

	// REQUIRED; The business identity of the host partner.
	HostIdentity *BusinessIdentity

	// REQUIRED; The integration account partner that is set as host partner for this agreement.
	HostPartner *string

	// The metadata.
	Metadata any

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountAgreementProperties - The integration account agreement properties.

func (IntegrationAccountAgreementProperties) MarshalJSON

func (i IntegrationAccountAgreementProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountAgreementProperties.

func (*IntegrationAccountAgreementProperties) UnmarshalJSON

func (i *IntegrationAccountAgreementProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountAgreementProperties.

type IntegrationAccountAgreementsClient

type IntegrationAccountAgreementsClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountAgreementsClient contains the methods for the IntegrationAccountAgreements group. Don't use this type directly, use NewIntegrationAccountAgreementsClient() instead.

func NewIntegrationAccountAgreementsClient

func NewIntegrationAccountAgreementsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountAgreementsClient, error)

NewIntegrationAccountAgreementsClient creates a new instance of IntegrationAccountAgreementsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountAgreementsClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account agreement. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • agreementName - The integration account agreement name.
  • agreement - The integration account agreement.
  • options - IntegrationAccountAgreementsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountAgreementsClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAgreementsClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testAgreement", armlogic.IntegrationAccountAgreement{
		Location: to.Ptr("westus"),
		Tags: map[string]*string{
			"IntegrationAccountAgreement": to.Ptr("<IntegrationAccountAgreementName>"),
		},
		Properties: &armlogic.IntegrationAccountAgreementProperties{
			AgreementType: to.Ptr(armlogic.AgreementTypeAS2),
			Content: &armlogic.AgreementContent{
				AS2: &armlogic.AS2AgreementContent{
					ReceiveAgreement: &armlogic.AS2OneWayAgreement{
						ProtocolSettings: &armlogic.AS2ProtocolSettings{
							AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
								IgnoreCertificateNameMismatch: to.Ptr(true),
								KeepHTTPConnectionAlive:       to.Ptr(true),
								SupportHTTPStatusCodeContinue: to.Ptr(true),
								UnfoldHTTPHeaders:             to.Ptr(true),
							},
							EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
								AutogenerateFileName:                    to.Ptr(true),
								FileNameTemplate:                        to.Ptr("Test"),
								MessageContentType:                      to.Ptr("text/plain"),
								SuspendMessageOnFileNameGenerationError: to.Ptr(true),
								TransmitFileNameInMimeHeader:            to.Ptr(true),
							},
							ErrorSettings: &armlogic.AS2ErrorSettings{
								ResendIfMDNNotReceived:  to.Ptr(true),
								SuspendDuplicateMessage: to.Ptr(true),
							},
							MdnSettings: &armlogic.AS2MdnSettings{
								DispositionNotificationTo:  to.Ptr("http://tempuri.org"),
								MdnText:                    to.Ptr("Sample"),
								MicHashingAlgorithm:        to.Ptr(armlogic.HashingAlgorithmSHA1),
								NeedMDN:                    to.Ptr(true),
								ReceiptDeliveryURL:         to.Ptr("http://tempuri.org"),
								SendInboundMDNToMessageBox: to.Ptr(true),
								SendMDNAsynchronously:      to.Ptr(true),
								SignMDN:                    to.Ptr(true),
								SignOutboundMDNIfOptional:  to.Ptr(true),
							},
							MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
								IgnoreCertificateNameMismatch: to.Ptr(true),
								KeepHTTPConnectionAlive:       to.Ptr(true),
								SupportHTTPStatusCodeContinue: to.Ptr(true),
								UnfoldHTTPHeaders:             to.Ptr(true),
							},
							SecuritySettings: &armlogic.AS2SecuritySettings{
								EnableNRRForInboundDecodedMessages:  to.Ptr(true),
								EnableNRRForInboundEncodedMessages:  to.Ptr(true),
								EnableNRRForInboundMDN:              to.Ptr(true),
								EnableNRRForOutboundDecodedMessages: to.Ptr(true),
								EnableNRRForOutboundEncodedMessages: to.Ptr(true),
								EnableNRRForOutboundMDN:             to.Ptr(true),
								OverrideGroupSigningCertificate:     to.Ptr(false),
							},
							ValidationSettings: &armlogic.AS2ValidationSettings{
								CheckCertificateRevocationListOnReceive: to.Ptr(true),
								CheckCertificateRevocationListOnSend:    to.Ptr(true),
								CheckDuplicateMessage:                   to.Ptr(true),
								CompressMessage:                         to.Ptr(true),
								EncryptMessage:                          to.Ptr(false),
								EncryptionAlgorithm:                     to.Ptr(armlogic.EncryptionAlgorithmAES128),
								InterchangeDuplicatesValidityDays:       to.Ptr[int32](100),
								OverrideMessageProperties:               to.Ptr(true),
								SignMessage:                             to.Ptr(false),
							},
						},
						ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
							Qualifier: to.Ptr("ZZ"),
							Value:     to.Ptr("ZZ"),
						},
						SenderBusinessIdentity: &armlogic.BusinessIdentity{
							Qualifier: to.Ptr("AA"),
							Value:     to.Ptr("AA"),
						},
					},
					SendAgreement: &armlogic.AS2OneWayAgreement{
						ProtocolSettings: &armlogic.AS2ProtocolSettings{
							AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
								IgnoreCertificateNameMismatch: to.Ptr(true),
								KeepHTTPConnectionAlive:       to.Ptr(true),
								SupportHTTPStatusCodeContinue: to.Ptr(true),
								UnfoldHTTPHeaders:             to.Ptr(true),
							},
							EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
								AutogenerateFileName:                    to.Ptr(true),
								FileNameTemplate:                        to.Ptr("Test"),
								MessageContentType:                      to.Ptr("text/plain"),
								SuspendMessageOnFileNameGenerationError: to.Ptr(true),
								TransmitFileNameInMimeHeader:            to.Ptr(true),
							},
							ErrorSettings: &armlogic.AS2ErrorSettings{
								ResendIfMDNNotReceived:  to.Ptr(true),
								SuspendDuplicateMessage: to.Ptr(true),
							},
							MdnSettings: &armlogic.AS2MdnSettings{
								DispositionNotificationTo:  to.Ptr("http://tempuri.org"),
								MdnText:                    to.Ptr("Sample"),
								MicHashingAlgorithm:        to.Ptr(armlogic.HashingAlgorithmSHA1),
								NeedMDN:                    to.Ptr(true),
								ReceiptDeliveryURL:         to.Ptr("http://tempuri.org"),
								SendInboundMDNToMessageBox: to.Ptr(true),
								SendMDNAsynchronously:      to.Ptr(true),
								SignMDN:                    to.Ptr(true),
								SignOutboundMDNIfOptional:  to.Ptr(true),
							},
							MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
								IgnoreCertificateNameMismatch: to.Ptr(true),
								KeepHTTPConnectionAlive:       to.Ptr(true),
								SupportHTTPStatusCodeContinue: to.Ptr(true),
								UnfoldHTTPHeaders:             to.Ptr(true),
							},
							SecuritySettings: &armlogic.AS2SecuritySettings{
								EnableNRRForInboundDecodedMessages:  to.Ptr(true),
								EnableNRRForInboundEncodedMessages:  to.Ptr(true),
								EnableNRRForInboundMDN:              to.Ptr(true),
								EnableNRRForOutboundDecodedMessages: to.Ptr(true),
								EnableNRRForOutboundEncodedMessages: to.Ptr(true),
								EnableNRRForOutboundMDN:             to.Ptr(true),
								OverrideGroupSigningCertificate:     to.Ptr(false),
							},
							ValidationSettings: &armlogic.AS2ValidationSettings{
								CheckCertificateRevocationListOnReceive: to.Ptr(true),
								CheckCertificateRevocationListOnSend:    to.Ptr(true),
								CheckDuplicateMessage:                   to.Ptr(true),
								CompressMessage:                         to.Ptr(true),
								EncryptMessage:                          to.Ptr(false),
								EncryptionAlgorithm:                     to.Ptr(armlogic.EncryptionAlgorithmAES128),
								InterchangeDuplicatesValidityDays:       to.Ptr[int32](100),
								OverrideMessageProperties:               to.Ptr(true),
								SignMessage:                             to.Ptr(false),
							},
						},
						ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
							Qualifier: to.Ptr("AA"),
							Value:     to.Ptr("AA"),
						},
						SenderBusinessIdentity: &armlogic.BusinessIdentity{
							Qualifier: to.Ptr("ZZ"),
							Value:     to.Ptr("ZZ"),
						},
					},
				},
			},
			GuestIdentity: &armlogic.BusinessIdentity{
				Qualifier: to.Ptr("AA"),
				Value:     to.Ptr("AA"),
			},
			GuestPartner: to.Ptr("GuestPartner"),
			HostIdentity: &armlogic.BusinessIdentity{
				Qualifier: to.Ptr("ZZ"),
				Value:     to.Ptr("ZZ"),
			},
			HostPartner: to.Ptr("HostPartner"),
			Metadata:    map[string]any{},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountAgreement = armlogic.IntegrationAccountAgreement{
	// 	Name: to.Ptr("<IntegrationAccountAgreementName>"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/agreements"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4533/agreements/<IntegrationAccountAgreementName>"),
	// 	Properties: &armlogic.IntegrationAccountAgreementProperties{
	// 		AgreementType: to.Ptr(armlogic.AgreementTypeAS2),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:32:54.294Z"); return t}()),
	// 		Content: &armlogic.AgreementContent{
	// 			AS2: &armlogic.AS2AgreementContent{
	// 				ReceiveAgreement: &armlogic.AS2OneWayAgreement{
	// 					ProtocolSettings: &armlogic.AS2ProtocolSettings{
	// 						AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
	// 							AutogenerateFileName: to.Ptr(true),
	// 							FileNameTemplate: to.Ptr("Test"),
	// 							MessageContentType: to.Ptr("text/plain"),
	// 							SuspendMessageOnFileNameGenerationError: to.Ptr(true),
	// 							TransmitFileNameInMimeHeader: to.Ptr(true),
	// 						},
	// 						ErrorSettings: &armlogic.AS2ErrorSettings{
	// 							ResendIfMDNNotReceived: to.Ptr(true),
	// 							SuspendDuplicateMessage: to.Ptr(true),
	// 						},
	// 						MdnSettings: &armlogic.AS2MdnSettings{
	// 							DispositionNotificationTo: to.Ptr("http://tempuri.org"),
	// 							MdnText: to.Ptr("Sample"),
	// 							MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmSHA1),
	// 							NeedMDN: to.Ptr(true),
	// 							ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
	// 							SendInboundMDNToMessageBox: to.Ptr(true),
	// 							SendMDNAsynchronously: to.Ptr(true),
	// 							SignMDN: to.Ptr(true),
	// 							SignOutboundMDNIfOptional: to.Ptr(true),
	// 						},
	// 						MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						SecuritySettings: &armlogic.AS2SecuritySettings{
	// 							EnableNRRForInboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundMDN: to.Ptr(true),
	// 							EnableNRRForOutboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundMDN: to.Ptr(true),
	// 							OverrideGroupSigningCertificate: to.Ptr(false),
	// 						},
	// 						ValidationSettings: &armlogic.AS2ValidationSettings{
	// 							CheckCertificateRevocationListOnReceive: to.Ptr(true),
	// 							CheckCertificateRevocationListOnSend: to.Ptr(true),
	// 							CheckDuplicateMessage: to.Ptr(true),
	// 							CompressMessage: to.Ptr(true),
	// 							EncryptMessage: to.Ptr(false),
	// 							EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
	// 							InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
	// 							OverrideMessageProperties: to.Ptr(true),
	// 							SignMessage: to.Ptr(false),
	// 						},
	// 					},
	// 					ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("ZZ"),
	// 						Value: to.Ptr("ZZ"),
	// 					},
	// 					SenderBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("AA"),
	// 					},
	// 				},
	// 				SendAgreement: &armlogic.AS2OneWayAgreement{
	// 					ProtocolSettings: &armlogic.AS2ProtocolSettings{
	// 						AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
	// 							AutogenerateFileName: to.Ptr(true),
	// 							FileNameTemplate: to.Ptr("Test"),
	// 							MessageContentType: to.Ptr("text/plain"),
	// 							SuspendMessageOnFileNameGenerationError: to.Ptr(true),
	// 							TransmitFileNameInMimeHeader: to.Ptr(true),
	// 						},
	// 						ErrorSettings: &armlogic.AS2ErrorSettings{
	// 							ResendIfMDNNotReceived: to.Ptr(true),
	// 							SuspendDuplicateMessage: to.Ptr(true),
	// 						},
	// 						MdnSettings: &armlogic.AS2MdnSettings{
	// 							DispositionNotificationTo: to.Ptr("http://tempuri.org"),
	// 							MdnText: to.Ptr("Sample"),
	// 							MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmSHA1),
	// 							NeedMDN: to.Ptr(true),
	// 							ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
	// 							SendInboundMDNToMessageBox: to.Ptr(true),
	// 							SendMDNAsynchronously: to.Ptr(true),
	// 							SignMDN: to.Ptr(true),
	// 							SignOutboundMDNIfOptional: to.Ptr(true),
	// 						},
	// 						MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						SecuritySettings: &armlogic.AS2SecuritySettings{
	// 							EnableNRRForInboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundMDN: to.Ptr(true),
	// 							EnableNRRForOutboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundMDN: to.Ptr(true),
	// 							OverrideGroupSigningCertificate: to.Ptr(false),
	// 						},
	// 						ValidationSettings: &armlogic.AS2ValidationSettings{
	// 							CheckCertificateRevocationListOnReceive: to.Ptr(true),
	// 							CheckCertificateRevocationListOnSend: to.Ptr(true),
	// 							CheckDuplicateMessage: to.Ptr(true),
	// 							CompressMessage: to.Ptr(true),
	// 							EncryptMessage: to.Ptr(false),
	// 							EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
	// 							InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
	// 							OverrideMessageProperties: to.Ptr(true),
	// 							SignMessage: to.Ptr(false),
	// 						},
	// 					},
	// 					ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("AA"),
	// 					},
	// 					SenderBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("ZZ"),
	// 						Value: to.Ptr("ZZ"),
	// 					},
	// 				},
	// 			},
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:32:54.293Z"); return t}()),
	// 		GuestIdentity: &armlogic.BusinessIdentity{
	// 			Qualifier: to.Ptr("AA"),
	// 			Value: to.Ptr("AA"),
	// 		},
	// 		GuestPartner: to.Ptr("GuestPartner"),
	// 		HostIdentity: &armlogic.BusinessIdentity{
	// 			Qualifier: to.Ptr("ZZ"),
	// 			Value: to.Ptr("ZZ"),
	// 		},
	// 		HostPartner: to.Ptr("HostPartner"),
	// 		Metadata: map[string]any{
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountAgreementsClient) Delete

Delete - Deletes an integration account agreement. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • agreementName - The integration account agreement name.
  • options - IntegrationAccountAgreementsClientDeleteOptions contains the optional parameters for the IntegrationAccountAgreementsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountAgreementsClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testAgreement", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountAgreementsClient) Get

Get - Gets an integration account agreement. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • agreementName - The integration account agreement name.
  • options - IntegrationAccountAgreementsClientGetOptions contains the optional parameters for the IntegrationAccountAgreementsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAgreementsClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testAgreement", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountAgreement = armlogic.IntegrationAccountAgreement{
	// 	Name: to.Ptr("<IntegrationAccountAgreementName>"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/agreements"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccountName>/agreements/<IntegrationAccountAgreementName>"),
	// 	Properties: &armlogic.IntegrationAccountAgreementProperties{
	// 		AgreementType: to.Ptr(armlogic.AgreementTypeAS2),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:32:54.294Z"); return t}()),
	// 		Content: &armlogic.AgreementContent{
	// 			AS2: &armlogic.AS2AgreementContent{
	// 				ReceiveAgreement: &armlogic.AS2OneWayAgreement{
	// 					ProtocolSettings: &armlogic.AS2ProtocolSettings{
	// 						AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
	// 							AutogenerateFileName: to.Ptr(true),
	// 							FileNameTemplate: to.Ptr("Test"),
	// 							MessageContentType: to.Ptr("text/plain"),
	// 							SuspendMessageOnFileNameGenerationError: to.Ptr(true),
	// 							TransmitFileNameInMimeHeader: to.Ptr(true),
	// 						},
	// 						ErrorSettings: &armlogic.AS2ErrorSettings{
	// 							ResendIfMDNNotReceived: to.Ptr(true),
	// 							SuspendDuplicateMessage: to.Ptr(true),
	// 						},
	// 						MdnSettings: &armlogic.AS2MdnSettings{
	// 							DispositionNotificationTo: to.Ptr("http://tempuri.org"),
	// 							MdnText: to.Ptr("Sample"),
	// 							MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmSHA1),
	// 							NeedMDN: to.Ptr(true),
	// 							ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
	// 							SendInboundMDNToMessageBox: to.Ptr(true),
	// 							SendMDNAsynchronously: to.Ptr(true),
	// 							SignMDN: to.Ptr(true),
	// 							SignOutboundMDNIfOptional: to.Ptr(true),
	// 						},
	// 						MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						SecuritySettings: &armlogic.AS2SecuritySettings{
	// 							EnableNRRForInboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundMDN: to.Ptr(true),
	// 							EnableNRRForOutboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundMDN: to.Ptr(true),
	// 							OverrideGroupSigningCertificate: to.Ptr(false),
	// 						},
	// 						ValidationSettings: &armlogic.AS2ValidationSettings{
	// 							CheckCertificateRevocationListOnReceive: to.Ptr(true),
	// 							CheckCertificateRevocationListOnSend: to.Ptr(true),
	// 							CheckDuplicateMessage: to.Ptr(true),
	// 							CompressMessage: to.Ptr(true),
	// 							EncryptMessage: to.Ptr(false),
	// 							EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
	// 							InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
	// 							OverrideMessageProperties: to.Ptr(true),
	// 							SignMessage: to.Ptr(false),
	// 						},
	// 					},
	// 					ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("ZZ"),
	// 						Value: to.Ptr("ZZ"),
	// 					},
	// 					SenderBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("AA"),
	// 					},
	// 				},
	// 				SendAgreement: &armlogic.AS2OneWayAgreement{
	// 					ProtocolSettings: &armlogic.AS2ProtocolSettings{
	// 						AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
	// 							AutogenerateFileName: to.Ptr(true),
	// 							FileNameTemplate: to.Ptr("Test"),
	// 							MessageContentType: to.Ptr("text/plain"),
	// 							SuspendMessageOnFileNameGenerationError: to.Ptr(true),
	// 							TransmitFileNameInMimeHeader: to.Ptr(true),
	// 						},
	// 						ErrorSettings: &armlogic.AS2ErrorSettings{
	// 							ResendIfMDNNotReceived: to.Ptr(true),
	// 							SuspendDuplicateMessage: to.Ptr(true),
	// 						},
	// 						MdnSettings: &armlogic.AS2MdnSettings{
	// 							DispositionNotificationTo: to.Ptr("http://tempuri.org"),
	// 							MdnText: to.Ptr("Sample"),
	// 							MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmSHA1),
	// 							NeedMDN: to.Ptr(true),
	// 							ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
	// 							SendInboundMDNToMessageBox: to.Ptr(true),
	// 							SendMDNAsynchronously: to.Ptr(true),
	// 							SignMDN: to.Ptr(true),
	// 							SignOutboundMDNIfOptional: to.Ptr(true),
	// 						},
	// 						MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
	// 							IgnoreCertificateNameMismatch: to.Ptr(true),
	// 							KeepHTTPConnectionAlive: to.Ptr(true),
	// 							SupportHTTPStatusCodeContinue: to.Ptr(true),
	// 							UnfoldHTTPHeaders: to.Ptr(true),
	// 						},
	// 						SecuritySettings: &armlogic.AS2SecuritySettings{
	// 							EnableNRRForInboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForInboundMDN: to.Ptr(true),
	// 							EnableNRRForOutboundDecodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundEncodedMessages: to.Ptr(true),
	// 							EnableNRRForOutboundMDN: to.Ptr(true),
	// 							OverrideGroupSigningCertificate: to.Ptr(false),
	// 						},
	// 						ValidationSettings: &armlogic.AS2ValidationSettings{
	// 							CheckCertificateRevocationListOnReceive: to.Ptr(true),
	// 							CheckCertificateRevocationListOnSend: to.Ptr(true),
	// 							CheckDuplicateMessage: to.Ptr(true),
	// 							CompressMessage: to.Ptr(true),
	// 							EncryptMessage: to.Ptr(false),
	// 							EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
	// 							InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
	// 							OverrideMessageProperties: to.Ptr(true),
	// 							SignMessage: to.Ptr(false),
	// 						},
	// 					},
	// 					ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("AA"),
	// 					},
	// 					SenderBusinessIdentity: &armlogic.BusinessIdentity{
	// 						Qualifier: to.Ptr("ZZ"),
	// 						Value: to.Ptr("ZZ"),
	// 					},
	// 				},
	// 			},
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:32:54.293Z"); return t}()),
	// 		GuestIdentity: &armlogic.BusinessIdentity{
	// 			Qualifier: to.Ptr("AA"),
	// 			Value: to.Ptr("AA"),
	// 		},
	// 		GuestPartner: to.Ptr("GuestPartner"),
	// 		HostIdentity: &armlogic.BusinessIdentity{
	// 			Qualifier: to.Ptr("ZZ"),
	// 			Value: to.Ptr("ZZ"),
	// 		},
	// 		HostPartner: to.Ptr("HostPartner"),
	// 		Metadata: map[string]any{
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountAgreementsClient) ListContentCallbackURL

func (client *IntegrationAccountAgreementsClient) ListContentCallbackURL(ctx context.Context, resourceGroupName string, integrationAccountName string, agreementName string, listContentCallbackURL GetCallbackURLParameters, options *IntegrationAccountAgreementsClientListContentCallbackURLOptions) (IntegrationAccountAgreementsClientListContentCallbackURLResponse, error)

ListContentCallbackURL - Get the content callback url. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • agreementName - The integration account agreement name.
  • options - IntegrationAccountAgreementsClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountAgreementsClient.ListContentCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAgreementsClient().ListContentCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", "testAgreement", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-19T16:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("GET"),
	// 	BasePath: to.Ptr("https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/agreements/testAgreement/contents/Value"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 	},
	// 	Value: to.Ptr("https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/agreements/testAgreement/contents/Value?api-version=2015-08-01-preview&sp=%2Fagreements%2FtestAgreement%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4"),
	// }
}
Output:

func (*IntegrationAccountAgreementsClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration account agreements.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountAgreementsClientListOptions contains the optional parameters for the IntegrationAccountAgreementsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountAgreementsClient().NewListPager("testResourceGroup", "testIntegrationAccount", &armlogic.IntegrationAccountAgreementsClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountAgreementListResult = armlogic.IntegrationAccountAgreementListResult{
		// 	Value: []*armlogic.IntegrationAccountAgreement{
		// 		{
		// 			Name: to.Ptr("<IntegrationAccountAgreementName>"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/agreements"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccountName>/agreements/<IntegrationAccountAgreementName>"),
		// 			Properties: &armlogic.IntegrationAccountAgreementProperties{
		// 				AgreementType: to.Ptr(armlogic.AgreementTypeX12),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:54.152Z"); return t}()),
		// 				Content: &armlogic.AgreementContent{
		// 					X12: &armlogic.X12AgreementContent{
		// 						ReceiveAgreement: &armlogic.X12OneWayAgreement{
		// 							ProtocolSettings: &armlogic.X12ProtocolSettings{
		// 								AcknowledgementSettings: &armlogic.X12AcknowledgementSettings{
		// 									AcknowledgementControlNumberLowerBound: to.Ptr[int32](1),
		// 									AcknowledgementControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									BatchFunctionalAcknowledgements: to.Ptr(true),
		// 									BatchImplementationAcknowledgements: to.Ptr(false),
		// 									BatchTechnicalAcknowledgements: to.Ptr(true),
		// 									NeedFunctionalAcknowledgement: to.Ptr(false),
		// 									NeedImplementationAcknowledgement: to.Ptr(false),
		// 									NeedLoopForValidMessages: to.Ptr(false),
		// 									NeedTechnicalAcknowledgement: to.Ptr(false),
		// 									RolloverAcknowledgementControlNumber: to.Ptr(true),
		// 									SendSynchronousAcknowledgement: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.X12EnvelopeSettings{
		// 									ControlStandardsID: to.Ptr[int32](85),
		// 									ControlVersionNumber: to.Ptr("00401"),
		// 									EnableDefaultGroupHeaders: to.Ptr(true),
		// 									GroupControlNumberLowerBound: to.Ptr[int32](1),
		// 									GroupControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									GroupHeaderAgencyCode: to.Ptr("T"),
		// 									GroupHeaderDateFormat: to.Ptr(armlogic.X12DateFormatCCYYMMDD),
		// 									GroupHeaderTimeFormat: to.Ptr(armlogic.X12TimeFormatHHMM),
		// 									GroupHeaderVersion: to.Ptr("00401"),
		// 									InterchangeControlNumberLowerBound: to.Ptr[int32](1),
		// 									InterchangeControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									OverwriteExistingTransactionSetControlNumber: to.Ptr(true),
		// 									ReceiverApplicationID: to.Ptr("RECEIVE-APP"),
		// 									RolloverGroupControlNumber: to.Ptr(true),
		// 									RolloverInterchangeControlNumber: to.Ptr(true),
		// 									RolloverTransactionSetControlNumber: to.Ptr(true),
		// 									SenderApplicationID: to.Ptr("BTS-SENDER"),
		// 									TransactionSetControlNumberLowerBound: to.Ptr[int32](1),
		// 									TransactionSetControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									UsageIndicator: to.Ptr(armlogic.UsageIndicatorTest),
		// 									UseControlStandardsIDAsRepetitionCharacter: to.Ptr(false),
		// 								},
		// 								FramingSettings: &armlogic.X12FramingSettings{
		// 									CharacterSet: to.Ptr(armlogic.X12CharacterSetUTF8),
		// 									ComponentSeparator: to.Ptr[int32](58),
		// 									DataElementSeparator: to.Ptr[int32](42),
		// 									ReplaceCharacter: to.Ptr[int32](36),
		// 									ReplaceSeparatorsInPayload: to.Ptr(false),
		// 									SegmentTerminator: to.Ptr[int32](126),
		// 									SegmentTerminatorSuffix: to.Ptr(armlogic.SegmentTerminatorSuffixNone),
		// 								},
		// 								MessageFilter: &armlogic.X12MessageFilter{
		// 									MessageFilterType: to.Ptr(armlogic.MessageFilterTypeExclude),
		// 								},
		// 								ProcessingSettings: &armlogic.X12ProcessingSettings{
		// 									ConvertImpliedDecimal: to.Ptr(true),
		// 									CreateEmptyXMLTagsForTrailingSeparators: to.Ptr(true),
		// 									MaskSecurityInfo: to.Ptr(true),
		// 									PreserveInterchange: to.Ptr(true),
		// 									SuspendInterchangeOnError: to.Ptr(true),
		// 									UseDotAsDecimalSeparator: to.Ptr(true),
		// 								},
		// 								SchemaReferences: []*armlogic.X12SchemaReference{
		// 								},
		// 								SecuritySettings: &armlogic.X12SecuritySettings{
		// 									AuthorizationQualifier: to.Ptr("00"),
		// 									SecurityQualifier: to.Ptr("00"),
		// 								},
		// 								ValidationSettings: &armlogic.X12ValidationSettings{
		// 									AllowLeadingAndTrailingSpacesAndZeroes: to.Ptr(false),
		// 									CheckDuplicateGroupControlNumber: to.Ptr(false),
		// 									CheckDuplicateInterchangeControlNumber: to.Ptr(false),
		// 									CheckDuplicateTransactionSetControlNumber: to.Ptr(false),
		// 									InterchangeControlNumberValidityDays: to.Ptr[int32](30),
		// 									TrailingSeparatorPolicy: to.Ptr(armlogic.TrailingSeparatorPolicyNotAllowed),
		// 									TrimLeadingAndTrailingSpacesAndZeroes: to.Ptr(false),
		// 									ValidateCharacterSet: to.Ptr(true),
		// 									ValidateEDITypes: to.Ptr(true),
		// 									ValidateXSDTypes: to.Ptr(false),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 						},
		// 						SendAgreement: &armlogic.X12OneWayAgreement{
		// 							ProtocolSettings: &armlogic.X12ProtocolSettings{
		// 								AcknowledgementSettings: &armlogic.X12AcknowledgementSettings{
		// 									AcknowledgementControlNumberLowerBound: to.Ptr[int32](1),
		// 									AcknowledgementControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									BatchFunctionalAcknowledgements: to.Ptr(true),
		// 									BatchImplementationAcknowledgements: to.Ptr(false),
		// 									BatchTechnicalAcknowledgements: to.Ptr(true),
		// 									NeedFunctionalAcknowledgement: to.Ptr(false),
		// 									NeedImplementationAcknowledgement: to.Ptr(false),
		// 									NeedLoopForValidMessages: to.Ptr(false),
		// 									NeedTechnicalAcknowledgement: to.Ptr(false),
		// 									RolloverAcknowledgementControlNumber: to.Ptr(true),
		// 									SendSynchronousAcknowledgement: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.X12EnvelopeSettings{
		// 									ControlStandardsID: to.Ptr[int32](100),
		// 									ControlVersionNumber: to.Ptr("0.0"),
		// 									EnableDefaultGroupHeaders: to.Ptr(true),
		// 									FunctionalGroupID: to.Ptr("1"),
		// 									GroupControlNumberLowerBound: to.Ptr[int32](1),
		// 									GroupControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									GroupHeaderAgencyCode: to.Ptr("T"),
		// 									GroupHeaderDateFormat: to.Ptr(armlogic.X12DateFormatCCYYMMDD),
		// 									GroupHeaderTimeFormat: to.Ptr(armlogic.X12TimeFormatHHMM),
		// 									GroupHeaderVersion: to.Ptr("0.0"),
		// 									InterchangeControlNumberLowerBound: to.Ptr[int32](1),
		// 									InterchangeControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									OverwriteExistingTransactionSetControlNumber: to.Ptr(true),
		// 									ReceiverApplicationID: to.Ptr("100"),
		// 									RolloverGroupControlNumber: to.Ptr(true),
		// 									RolloverInterchangeControlNumber: to.Ptr(true),
		// 									RolloverTransactionSetControlNumber: to.Ptr(true),
		// 									SenderApplicationID: to.Ptr("100"),
		// 									TransactionSetControlNumberLowerBound: to.Ptr[int32](1),
		// 									TransactionSetControlNumberPrefix: to.Ptr(""),
		// 									TransactionSetControlNumberSuffix: to.Ptr(""),
		// 									TransactionSetControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									UsageIndicator: to.Ptr(armlogic.UsageIndicatorInformation),
		// 									UseControlStandardsIDAsRepetitionCharacter: to.Ptr(true),
		// 								},
		// 								FramingSettings: &armlogic.X12FramingSettings{
		// 									CharacterSet: to.Ptr(armlogic.X12CharacterSetUTF8),
		// 									ComponentSeparator: to.Ptr[int32](58),
		// 									DataElementSeparator: to.Ptr[int32](42),
		// 									ReplaceCharacter: to.Ptr[int32](36),
		// 									ReplaceSeparatorsInPayload: to.Ptr(false),
		// 									SegmentTerminator: to.Ptr[int32](126),
		// 									SegmentTerminatorSuffix: to.Ptr(armlogic.SegmentTerminatorSuffixNone),
		// 								},
		// 								MessageFilter: &armlogic.X12MessageFilter{
		// 									MessageFilterType: to.Ptr(armlogic.MessageFilterTypeExclude),
		// 								},
		// 								ProcessingSettings: &armlogic.X12ProcessingSettings{
		// 									ConvertImpliedDecimal: to.Ptr(true),
		// 									CreateEmptyXMLTagsForTrailingSeparators: to.Ptr(true),
		// 									MaskSecurityInfo: to.Ptr(true),
		// 									PreserveInterchange: to.Ptr(true),
		// 									SuspendInterchangeOnError: to.Ptr(true),
		// 									UseDotAsDecimalSeparator: to.Ptr(true),
		// 								},
		// 								SchemaReferences: []*armlogic.X12SchemaReference{
		// 								},
		// 								SecuritySettings: &armlogic.X12SecuritySettings{
		// 									AuthorizationQualifier: to.Ptr("00"),
		// 									SecurityQualifier: to.Ptr("00"),
		// 								},
		// 								ValidationSettings: &armlogic.X12ValidationSettings{
		// 									AllowLeadingAndTrailingSpacesAndZeroes: to.Ptr(false),
		// 									CheckDuplicateGroupControlNumber: to.Ptr(false),
		// 									CheckDuplicateInterchangeControlNumber: to.Ptr(false),
		// 									CheckDuplicateTransactionSetControlNumber: to.Ptr(false),
		// 									InterchangeControlNumberValidityDays: to.Ptr[int32](30),
		// 									TrailingSeparatorPolicy: to.Ptr(armlogic.TrailingSeparatorPolicyNotAllowed),
		// 									TrimLeadingAndTrailingSpacesAndZeroes: to.Ptr(false),
		// 									ValidateCharacterSet: to.Ptr(true),
		// 									ValidateEDITypes: to.Ptr(true),
		// 									ValidateXSDTypes: to.Ptr(false),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 						},
		// 					},
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:54.151Z"); return t}()),
		// 				GuestIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("AA"),
		// 					Value: to.Ptr("AA"),
		// 				},
		// 				GuestPartner: to.Ptr("GuestPartner"),
		// 				HostIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("ZZ"),
		// 					Value: to.Ptr("ZZ"),
		// 				},
		// 				HostPartner: to.Ptr("HostPartner"),
		// 				Metadata: map[string]any{
		// 				},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("<IntegrationAccountAgreementName>"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/agreements"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccountName>/agreements/<IntegrationAccountAgreementName>"),
		// 			Properties: &armlogic.IntegrationAccountAgreementProperties{
		// 				AgreementType: to.Ptr(armlogic.AgreementTypeAS2),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:53.414Z"); return t}()),
		// 				Content: &armlogic.AgreementContent{
		// 					AS2: &armlogic.AS2AgreementContent{
		// 						ReceiveAgreement: &armlogic.AS2OneWayAgreement{
		// 							ProtocolSettings: &armlogic.AS2ProtocolSettings{
		// 								AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
		// 									IgnoreCertificateNameMismatch: to.Ptr(true),
		// 									KeepHTTPConnectionAlive: to.Ptr(true),
		// 									SupportHTTPStatusCodeContinue: to.Ptr(true),
		// 									UnfoldHTTPHeaders: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
		// 									AutogenerateFileName: to.Ptr(true),
		// 									FileNameTemplate: to.Ptr("Test"),
		// 									MessageContentType: to.Ptr("text/plain"),
		// 									SuspendMessageOnFileNameGenerationError: to.Ptr(true),
		// 									TransmitFileNameInMimeHeader: to.Ptr(true),
		// 								},
		// 								ErrorSettings: &armlogic.AS2ErrorSettings{
		// 									ResendIfMDNNotReceived: to.Ptr(true),
		// 									SuspendDuplicateMessage: to.Ptr(true),
		// 								},
		// 								MdnSettings: &armlogic.AS2MdnSettings{
		// 									DispositionNotificationTo: to.Ptr("http://tempuri.org"),
		// 									MdnText: to.Ptr("Sample"),
		// 									MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmNone),
		// 									NeedMDN: to.Ptr(true),
		// 									ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
		// 									SendInboundMDNToMessageBox: to.Ptr(true),
		// 									SendMDNAsynchronously: to.Ptr(true),
		// 									SignMDN: to.Ptr(true),
		// 									SignOutboundMDNIfOptional: to.Ptr(true),
		// 								},
		// 								MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
		// 									IgnoreCertificateNameMismatch: to.Ptr(true),
		// 									KeepHTTPConnectionAlive: to.Ptr(true),
		// 									SupportHTTPStatusCodeContinue: to.Ptr(true),
		// 									UnfoldHTTPHeaders: to.Ptr(true),
		// 								},
		// 								SecuritySettings: &armlogic.AS2SecuritySettings{
		// 									EnableNRRForInboundDecodedMessages: to.Ptr(true),
		// 									EnableNRRForInboundEncodedMessages: to.Ptr(true),
		// 									EnableNRRForInboundMDN: to.Ptr(true),
		// 									EnableNRRForOutboundDecodedMessages: to.Ptr(true),
		// 									EnableNRRForOutboundEncodedMessages: to.Ptr(true),
		// 									EnableNRRForOutboundMDN: to.Ptr(true),
		// 									OverrideGroupSigningCertificate: to.Ptr(false),
		// 								},
		// 								ValidationSettings: &armlogic.AS2ValidationSettings{
		// 									CheckCertificateRevocationListOnReceive: to.Ptr(true),
		// 									CheckCertificateRevocationListOnSend: to.Ptr(true),
		// 									CheckDuplicateMessage: to.Ptr(true),
		// 									CompressMessage: to.Ptr(true),
		// 									EncryptMessage: to.Ptr(false),
		// 									EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
		// 									InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
		// 									OverrideMessageProperties: to.Ptr(true),
		// 									SignMessage: to.Ptr(false),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 						},
		// 						SendAgreement: &armlogic.AS2OneWayAgreement{
		// 							ProtocolSettings: &armlogic.AS2ProtocolSettings{
		// 								AcknowledgementConnectionSettings: &armlogic.AS2AcknowledgementConnectionSettings{
		// 									IgnoreCertificateNameMismatch: to.Ptr(true),
		// 									KeepHTTPConnectionAlive: to.Ptr(true),
		// 									SupportHTTPStatusCodeContinue: to.Ptr(true),
		// 									UnfoldHTTPHeaders: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.AS2EnvelopeSettings{
		// 									AutogenerateFileName: to.Ptr(true),
		// 									FileNameTemplate: to.Ptr("Test"),
		// 									MessageContentType: to.Ptr("text/plain"),
		// 									SuspendMessageOnFileNameGenerationError: to.Ptr(true),
		// 									TransmitFileNameInMimeHeader: to.Ptr(true),
		// 								},
		// 								ErrorSettings: &armlogic.AS2ErrorSettings{
		// 									ResendIfMDNNotReceived: to.Ptr(true),
		// 									SuspendDuplicateMessage: to.Ptr(true),
		// 								},
		// 								MdnSettings: &armlogic.AS2MdnSettings{
		// 									DispositionNotificationTo: to.Ptr("http://tempuri.org"),
		// 									MdnText: to.Ptr("Sample"),
		// 									MicHashingAlgorithm: to.Ptr(armlogic.HashingAlgorithmNone),
		// 									NeedMDN: to.Ptr(true),
		// 									ReceiptDeliveryURL: to.Ptr("http://tempuri.org"),
		// 									SendInboundMDNToMessageBox: to.Ptr(true),
		// 									SendMDNAsynchronously: to.Ptr(true),
		// 									SignMDN: to.Ptr(true),
		// 									SignOutboundMDNIfOptional: to.Ptr(true),
		// 								},
		// 								MessageConnectionSettings: &armlogic.AS2MessageConnectionSettings{
		// 									IgnoreCertificateNameMismatch: to.Ptr(true),
		// 									KeepHTTPConnectionAlive: to.Ptr(true),
		// 									SupportHTTPStatusCodeContinue: to.Ptr(true),
		// 									UnfoldHTTPHeaders: to.Ptr(true),
		// 								},
		// 								SecuritySettings: &armlogic.AS2SecuritySettings{
		// 									EnableNRRForInboundDecodedMessages: to.Ptr(true),
		// 									EnableNRRForInboundEncodedMessages: to.Ptr(true),
		// 									EnableNRRForInboundMDN: to.Ptr(true),
		// 									EnableNRRForOutboundDecodedMessages: to.Ptr(true),
		// 									EnableNRRForOutboundEncodedMessages: to.Ptr(true),
		// 									EnableNRRForOutboundMDN: to.Ptr(true),
		// 									OverrideGroupSigningCertificate: to.Ptr(false),
		// 								},
		// 								ValidationSettings: &armlogic.AS2ValidationSettings{
		// 									CheckCertificateRevocationListOnReceive: to.Ptr(true),
		// 									CheckCertificateRevocationListOnSend: to.Ptr(true),
		// 									CheckDuplicateMessage: to.Ptr(true),
		// 									CompressMessage: to.Ptr(true),
		// 									EncryptMessage: to.Ptr(false),
		// 									EncryptionAlgorithm: to.Ptr(armlogic.EncryptionAlgorithmAES128),
		// 									InterchangeDuplicatesValidityDays: to.Ptr[int32](100),
		// 									OverrideMessageProperties: to.Ptr(true),
		// 									SignMessage: to.Ptr(false),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 						},
		// 					},
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:53.413Z"); return t}()),
		// 				GuestIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("AA"),
		// 					Value: to.Ptr("AA"),
		// 				},
		// 				GuestPartner: to.Ptr("GuestPartner"),
		// 				HostIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("ZZ"),
		// 					Value: to.Ptr("ZZ"),
		// 				},
		// 				HostPartner: to.Ptr("HostPartner"),
		// 				Metadata: map[string]any{
		// 				},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("<IntegrationAccountAgreementName>"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/agreements"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccountName>/agreements/<IntegrationAccountAgreementName>"),
		// 			Properties: &armlogic.IntegrationAccountAgreementProperties{
		// 				AgreementType: to.Ptr(armlogic.AgreementTypeEdifact),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:53.821Z"); return t}()),
		// 				Content: &armlogic.AgreementContent{
		// 					Edifact: &armlogic.EdifactAgreementContent{
		// 						ReceiveAgreement: &armlogic.EdifactOneWayAgreement{
		// 							ProtocolSettings: &armlogic.EdifactProtocolSettings{
		// 								AcknowledgementSettings: &armlogic.EdifactAcknowledgementSettings{
		// 									AcknowledgementControlNumberLowerBound: to.Ptr[int32](1),
		// 									AcknowledgementControlNumberPrefix: to.Ptr(""),
		// 									AcknowledgementControlNumberSuffix: to.Ptr(""),
		// 									AcknowledgementControlNumberUpperBound: to.Ptr[int32](99999999),
		// 									BatchFunctionalAcknowledgements: to.Ptr(true),
		// 									BatchTechnicalAcknowledgements: to.Ptr(true),
		// 									NeedFunctionalAcknowledgement: to.Ptr(false),
		// 									NeedLoopForValidMessages: to.Ptr(false),
		// 									NeedTechnicalAcknowledgement: to.Ptr(true),
		// 									RolloverAcknowledgementControlNumber: to.Ptr(true),
		// 									SendSynchronousAcknowledgement: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.EdifactEnvelopeSettings{
		// 									ApplicationReferenceID: to.Ptr("0"),
		// 									ApplyDelimiterStringAdvice: to.Ptr(true),
		// 									CommunicationAgreementID: to.Ptr("0"),
		// 									CreateGroupingSegments: to.Ptr(true),
		// 									EnableDefaultGroupHeaders: to.Ptr(true),
		// 									FunctionalGroupID: to.Ptr("0"),
		// 									GroupApplicationPassword: to.Ptr("0"),
		// 									GroupApplicationReceiverID: to.Ptr("0"),
		// 									GroupApplicationReceiverQualifier: to.Ptr("ZZZ"),
		// 									GroupApplicationSenderID: to.Ptr("AAA"),
		// 									GroupApplicationSenderQualifier: to.Ptr("ZZZ"),
		// 									GroupAssociationAssignedCode: to.Ptr("0"),
		// 									GroupControlNumberLowerBound: to.Ptr[int64](1),
		// 									GroupControlNumberPrefix: to.Ptr("CU"),
		// 									GroupControlNumberSuffix: to.Ptr("NUM"),
		// 									GroupControlNumberUpperBound: to.Ptr[int64](99999999),
		// 									GroupControllingAgencyCode: to.Ptr("0"),
		// 									GroupMessageRelease: to.Ptr("0.0"),
		// 									GroupMessageVersion: to.Ptr("0.0"),
		// 									InterchangeControlNumberLowerBound: to.Ptr[int64](1),
		// 									InterchangeControlNumberPrefix: to.Ptr("CU"),
		// 									InterchangeControlNumberSuffix: to.Ptr("NUM"),
		// 									InterchangeControlNumberUpperBound: to.Ptr[int64](99999999),
		// 									IsTestInterchange: to.Ptr(true),
		// 									OverwriteExistingTransactionSetControlNumber: to.Ptr(true),
		// 									ProcessingPriorityCode: to.Ptr("0"),
		// 									ReceiverInternalIdentification: to.Ptr("0"),
		// 									ReceiverInternalSubIdentification: to.Ptr("0"),
		// 									RecipientReferencePasswordQualifier: to.Ptr("ZZ"),
		// 									RecipientReferencePasswordValue: to.Ptr("AA"),
		// 									RolloverGroupControlNumber: to.Ptr(true),
		// 									RolloverInterchangeControlNumber: to.Ptr(true),
		// 									RolloverTransactionSetControlNumber: to.Ptr(true),
		// 									SenderInternalIdentification: to.Ptr("AA"),
		// 									SenderInternalSubIdentification: to.Ptr("AA"),
		// 									TransactionSetControlNumberLowerBound: to.Ptr[int64](1),
		// 									TransactionSetControlNumberPrefix: to.Ptr(""),
		// 									TransactionSetControlNumberSuffix: to.Ptr(""),
		// 									TransactionSetControlNumberUpperBound: to.Ptr[int64](99999999),
		// 								},
		// 								FramingSettings: &armlogic.EdifactFramingSettings{
		// 									CharacterEncoding: to.Ptr("UTF"),
		// 									CharacterSet: to.Ptr(armlogic.EdifactCharacterSetUNOC),
		// 									ComponentSeparator: to.Ptr[int32](58),
		// 									DataElementSeparator: to.Ptr[int32](53),
		// 									DecimalPointIndicator: to.Ptr(armlogic.EdifactDecimalIndicatorComma),
		// 									ProtocolVersion: to.Ptr[int32](4),
		// 									ReleaseIndicator: to.Ptr[int32](63),
		// 									RepetitionSeparator: to.Ptr[int32](42),
		// 									SegmentTerminator: to.Ptr[int32](39),
		// 									SegmentTerminatorSuffix: to.Ptr(armlogic.SegmentTerminatorSuffixNone),
		// 								},
		// 								MessageFilter: &armlogic.EdifactMessageFilter{
		// 									MessageFilterType: to.Ptr(armlogic.MessageFilterTypeExclude),
		// 								},
		// 								ProcessingSettings: &armlogic.EdifactProcessingSettings{
		// 									CreateEmptyXMLTagsForTrailingSeparators: to.Ptr(true),
		// 									MaskSecurityInfo: to.Ptr(true),
		// 									PreserveInterchange: to.Ptr(true),
		// 									SuspendInterchangeOnError: to.Ptr(true),
		// 									UseDotAsDecimalSeparator: to.Ptr(true),
		// 								},
		// 								SchemaReferences: []*armlogic.EdifactSchemaReference{
		// 								},
		// 								ValidationSettings: &armlogic.EdifactValidationSettings{
		// 									AllowLeadingAndTrailingSpacesAndZeroes: to.Ptr(true),
		// 									CheckDuplicateGroupControlNumber: to.Ptr(true),
		// 									CheckDuplicateInterchangeControlNumber: to.Ptr(true),
		// 									CheckDuplicateTransactionSetControlNumber: to.Ptr(true),
		// 									InterchangeControlNumberValidityDays: to.Ptr[int32](30),
		// 									TrailingSeparatorPolicy: to.Ptr(armlogic.TrailingSeparatorPolicyOptional),
		// 									TrimLeadingAndTrailingSpacesAndZeroes: to.Ptr(true),
		// 									ValidateCharacterSet: to.Ptr(true),
		// 									ValidateEDITypes: to.Ptr(true),
		// 									ValidateXSDTypes: to.Ptr(true),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 						},
		// 						SendAgreement: &armlogic.EdifactOneWayAgreement{
		// 							ProtocolSettings: &armlogic.EdifactProtocolSettings{
		// 								AcknowledgementSettings: &armlogic.EdifactAcknowledgementSettings{
		// 									AcknowledgementControlNumberLowerBound: to.Ptr[int32](1),
		// 									AcknowledgementControlNumberPrefix: to.Ptr("CN"),
		// 									AcknowledgementControlNumberSuffix: to.Ptr("NUM"),
		// 									AcknowledgementControlNumberUpperBound: to.Ptr[int32](999999999),
		// 									BatchFunctionalAcknowledgements: to.Ptr(true),
		// 									BatchTechnicalAcknowledgements: to.Ptr(true),
		// 									NeedFunctionalAcknowledgement: to.Ptr(true),
		// 									NeedLoopForValidMessages: to.Ptr(true),
		// 									NeedTechnicalAcknowledgement: to.Ptr(true),
		// 									RolloverAcknowledgementControlNumber: to.Ptr(true),
		// 									SendSynchronousAcknowledgement: to.Ptr(true),
		// 								},
		// 								EnvelopeSettings: &armlogic.EdifactEnvelopeSettings{
		// 									ApplicationReferenceID: to.Ptr("0"),
		// 									ApplyDelimiterStringAdvice: to.Ptr(true),
		// 									CommunicationAgreementID: to.Ptr("0"),
		// 									CreateGroupingSegments: to.Ptr(true),
		// 									EnableDefaultGroupHeaders: to.Ptr(true),
		// 									FunctionalGroupID: to.Ptr("0"),
		// 									GroupApplicationPassword: to.Ptr("0"),
		// 									GroupApplicationReceiverID: to.Ptr("0"),
		// 									GroupApplicationReceiverQualifier: to.Ptr("ZZ"),
		// 									GroupApplicationSenderID: to.Ptr("AA"),
		// 									GroupApplicationSenderQualifier: to.Ptr("ZZ"),
		// 									GroupAssociationAssignedCode: to.Ptr("0"),
		// 									GroupControlNumberLowerBound: to.Ptr[int64](1),
		// 									GroupControlNumberPrefix: to.Ptr(""),
		// 									GroupControlNumberSuffix: to.Ptr(""),
		// 									GroupControlNumberUpperBound: to.Ptr[int64](999999999),
		// 									GroupControllingAgencyCode: to.Ptr("0"),
		// 									GroupMessageRelease: to.Ptr("0.0"),
		// 									GroupMessageVersion: to.Ptr("0.0"),
		// 									InterchangeControlNumberLowerBound: to.Ptr[int64](1),
		// 									InterchangeControlNumberPrefix: to.Ptr("CU"),
		// 									InterchangeControlNumberSuffix: to.Ptr("NUM"),
		// 									InterchangeControlNumberUpperBound: to.Ptr[int64](999999999),
		// 									IsTestInterchange: to.Ptr(true),
		// 									OverwriteExistingTransactionSetControlNumber: to.Ptr(true),
		// 									ProcessingPriorityCode: to.Ptr("0"),
		// 									ReceiverInternalIdentification: to.Ptr("0"),
		// 									ReceiverInternalSubIdentification: to.Ptr("0"),
		// 									RecipientReferencePasswordQualifier: to.Ptr("ZZ"),
		// 									RecipientReferencePasswordValue: to.Ptr("AA"),
		// 									RolloverGroupControlNumber: to.Ptr(true),
		// 									RolloverInterchangeControlNumber: to.Ptr(true),
		// 									RolloverTransactionSetControlNumber: to.Ptr(true),
		// 									SenderInternalIdentification: to.Ptr("AA"),
		// 									SenderInternalSubIdentification: to.Ptr("AA"),
		// 									TransactionSetControlNumberLowerBound: to.Ptr[int64](1),
		// 									TransactionSetControlNumberPrefix: to.Ptr(""),
		// 									TransactionSetControlNumberSuffix: to.Ptr(""),
		// 									TransactionSetControlNumberUpperBound: to.Ptr[int64](999999999),
		// 								},
		// 								FramingSettings: &armlogic.EdifactFramingSettings{
		// 									CharacterEncoding: to.Ptr("UTF"),
		// 									CharacterSet: to.Ptr(armlogic.EdifactCharacterSetUNOC),
		// 									ComponentSeparator: to.Ptr[int32](58),
		// 									DataElementSeparator: to.Ptr[int32](53),
		// 									DecimalPointIndicator: to.Ptr(armlogic.EdifactDecimalIndicatorComma),
		// 									ProtocolVersion: to.Ptr[int32](4),
		// 									ReleaseIndicator: to.Ptr[int32](63),
		// 									RepetitionSeparator: to.Ptr[int32](42),
		// 									SegmentTerminator: to.Ptr[int32](39),
		// 									SegmentTerminatorSuffix: to.Ptr(armlogic.SegmentTerminatorSuffixNone),
		// 								},
		// 								MessageFilter: &armlogic.EdifactMessageFilter{
		// 									MessageFilterType: to.Ptr(armlogic.MessageFilterTypeExclude),
		// 								},
		// 								ProcessingSettings: &armlogic.EdifactProcessingSettings{
		// 									CreateEmptyXMLTagsForTrailingSeparators: to.Ptr(true),
		// 									MaskSecurityInfo: to.Ptr(true),
		// 									PreserveInterchange: to.Ptr(true),
		// 									SuspendInterchangeOnError: to.Ptr(true),
		// 									UseDotAsDecimalSeparator: to.Ptr(true),
		// 								},
		// 								SchemaReferences: []*armlogic.EdifactSchemaReference{
		// 								},
		// 								ValidationSettings: &armlogic.EdifactValidationSettings{
		// 									AllowLeadingAndTrailingSpacesAndZeroes: to.Ptr(true),
		// 									CheckDuplicateGroupControlNumber: to.Ptr(true),
		// 									CheckDuplicateInterchangeControlNumber: to.Ptr(true),
		// 									CheckDuplicateTransactionSetControlNumber: to.Ptr(true),
		// 									InterchangeControlNumberValidityDays: to.Ptr[int32](30),
		// 									TrailingSeparatorPolicy: to.Ptr(armlogic.TrailingSeparatorPolicyOptional),
		// 									TrimLeadingAndTrailingSpacesAndZeroes: to.Ptr(true),
		// 									ValidateCharacterSet: to.Ptr(true),
		// 									ValidateEDITypes: to.Ptr(true),
		// 									ValidateXSDTypes: to.Ptr(true),
		// 								},
		// 							},
		// 							ReceiverBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("ZZ"),
		// 								Value: to.Ptr("ZZ"),
		// 							},
		// 							SenderBusinessIdentity: &armlogic.BusinessIdentity{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("AA"),
		// 							},
		// 						},
		// 					},
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T22:00:53.820Z"); return t}()),
		// 				GuestIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("AA"),
		// 					Value: to.Ptr("AA"),
		// 				},
		// 				GuestPartner: to.Ptr("GuestPartner"),
		// 				HostIdentity: &armlogic.BusinessIdentity{
		// 					Qualifier: to.Ptr("ZZ"),
		// 					Value: to.Ptr("ZZ"),
		// 				},
		// 				HostPartner: to.Ptr("HostPartner"),
		// 				Metadata: map[string]any{
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountAgreementsClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountAgreementsClientCreateOrUpdateOptions struct {
}

IntegrationAccountAgreementsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountAgreementsClient.CreateOrUpdate method.

type IntegrationAccountAgreementsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountAgreementsClientCreateOrUpdateResponse struct {
	// The integration account agreement.
	IntegrationAccountAgreement
}

IntegrationAccountAgreementsClientCreateOrUpdateResponse contains the response from method IntegrationAccountAgreementsClient.CreateOrUpdate.

type IntegrationAccountAgreementsClientDeleteOptions added in v0.3.0

type IntegrationAccountAgreementsClientDeleteOptions struct {
}

IntegrationAccountAgreementsClientDeleteOptions contains the optional parameters for the IntegrationAccountAgreementsClient.Delete method.

type IntegrationAccountAgreementsClientDeleteResponse added in v0.3.0

type IntegrationAccountAgreementsClientDeleteResponse struct {
}

IntegrationAccountAgreementsClientDeleteResponse contains the response from method IntegrationAccountAgreementsClient.Delete.

type IntegrationAccountAgreementsClientGetOptions added in v0.3.0

type IntegrationAccountAgreementsClientGetOptions struct {
}

IntegrationAccountAgreementsClientGetOptions contains the optional parameters for the IntegrationAccountAgreementsClient.Get method.

type IntegrationAccountAgreementsClientGetResponse added in v0.3.0

type IntegrationAccountAgreementsClientGetResponse struct {
	// The integration account agreement.
	IntegrationAccountAgreement
}

IntegrationAccountAgreementsClientGetResponse contains the response from method IntegrationAccountAgreementsClient.Get.

type IntegrationAccountAgreementsClientListContentCallbackURLOptions added in v0.3.0

type IntegrationAccountAgreementsClientListContentCallbackURLOptions struct {
}

IntegrationAccountAgreementsClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountAgreementsClient.ListContentCallbackURL method.

type IntegrationAccountAgreementsClientListContentCallbackURLResponse added in v0.3.0

type IntegrationAccountAgreementsClientListContentCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

IntegrationAccountAgreementsClientListContentCallbackURLResponse contains the response from method IntegrationAccountAgreementsClient.ListContentCallbackURL.

type IntegrationAccountAgreementsClientListOptions added in v0.3.0

type IntegrationAccountAgreementsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: AgreementType.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountAgreementsClientListOptions contains the optional parameters for the IntegrationAccountAgreementsClient.NewListPager method.

type IntegrationAccountAgreementsClientListResponse added in v0.3.0

type IntegrationAccountAgreementsClientListResponse struct {
	// The list of integration account agreements.
	IntegrationAccountAgreementListResult
}

IntegrationAccountAgreementsClientListResponse contains the response from method IntegrationAccountAgreementsClient.NewListPager.

type IntegrationAccountAssembliesClient

type IntegrationAccountAssembliesClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountAssembliesClient contains the methods for the IntegrationAccountAssemblies group. Don't use this type directly, use NewIntegrationAccountAssembliesClient() instead.

func NewIntegrationAccountAssembliesClient

func NewIntegrationAccountAssembliesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountAssembliesClient, error)

NewIntegrationAccountAssembliesClient creates a new instance of IntegrationAccountAssembliesClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountAssembliesClient) CreateOrUpdate

func (client *IntegrationAccountAssembliesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, integrationAccountName string, assemblyArtifactName string, assemblyArtifact AssemblyDefinition, options *IntegrationAccountAssembliesClientCreateOrUpdateOptions) (IntegrationAccountAssembliesClientCreateOrUpdateResponse, error)

CreateOrUpdate - Create or update an assembly for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • assemblyArtifactName - The assembly artifact name.
  • assemblyArtifact - The assembly artifact.
  • options - IntegrationAccountAssembliesClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountAssembliesClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAssembliesClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testAssembly", armlogic.AssemblyDefinition{
		Location: to.Ptr("westus"),
		Properties: &armlogic.AssemblyProperties{
			Metadata:     map[string]any{},
			Content:      "Base64 encoded Assembly Content",
			AssemblyName: to.Ptr("System.IdentityModel.Tokens.Jwt"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssemblyDefinition = armlogic.AssemblyDefinition{
	// 	Name: to.Ptr("testAssembly"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly"),
	// 	Properties: &armlogic.AssemblyProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.413Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.412Z"); return t}()),
	// 		Metadata: map[string]any{
	// 		},
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](3056),
	// 			ContentVersion: to.Ptr("\"0x8D45CE54B058881\""),
	// 			URI: to.Ptr("<Uri>"),
	// 		},
	// 		AssemblyName: to.Ptr("System.IdentityModel.Tokens.Jwt"),
	// 		AssemblyVersion: to.Ptr("0.0.0.0"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountAssembliesClient) Delete

func (client *IntegrationAccountAssembliesClient) Delete(ctx context.Context, resourceGroupName string, integrationAccountName string, assemblyArtifactName string, options *IntegrationAccountAssembliesClientDeleteOptions) (IntegrationAccountAssembliesClientDeleteResponse, error)

Delete - Delete an assembly for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • assemblyArtifactName - The assembly artifact name.
  • options - IntegrationAccountAssembliesClientDeleteOptions contains the optional parameters for the IntegrationAccountAssembliesClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountAssembliesClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testAssembly", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountAssembliesClient) Get

func (client *IntegrationAccountAssembliesClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, assemblyArtifactName string, options *IntegrationAccountAssembliesClientGetOptions) (IntegrationAccountAssembliesClientGetResponse, error)

Get - Get an assembly for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • assemblyArtifactName - The assembly artifact name.
  • options - IntegrationAccountAssembliesClientGetOptions contains the optional parameters for the IntegrationAccountAssembliesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAssembliesClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testAssembly", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssemblyDefinition = armlogic.AssemblyDefinition{
	// 	Name: to.Ptr("testAssembly"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly"),
	// 	Properties: &armlogic.AssemblyProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.413Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.412Z"); return t}()),
	// 		Metadata: map[string]any{
	// 		},
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](3056),
	// 			ContentVersion: to.Ptr("\"0x8D45CE54B058881\""),
	// 			URI: to.Ptr("<Uri>"),
	// 		},
	// 		AssemblyName: to.Ptr("System.IdentityModel.Tokens.Jwt"),
	// 		AssemblyVersion: to.Ptr("0.0.0.0"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountAssembliesClient) ListContentCallbackURL

ListContentCallbackURL - Get the content callback url for an integration account assembly. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • assemblyArtifactName - The assembly artifact name.
  • options - IntegrationAccountAssembliesClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountAssembliesClient.ListContentCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountAssembliesClient().ListContentCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", "testAssembly", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("GET"),
	// 	BasePath: to.Ptr("https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/assemblies/testAssembly/contents/Value"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 	},
	// 	Value: to.Ptr("https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/assemblies/testAssembly/contents/Value?api-version=2015-08-01-preview&sp=%2Fassemblies%2FtestAssembly%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4"),
	// }
}
Output:

func (*IntegrationAccountAssembliesClient) NewListPager added in v0.5.0

NewListPager - List the assemblies for an integration account.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountAssembliesClientListOptions contains the optional parameters for the IntegrationAccountAssembliesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountAssembliesClient().NewListPager("testResourceGroup", "testIntegrationAccount", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssemblyCollection = armlogic.AssemblyCollection{
		// 	Value: []*armlogic.AssemblyDefinition{
		// 		{
		// 			Name: to.Ptr("testAssembly"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly"),
		// 			Properties: &armlogic.AssemblyProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.413Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.412Z"); return t}()),
		// 				Metadata: map[string]any{
		// 				},
		// 				ContentLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](3056),
		// 					ContentVersion: to.Ptr("\"0x8D45CE54B058881\""),
		// 					URI: to.Ptr("<Uri>"),
		// 				},
		// 				AssemblyName: to.Ptr("System.IdentityModel.Tokens.Jwt"),
		// 				AssemblyVersion: to.Ptr("0.0.0.0"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountAssembliesClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountAssembliesClientCreateOrUpdateOptions struct {
}

IntegrationAccountAssembliesClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountAssembliesClient.CreateOrUpdate method.

type IntegrationAccountAssembliesClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountAssembliesClientCreateOrUpdateResponse struct {
	// The assembly definition.
	AssemblyDefinition
}

IntegrationAccountAssembliesClientCreateOrUpdateResponse contains the response from method IntegrationAccountAssembliesClient.CreateOrUpdate.

type IntegrationAccountAssembliesClientDeleteOptions added in v0.3.0

type IntegrationAccountAssembliesClientDeleteOptions struct {
}

IntegrationAccountAssembliesClientDeleteOptions contains the optional parameters for the IntegrationAccountAssembliesClient.Delete method.

type IntegrationAccountAssembliesClientDeleteResponse added in v0.3.0

type IntegrationAccountAssembliesClientDeleteResponse struct {
}

IntegrationAccountAssembliesClientDeleteResponse contains the response from method IntegrationAccountAssembliesClient.Delete.

type IntegrationAccountAssembliesClientGetOptions added in v0.3.0

type IntegrationAccountAssembliesClientGetOptions struct {
}

IntegrationAccountAssembliesClientGetOptions contains the optional parameters for the IntegrationAccountAssembliesClient.Get method.

type IntegrationAccountAssembliesClientGetResponse added in v0.3.0

type IntegrationAccountAssembliesClientGetResponse struct {
	// The assembly definition.
	AssemblyDefinition
}

IntegrationAccountAssembliesClientGetResponse contains the response from method IntegrationAccountAssembliesClient.Get.

type IntegrationAccountAssembliesClientListContentCallbackURLOptions added in v0.3.0

type IntegrationAccountAssembliesClientListContentCallbackURLOptions struct {
}

IntegrationAccountAssembliesClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountAssembliesClient.ListContentCallbackURL method.

type IntegrationAccountAssembliesClientListContentCallbackURLResponse added in v0.3.0

type IntegrationAccountAssembliesClientListContentCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

IntegrationAccountAssembliesClientListContentCallbackURLResponse contains the response from method IntegrationAccountAssembliesClient.ListContentCallbackURL.

type IntegrationAccountAssembliesClientListOptions added in v0.3.0

type IntegrationAccountAssembliesClientListOptions struct {
}

IntegrationAccountAssembliesClientListOptions contains the optional parameters for the IntegrationAccountAssembliesClient.NewListPager method.

type IntegrationAccountAssembliesClientListResponse added in v0.3.0

type IntegrationAccountAssembliesClientListResponse struct {
	// A collection of assembly definitions.
	AssemblyCollection
}

IntegrationAccountAssembliesClientListResponse contains the response from method IntegrationAccountAssembliesClient.NewListPager.

type IntegrationAccountBatchConfigurationsClient

type IntegrationAccountBatchConfigurationsClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountBatchConfigurationsClient contains the methods for the IntegrationAccountBatchConfigurations group. Don't use this type directly, use NewIntegrationAccountBatchConfigurationsClient() instead.

func NewIntegrationAccountBatchConfigurationsClient

func NewIntegrationAccountBatchConfigurationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountBatchConfigurationsClient, error)

NewIntegrationAccountBatchConfigurationsClient creates a new instance of IntegrationAccountBatchConfigurationsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountBatchConfigurationsClient) CreateOrUpdate

CreateOrUpdate - Create or update a batch configuration for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • batchConfigurationName - The batch configuration name.
  • batchConfiguration - The batch configuration.
  • options - IntegrationAccountBatchConfigurationsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountBatchConfigurationsClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testBatchConfiguration", armlogic.BatchConfiguration{
		Location: to.Ptr("westus"),
		Properties: &armlogic.BatchConfigurationProperties{
			BatchGroupName: to.Ptr("DEFAULT"),
			ReleaseCriteria: &armlogic.BatchReleaseCriteria{
				BatchSize:    to.Ptr[int32](234567),
				MessageCount: to.Ptr[int32](10),
				Recurrence: &armlogic.WorkflowTriggerRecurrence{
					Frequency: to.Ptr(armlogic.RecurrenceFrequencyMinute),
					Interval:  to.Ptr[int32](1),
					StartTime: to.Ptr("2017-03-24T11:43:00"),
					TimeZone:  to.Ptr("India Standard Time"),
				},
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.BatchConfiguration = armlogic.BatchConfiguration{
	// 	Name: to.Ptr("testBatchConfiguration"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration"),
	// 	Properties: &armlogic.BatchConfigurationProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.704Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.651Z"); return t}()),
	// 		BatchGroupName: to.Ptr("DEFAULT"),
	// 		ReleaseCriteria: &armlogic.BatchReleaseCriteria{
	// 			BatchSize: to.Ptr[int32](234567),
	// 			MessageCount: to.Ptr[int32](10),
	// 			Recurrence: &armlogic.WorkflowTriggerRecurrence{
	// 				Frequency: to.Ptr(armlogic.RecurrenceFrequencyMinute),
	// 				Interval: to.Ptr[int32](1),
	// 				StartTime: to.Ptr("2017-03-24T11:43:00"),
	// 				TimeZone: to.Ptr("India Standard Time"),
	// 			},
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountBatchConfigurationsClient) Delete

Delete - Delete a batch configuration for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • batchConfigurationName - The batch configuration name.
  • options - IntegrationAccountBatchConfigurationsClientDeleteOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountBatchConfigurationsClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testBatchConfiguration", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountBatchConfigurationsClient) Get

Get - Get a batch configuration for an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • batchConfigurationName - The batch configuration name.
  • options - IntegrationAccountBatchConfigurationsClientGetOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountBatchConfigurationsClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testBatchConfiguration", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.BatchConfiguration = armlogic.BatchConfiguration{
	// 	Name: to.Ptr("testBatchConfiguration"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration"),
	// 	Properties: &armlogic.BatchConfigurationProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.704Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.651Z"); return t}()),
	// 		BatchGroupName: to.Ptr("DEFAULT"),
	// 		ReleaseCriteria: &armlogic.BatchReleaseCriteria{
	// 			BatchSize: to.Ptr[int32](234567),
	// 			MessageCount: to.Ptr[int32](10),
	// 			Recurrence: &armlogic.WorkflowTriggerRecurrence{
	// 				Frequency: to.Ptr(armlogic.RecurrenceFrequencyMinute),
	// 				Interval: to.Ptr[int32](1),
	// 				StartTime: to.Ptr("2017-03-24T11:43:00"),
	// 				TimeZone: to.Ptr("India Standard Time"),
	// 			},
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountBatchConfigurationsClient) NewListPager added in v0.5.0

NewListPager - List the batch configurations for an integration account.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountBatchConfigurationsClientListOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountBatchConfigurationsClient().NewListPager("testResourceGroup", "testIntegrationAccount", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.BatchConfigurationCollection = armlogic.BatchConfigurationCollection{
		// 	Value: []*armlogic.BatchConfiguration{
		// 		{
		// 			Name: to.Ptr("testBatchConfiguration"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration"),
		// 			Properties: &armlogic.BatchConfigurationProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.704Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-03-26T06:14:16.651Z"); return t}()),
		// 				BatchGroupName: to.Ptr("DEFAULT"),
		// 				ReleaseCriteria: &armlogic.BatchReleaseCriteria{
		// 					BatchSize: to.Ptr[int32](234567),
		// 					MessageCount: to.Ptr[int32](10),
		// 					Recurrence: &armlogic.WorkflowTriggerRecurrence{
		// 						Frequency: to.Ptr(armlogic.RecurrenceFrequencyMinute),
		// 						Interval: to.Ptr[int32](1),
		// 						StartTime: to.Ptr("2017-03-24T11:43:00"),
		// 						TimeZone: to.Ptr("India Standard Time"),
		// 					},
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountBatchConfigurationsClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountBatchConfigurationsClientCreateOrUpdateOptions struct {
}

IntegrationAccountBatchConfigurationsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.CreateOrUpdate method.

type IntegrationAccountBatchConfigurationsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountBatchConfigurationsClientCreateOrUpdateResponse struct {
	// The batch configuration resource definition.
	BatchConfiguration
}

IntegrationAccountBatchConfigurationsClientCreateOrUpdateResponse contains the response from method IntegrationAccountBatchConfigurationsClient.CreateOrUpdate.

type IntegrationAccountBatchConfigurationsClientDeleteOptions added in v0.3.0

type IntegrationAccountBatchConfigurationsClientDeleteOptions struct {
}

IntegrationAccountBatchConfigurationsClientDeleteOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.Delete method.

type IntegrationAccountBatchConfigurationsClientDeleteResponse added in v0.3.0

type IntegrationAccountBatchConfigurationsClientDeleteResponse struct {
}

IntegrationAccountBatchConfigurationsClientDeleteResponse contains the response from method IntegrationAccountBatchConfigurationsClient.Delete.

type IntegrationAccountBatchConfigurationsClientGetOptions added in v0.3.0

type IntegrationAccountBatchConfigurationsClientGetOptions struct {
}

IntegrationAccountBatchConfigurationsClientGetOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.Get method.

type IntegrationAccountBatchConfigurationsClientGetResponse added in v0.3.0

type IntegrationAccountBatchConfigurationsClientGetResponse struct {
	// The batch configuration resource definition.
	BatchConfiguration
}

IntegrationAccountBatchConfigurationsClientGetResponse contains the response from method IntegrationAccountBatchConfigurationsClient.Get.

type IntegrationAccountBatchConfigurationsClientListOptions added in v0.3.0

type IntegrationAccountBatchConfigurationsClientListOptions struct {
}

IntegrationAccountBatchConfigurationsClientListOptions contains the optional parameters for the IntegrationAccountBatchConfigurationsClient.NewListPager method.

type IntegrationAccountBatchConfigurationsClientListResponse added in v0.3.0

type IntegrationAccountBatchConfigurationsClientListResponse struct {
	// A collection of batch configurations.
	BatchConfigurationCollection
}

IntegrationAccountBatchConfigurationsClientListResponse contains the response from method IntegrationAccountBatchConfigurationsClient.NewListPager.

type IntegrationAccountCertificate

type IntegrationAccountCertificate struct {
	// REQUIRED; The integration account certificate properties.
	Properties *IntegrationAccountCertificateProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountCertificate - The integration account certificate.

func (IntegrationAccountCertificate) MarshalJSON

func (i IntegrationAccountCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountCertificate.

func (*IntegrationAccountCertificate) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountCertificate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountCertificate.

type IntegrationAccountCertificateListResult

type IntegrationAccountCertificateListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account certificates.
	Value []*IntegrationAccountCertificate
}

IntegrationAccountCertificateListResult - The list of integration account certificates.

func (IntegrationAccountCertificateListResult) MarshalJSON

func (i IntegrationAccountCertificateListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountCertificateListResult.

func (*IntegrationAccountCertificateListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountCertificateListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountCertificateListResult.

type IntegrationAccountCertificateProperties

type IntegrationAccountCertificateProperties struct {
	// The key details in the key vault.
	Key *KeyVaultKeyReference

	// The metadata.
	Metadata any

	// The public certificate.
	PublicCertificate *string

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountCertificateProperties - The integration account certificate properties.

func (IntegrationAccountCertificateProperties) MarshalJSON

func (i IntegrationAccountCertificateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountCertificateProperties.

func (*IntegrationAccountCertificateProperties) UnmarshalJSON

func (i *IntegrationAccountCertificateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountCertificateProperties.

type IntegrationAccountCertificatesClient

type IntegrationAccountCertificatesClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountCertificatesClient contains the methods for the IntegrationAccountCertificates group. Don't use this type directly, use NewIntegrationAccountCertificatesClient() instead.

func NewIntegrationAccountCertificatesClient

func NewIntegrationAccountCertificatesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountCertificatesClient, error)

NewIntegrationAccountCertificatesClient creates a new instance of IntegrationAccountCertificatesClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountCertificatesClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • certificateName - The integration account certificate name.
  • certificate - The integration account certificate.
  • options - IntegrationAccountCertificatesClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountCertificatesClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountCertificatesClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testCertificate", armlogic.IntegrationAccountCertificate{
		Location: to.Ptr("brazilsouth"),
		Properties: &armlogic.IntegrationAccountCertificateProperties{
			Key: &armlogic.KeyVaultKeyReference{
				KeyName: to.Ptr("<keyName>"),
				KeyVault: &armlogic.KeyVaultKeyReferenceKeyVault{
					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>"),
				},
				KeyVersion: to.Ptr("87d9764197604449b9b8eb7bd8710868"),
			},
			PublicCertificate: to.Ptr("<publicCertificateValue>"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountCertificate = armlogic.IntegrationAccountCertificate{
	// 	Name: to.Ptr("testCertificate"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/certificates"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate"),
	// 	Properties: &armlogic.IntegrationAccountCertificateProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:42:21.051Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:42:21.051Z"); return t}()),
	// 		Key: &armlogic.KeyVaultKeyReference{
	// 			KeyName: to.Ptr("<keyName>"),
	// 			KeyVault: &armlogic.KeyVaultKeyReferenceKeyVault{
	// 				Name: to.Ptr("<keyVaultName>"),
	// 				Type: to.Ptr("Microsoft.KeyVault/vaults"),
	// 				ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/<keyVaultName>"),
	// 			},
	// 			KeyVersion: to.Ptr("87d9764197604449b9b8eb7bd8710868"),
	// 		},
	// 		PublicCertificate: to.Ptr("<publicCertificateValue>"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountCertificatesClient) Delete

Delete - Deletes an integration account certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • certificateName - The integration account certificate name.
  • options - IntegrationAccountCertificatesClientDeleteOptions contains the optional parameters for the IntegrationAccountCertificatesClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountCertificatesClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testCertificate", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountCertificatesClient) Get

Get - Gets an integration account certificate. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • certificateName - The integration account certificate name.
  • options - IntegrationAccountCertificatesClientGetOptions contains the optional parameters for the IntegrationAccountCertificatesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountCertificatesClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testCertificate", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountCertificate = armlogic.IntegrationAccountCertificate{
	// 	Name: to.Ptr("testCertificate"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/certificates"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9472/certificates/testCertificate"),
	// 	Properties: &armlogic.IntegrationAccountCertificateProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:42:21.051Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:42:21.051Z"); return t}()),
	// 		Key: &armlogic.KeyVaultKeyReference{
	// 			KeyName: to.Ptr("<keyName>"),
	// 			KeyVault: &armlogic.KeyVaultKeyReferenceKeyVault{
	// 				Name: to.Ptr("<keyVaultName>"),
	// 				Type: to.Ptr("Microsoft.KeyVault/vaults"),
	// 				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>"),
	// 			},
	// 			KeyVersion: to.Ptr("87d9764197604449b9b8eb7bd8710868"),
	// 		},
	// 		PublicCertificate: to.Ptr("<publicCertificate>"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountCertificatesClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration account certificates.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountCertificatesClientListOptions contains the optional parameters for the IntegrationAccountCertificatesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountCertificatesClient().NewListPager("testResourceGroup", "testIntegrationAccount", &armlogic.IntegrationAccountCertificatesClientListOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountCertificateListResult = armlogic.IntegrationAccountCertificateListResult{
		// 	Value: []*armlogic.IntegrationAccountCertificate{
		// 		{
		// 			Name: to.Ptr("<IntegrationAccountCertificateName>"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/certificates"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/<integrationAccountCertificateName>"),
		// 			Properties: &armlogic.IntegrationAccountCertificateProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:33:09.703Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:33:09.702Z"); return t}()),
		// 				Key: &armlogic.KeyVaultKeyReference{
		// 					KeyName: to.Ptr("<keyName>"),
		// 					KeyVault: &armlogic.KeyVaultKeyReferenceKeyVault{
		// 						Name: to.Ptr("AzureSdkTestKeyVault"),
		// 						Type: to.Ptr("Microsoft.KeyVault/vaults"),
		// 						ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>"),
		// 					},
		// 					KeyVersion: to.Ptr("87d9764197604449b9b8eb7bd8710868"),
		// 				},
		// 				PublicCertificate: to.Ptr("<publicCertificate>"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountCertificatesClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountCertificatesClientCreateOrUpdateOptions struct {
}

IntegrationAccountCertificatesClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountCertificatesClient.CreateOrUpdate method.

type IntegrationAccountCertificatesClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountCertificatesClientCreateOrUpdateResponse struct {
	// The integration account certificate.
	IntegrationAccountCertificate
}

IntegrationAccountCertificatesClientCreateOrUpdateResponse contains the response from method IntegrationAccountCertificatesClient.CreateOrUpdate.

type IntegrationAccountCertificatesClientDeleteOptions added in v0.3.0

type IntegrationAccountCertificatesClientDeleteOptions struct {
}

IntegrationAccountCertificatesClientDeleteOptions contains the optional parameters for the IntegrationAccountCertificatesClient.Delete method.

type IntegrationAccountCertificatesClientDeleteResponse added in v0.3.0

type IntegrationAccountCertificatesClientDeleteResponse struct {
}

IntegrationAccountCertificatesClientDeleteResponse contains the response from method IntegrationAccountCertificatesClient.Delete.

type IntegrationAccountCertificatesClientGetOptions added in v0.3.0

type IntegrationAccountCertificatesClientGetOptions struct {
}

IntegrationAccountCertificatesClientGetOptions contains the optional parameters for the IntegrationAccountCertificatesClient.Get method.

type IntegrationAccountCertificatesClientGetResponse added in v0.3.0

type IntegrationAccountCertificatesClientGetResponse struct {
	// The integration account certificate.
	IntegrationAccountCertificate
}

IntegrationAccountCertificatesClientGetResponse contains the response from method IntegrationAccountCertificatesClient.Get.

type IntegrationAccountCertificatesClientListOptions added in v0.3.0

type IntegrationAccountCertificatesClientListOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountCertificatesClientListOptions contains the optional parameters for the IntegrationAccountCertificatesClient.NewListPager method.

type IntegrationAccountCertificatesClientListResponse added in v0.3.0

type IntegrationAccountCertificatesClientListResponse struct {
	// The list of integration account certificates.
	IntegrationAccountCertificateListResult
}

IntegrationAccountCertificatesClientListResponse contains the response from method IntegrationAccountCertificatesClient.NewListPager.

type IntegrationAccountListResult

type IntegrationAccountListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration accounts.
	Value []*IntegrationAccount
}

IntegrationAccountListResult - The list of integration accounts.

func (IntegrationAccountListResult) MarshalJSON

func (i IntegrationAccountListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountListResult.

func (*IntegrationAccountListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountListResult.

type IntegrationAccountMap

type IntegrationAccountMap struct {
	// REQUIRED; The integration account map properties.
	Properties *IntegrationAccountMapProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountMap - The integration account map.

func (IntegrationAccountMap) MarshalJSON

func (i IntegrationAccountMap) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountMap.

func (*IntegrationAccountMap) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountMap) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountMap.

type IntegrationAccountMapFilter

type IntegrationAccountMapFilter struct {
	// REQUIRED; The map type of integration account map.
	MapType *MapType
}

IntegrationAccountMapFilter - The integration account map filter for odata query.

func (IntegrationAccountMapFilter) MarshalJSON added in v1.1.0

func (i IntegrationAccountMapFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountMapFilter.

func (*IntegrationAccountMapFilter) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountMapFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountMapFilter.

type IntegrationAccountMapListResult

type IntegrationAccountMapListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account maps.
	Value []*IntegrationAccountMap
}

IntegrationAccountMapListResult - The list of integration account maps.

func (IntegrationAccountMapListResult) MarshalJSON

func (i IntegrationAccountMapListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountMapListResult.

func (*IntegrationAccountMapListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountMapListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountMapListResult.

type IntegrationAccountMapProperties

type IntegrationAccountMapProperties struct {
	// REQUIRED; The map type.
	MapType *MapType

	// The content.
	Content *string

	// The content type.
	ContentType *string

	// The metadata.
	Metadata any

	// The parameters schema of integration account map.
	ParametersSchema *IntegrationAccountMapPropertiesParametersSchema

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The content link.
	ContentLink *ContentLink

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountMapProperties - The integration account map.

func (IntegrationAccountMapProperties) MarshalJSON

func (i IntegrationAccountMapProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountMapProperties.

func (*IntegrationAccountMapProperties) UnmarshalJSON

func (i *IntegrationAccountMapProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountMapProperties.

type IntegrationAccountMapPropertiesParametersSchema

type IntegrationAccountMapPropertiesParametersSchema struct {
	// The reference name.
	Ref *string
}

IntegrationAccountMapPropertiesParametersSchema - The parameters schema of integration account map.

func (IntegrationAccountMapPropertiesParametersSchema) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountMapPropertiesParametersSchema.

func (*IntegrationAccountMapPropertiesParametersSchema) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountMapPropertiesParametersSchema.

type IntegrationAccountMapsClient

type IntegrationAccountMapsClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountMapsClient contains the methods for the IntegrationAccountMaps group. Don't use this type directly, use NewIntegrationAccountMapsClient() instead.

func NewIntegrationAccountMapsClient

func NewIntegrationAccountMapsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountMapsClient, error)

NewIntegrationAccountMapsClient creates a new instance of IntegrationAccountMapsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountMapsClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account map. If the map is larger than 4 MB, you need to store the map in an Azure blob and use the blob's Shared Access Signature (SAS) URL as the 'contentLink' property value. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • mapName - The integration account map name.
  • mapParam - The integration account map.
  • options - IntegrationAccountMapsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountMapsClient.CreateOrUpdate method.
Example (CreateOrUpdateAMap)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountMapsClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testMap", armlogic.IntegrationAccountMap{
		Location: to.Ptr("westus"),
		Properties: &armlogic.IntegrationAccountMapProperties{
			Content:     to.Ptr("<?xml version=\"1.0\" encoding=\"UTF-16\"?>\r\n<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:msxsl=\"urn:schemas-microsoft-com:xslt\" xmlns:var=\"http://schemas.microsoft.com/BizTalk/2003/var\" exclude-result-prefixes=\"msxsl var s0 userCSharp\" version=\"1.0\" xmlns:ns0=\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\" xmlns:s0=\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\" xmlns:userCSharp=\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\">\r\n  <xsl:import href=\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\" />\r\n  <xsl:output omit-xml-declaration=\"yes\" method=\"xml\" version=\"1.0\" />\r\n  <xsl:template match=\"/\">\r\n    <xsl:apply-templates select=\"/s0:Root\" />\r\n  </xsl:template>\r\n  <xsl:template match=\"/s0:Root\">\r\n    <xsl:variable name=\"var:v1\" select=\"userCSharp:StringFind(string(StringFindSource/text()) , &quot;SearchString&quot;)\" />\r\n    <xsl:variable name=\"var:v2\" select=\"userCSharp:StringLeft(string(StringLeftSource/text()) , &quot;2&quot;)\" />\r\n    <xsl:variable name=\"var:v3\" select=\"userCSharp:StringRight(string(StringRightSource/text()) , &quot;2&quot;)\" />\r\n    <xsl:variable name=\"var:v4\" select=\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\" />\r\n    <xsl:variable name=\"var:v5\" select=\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\" />\r\n    <xsl:variable name=\"var:v6\" select=\"userCSharp:StringSize(string(SizeSource/text()))\" />\r\n    <xsl:variable name=\"var:v7\" select=\"userCSharp:StringSubstring(string(StringExtractSource/text()) , &quot;0&quot; , &quot;2&quot;)\" />\r\n    <xsl:variable name=\"var:v8\" select=\"userCSharp:StringConcat(string(StringConcatSource/text()))\" />\r\n    <xsl:variable name=\"var:v9\" select=\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\" />\r\n    <xsl:variable name=\"var:v10\" select=\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\" />\r\n    <ns0:Root>\r\n      <StringFindDestination>\r\n        <xsl:value-of select=\"$var:v1\" />\r\n      </StringFindDestination>\r\n      <StringLeftDestination>\r\n        <xsl:value-of select=\"$var:v2\" />\r\n      </StringLeftDestination>\r\n      <StringRightDestination>\r\n        <xsl:value-of select=\"$var:v3\" />\r\n      </StringRightDestination>\r\n      <UppercaseDestination>\r\n        <xsl:value-of select=\"$var:v4\" />\r\n      </UppercaseDestination>\r\n      <LowercaseDestination>\r\n        <xsl:value-of select=\"$var:v5\" />\r\n      </LowercaseDestination>\r\n      <SizeDestination>\r\n        <xsl:value-of select=\"$var:v6\" />\r\n      </SizeDestination>\r\n      <StringExtractDestination>\r\n        <xsl:value-of select=\"$var:v7\" />\r\n      </StringExtractDestination>\r\n      <StringConcatDestination>\r\n        <xsl:value-of select=\"$var:v8\" />\r\n      </StringConcatDestination>\r\n      <StringLeftTrimDestination>\r\n        <xsl:value-of select=\"$var:v9\" />\r\n      </StringLeftTrimDestination>\r\n      <StringRightTrimDestination>\r\n        <xsl:value-of select=\"$var:v10\" />\r\n      </StringRightTrimDestination>\r\n    </ns0:Root>\r\n  </xsl:template>\r\n</xsl:stylesheet>"),
			ContentType: to.Ptr("application/xml"),
			MapType:     to.Ptr(armlogic.MapTypeXslt),
			Metadata:    map[string]any{},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountMap = armlogic.IntegrationAccountMap{
	// 	Name: to.Ptr("IntegrationAccountMap291"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/maps"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/<resourceGroup>/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccount>/maps/testMap"),
	// 	Properties: &armlogic.IntegrationAccountMapProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T18:41:04.408Z"); return t}()),
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](3056),
	// 			ContentVersion: to.Ptr("\"0x8D464C057F22E5F\""),
	// 			URI: to.Ptr("<Uri>"),
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T18:41:03.736Z"); return t}()),
	// 		MapType: to.Ptr(armlogic.MapTypeXslt),
	// 		Metadata: map[string]any{
	// 		},
	// 	},
	// }
}
Output:

Example (CreateOrUpdateAMapLargerThan4Mb)

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountLargeMaps_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountMapsClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testMap", armlogic.IntegrationAccountMap{
		Location: to.Ptr("westus"),
		Properties: &armlogic.IntegrationAccountMapProperties{
			ContentLink: &armlogic.ContentLink{
				URI: to.Ptr("<blob-SAS-URL-for-map>"),
			},
			ContentType: to.Ptr("application/xml"),
			MapType:     to.Ptr(armlogic.MapTypeXslt),
			Metadata:    map[string]any{},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountMap = armlogic.IntegrationAccountMap{
	// 	Name: to.Ptr("testMap"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/maps"),
	// 	ID: to.Ptr("/subscriptions/<Azure-subscription-ID>/resourceGroups/refresh/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/testMap"),
	// 	Properties: &armlogic.IntegrationAccountMapProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-02-09T07:40:10.290Z"); return t}()),
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("GxQRrFCYoyH58kMyu34ISg=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](7888419),
	// 			ContentVersion: to.Ptr("\"0x8D9EB9F6691E7A2\""),
	// 			URI: to.Ptr("<URI>"),
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-02-09T07:40:10.286Z"); return t}()),
	// 		MapType: to.Ptr(armlogic.MapTypeXslt),
	// 		Metadata: map[string]any{
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountMapsClient) Delete

func (client *IntegrationAccountMapsClient) Delete(ctx context.Context, resourceGroupName string, integrationAccountName string, mapName string, options *IntegrationAccountMapsClientDeleteOptions) (IntegrationAccountMapsClientDeleteResponse, error)

Delete - Deletes an integration account map. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • mapName - The integration account map name.
  • options - IntegrationAccountMapsClientDeleteOptions contains the optional parameters for the IntegrationAccountMapsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountMapsClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testMap", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountMapsClient) Get

func (client *IntegrationAccountMapsClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, mapName string, options *IntegrationAccountMapsClientGetOptions) (IntegrationAccountMapsClientGetResponse, error)

Get - Gets an integration account map. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • mapName - The integration account map name.
  • options - IntegrationAccountMapsClientGetOptions contains the optional parameters for the IntegrationAccountMapsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountMapsClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testMap", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountMap = armlogic.IntegrationAccountMap{
	// 	Name: to.Ptr("testMap"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/maps"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/testMap"),
	// 	Properties: &armlogic.IntegrationAccountMapProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.413Z"); return t}()),
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](3056),
	// 			ContentVersion: to.Ptr("\"0x8D45CE54B058881\""),
	// 			URI: to.Ptr("<Uri>"),
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:45:23.412Z"); return t}()),
	// 		MapType: to.Ptr(armlogic.MapTypeXslt),
	// 		Metadata: map[string]any{
	// 		},
	// 	},
	// }
}
Output:

func (*IntegrationAccountMapsClient) ListContentCallbackURL

func (client *IntegrationAccountMapsClient) ListContentCallbackURL(ctx context.Context, resourceGroupName string, integrationAccountName string, mapName string, listContentCallbackURL GetCallbackURLParameters, options *IntegrationAccountMapsClientListContentCallbackURLOptions) (IntegrationAccountMapsClientListContentCallbackURLResponse, error)

ListContentCallbackURL - Get the content callback url. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • mapName - The integration account map name.
  • options - IntegrationAccountMapsClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountMapsClient.ListContentCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_ListContentCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountMapsClient().ListContentCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", "testMap", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-19T16:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("GET"),
	// 	BasePath: to.Ptr("https://prod-00.brazilus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/maps/testmap/contents/Value"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 	},
	// 	Value: to.Ptr("https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/maps/testMap/contents/Value?api-version=2015-08-01-preview&sp=%2Fmaps%2Ftestmap%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4"),
	// }
}
Output:

func (*IntegrationAccountMapsClient) NewListPager added in v0.5.0

func (client *IntegrationAccountMapsClient) NewListPager(resourceGroupName string, integrationAccountName string, options *IntegrationAccountMapsClientListOptions) *runtime.Pager[IntegrationAccountMapsClientListResponse]

NewListPager - Gets a list of integration account maps.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountMapsClientListOptions contains the optional parameters for the IntegrationAccountMapsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountMapsClient().NewListPager("testResourceGroup", "testIntegrationAccount", &armlogic.IntegrationAccountMapsClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountMapListResult = armlogic.IntegrationAccountMapListResult{
		// 	Value: []*armlogic.IntegrationAccountMap{
		// 		{
		// 			Name: to.Ptr("IntegrationAccountMap9943"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/maps"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/IntegrationAccountMap9943"),
		// 			Properties: &armlogic.IntegrationAccountMapProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:34:32.390Z"); return t}()),
		// 				ContentLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("A2avz/M0ov2FPI3+Je8vDw=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](3056),
		// 					ContentVersion: to.Ptr("\"0x8D45CE3C6D23B4B\""),
		// 					URI: to.Ptr("<Uri>"),
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T18:34:32.390Z"); return t}()),
		// 				MapType: to.Ptr(armlogic.MapTypeXslt),
		// 				Metadata: map[string]any{
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountMapsClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountMapsClientCreateOrUpdateOptions struct {
}

IntegrationAccountMapsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountMapsClient.CreateOrUpdate method.

type IntegrationAccountMapsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountMapsClientCreateOrUpdateResponse struct {
	// The integration account map.
	IntegrationAccountMap
}

IntegrationAccountMapsClientCreateOrUpdateResponse contains the response from method IntegrationAccountMapsClient.CreateOrUpdate.

type IntegrationAccountMapsClientDeleteOptions added in v0.3.0

type IntegrationAccountMapsClientDeleteOptions struct {
}

IntegrationAccountMapsClientDeleteOptions contains the optional parameters for the IntegrationAccountMapsClient.Delete method.

type IntegrationAccountMapsClientDeleteResponse added in v0.3.0

type IntegrationAccountMapsClientDeleteResponse struct {
}

IntegrationAccountMapsClientDeleteResponse contains the response from method IntegrationAccountMapsClient.Delete.

type IntegrationAccountMapsClientGetOptions added in v0.3.0

type IntegrationAccountMapsClientGetOptions struct {
}

IntegrationAccountMapsClientGetOptions contains the optional parameters for the IntegrationAccountMapsClient.Get method.

type IntegrationAccountMapsClientGetResponse added in v0.3.0

type IntegrationAccountMapsClientGetResponse struct {
	// The integration account map.
	IntegrationAccountMap
}

IntegrationAccountMapsClientGetResponse contains the response from method IntegrationAccountMapsClient.Get.

type IntegrationAccountMapsClientListContentCallbackURLOptions added in v0.3.0

type IntegrationAccountMapsClientListContentCallbackURLOptions struct {
}

IntegrationAccountMapsClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountMapsClient.ListContentCallbackURL method.

type IntegrationAccountMapsClientListContentCallbackURLResponse added in v0.3.0

type IntegrationAccountMapsClientListContentCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

IntegrationAccountMapsClientListContentCallbackURLResponse contains the response from method IntegrationAccountMapsClient.ListContentCallbackURL.

type IntegrationAccountMapsClientListOptions added in v0.3.0

type IntegrationAccountMapsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: MapType.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountMapsClientListOptions contains the optional parameters for the IntegrationAccountMapsClient.NewListPager method.

type IntegrationAccountMapsClientListResponse added in v0.3.0

type IntegrationAccountMapsClientListResponse struct {
	// The list of integration account maps.
	IntegrationAccountMapListResult
}

IntegrationAccountMapsClientListResponse contains the response from method IntegrationAccountMapsClient.NewListPager.

type IntegrationAccountPartner

type IntegrationAccountPartner struct {
	// REQUIRED; The integration account partner properties.
	Properties *IntegrationAccountPartnerProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountPartner - The integration account partner.

func (IntegrationAccountPartner) MarshalJSON

func (i IntegrationAccountPartner) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountPartner.

func (*IntegrationAccountPartner) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountPartner) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountPartner.

type IntegrationAccountPartnerFilter

type IntegrationAccountPartnerFilter struct {
	// REQUIRED; The partner type of integration account partner.
	PartnerType *PartnerType
}

IntegrationAccountPartnerFilter - The integration account partner filter for odata query.

func (IntegrationAccountPartnerFilter) MarshalJSON added in v1.1.0

func (i IntegrationAccountPartnerFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountPartnerFilter.

func (*IntegrationAccountPartnerFilter) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountPartnerFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountPartnerFilter.

type IntegrationAccountPartnerListResult

type IntegrationAccountPartnerListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account partners.
	Value []*IntegrationAccountPartner
}

IntegrationAccountPartnerListResult - The list of integration account partners.

func (IntegrationAccountPartnerListResult) MarshalJSON

func (i IntegrationAccountPartnerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountPartnerListResult.

func (*IntegrationAccountPartnerListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountPartnerListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountPartnerListResult.

type IntegrationAccountPartnerProperties

type IntegrationAccountPartnerProperties struct {
	// REQUIRED; The partner content.
	Content *PartnerContent

	// REQUIRED; The partner type.
	PartnerType *PartnerType

	// The metadata.
	Metadata any

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountPartnerProperties - The integration account partner properties.

func (IntegrationAccountPartnerProperties) MarshalJSON

func (i IntegrationAccountPartnerProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountPartnerProperties.

func (*IntegrationAccountPartnerProperties) UnmarshalJSON

func (i *IntegrationAccountPartnerProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountPartnerProperties.

type IntegrationAccountPartnersClient

type IntegrationAccountPartnersClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountPartnersClient contains the methods for the IntegrationAccountPartners group. Don't use this type directly, use NewIntegrationAccountPartnersClient() instead.

func NewIntegrationAccountPartnersClient

func NewIntegrationAccountPartnersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountPartnersClient, error)

NewIntegrationAccountPartnersClient creates a new instance of IntegrationAccountPartnersClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountPartnersClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account partner. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • partnerName - The integration account partner name.
  • partner - The integration account partner.
  • options - IntegrationAccountPartnersClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountPartnersClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountPartnersClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testPartner", armlogic.IntegrationAccountPartner{
		Location: to.Ptr("westus"),
		Tags:     map[string]*string{},
		Properties: &armlogic.IntegrationAccountPartnerProperties{
			Content: &armlogic.PartnerContent{
				B2B: &armlogic.B2BPartnerContent{
					BusinessIdentities: []*armlogic.BusinessIdentity{
						{
							Qualifier: to.Ptr("AA"),
							Value:     to.Ptr("ZZ"),
						}},
				},
			},
			Metadata:    map[string]any{},
			PartnerType: to.Ptr(armlogic.PartnerTypeB2B),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountPartner = armlogic.IntegrationAccountPartner{
	// 	Name: to.Ptr("testPartner"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/partners"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/partners/testPartner"),
	// 	Properties: &armlogic.IntegrationAccountPartnerProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:06:23.590Z"); return t}()),
	// 		Content: &armlogic.PartnerContent{
	// 			B2B: &armlogic.B2BPartnerContent{
	// 				BusinessIdentities: []*armlogic.BusinessIdentity{
	// 					{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("ZZ"),
	// 				}},
	// 			},
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:06:23.589Z"); return t}()),
	// 		Metadata: map[string]any{
	// 		},
	// 		PartnerType: to.Ptr(armlogic.PartnerTypeB2B),
	// 	},
	// }
}
Output:

func (*IntegrationAccountPartnersClient) Delete

Delete - Deletes an integration account partner. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • partnerName - The integration account partner name.
  • options - IntegrationAccountPartnersClientDeleteOptions contains the optional parameters for the IntegrationAccountPartnersClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountPartnersClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testPartner", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountPartnersClient) Get

func (client *IntegrationAccountPartnersClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, partnerName string, options *IntegrationAccountPartnersClientGetOptions) (IntegrationAccountPartnersClientGetResponse, error)

Get - Gets an integration account partner. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • partnerName - The integration account partner name.
  • options - IntegrationAccountPartnersClientGetOptions contains the optional parameters for the IntegrationAccountPartnersClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountPartnersClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testPartner", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountPartner = armlogic.IntegrationAccountPartner{
	// 	Name: to.Ptr("testIntegrationAccount"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/partners"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/partners/testPartner"),
	// 	Properties: &armlogic.IntegrationAccountPartnerProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:01:24.052Z"); return t}()),
	// 		Content: &armlogic.PartnerContent{
	// 			B2B: &armlogic.B2BPartnerContent{
	// 				BusinessIdentities: []*armlogic.BusinessIdentity{
	// 					{
	// 						Qualifier: to.Ptr("AA"),
	// 						Value: to.Ptr("ZZ"),
	// 				}},
	// 			},
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T20:01:24.051Z"); return t}()),
	// 		Metadata: map[string]any{
	// 		},
	// 		PartnerType: to.Ptr(armlogic.PartnerTypeB2B),
	// 	},
	// }
}
Output:

func (*IntegrationAccountPartnersClient) ListContentCallbackURL

func (client *IntegrationAccountPartnersClient) ListContentCallbackURL(ctx context.Context, resourceGroupName string, integrationAccountName string, partnerName string, listContentCallbackURL GetCallbackURLParameters, options *IntegrationAccountPartnersClientListContentCallbackURLOptions) (IntegrationAccountPartnersClientListContentCallbackURLResponse, error)

ListContentCallbackURL - Get the content callback url. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • partnerName - The integration account partner name.
  • options - IntegrationAccountPartnersClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountPartnersClient.ListContentCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_ListContentCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountPartnersClient().ListContentCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", "testPartner", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-19T16:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("GET"),
	// 	BasePath: to.Ptr("https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/partners/testPartner/contents/Value"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 	},
	// 	Value: to.Ptr("https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/partners/testPartner/contents/Value?api-version=2015-08-01-preview&sp=%2Fpartners%2FtestPartner%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4"),
	// }
}
Output:

func (*IntegrationAccountPartnersClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration account partners.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountPartnersClientListOptions contains the optional parameters for the IntegrationAccountPartnersClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountPartnersClient().NewListPager("testResourceGroup", "testIntegrationAccount", &armlogic.IntegrationAccountPartnersClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountPartnerListResult = armlogic.IntegrationAccountPartnerListResult{
		// 	Value: []*armlogic.IntegrationAccountPartner{
		// 		{
		// 			Name: to.Ptr("IntegrationAccountPartner947"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/partners"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2431/partners/testIntegrationAccount"),
		// 			Properties: &armlogic.IntegrationAccountPartnerProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T19:42:59.198Z"); return t}()),
		// 				Content: &armlogic.PartnerContent{
		// 					B2B: &armlogic.B2BPartnerContent{
		// 						BusinessIdentities: []*armlogic.BusinessIdentity{
		// 							{
		// 								Qualifier: to.Ptr("AA"),
		// 								Value: to.Ptr("ZZ"),
		// 						}},
		// 					},
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-06T19:42:59.197Z"); return t}()),
		// 				Metadata: map[string]any{
		// 				},
		// 				PartnerType: to.Ptr(armlogic.PartnerTypeB2B),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountPartnersClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountPartnersClientCreateOrUpdateOptions struct {
}

IntegrationAccountPartnersClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountPartnersClient.CreateOrUpdate method.

type IntegrationAccountPartnersClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountPartnersClientCreateOrUpdateResponse struct {
	// The integration account partner.
	IntegrationAccountPartner
}

IntegrationAccountPartnersClientCreateOrUpdateResponse contains the response from method IntegrationAccountPartnersClient.CreateOrUpdate.

type IntegrationAccountPartnersClientDeleteOptions added in v0.3.0

type IntegrationAccountPartnersClientDeleteOptions struct {
}

IntegrationAccountPartnersClientDeleteOptions contains the optional parameters for the IntegrationAccountPartnersClient.Delete method.

type IntegrationAccountPartnersClientDeleteResponse added in v0.3.0

type IntegrationAccountPartnersClientDeleteResponse struct {
}

IntegrationAccountPartnersClientDeleteResponse contains the response from method IntegrationAccountPartnersClient.Delete.

type IntegrationAccountPartnersClientGetOptions added in v0.3.0

type IntegrationAccountPartnersClientGetOptions struct {
}

IntegrationAccountPartnersClientGetOptions contains the optional parameters for the IntegrationAccountPartnersClient.Get method.

type IntegrationAccountPartnersClientGetResponse added in v0.3.0

type IntegrationAccountPartnersClientGetResponse struct {
	// The integration account partner.
	IntegrationAccountPartner
}

IntegrationAccountPartnersClientGetResponse contains the response from method IntegrationAccountPartnersClient.Get.

type IntegrationAccountPartnersClientListContentCallbackURLOptions added in v0.3.0

type IntegrationAccountPartnersClientListContentCallbackURLOptions struct {
}

IntegrationAccountPartnersClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountPartnersClient.ListContentCallbackURL method.

type IntegrationAccountPartnersClientListContentCallbackURLResponse added in v0.3.0

type IntegrationAccountPartnersClientListContentCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

IntegrationAccountPartnersClientListContentCallbackURLResponse contains the response from method IntegrationAccountPartnersClient.ListContentCallbackURL.

type IntegrationAccountPartnersClientListOptions added in v0.3.0

type IntegrationAccountPartnersClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: PartnerType.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountPartnersClientListOptions contains the optional parameters for the IntegrationAccountPartnersClient.NewListPager method.

type IntegrationAccountPartnersClientListResponse added in v0.3.0

type IntegrationAccountPartnersClientListResponse struct {
	// The list of integration account partners.
	IntegrationAccountPartnerListResult
}

IntegrationAccountPartnersClientListResponse contains the response from method IntegrationAccountPartnersClient.NewListPager.

type IntegrationAccountProperties

type IntegrationAccountProperties struct {
	// The integration service environment.
	IntegrationServiceEnvironment *ResourceReference

	// The workflow state.
	State *WorkflowState
}

IntegrationAccountProperties - The integration account properties.

func (IntegrationAccountProperties) MarshalJSON added in v1.1.0

func (i IntegrationAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountProperties.

func (*IntegrationAccountProperties) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountProperties.

type IntegrationAccountSKU

type IntegrationAccountSKU struct {
	// REQUIRED; The sku name.
	Name *IntegrationAccountSKUName
}

IntegrationAccountSKU - The integration account sku.

func (IntegrationAccountSKU) MarshalJSON added in v1.1.0

func (i IntegrationAccountSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSKU.

func (*IntegrationAccountSKU) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSKU.

type IntegrationAccountSKUName

type IntegrationAccountSKUName string

IntegrationAccountSKUName - The integration account sku name.

const (
	IntegrationAccountSKUNameBasic        IntegrationAccountSKUName = "Basic"
	IntegrationAccountSKUNameFree         IntegrationAccountSKUName = "Free"
	IntegrationAccountSKUNameNotSpecified IntegrationAccountSKUName = "NotSpecified"
	IntegrationAccountSKUNameStandard     IntegrationAccountSKUName = "Standard"
)

func PossibleIntegrationAccountSKUNameValues

func PossibleIntegrationAccountSKUNameValues() []IntegrationAccountSKUName

PossibleIntegrationAccountSKUNameValues returns the possible values for the IntegrationAccountSKUName const type.

type IntegrationAccountSchema

type IntegrationAccountSchema struct {
	// REQUIRED; The integration account schema properties.
	Properties *IntegrationAccountSchemaProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountSchema - The integration account schema.

func (IntegrationAccountSchema) MarshalJSON

func (i IntegrationAccountSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSchema.

func (*IntegrationAccountSchema) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSchema.

type IntegrationAccountSchemaFilter

type IntegrationAccountSchemaFilter struct {
	// REQUIRED; The schema type of integration account schema.
	SchemaType *SchemaType
}

IntegrationAccountSchemaFilter - The integration account schema filter for odata query.

func (IntegrationAccountSchemaFilter) MarshalJSON added in v1.1.0

func (i IntegrationAccountSchemaFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSchemaFilter.

func (*IntegrationAccountSchemaFilter) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSchemaFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSchemaFilter.

type IntegrationAccountSchemaListResult

type IntegrationAccountSchemaListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account schemas.
	Value []*IntegrationAccountSchema
}

IntegrationAccountSchemaListResult - The list of integration account schemas.

func (IntegrationAccountSchemaListResult) MarshalJSON

func (i IntegrationAccountSchemaListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSchemaListResult.

func (*IntegrationAccountSchemaListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSchemaListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSchemaListResult.

type IntegrationAccountSchemaProperties

type IntegrationAccountSchemaProperties struct {
	// REQUIRED; The schema type.
	SchemaType *SchemaType

	// The content.
	Content *string

	// The content type.
	ContentType *string

	// The document name.
	DocumentName *string

	// The file name.
	FileName *string

	// The metadata.
	Metadata any

	// The target namespace of the schema.
	TargetNamespace *string

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The content link.
	ContentLink *ContentLink

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountSchemaProperties - The integration account schema properties.

func (IntegrationAccountSchemaProperties) MarshalJSON

func (i IntegrationAccountSchemaProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSchemaProperties.

func (*IntegrationAccountSchemaProperties) UnmarshalJSON

func (i *IntegrationAccountSchemaProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSchemaProperties.

type IntegrationAccountSchemasClient

type IntegrationAccountSchemasClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountSchemasClient contains the methods for the IntegrationAccountSchemas group. Don't use this type directly, use NewIntegrationAccountSchemasClient() instead.

func NewIntegrationAccountSchemasClient

func NewIntegrationAccountSchemasClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountSchemasClient, error)

NewIntegrationAccountSchemasClient creates a new instance of IntegrationAccountSchemasClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountSchemasClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account schema. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • schemaName - The integration account schema name.
  • schema - The integration account schema.
  • options - IntegrationAccountSchemasClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSchemasClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountSchemasClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", "testSchema", armlogic.IntegrationAccountSchema{
		Location: to.Ptr("westus"),
		Tags: map[string]*string{
			"integrationAccountSchemaName": to.Ptr("IntegrationAccountSchema8120"),
		},
		Properties: &armlogic.IntegrationAccountSchemaProperties{
			Content:     to.Ptr("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<xs:schema xmlns:b=\"http://schemas.microsoft.com/BizTalk/2003\" xmlns=\"http://Inbound_EDI.OrderFile\" targetNamespace=\"http://Inbound_EDI.OrderFile\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\r\n  <xs:annotation>\r\n    <xs:appinfo>\r\n      <b:schemaInfo default_pad_char=\" \" count_positions_by_byte=\"false\" parser_optimization=\"speed\" lookahead_depth=\"3\" suppress_empty_nodes=\"false\" generate_empty_nodes=\"true\" allow_early_termination=\"false\" early_terminate_optional_fields=\"false\" allow_message_breakup_of_infix_root=\"false\" compile_parse_tables=\"false\" standard=\"Flat File\" root_reference=\"OrderFile\" />\r\n      <schemaEditorExtension:schemaInfo namespaceAlias=\"b\" extensionClass=\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\" standardName=\"Flat File\" xmlns:schemaEditorExtension=\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\" />\r\n    </xs:appinfo>\r\n  </xs:annotation>\r\n  <xs:element name=\"OrderFile\">\r\n    <xs:annotation>\r\n      <xs:appinfo>\r\n        <b:recordInfo structure=\"delimited\" preserve_delimiter_for_empty_data=\"true\" suppress_trailing_delimiters=\"false\" sequence_number=\"1\" />\r\n      </xs:appinfo>\r\n    </xs:annotation>\r\n    <xs:complexType>\r\n      <xs:sequence>\r\n        <xs:annotation>\r\n          <xs:appinfo>\r\n            <b:groupInfo sequence_number=\"0\" />\r\n          </xs:appinfo>\r\n        </xs:annotation>\r\n        <xs:element name=\"Order\">\r\n          <xs:annotation>\r\n            <xs:appinfo>\r\n              <b:recordInfo sequence_number=\"1\" structure=\"delimited\" preserve_delimiter_for_empty_data=\"true\" suppress_trailing_delimiters=\"false\" child_delimiter_type=\"hex\" child_delimiter=\"0x0D 0x0A\" child_order=\"infix\" />\r\n            </xs:appinfo>\r\n          </xs:annotation>\r\n          <xs:complexType>\r\n            <xs:sequence>\r\n              <xs:annotation>\r\n                <xs:appinfo>\r\n                  <b:groupInfo sequence_number=\"0\" />\r\n                </xs:appinfo>\r\n              </xs:annotation>\r\n              <xs:element name=\"Header\">\r\n                <xs:annotation>\r\n                  <xs:appinfo>\r\n                    <b:recordInfo sequence_number=\"1\" structure=\"delimited\" preserve_delimiter_for_empty_data=\"true\" suppress_trailing_delimiters=\"false\" child_delimiter_type=\"char\" child_delimiter=\"|\" child_order=\"infix\" tag_name=\"HDR|\" />\r\n                  </xs:appinfo>\r\n                </xs:annotation>\r\n                <xs:complexType>\r\n                  <xs:sequence>\r\n                    <xs:annotation>\r\n                      <xs:appinfo>\r\n                        <b:groupInfo sequence_number=\"0\" />\r\n                      </xs:appinfo>\r\n                    </xs:annotation>\r\n                    <xs:element name=\"PODate\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"1\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"PONumber\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo justification=\"left\" sequence_number=\"2\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"CustomerID\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"3\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"CustomerContactName\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"4\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"CustomerContactPhone\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"5\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                  </xs:sequence>\r\n                </xs:complexType>\r\n              </xs:element>\r\n              <xs:element minOccurs=\"1\" maxOccurs=\"unbounded\" name=\"LineItems\">\r\n                <xs:annotation>\r\n                  <xs:appinfo>\r\n                    <b:recordInfo sequence_number=\"2\" structure=\"delimited\" preserve_delimiter_for_empty_data=\"true\" suppress_trailing_delimiters=\"false\" child_delimiter_type=\"char\" child_delimiter=\"|\" child_order=\"infix\" tag_name=\"DTL|\" />\r\n                  </xs:appinfo>\r\n                </xs:annotation>\r\n                <xs:complexType>\r\n                  <xs:sequence>\r\n                    <xs:annotation>\r\n                      <xs:appinfo>\r\n                        <b:groupInfo sequence_number=\"0\" />\r\n                      </xs:appinfo>\r\n                    </xs:annotation>\r\n                    <xs:element name=\"PONumber\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"1\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"ItemOrdered\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"2\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"Quantity\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"3\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"UOM\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"4\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"Price\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"5\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"ExtendedPrice\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"6\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                    <xs:element name=\"Description\" type=\"xs:string\">\r\n                      <xs:annotation>\r\n                        <xs:appinfo>\r\n                          <b:fieldInfo sequence_number=\"7\" justification=\"left\" />\r\n                        </xs:appinfo>\r\n                      </xs:annotation>\r\n                    </xs:element>\r\n                  </xs:sequence>\r\n                </xs:complexType>\r\n              </xs:element>\r\n            </xs:sequence>\r\n          </xs:complexType>\r\n        </xs:element>\r\n      </xs:sequence>\r\n    </xs:complexType>\r\n  </xs:element>\r\n</xs:schema>"),
			ContentType: to.Ptr("application/xml"),
			Metadata:    map[string]any{},
			SchemaType:  to.Ptr(armlogic.SchemaTypeXML),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountSchema = armlogic.IntegrationAccountSchema{
	// 	Name: to.Ptr("IntegrationAccountSchema5349"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/schemas"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/schemas/testSchema"),
	// 	Properties: &armlogic.IntegrationAccountSchemaProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:46:48.084Z"); return t}()),
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("<value>"),
	// 			},
	// 			ContentSize: to.Ptr[int64](7901),
	// 			ContentVersion: to.Ptr("\"0x8D45C56FEDFCB45\""),
	// 			URI: to.Ptr("<contentLinkUrl>"),
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:46:48.083Z"); return t}()),
	// 		DocumentName: to.Ptr("OrderFile"),
	// 		Metadata: map[string]any{
	// 		},
	// 		SchemaType: to.Ptr(armlogic.SchemaTypeXML),
	// 		TargetNamespace: to.Ptr("http://Inbound_EDI.OrderFile"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountSchemasClient) Delete

func (client *IntegrationAccountSchemasClient) Delete(ctx context.Context, resourceGroupName string, integrationAccountName string, schemaName string, options *IntegrationAccountSchemasClientDeleteOptions) (IntegrationAccountSchemasClientDeleteResponse, error)

Delete - Deletes an integration account schema. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • schemaName - The integration account schema name.
  • options - IntegrationAccountSchemasClientDeleteOptions contains the optional parameters for the IntegrationAccountSchemasClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountSchemasClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", "testSchema", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountSchemasClient) Get

func (client *IntegrationAccountSchemasClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, schemaName string, options *IntegrationAccountSchemasClientGetOptions) (IntegrationAccountSchemasClientGetResponse, error)

Get - Gets an integration account schema. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • schemaName - The integration account schema name.
  • options - IntegrationAccountSchemasClientGetOptions contains the optional parameters for the IntegrationAccountSchemasClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountSchemasClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", "testSchema", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountSchema = armlogic.IntegrationAccountSchema{
	// 	Name: to.Ptr("IntegrationAccountSchema5349"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/schemas"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/schemas/testSchema"),
	// 	Properties: &armlogic.IntegrationAccountSchemaProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:46:48.084Z"); return t}()),
	// 		ContentLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("<value>"),
	// 			},
	// 			ContentSize: to.Ptr[int64](7901),
	// 			ContentVersion: to.Ptr("\"0x8D45C56FEDFCB45\""),
	// 			URI: to.Ptr("<contentLinkUrl>"),
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:46:48.083Z"); return t}()),
	// 		DocumentName: to.Ptr("OrderFile"),
	// 		Metadata: map[string]any{
	// 		},
	// 		SchemaType: to.Ptr(armlogic.SchemaTypeXML),
	// 		TargetNamespace: to.Ptr("http://Inbound_EDI.OrderFile"),
	// 	},
	// }
}
Output:

func (*IntegrationAccountSchemasClient) ListContentCallbackURL

func (client *IntegrationAccountSchemasClient) ListContentCallbackURL(ctx context.Context, resourceGroupName string, integrationAccountName string, schemaName string, listContentCallbackURL GetCallbackURLParameters, options *IntegrationAccountSchemasClientListContentCallbackURLOptions) (IntegrationAccountSchemasClientListContentCallbackURLResponse, error)

ListContentCallbackURL - Get the content callback url. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • schemaName - The integration account schema name.
  • options - IntegrationAccountSchemasClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountSchemasClient.ListContentCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountSchemasClient().ListContentCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", "testSchema", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-19T16:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("GET"),
	// 	BasePath: to.Ptr("https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/schemas/testSchema/contents/Value"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 	},
	// 	Value: to.Ptr("https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/schemas/testSchema/contents/Value?api-version=2015-08-01-preview&sp=%2Fschemas%2FtestSchema%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4"),
	// }
}
Output:

func (*IntegrationAccountSchemasClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration account schemas.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountSchemasClientListOptions contains the optional parameters for the IntegrationAccountSchemasClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountSchemasClient().NewListPager("testResourceGroup", "<integrationAccountName>", &armlogic.IntegrationAccountSchemasClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountSchemaListResult = armlogic.IntegrationAccountSchemaListResult{
		// 	Value: []*armlogic.IntegrationAccountSchema{
		// 		{
		// 			Name: to.Ptr("IntegrationAccountSchema3944"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/schemas"),
		// 			ID: to.Ptr("/subscriptions/<subscriptionId>/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/<integrationAccountName>/schemas/IntegrationAccountSchema3944"),
		// 			Properties: &armlogic.IntegrationAccountSchemaProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:34:16.709Z"); return t}()),
		// 				ContentLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("<Value>"),
		// 					},
		// 					ContentSize: to.Ptr[int64](7901),
		// 					ContentVersion: to.Ptr("\"0x8D45C553EECEB76\""),
		// 					URI: to.Ptr("<contentLinkUri>"),
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-24T01:34:16.708Z"); return t}()),
		// 				DocumentName: to.Ptr("OrderFile"),
		// 				Metadata: map[string]any{
		// 				},
		// 				SchemaType: to.Ptr(armlogic.SchemaTypeXML),
		// 				TargetNamespace: to.Ptr("http://Inbound_EDI.OrderFile"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountSchemasClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountSchemasClientCreateOrUpdateOptions struct {
}

IntegrationAccountSchemasClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSchemasClient.CreateOrUpdate method.

type IntegrationAccountSchemasClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountSchemasClientCreateOrUpdateResponse struct {
	// The integration account schema.
	IntegrationAccountSchema
}

IntegrationAccountSchemasClientCreateOrUpdateResponse contains the response from method IntegrationAccountSchemasClient.CreateOrUpdate.

type IntegrationAccountSchemasClientDeleteOptions added in v0.3.0

type IntegrationAccountSchemasClientDeleteOptions struct {
}

IntegrationAccountSchemasClientDeleteOptions contains the optional parameters for the IntegrationAccountSchemasClient.Delete method.

type IntegrationAccountSchemasClientDeleteResponse added in v0.3.0

type IntegrationAccountSchemasClientDeleteResponse struct {
}

IntegrationAccountSchemasClientDeleteResponse contains the response from method IntegrationAccountSchemasClient.Delete.

type IntegrationAccountSchemasClientGetOptions added in v0.3.0

type IntegrationAccountSchemasClientGetOptions struct {
}

IntegrationAccountSchemasClientGetOptions contains the optional parameters for the IntegrationAccountSchemasClient.Get method.

type IntegrationAccountSchemasClientGetResponse added in v0.3.0

type IntegrationAccountSchemasClientGetResponse struct {
	// The integration account schema.
	IntegrationAccountSchema
}

IntegrationAccountSchemasClientGetResponse contains the response from method IntegrationAccountSchemasClient.Get.

type IntegrationAccountSchemasClientListContentCallbackURLOptions added in v0.3.0

type IntegrationAccountSchemasClientListContentCallbackURLOptions struct {
}

IntegrationAccountSchemasClientListContentCallbackURLOptions contains the optional parameters for the IntegrationAccountSchemasClient.ListContentCallbackURL method.

type IntegrationAccountSchemasClientListContentCallbackURLResponse added in v0.3.0

type IntegrationAccountSchemasClientListContentCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

IntegrationAccountSchemasClientListContentCallbackURLResponse contains the response from method IntegrationAccountSchemasClient.ListContentCallbackURL.

type IntegrationAccountSchemasClientListOptions added in v0.3.0

type IntegrationAccountSchemasClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: SchemaType.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountSchemasClientListOptions contains the optional parameters for the IntegrationAccountSchemasClient.NewListPager method.

type IntegrationAccountSchemasClientListResponse added in v0.3.0

type IntegrationAccountSchemasClientListResponse struct {
	// The list of integration account schemas.
	IntegrationAccountSchemaListResult
}

IntegrationAccountSchemasClientListResponse contains the response from method IntegrationAccountSchemasClient.NewListPager.

type IntegrationAccountSession

type IntegrationAccountSession struct {
	// REQUIRED; The integration account session properties.
	Properties *IntegrationAccountSessionProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationAccountSession - The integration account session.

func (IntegrationAccountSession) MarshalJSON

func (i IntegrationAccountSession) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSession.

func (*IntegrationAccountSession) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSession) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSession.

type IntegrationAccountSessionFilter

type IntegrationAccountSessionFilter struct {
	// REQUIRED; The changed time of integration account sessions.
	ChangedTime *time.Time
}

IntegrationAccountSessionFilter - The integration account session filter.

func (IntegrationAccountSessionFilter) MarshalJSON

func (i IntegrationAccountSessionFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSessionFilter.

func (*IntegrationAccountSessionFilter) UnmarshalJSON

func (i *IntegrationAccountSessionFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSessionFilter.

type IntegrationAccountSessionListResult

type IntegrationAccountSessionListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration account sessions.
	Value []*IntegrationAccountSession
}

IntegrationAccountSessionListResult - The list of integration account sessions.

func (IntegrationAccountSessionListResult) MarshalJSON

func (i IntegrationAccountSessionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSessionListResult.

func (*IntegrationAccountSessionListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationAccountSessionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSessionListResult.

type IntegrationAccountSessionProperties

type IntegrationAccountSessionProperties struct {
	// The session content.
	Content any

	// READ-ONLY; The changed time.
	ChangedTime *time.Time

	// READ-ONLY; The created time.
	CreatedTime *time.Time
}

IntegrationAccountSessionProperties - The integration account session properties.

func (IntegrationAccountSessionProperties) MarshalJSON

func (i IntegrationAccountSessionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationAccountSessionProperties.

func (*IntegrationAccountSessionProperties) UnmarshalJSON

func (i *IntegrationAccountSessionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationAccountSessionProperties.

type IntegrationAccountSessionsClient

type IntegrationAccountSessionsClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountSessionsClient contains the methods for the IntegrationAccountSessions group. Don't use this type directly, use NewIntegrationAccountSessionsClient() instead.

func NewIntegrationAccountSessionsClient

func NewIntegrationAccountSessionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountSessionsClient, error)

NewIntegrationAccountSessionsClient creates a new instance of IntegrationAccountSessionsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountSessionsClient) CreateOrUpdate

CreateOrUpdate - Creates or updates an integration account session. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • sessionName - The integration account session name.
  • session - The integration account session.
  • options - IntegrationAccountSessionsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSessionsClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountSessionsClient().CreateOrUpdate(ctx, "testrg123", "testia123", "testsession123-ICN", armlogic.IntegrationAccountSession{
		Properties: &armlogic.IntegrationAccountSessionProperties{
			Content: map[string]any{
				"controlNumber":            "1234",
				"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountSession = armlogic.IntegrationAccountSession{
	// 	Name: to.Ptr("testsession123-ICN"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/sessions"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN"),
	// 	Properties: &armlogic.IntegrationAccountSessionProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T20:41:35.979Z"); return t}()),
	// 		Content: map[string]any{
	// 			"controlNumber": "1234",
	// 			"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T20:41:35.978Z"); return t}()),
	// 	},
	// }
}
Output:

func (*IntegrationAccountSessionsClient) Delete

Delete - Deletes an integration account session. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • sessionName - The integration account session name.
  • options - IntegrationAccountSessionsClientDeleteOptions contains the optional parameters for the IntegrationAccountSessionsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountSessionsClient().Delete(ctx, "testrg123", "testia123", "testsession123-ICN", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountSessionsClient) Get

func (client *IntegrationAccountSessionsClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, sessionName string, options *IntegrationAccountSessionsClientGetOptions) (IntegrationAccountSessionsClientGetResponse, error)

Get - Gets an integration account session. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • sessionName - The integration account session name.
  • options - IntegrationAccountSessionsClientGetOptions contains the optional parameters for the IntegrationAccountSessionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountSessionsClient().Get(ctx, "testrg123", "testia123", "testsession123-ICN", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccountSession = armlogic.IntegrationAccountSession{
	// 	Name: to.Ptr("testsession123-ICN"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts/sessions"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN"),
	// 	Properties: &armlogic.IntegrationAccountSessionProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T20:41:35.979Z"); return t}()),
	// 		Content: map[string]any{
	// 			"controlNumber": "1234",
	// 			"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
	// 		},
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T20:41:35.978Z"); return t}()),
	// 	},
	// }
}
Output:

func (*IntegrationAccountSessionsClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration account sessions.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountSessionsClientListOptions contains the optional parameters for the IntegrationAccountSessionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountSessionsClient().NewListPager("testrg123", "testia123", &armlogic.IntegrationAccountSessionsClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountSessionListResult = armlogic.IntegrationAccountSessionListResult{
		// 	Value: []*armlogic.IntegrationAccountSession{
		// 		{
		// 			Name: to.Ptr("IntegrationAccountSession1662"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/sessions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession1662"),
		// 			Properties: &armlogic.IntegrationAccountSessionProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:24.015Z"); return t}()),
		// 				Content: map[string]any{
		// 					"controlNumber": "1234",
		// 					"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:24.015Z"); return t}()),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("IntegrationAccountSession6808"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/sessions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession6808"),
		// 			Properties: &armlogic.IntegrationAccountSessionProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:23.754Z"); return t}()),
		// 				Content: map[string]any{
		// 					"controlNumber": "1234",
		// 					"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:23.753Z"); return t}()),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("IntegrationAccountSession7315"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts/sessions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession7315"),
		// 			Properties: &armlogic.IntegrationAccountSessionProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:23.837Z"); return t}()),
		// 				Content: map[string]any{
		// 					"controlNumber": "1234",
		// 					"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
		// 				},
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-02-21T23:06:23.836Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationAccountSessionsClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountSessionsClientCreateOrUpdateOptions struct {
}

IntegrationAccountSessionsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSessionsClient.CreateOrUpdate method.

type IntegrationAccountSessionsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountSessionsClientCreateOrUpdateResponse struct {
	// The integration account session.
	IntegrationAccountSession
}

IntegrationAccountSessionsClientCreateOrUpdateResponse contains the response from method IntegrationAccountSessionsClient.CreateOrUpdate.

type IntegrationAccountSessionsClientDeleteOptions added in v0.3.0

type IntegrationAccountSessionsClientDeleteOptions struct {
}

IntegrationAccountSessionsClientDeleteOptions contains the optional parameters for the IntegrationAccountSessionsClient.Delete method.

type IntegrationAccountSessionsClientDeleteResponse added in v0.3.0

type IntegrationAccountSessionsClientDeleteResponse struct {
}

IntegrationAccountSessionsClientDeleteResponse contains the response from method IntegrationAccountSessionsClient.Delete.

type IntegrationAccountSessionsClientGetOptions added in v0.3.0

type IntegrationAccountSessionsClientGetOptions struct {
}

IntegrationAccountSessionsClientGetOptions contains the optional parameters for the IntegrationAccountSessionsClient.Get method.

type IntegrationAccountSessionsClientGetResponse added in v0.3.0

type IntegrationAccountSessionsClientGetResponse struct {
	// The integration account session.
	IntegrationAccountSession
}

IntegrationAccountSessionsClientGetResponse contains the response from method IntegrationAccountSessionsClient.Get.

type IntegrationAccountSessionsClientListOptions added in v0.3.0

type IntegrationAccountSessionsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: ChangedTime.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountSessionsClientListOptions contains the optional parameters for the IntegrationAccountSessionsClient.NewListPager method.

type IntegrationAccountSessionsClientListResponse added in v0.3.0

type IntegrationAccountSessionsClientListResponse struct {
	// The list of integration account sessions.
	IntegrationAccountSessionListResult
}

IntegrationAccountSessionsClientListResponse contains the response from method IntegrationAccountSessionsClient.NewListPager.

type IntegrationAccountsClient

type IntegrationAccountsClient struct {
	// contains filtered or unexported fields
}

IntegrationAccountsClient contains the methods for the IntegrationAccounts group. Don't use this type directly, use NewIntegrationAccountsClient() instead.

func NewIntegrationAccountsClient

func NewIntegrationAccountsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationAccountsClient, error)

NewIntegrationAccountsClient creates a new instance of IntegrationAccountsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationAccountsClient) CreateOrUpdate

func (client *IntegrationAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, integrationAccountName string, integrationAccount IntegrationAccount, options *IntegrationAccountsClientCreateOrUpdateOptions) (IntegrationAccountsClientCreateOrUpdateResponse, error)

CreateOrUpdate - Creates or updates an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • integrationAccount - The integration account.
  • options - IntegrationAccountsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountsClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountsClient().CreateOrUpdate(ctx, "testResourceGroup", "testIntegrationAccount", armlogic.IntegrationAccount{
		Location:   to.Ptr("westus"),
		Properties: &armlogic.IntegrationAccountProperties{},
		SKU: &armlogic.IntegrationAccountSKU{
			Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccount = armlogic.IntegrationAccount{
	// 	Name: to.Ptr("testIntegrationAccount"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount"),
	// 	Location: to.Ptr("westus"),
	// 	Properties: &armlogic.IntegrationAccountProperties{
	// 	},
	// 	SKU: &armlogic.IntegrationAccountSKU{
	// 		Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
	// 	},
	// }
}
Output:

func (*IntegrationAccountsClient) Delete

func (client *IntegrationAccountsClient) Delete(ctx context.Context, resourceGroupName string, integrationAccountName string, options *IntegrationAccountsClientDeleteOptions) (IntegrationAccountsClientDeleteResponse, error)

Delete - Deletes an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountsClientDeleteOptions contains the optional parameters for the IntegrationAccountsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountsClient().Delete(ctx, "testResourceGroup", "testIntegrationAccount", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountsClient) Get

func (client *IntegrationAccountsClient) Get(ctx context.Context, resourceGroupName string, integrationAccountName string, options *IntegrationAccountsClientGetOptions) (IntegrationAccountsClientGetResponse, error)

Get - Gets an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • options - IntegrationAccountsClientGetOptions contains the optional parameters for the IntegrationAccountsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountsClient().Get(ctx, "testResourceGroup", "testIntegrationAccount", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccount = armlogic.IntegrationAccount{
	// 	Name: to.Ptr("IntegrationAccount5892"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount"),
	// 	Location: to.Ptr("westus"),
	// 	Properties: &armlogic.IntegrationAccountProperties{
	// 		IntegrationServiceEnvironment: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-service-environment"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment"),
	// 		},
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 	},
	// 	SKU: &armlogic.IntegrationAccountSKU{
	// 		Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
	// 	},
	// }
}
Output:

func (*IntegrationAccountsClient) ListCallbackURL

ListCallbackURL - Gets the integration account callback URL. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • parameters - The callback URL parameters.
  • options - IntegrationAccountsClientListCallbackURLOptions contains the optional parameters for the IntegrationAccountsClient.ListCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountsClient().ListCallbackURL(ctx, "testResourceGroup", "testIntegrationAccount", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-05T08:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.CallbackURL = armlogic.CallbackURL{
	// 	Value: to.Ptr("https://testprod-westus.logic.azure.com:443/integrationAccounts/ce41a499a1e64d95b874f5f14b4bf3b6?api-version=2015-08-01-preview&se=2017-03-17T07%3A00%3A00.0000000Z&sp=%2F%2F%2A&sv=1.0"),
	// }
}
Output:

func (*IntegrationAccountsClient) LogTrackingEvents

func (client *IntegrationAccountsClient) LogTrackingEvents(ctx context.Context, resourceGroupName string, integrationAccountName string, logTrackingEvents TrackingEventsDefinition, options *IntegrationAccountsClientLogTrackingEventsOptions) (IntegrationAccountsClientLogTrackingEventsResponse, error)

LogTrackingEvents - Logs the integration account's tracking events. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • logTrackingEvents - The callback URL parameters.
  • options - IntegrationAccountsClientLogTrackingEventsOptions contains the optional parameters for the IntegrationAccountsClient.LogTrackingEvents method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_LogTrackingEvents.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationAccountsClient().LogTrackingEvents(ctx, "testResourceGroup", "testIntegrationAccount", armlogic.TrackingEventsDefinition{
		Events: []*armlogic.TrackingEvent{
			{
				Error: &armlogic.TrackingEventErrorInfo{
					Code:    to.Ptr("NotFound"),
					Message: to.Ptr("Some error occurred"),
				},
				EventLevel: to.Ptr(armlogic.EventLevelInformational),
				EventTime:  to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2016-08-05T01:54:49.505Z"); return t }()),
				Record: map[string]any{
					"agreementProperties": map[string]any{
						"agreementName":       "testAgreement",
						"as2From":             "testas2from",
						"as2To":               "testas2to",
						"receiverPartnerName": "testPartner2",
						"senderPartnerName":   "testPartner1",
					},
					"messageProperties": map[string]any{
						"IsMessageEncrypted":   false,
						"IsMessageSigned":      false,
						"correlationMessageId": "Unique message identifier",
						"direction":            "Receive",
						"dispositionType":      "received-success",
						"fileName":             "test",
						"isMdnExpected":        true,
						"isMessageCompressed":  false,
						"isMessageFailed":      false,
						"isNrrEnabled":         true,
						"mdnType":              "Async",
						"messageId":            "12345",
					},
				},
				RecordType: to.Ptr(armlogic.TrackingRecordTypeAS2Message),
			}},
		SourceType: to.Ptr("Microsoft.Logic/workflows"),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationAccountsClient) NewListByResourceGroupPager added in v0.5.0

NewListByResourceGroupPager - Gets a list of integration accounts by resource group.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • options - IntegrationAccountsClientListByResourceGroupOptions contains the optional parameters for the IntegrationAccountsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountsClient().NewListByResourceGroupPager("testResourceGroup", &armlogic.IntegrationAccountsClientListByResourceGroupOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountListResult = armlogic.IntegrationAccountListResult{
		// 	Value: []*armlogic.IntegrationAccount{
		// 		{
		// 			Name: to.Ptr("IntegrationAccount9020"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9020"),
		// 			Location: to.Ptr("westus"),
		// 			Properties: &armlogic.IntegrationAccountProperties{
		// 			},
		// 			SKU: &armlogic.IntegrationAccountSKU{
		// 				Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*IntegrationAccountsClient) NewListBySubscriptionPager added in v0.5.0

NewListBySubscriptionPager - Gets a list of integration accounts by subscription.

Generated from API version 2019-05-01

  • options - IntegrationAccountsClientListBySubscriptionOptions contains the optional parameters for the IntegrationAccountsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountsClient().NewListBySubscriptionPager(&armlogic.IntegrationAccountsClientListBySubscriptionOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationAccountListResult = armlogic.IntegrationAccountListResult{
		// 	Value: []*armlogic.IntegrationAccount{
		// 		{
		// 			Name: to.Ptr("daviburgIAFabrikam"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount"),
		// 			Location: to.Ptr("northcentralus"),
		// 			Properties: &armlogic.IntegrationAccountProperties{
		// 			},
		// 			SKU: &armlogic.IntegrationAccountSKU{
		// 				Name: to.Ptr(armlogic.IntegrationAccountSKUNameFree),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*IntegrationAccountsClient) NewListKeyVaultKeysPager added in v0.5.0

func (client *IntegrationAccountsClient) NewListKeyVaultKeysPager(resourceGroupName string, integrationAccountName string, listKeyVaultKeys ListKeyVaultKeysDefinition, options *IntegrationAccountsClientListKeyVaultKeysOptions) *runtime.Pager[IntegrationAccountsClientListKeyVaultKeysResponse]

NewListKeyVaultKeysPager - Gets the integration account's Key Vault keys.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • listKeyVaultKeys - The key vault parameters.
  • options - IntegrationAccountsClientListKeyVaultKeysOptions contains the optional parameters for the IntegrationAccountsClient.NewListKeyVaultKeysPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListKeyVaultKeys.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationAccountsClient().NewListKeyVaultKeysPager("testResourceGroup", "testIntegrationAccount", armlogic.ListKeyVaultKeysDefinition{
		KeyVault: &armlogic.KeyVaultReference{
			ID: to.Ptr("subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
		},
		SkipToken: to.Ptr("testSkipToken"),
	}, nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.KeyVaultKeyCollection = armlogic.KeyVaultKeyCollection{
		// 	SkipToken: to.Ptr("testSkipToken"),
		// 	Value: []*armlogic.KeyVaultKey{
		// 		{
		// 			Attributes: &armlogic.KeyVaultKeyAttributes{
		// 				Created: to.Ptr[int64](1498072075),
		// 				Enabled: to.Ptr(true),
		// 				Updated: to.Ptr[int64](1498072075),
		// 			},
		// 			Kid: to.Ptr("https://testKeyVault.vault.azure.net/keys/testkey"),
		// 	}},
		// }
	}
}
Output:

func (*IntegrationAccountsClient) RegenerateAccessKey

func (client *IntegrationAccountsClient) RegenerateAccessKey(ctx context.Context, resourceGroupName string, integrationAccountName string, regenerateAccessKey RegenerateActionParameter, options *IntegrationAccountsClientRegenerateAccessKeyOptions) (IntegrationAccountsClientRegenerateAccessKeyResponse, error)

RegenerateAccessKey - Regenerates the integration account access key. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • regenerateAccessKey - The access key type.
  • options - IntegrationAccountsClientRegenerateAccessKeyOptions contains the optional parameters for the IntegrationAccountsClient.RegenerateAccessKey method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_RegenerateAccessKey.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountsClient().RegenerateAccessKey(ctx, "testResourceGroup", "testIntegrationAccount", armlogic.RegenerateActionParameter{
		KeyType: to.Ptr(armlogic.KeyTypePrimary),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccount = armlogic.IntegrationAccount{
	// 	Name: to.Ptr("testIntegrationAccount"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount"),
	// 	Location: to.Ptr("westus"),
	// 	Properties: &armlogic.IntegrationAccountProperties{
	// 	},
	// 	SKU: &armlogic.IntegrationAccountSKU{
	// 		Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
	// 	},
	// }
}
Output:

func (*IntegrationAccountsClient) Update

func (client *IntegrationAccountsClient) Update(ctx context.Context, resourceGroupName string, integrationAccountName string, integrationAccount IntegrationAccount, options *IntegrationAccountsClientUpdateOptions) (IntegrationAccountsClientUpdateResponse, error)

Update - Updates an integration account. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • integrationAccountName - The integration account name.
  • integrationAccount - The integration account.
  • options - IntegrationAccountsClientUpdateOptions contains the optional parameters for the IntegrationAccountsClient.Update method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Update.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationAccountsClient().Update(ctx, "testResourceGroup", "testIntegrationAccount", armlogic.IntegrationAccount{
		Location:   to.Ptr("westus"),
		Properties: &armlogic.IntegrationAccountProperties{},
		SKU: &armlogic.IntegrationAccountSKU{
			Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationAccount = armlogic.IntegrationAccount{
	// 	Name: to.Ptr("testIntegrationAccount"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount"),
	// 	Location: to.Ptr("westus"),
	// 	Properties: &armlogic.IntegrationAccountProperties{
	// 	},
	// 	SKU: &armlogic.IntegrationAccountSKU{
	// 		Name: to.Ptr(armlogic.IntegrationAccountSKUNameStandard),
	// 	},
	// }
}
Output:

type IntegrationAccountsClientCreateOrUpdateOptions added in v0.3.0

type IntegrationAccountsClientCreateOrUpdateOptions struct {
}

IntegrationAccountsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountsClient.CreateOrUpdate method.

type IntegrationAccountsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationAccountsClientCreateOrUpdateResponse struct {
	// The integration account.
	IntegrationAccount
}

IntegrationAccountsClientCreateOrUpdateResponse contains the response from method IntegrationAccountsClient.CreateOrUpdate.

type IntegrationAccountsClientDeleteOptions added in v0.3.0

type IntegrationAccountsClientDeleteOptions struct {
}

IntegrationAccountsClientDeleteOptions contains the optional parameters for the IntegrationAccountsClient.Delete method.

type IntegrationAccountsClientDeleteResponse added in v0.3.0

type IntegrationAccountsClientDeleteResponse struct {
}

IntegrationAccountsClientDeleteResponse contains the response from method IntegrationAccountsClient.Delete.

type IntegrationAccountsClientGetOptions added in v0.3.0

type IntegrationAccountsClientGetOptions struct {
}

IntegrationAccountsClientGetOptions contains the optional parameters for the IntegrationAccountsClient.Get method.

type IntegrationAccountsClientGetResponse added in v0.3.0

type IntegrationAccountsClientGetResponse struct {
	// The integration account.
	IntegrationAccount
}

IntegrationAccountsClientGetResponse contains the response from method IntegrationAccountsClient.Get.

type IntegrationAccountsClientListByResourceGroupOptions added in v0.3.0

type IntegrationAccountsClientListByResourceGroupOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountsClientListByResourceGroupOptions contains the optional parameters for the IntegrationAccountsClient.NewListByResourceGroupPager method.

type IntegrationAccountsClientListByResourceGroupResponse added in v0.3.0

type IntegrationAccountsClientListByResourceGroupResponse struct {
	// The list of integration accounts.
	IntegrationAccountListResult
}

IntegrationAccountsClientListByResourceGroupResponse contains the response from method IntegrationAccountsClient.NewListByResourceGroupPager.

type IntegrationAccountsClientListBySubscriptionOptions added in v0.3.0

type IntegrationAccountsClientListBySubscriptionOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

IntegrationAccountsClientListBySubscriptionOptions contains the optional parameters for the IntegrationAccountsClient.NewListBySubscriptionPager method.

type IntegrationAccountsClientListBySubscriptionResponse added in v0.3.0

type IntegrationAccountsClientListBySubscriptionResponse struct {
	// The list of integration accounts.
	IntegrationAccountListResult
}

IntegrationAccountsClientListBySubscriptionResponse contains the response from method IntegrationAccountsClient.NewListBySubscriptionPager.

type IntegrationAccountsClientListCallbackURLOptions added in v0.3.0

type IntegrationAccountsClientListCallbackURLOptions struct {
}

IntegrationAccountsClientListCallbackURLOptions contains the optional parameters for the IntegrationAccountsClient.ListCallbackURL method.

type IntegrationAccountsClientListCallbackURLResponse added in v0.3.0

type IntegrationAccountsClientListCallbackURLResponse struct {
	// The callback url.
	CallbackURL
}

IntegrationAccountsClientListCallbackURLResponse contains the response from method IntegrationAccountsClient.ListCallbackURL.

type IntegrationAccountsClientListKeyVaultKeysOptions added in v0.3.0

type IntegrationAccountsClientListKeyVaultKeysOptions struct {
}

IntegrationAccountsClientListKeyVaultKeysOptions contains the optional parameters for the IntegrationAccountsClient.NewListKeyVaultKeysPager method.

type IntegrationAccountsClientListKeyVaultKeysResponse added in v0.3.0

type IntegrationAccountsClientListKeyVaultKeysResponse struct {
	// Collection of key vault keys.
	KeyVaultKeyCollection
}

IntegrationAccountsClientListKeyVaultKeysResponse contains the response from method IntegrationAccountsClient.NewListKeyVaultKeysPager.

type IntegrationAccountsClientLogTrackingEventsOptions added in v0.3.0

type IntegrationAccountsClientLogTrackingEventsOptions struct {
}

IntegrationAccountsClientLogTrackingEventsOptions contains the optional parameters for the IntegrationAccountsClient.LogTrackingEvents method.

type IntegrationAccountsClientLogTrackingEventsResponse added in v0.3.0

type IntegrationAccountsClientLogTrackingEventsResponse struct {
}

IntegrationAccountsClientLogTrackingEventsResponse contains the response from method IntegrationAccountsClient.LogTrackingEvents.

type IntegrationAccountsClientRegenerateAccessKeyOptions added in v0.3.0

type IntegrationAccountsClientRegenerateAccessKeyOptions struct {
}

IntegrationAccountsClientRegenerateAccessKeyOptions contains the optional parameters for the IntegrationAccountsClient.RegenerateAccessKey method.

type IntegrationAccountsClientRegenerateAccessKeyResponse added in v0.3.0

type IntegrationAccountsClientRegenerateAccessKeyResponse struct {
	// The integration account.
	IntegrationAccount
}

IntegrationAccountsClientRegenerateAccessKeyResponse contains the response from method IntegrationAccountsClient.RegenerateAccessKey.

type IntegrationAccountsClientUpdateOptions added in v0.3.0

type IntegrationAccountsClientUpdateOptions struct {
}

IntegrationAccountsClientUpdateOptions contains the optional parameters for the IntegrationAccountsClient.Update method.

type IntegrationAccountsClientUpdateResponse added in v0.3.0

type IntegrationAccountsClientUpdateResponse struct {
	// The integration account.
	IntegrationAccount
}

IntegrationAccountsClientUpdateResponse contains the response from method IntegrationAccountsClient.Update.

type IntegrationServiceEnvironmenEncryptionConfiguration

type IntegrationServiceEnvironmenEncryptionConfiguration struct {
	// The encryption key reference.
	EncryptionKeyReference *IntegrationServiceEnvironmenEncryptionKeyReference
}

IntegrationServiceEnvironmenEncryptionConfiguration - The encryption configuration for the integration service environment.

func (IntegrationServiceEnvironmenEncryptionConfiguration) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmenEncryptionConfiguration.

func (*IntegrationServiceEnvironmenEncryptionConfiguration) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmenEncryptionConfiguration.

type IntegrationServiceEnvironmenEncryptionKeyReference

type IntegrationServiceEnvironmenEncryptionKeyReference struct {
	// Gets the key name in the Key Vault.
	KeyName *string

	// The key vault reference.
	KeyVault *ResourceReference

	// Gets the version of the key specified in the keyName property.
	KeyVersion *string
}

IntegrationServiceEnvironmenEncryptionKeyReference - The encryption key details for the integration service environment.

func (IntegrationServiceEnvironmenEncryptionKeyReference) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmenEncryptionKeyReference.

func (*IntegrationServiceEnvironmenEncryptionKeyReference) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmenEncryptionKeyReference.

type IntegrationServiceEnvironment

type IntegrationServiceEnvironment struct {
	// Managed service identity properties.
	Identity *ManagedServiceIdentity

	// The resource location.
	Location *string

	// The integration service environment properties.
	Properties *IntegrationServiceEnvironmentProperties

	// The sku.
	SKU *IntegrationServiceEnvironmentSKU

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationServiceEnvironment - The integration service environment.

func (IntegrationServiceEnvironment) MarshalJSON

func (i IntegrationServiceEnvironment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironment.

func (*IntegrationServiceEnvironment) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironment.

type IntegrationServiceEnvironmentAccessEndpoint

type IntegrationServiceEnvironmentAccessEndpoint struct {
	// The access endpoint type.
	Type *IntegrationServiceEnvironmentAccessEndpointType
}

IntegrationServiceEnvironmentAccessEndpoint - The integration service environment access endpoint.

func (IntegrationServiceEnvironmentAccessEndpoint) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentAccessEndpoint.

func (*IntegrationServiceEnvironmentAccessEndpoint) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentAccessEndpoint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentAccessEndpoint.

type IntegrationServiceEnvironmentAccessEndpointType

type IntegrationServiceEnvironmentAccessEndpointType string

IntegrationServiceEnvironmentAccessEndpointType - The integration service environment access endpoint type.

const (
	IntegrationServiceEnvironmentAccessEndpointTypeExternal     IntegrationServiceEnvironmentAccessEndpointType = "External"
	IntegrationServiceEnvironmentAccessEndpointTypeInternal     IntegrationServiceEnvironmentAccessEndpointType = "Internal"
	IntegrationServiceEnvironmentAccessEndpointTypeNotSpecified IntegrationServiceEnvironmentAccessEndpointType = "NotSpecified"
)

func PossibleIntegrationServiceEnvironmentAccessEndpointTypeValues

func PossibleIntegrationServiceEnvironmentAccessEndpointTypeValues() []IntegrationServiceEnvironmentAccessEndpointType

PossibleIntegrationServiceEnvironmentAccessEndpointTypeValues returns the possible values for the IntegrationServiceEnvironmentAccessEndpointType const type.

type IntegrationServiceEnvironmentListResult

type IntegrationServiceEnvironmentListResult struct {
	// The URL to get the next set of results.
	NextLink *string
	Value    []*IntegrationServiceEnvironment
}

IntegrationServiceEnvironmentListResult - The list of integration service environments.

func (IntegrationServiceEnvironmentListResult) MarshalJSON

func (i IntegrationServiceEnvironmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentListResult.

func (*IntegrationServiceEnvironmentListResult) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentListResult.

type IntegrationServiceEnvironmentManagedAPI

type IntegrationServiceEnvironmentManagedAPI struct {
	// The resource location.
	Location *string

	// The integration service environment managed api properties.
	Properties *IntegrationServiceEnvironmentManagedAPIProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

IntegrationServiceEnvironmentManagedAPI - The integration service environment managed api.

func (IntegrationServiceEnvironmentManagedAPI) MarshalJSON

func (i IntegrationServiceEnvironmentManagedAPI) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentManagedAPI.

func (*IntegrationServiceEnvironmentManagedAPI) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentManagedAPI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentManagedAPI.

type IntegrationServiceEnvironmentManagedAPIDeploymentParameters

type IntegrationServiceEnvironmentManagedAPIDeploymentParameters struct {
	// The integration service environment managed api content link for deployment.
	ContentLinkDefinition *ContentLink
}

IntegrationServiceEnvironmentManagedAPIDeploymentParameters - The integration service environment managed api deployment parameters.

func (IntegrationServiceEnvironmentManagedAPIDeploymentParameters) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentManagedAPIDeploymentParameters.

func (*IntegrationServiceEnvironmentManagedAPIDeploymentParameters) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentManagedAPIDeploymentParameters.

type IntegrationServiceEnvironmentManagedAPIListResult

type IntegrationServiceEnvironmentManagedAPIListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The integration service environment managed APIs.
	Value []*IntegrationServiceEnvironmentManagedAPI
}

IntegrationServiceEnvironmentManagedAPIListResult - The list of integration service environment managed APIs.

func (IntegrationServiceEnvironmentManagedAPIListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentManagedAPIListResult.

func (*IntegrationServiceEnvironmentManagedAPIListResult) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentManagedAPIListResult.

type IntegrationServiceEnvironmentManagedAPIOperationsClient

type IntegrationServiceEnvironmentManagedAPIOperationsClient struct {
	// contains filtered or unexported fields
}

IntegrationServiceEnvironmentManagedAPIOperationsClient contains the methods for the IntegrationServiceEnvironmentManagedAPIOperations group. Don't use this type directly, use NewIntegrationServiceEnvironmentManagedAPIOperationsClient() instead.

func NewIntegrationServiceEnvironmentManagedAPIOperationsClient

func NewIntegrationServiceEnvironmentManagedAPIOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationServiceEnvironmentManagedAPIOperationsClient, error)

NewIntegrationServiceEnvironmentManagedAPIOperationsClient creates a new instance of IntegrationServiceEnvironmentManagedAPIOperationsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationServiceEnvironmentManagedAPIOperationsClient) NewListPager added in v0.5.0

NewListPager - Gets the managed Api operations.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • apiName - The api name.
  • options - IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedAPIOperationsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_ListApiOperations.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationServiceEnvironmentManagedAPIOperationsClient().NewListPager("testResourceGroup", "testIntegrationServiceEnvironment", "servicebus", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.APIOperationListResult = armlogic.APIOperationListResult{
		// 	Value: []*armlogic.APIOperation{
		// 		{
		// 			Name: to.Ptr("SendMessage"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/SendMessage"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("This operation sends a message to a queue or topic."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("SendMessage"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("Send message"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("SendMessages"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/SendMessages"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("This operation sends one or more messages to a queue or topic."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("SendMessages"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("Send one or more messages"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("GetMessageFromQueue"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/GetMessageFromQueue"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("This operation triggers a flow when a message is received in a queue and auto completes the message."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("GetMessageFromQueue"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("When a message is received in a queue (auto-complete)"),
		// 				Trigger: to.Ptr("single"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("GetNewMessageFromQueueWithPeekLock"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/GetNewMessageFromQueueWithPeekLock"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("The operation triggers a flow when a message received in a queue with peek-lock mode."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("GetNewMessageFromQueueWithPeekLock"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("When a message is received in a queue (peek-lock)"),
		// 				Trigger: to.Ptr("single"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("GetMessageFromTopic"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/GetMessageFromTopic"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("This operation triggers a flow when a message is received in a topic subscription and auto completes the message."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("GetMessageFromTopic"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("When a message is received in a topic subscription (auto-complete)"),
		// 				Trigger: to.Ptr("single"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("GetNewMessageFromTopicWithPeekLock"),
		// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/GetNewMessageFromTopicWithPeekLock"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.APIOperationPropertiesDefinition{
		// 				Description: to.Ptr("The operation triggers a flow when a message received in a topic subscription with peek-lock mode."),
		// 				Annotation: &armlogic.APIOperationAnnotation{
		// 					Family: to.Ptr("GetNewMessageFromTopicWithPeekLock"),
		// 					Revision: to.Ptr[int32](1),
		// 					Status: to.Ptr(armlogic.StatusAnnotationProduction),
		// 				},
		// 				API: &armlogic.APIReference{
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 					Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 					BrandColor: to.Ptr("#c4d5ff"),
		// 					Category: to.Ptr(armlogic.APITierStandard),
		// 					DisplayName: to.Ptr("Service Bus"),
		// 					IconURI: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 				},
		// 				IsNotification: to.Ptr(false),
		// 				IsWebhook: to.Ptr(false),
		// 				Pageable: to.Ptr(false),
		// 				Summary: to.Ptr("When a message is received in a topic subscription (peek-lock)"),
		// 				Trigger: to.Ptr("single"),
		// 				Visibility: to.Ptr("important"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions added in v0.3.0

type IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions struct {
}

IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedAPIOperationsClient.NewListPager method.

type IntegrationServiceEnvironmentManagedAPIOperationsClientListResponse added in v0.3.0

type IntegrationServiceEnvironmentManagedAPIOperationsClientListResponse struct {
	// The list of managed API operations.
	APIOperationListResult
}

IntegrationServiceEnvironmentManagedAPIOperationsClientListResponse contains the response from method IntegrationServiceEnvironmentManagedAPIOperationsClient.NewListPager.

type IntegrationServiceEnvironmentManagedAPIProperties

type IntegrationServiceEnvironmentManagedAPIProperties struct {
	// The integration service environment managed api deployment parameters.
	DeploymentParameters *IntegrationServiceEnvironmentManagedAPIDeploymentParameters

	// The integration service environment reference.
	IntegrationServiceEnvironment *ResourceReference

	// READ-ONLY; The API definition.
	APIDefinitionURL *string

	// READ-ONLY; The api definitions.
	APIDefinitions *APIResourceDefinitions

	// READ-ONLY; The backend service.
	BackendService *APIResourceBackendService

	// READ-ONLY; The capabilities.
	Capabilities []*string

	// READ-ONLY; The category.
	Category *APITier

	// READ-ONLY; The connection parameters.
	ConnectionParameters map[string]any

	// READ-ONLY; The api general information.
	GeneralInformation *APIResourceGeneralInformation

	// READ-ONLY; The metadata.
	Metadata *APIResourceMetadata

	// READ-ONLY; The name
	Name *string

	// READ-ONLY; The policies for the API.
	Policies *APIResourcePolicies

	// READ-ONLY; The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The runtime urls.
	RuntimeUrls []*string
}

IntegrationServiceEnvironmentManagedAPIProperties - The integration service environment managed api properties.

func (IntegrationServiceEnvironmentManagedAPIProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentManagedAPIProperties.

func (*IntegrationServiceEnvironmentManagedAPIProperties) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentManagedAPIProperties.

type IntegrationServiceEnvironmentManagedApisClient

type IntegrationServiceEnvironmentManagedApisClient struct {
	// contains filtered or unexported fields
}

IntegrationServiceEnvironmentManagedApisClient contains the methods for the IntegrationServiceEnvironmentManagedApis group. Don't use this type directly, use NewIntegrationServiceEnvironmentManagedApisClient() instead.

func NewIntegrationServiceEnvironmentManagedApisClient

func NewIntegrationServiceEnvironmentManagedApisClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationServiceEnvironmentManagedApisClient, error)

NewIntegrationServiceEnvironmentManagedApisClient creates a new instance of IntegrationServiceEnvironmentManagedApisClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationServiceEnvironmentManagedApisClient) BeginDelete

BeginDelete - Deletes the integration service environment managed Api. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • apiName - The api name.
  • options - IntegrationServiceEnvironmentManagedApisClientBeginDeleteOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.BeginDelete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewIntegrationServiceEnvironmentManagedApisClient().BeginDelete(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", "servicebus", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*IntegrationServiceEnvironmentManagedApisClient) BeginPut

BeginPut - Puts the integration service environment managed Api. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group name.
  • integrationServiceEnvironmentName - The integration service environment name.
  • apiName - The api name.
  • integrationServiceEnvironmentManagedAPI - The integration service environment managed api.
  • options - IntegrationServiceEnvironmentManagedApisClientBeginPutOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.BeginPut method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Put.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewIntegrationServiceEnvironmentManagedApisClient().BeginPut(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", "servicebus", armlogic.IntegrationServiceEnvironmentManagedAPI{
		Location:   to.Ptr("brazilsouth"),
		Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationServiceEnvironmentManagedAPI = armlogic.IntegrationServiceEnvironmentManagedAPI{
	// 	Name: to.Ptr("servicebus"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
	// 	ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/rohithah-ise/providers/Microsoft.Logic/integrationServiceEnvironments/tes-ise-ga/managedApis/servicebus"),
	// 	Location: to.Ptr("brazilsouth"),
	// 	Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
	// 		Category: to.Ptr(armlogic.APITierStandard),
	// 		GeneralInformation: &armlogic.APIResourceGeneralInformation{
	// 			Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
	// 			DisplayName: to.Ptr("Service Bus"),
	// 			IconURL: to.Ptr("https://connectoricons-df.azureedge.net/servicebus/icon_1.0.1223.1623.png"),
	// 			ReleaseTag: to.Ptr("Production"),
	// 			Tier: to.Ptr(armlogic.APITierStandard),
	// 		},
	// 		IntegrationServiceEnvironment: &armlogic.ResourceReference{
	// 			Name: to.Ptr("tes-ise-ga"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 			ID: to.Ptr("/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/rohithah-ise/providers/Microsoft.Logic/integrationServiceEnvironments/tes-ise-ga"),
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 	},
	// }
}
Output:

func (*IntegrationServiceEnvironmentManagedApisClient) Get

Get - Gets the integration service environment managed Api. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group name.
  • integrationServiceEnvironmentName - The integration service environment name.
  • apiName - The api name.
  • options - IntegrationServiceEnvironmentManagedApisClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationServiceEnvironmentManagedApisClient().Get(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", "servicebus", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationServiceEnvironmentManagedAPI = armlogic.IntegrationServiceEnvironmentManagedAPI{
	// 	Name: to.Ptr("servicebus"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
	// 	ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
	// 	Location: to.Ptr("northeurope"),
	// 	Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
	// 		Name: to.Ptr("servicebus"),
	// 		Capabilities: []*string{
	// 			to.Ptr("actions")},
	// 			ConnectionParameters: map[string]any{
	// 				"connectionString": map[string]any{
	// 					"type": "securestring",
	// 					"uiDefinition":map[string]any{
	// 						"description": "Azure Service Bus Connection String",
	// 						"constraints":map[string]any{
	// 							"required": "true",
	// 						},
	// 						"displayName": "Connection String",
	// 						"tooltip": "Provide Azure Service Bus Connection String",
	// 					},
	// 				},
	// 			},
	// 			GeneralInformation: &armlogic.APIResourceGeneralInformation{
	// 				Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
	// 				DisplayName: to.Ptr("Service Bus"),
	// 				IconURL: to.Ptr("https://cpgeneralstore.blob.core.windows.net/officialicons/servicebus/icon_1.0.1206.1574.png"),
	// 				ReleaseTag: to.Ptr("Production"),
	// 				Tier: to.Ptr(armlogic.APITierStandard),
	// 			},
	// 			IntegrationServiceEnvironment: &armlogic.ResourceReference{
	// 				Name: to.Ptr("testIntegrationServiceEnvironment"),
	// 				Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 				ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
	// 			},
	// 			Metadata: &armlogic.APIResourceMetadata{
	// 				BrandColor: to.Ptr("#c4d5ff"),
	// 				Source: to.Ptr("marketplace"),
	// 			},
	// 			ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 			RuntimeUrls: []*string{
	// 				to.Ptr("https://flow-weiroa6odksti-db-apim-runtime.northeurope.environments.microsoftazurelogicapps.net/apim/servicebus")},
	// 			},
	// 		}
}
Output:

func (*IntegrationServiceEnvironmentManagedApisClient) NewListPager added in v0.5.0

NewListPager - Gets the integration service environment managed Apis.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentManagedApisClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationServiceEnvironmentManagedApisClient().NewListPager("testResourceGroup", "testIntegrationServiceEnvironment", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationServiceEnvironmentManagedAPIListResult = armlogic.IntegrationServiceEnvironmentManagedAPIListResult{
		// 	Value: []*armlogic.IntegrationServiceEnvironmentManagedAPI{
		// 		{
		// 			Name: to.Ptr("azurefile"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 			ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/azurefile"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 				Name: to.Ptr("azurefile"),
		// 				Capabilities: []*string{
		// 					to.Ptr("blob")},
		// 					ConnectionParameters: map[string]any{
		// 						"accessKey": map[string]any{
		// 							"type": "securestring",
		// 							"uiDefinition":map[string]any{
		// 								"description": "Specify a valid primary/secondary storage account access key.",
		// 								"constraints":map[string]any{
		// 									"required": "true",
		// 								},
		// 								"displayName": "Azure Storage Account Access Key",
		// 								"tooltip": "Specify a valid primary/secondary storage account access key.",
		// 							},
		// 						},
		// 						"accountName": map[string]any{
		// 							"type": "string",
		// 							"uiDefinition":map[string]any{
		// 								"description": "Name of the storage account the connector should use.",
		// 								"constraints":map[string]any{
		// 									"required": "true",
		// 								},
		// 								"displayName": "Azure Storage Account name",
		// 								"tooltip": "Provide the storage account name",
		// 							},
		// 						},
		// 					},
		// 					GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 						Description: to.Ptr("Microsoft Azure Storage provides a massively scalable, durable, and highly available storage for data on the cloud, and serves as the data storage solution for modern applications. Connect to File Storage to perform various operations such as create, update, get and delete on files in your Azure Storage account."),
		// 						DisplayName: to.Ptr("Azure File Storage"),
		// 						IconURL: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/azurefile/icon_1.0.1216.1605.png"),
		// 						ReleaseTag: to.Ptr("Preview"),
		// 						Tier: to.Ptr(armlogic.APITierStandard),
		// 					},
		// 					IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 						Name: to.Ptr("tes-ise-ga"),
		// 						Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 					},
		// 					Metadata: &armlogic.APIResourceMetadata{
		// 						BrandColor: to.Ptr("#804998"),
		// 						Source: to.Ptr("marketplace"),
		// 					},
		// 					ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 					RuntimeUrls: []*string{
		// 						to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/azurefile")},
		// 					},
		// 				},
		// 				{
		// 					Name: to.Ptr("azuretables"),
		// 					Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/azuretables"),
		// 					Location: to.Ptr("brazilsouth"),
		// 					Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 						Name: to.Ptr("azuretables"),
		// 						Capabilities: []*string{
		// 							to.Ptr("actions")},
		// 							ConnectionParameters: map[string]any{
		// 								"sharedkey": map[string]any{
		// 									"type": "securestring",
		// 									"uiDefinition":map[string]any{
		// 										"description": "The shared storage key of your storage account",
		// 										"constraints":map[string]any{
		// 											"required": "true",
		// 										},
		// 										"displayName": "Shared Storage Key",
		// 										"tooltip": "Provide a shared storage key for the storage account used for tables as it appears in the Azure portal",
		// 									},
		// 								},
		// 								"storageaccount": map[string]any{
		// 									"type": "string",
		// 									"uiDefinition":map[string]any{
		// 										"description": "The name of your storage account",
		// 										"constraints":map[string]any{
		// 											"required": "true",
		// 										},
		// 										"displayName": "Storage Account Name",
		// 										"tooltip": "Provide the name of the storage account used for tables as it appears in the Azure portal",
		// 									},
		// 								},
		// 							},
		// 							GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 								Description: to.Ptr("Azure Table storage is a service that stores structured NoSQL data in the cloud, providing a key/attribute store with a schemaless design. Sign into your Storage account to create, update, and query tables and more."),
		// 								DisplayName: to.Ptr("Azure Table Storage"),
		// 								IconURL: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/azuretables/icon_1.0.1216.1605.png"),
		// 								ReleaseTag: to.Ptr("Production"),
		// 								Tier: to.Ptr(armlogic.APITierStandard),
		// 							},
		// 							IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 								Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 								Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 								ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 							},
		// 							Metadata: &armlogic.APIResourceMetadata{
		// 								BrandColor: to.Ptr("#804998"),
		// 								Source: to.Ptr("marketplace"),
		// 							},
		// 							ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 							RuntimeUrls: []*string{
		// 								to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/azuretables")},
		// 							},
		// 						},
		// 						{
		// 							Name: to.Ptr("eventhubs"),
		// 							Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/eventhubs"),
		// 							Location: to.Ptr("brazilsouth"),
		// 							Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 								Name: to.Ptr("eventhubs"),
		// 								Capabilities: []*string{
		// 									to.Ptr("actions")},
		// 									ConnectionParameters: map[string]any{
		// 										"connectionString": map[string]any{
		// 											"type": "securestring",
		// 											"uiDefinition":map[string]any{
		// 												"description": "Azure Event Hubs Connection String",
		// 												"constraints":map[string]any{
		// 													"required": "true",
		// 												},
		// 												"displayName": "Connection String",
		// 												"tooltip": "Provide Azure Event Hubs Connection String",
		// 											},
		// 										},
		// 									},
		// 									GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 										Description: to.Ptr("Connect to Azure Event Hubs to send and receive events."),
		// 										DisplayName: to.Ptr("Event Hubs"),
		// 										IconURL: to.Ptr("https://connectoricons-df.azureedge.net/eventhubs/icon_1.0.1228.1637.png"),
		// 										ReleaseTag: to.Ptr("Production"),
		// 										Tier: to.Ptr(armlogic.APITierStandard),
		// 									},
		// 									IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 										Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 										Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 										ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 									},
		// 									Metadata: &armlogic.APIResourceMetadata{
		// 										BrandColor: to.Ptr("#c4d5ff"),
		// 										Source: to.Ptr("marketplace"),
		// 									},
		// 									ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 									RuntimeUrls: []*string{
		// 										to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/eventhubs")},
		// 									},
		// 								},
		// 								{
		// 									Name: to.Ptr("mq"),
		// 									Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 									ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/mq"),
		// 									Location: to.Ptr("brazilsouth"),
		// 									Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 										Name: to.Ptr("mq"),
		// 										Capabilities: []*string{
		// 											to.Ptr("actions"),
		// 											to.Ptr("cloud")},
		// 											ConnectionParameters: map[string]any{
		// 												"authType": map[string]any{
		// 													"type": "string",
		// 													"allowedValues":[]any{
		// 														map[string]any{
		// 															"value": "basic",
		// 														},
		// 														map[string]any{
		// 															"value": "anonymous",
		// 														},
		// 													},
		// 													"uiDefinition":map[string]any{
		// 														"description": "Authentication type to connect to your Queue Manager",
		// 														"constraints":map[string]any{
		// 															"allowedValues":[]any{
		// 																map[string]any{
		// 																	"text": "Basic",
		// 																	"value": "basic",
		// 																},
		// 																map[string]any{
		// 																	"text": "Anonymous",
		// 																	"value": "anonymous",
		// 																},
		// 															},
		// 															"capability":[]any{
		// 															},
		// 															"required": "true",
		// 															"tabIndex": float64(6),
		// 														},
		// 														"displayName": "Authentication",
		// 														"tooltip": "Authentication type to connect to your Queue Manager",
		// 													},
		// 												},
		// 												"channel": map[string]any{
		// 													"type": "string",
		// 													"uiDefinition":map[string]any{
		// 														"description": "The channel to connect to the Queue Manager on.",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"required": "true",
		// 															"tabIndex": float64(3),
		// 														},
		// 														"displayName": "Channel name",
		// 														"tooltip": "Channel name",
		// 													},
		// 												},
		// 												"effectiveUserName": map[string]any{
		// 													"type": "string",
		// 													"uiDefinition":map[string]any{
		// 														"description": "The user name to use when connecting to MQ.",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"clearText": true,
		// 															"required": "true",
		// 															"tabIndex": float64(5),
		// 														},
		// 														"displayName": "Connect As",
		// 														"tooltip": "Connect As",
		// 													},
		// 												},
		// 												"enableSSL": map[string]any{
		// 													"type": "bool",
		// 													"uiDefinition":map[string]any{
		// 														"description": "Enable SSL? (True/False)",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 															},
		// 															"required": "false",
		// 															"tabIndex": float64(9),
		// 														},
		// 														"displayName": "Enable SSL?",
		// 														"tooltip": "Specify if SSL needs to be enabled",
		// 													},
		// 												},
		// 												"password": map[string]any{
		// 													"type": "securestring",
		// 													"uiDefinition":map[string]any{
		// 														"description": "Password credential",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"required": "false",
		// 															"tabIndex": float64(8),
		// 														},
		// 														"displayName": "Password",
		// 														"tooltip": "Password credential",
		// 													},
		// 												},
		// 												"queue": map[string]any{
		// 													"type": "string",
		// 													"uiDefinition":map[string]any{
		// 														"description": "The name of the default queue, may be overriden.",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"required": "true",
		// 															"tabIndex": float64(4),
		// 														},
		// 														"displayName": "Default queue name",
		// 														"tooltip": "Default queue name",
		// 													},
		// 												},
		// 												"queueManager": map[string]any{
		// 													"type": "string",
		// 													"uiDefinition":map[string]any{
		// 														"description": "The name of the Queue Manager to connect to.",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"required": "true",
		// 															"tabIndex": float64(2),
		// 														},
		// 														"displayName": "Queue Manager name",
		// 														"tooltip": "Queue Manager name",
		// 													},
		// 												},
		// 												"server": map[string]any{
		// 													"type": "string",
		// 													"uiDefinition":map[string]any{
		// 														"description": "The host name and port the MQ server is running on (host:port).",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"required": "true",
		// 															"tabIndex": float64(1),
		// 														},
		// 														"displayName": "Server",
		// 														"tooltip": "Server:Port",
		// 													},
		// 												},
		// 												"username": map[string]any{
		// 													"type": "securestring",
		// 													"uiDefinition":map[string]any{
		// 														"description": "Username credential",
		// 														"constraints":map[string]any{
		// 															"capability":[]any{
		// 																"cloud",
		// 															},
		// 															"clearText": true,
		// 															"required": "false",
		// 															"tabIndex": float64(7),
		// 														},
		// 														"displayName": "Username",
		// 														"tooltip": "Username credential",
		// 													},
		// 												},
		// 											},
		// 											GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 												Description: to.Ptr("Microsoft Connector for MQ integrates Azure applications with resources stored in an IBM WebSphere MQ server. Supports message send and receive operations."),
		// 												DisplayName: to.Ptr("MQ"),
		// 												IconURL: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/mq/icon_1.0.1216.1605.png"),
		// 												ReleaseTag: to.Ptr("Production"),
		// 												Tier: to.Ptr(armlogic.APITierEnterprise),
		// 											},
		// 											IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 												Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 												Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 												ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 											},
		// 											Metadata: &armlogic.APIResourceMetadata{
		// 												BrandColor: to.Ptr("#466BB0"),
		// 												Source: to.Ptr("marketplace"),
		// 											},
		// 											ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 											RuntimeUrls: []*string{
		// 												to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/mq")},
		// 											},
		// 										},
		// 										{
		// 											Name: to.Ptr("sap"),
		// 											Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 											ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/sap"),
		// 											Location: to.Ptr("brazilsouth"),
		// 											Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 												Name: to.Ptr("sap"),
		// 												Capabilities: []*string{
		// 													to.Ptr("actions"),
		// 													to.Ptr("triggers"),
		// 													to.Ptr("integrationServiceEnvironment")},
		// 													ConnectionParameters: map[string]any{
		// 														"appServerHost": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The hostname of the SAP Application Server. ",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"ApplicationServer",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(7),
		// 																},
		// 																"displayName": "AS Host",
		// 																"tooltip": "The hostname of the specific SAP Application Server to connect to.",
		// 															},
		// 														},
		// 														"appServerService": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The service name or port number of the SAP Application Server.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"ApplicationServer",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(8),
		// 																},
		// 																"displayName": "AS Service",
		// 																"tooltip": "The service name or port numbe of the specific SAP Application Server to connect to (Optional for connection type (Logon) A - Application Server).",
		// 															},
		// 														},
		// 														"authType": map[string]any{
		// 															"type": "string",
		// 															"allowedValues":[]any{
		// 																map[string]any{
		// 																	"value": "basic",
		// 																},
		// 															},
		// 															"defaultValue": "basic",
		// 															"uiDefinition":map[string]any{
		// 																"description": "Authentication type to connect to the SAP System. Must be basic (username and password).",
		// 																"constraints":map[string]any{
		// 																	"allowedValues":[]any{
		// 																		map[string]any{
		// 																			"text": "Basic",
		// 																			"value": "basic",
		// 																		},
		// 																	},
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"required": "true",
		// 																	"tabIndex": float64(3),
		// 																},
		// 																"displayName": "Authentication Type",
		// 																"tooltip": "Authentication type to connect to the SAP System.",
		// 															},
		// 														},
		// 														"client": map[string]any{
		// 															"type": "int",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The SAP client ID to connect to the SAP system.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"required": "true",
		// 																	"tabIndex": float64(2),
		// 																},
		// 																"displayName": "Client",
		// 																"tooltip": "The SAP backend's client (or 'Mandant') into which to log in. It is a number ranging from 000 to 999.",
		// 															},
		// 														},
		// 														"logonGroup": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The Logon Group for the SAP System.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"Group",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(13),
		// 																},
		// 																"displayName": "MS Logon Group",
		// 																"tooltip": "The Logon Group for the SAP System, from which the Message Server shall select an Application Server (Only available if connection type (Logon) is B - Message Server (Group))",
		// 															},
		// 														},
		// 														"logonType": map[string]any{
		// 															"type": "string",
		// 															"allowedValues":[]any{
		// 																map[string]any{
		// 																	"uiDefinition":map[string]any{
		// 																		"description": "Application Server Logon (Type A)",
		// 																		"displayName": "Application Server (Type A)",
		// 																	},
		// 																	"value": "ApplicationServer",
		// 																},
		// 																map[string]any{
		// 																	"uiDefinition":map[string]any{
		// 																		"description": "Group Logon (Type B aka Message Server)",
		// 																		"displayName": "Group (Type B aka Message Server)",
		// 																	},
		// 																	"value": "Group",
		// 																},
		// 															},
		// 															"defaultValue": "Group",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The type of logon to the SAP System, either Application Server Logon (Type A) or Group Logon (Type B aka Message Server).",
		// 																"constraints":map[string]any{
		// 																	"allowedValues":[]any{
		// 																		map[string]any{
		// 																			"text": "Application Server",
		// 																			"value": "ApplicationServer",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Group",
		// 																			"value": "Group",
		// 																		},
		// 																	},
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"required": "true",
		// 																	"tabIndex": float64(6),
		// 																},
		// 																"displayName": "Logon Type",
		// 																"tooltip": "The type of logon to the SAP System.",
		// 															},
		// 														},
		// 														"messageServerHost": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The hostname of the SAP Message Server aka R3 System Name.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"Group",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(10),
		// 																},
		// 																"displayName": "MS Server Host",
		// 																"tooltip": "The hostname of the SAP System’s Message Server (central instance) aka R3 System Name (Mandatory if connection type (Logon) is B - Message Server (Group)).",
		// 															},
		// 														},
		// 														"messageServerService": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The service name or port number of the Message Server.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"Group",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(11),
		// 																},
		// 																"displayName": "MS Service Name or Port Number",
		// 																"tooltip": "The Service Name (as defined in etc/services) or the Port Number under which the Message Server is listening for load-balancing requests (Mandatory if connection type (Logon) is B - Message Server (Group) and System ID is not present)",
		// 															},
		// 														},
		// 														"password": map[string]any{
		// 															"type": "securestring",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The password to be used for log in to the SAP System.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"clearText": false,
		// 																	"required": "false",
		// 																	"tabIndex": float64(5),
		// 																},
		// 																"displayName": "SAP Password",
		// 																"tooltip": "The password to be used for log in to the SAP System.",
		// 															},
		// 														},
		// 														"safeTyping": map[string]any{
		// 															"type": "bool",
		// 															"uiDefinition":map[string]any{
		// 																"description": "Use strong types if false, otherwise use string as safe type.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(14),
		// 																},
		// 																"displayName": "Safe Typing",
		// 																"tooltip": "Enables safe typing, which treats types as string instead of strong types (e.g. Date, Time, Datetime), relaxing type and value validations.",
		// 															},
		// 														},
		// 														"sncLibraryPath": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "Name or path of the SNC library to be used.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"UseSnc":map[string]any{
		// 																			"values":[]any{
		// 																				"true",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(16),
		// 																},
		// 																"displayName": "SNC Library",
		// 																"tooltip": "Name or path of the SNC library to be used. Path can be absolute path or relative to the NCo library",
		// 															},
		// 														},
		// 														"sncMyName": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "Identity to be used for this particular destination/server (optional).",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"UseSnc":map[string]any{
		// 																			"values":[]any{
		// 																				"true",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(18),
		// 																},
		// 																"displayName": "SNC My Name",
		// 																"tooltip": "The installed SNC solution usually knows its own SNC name. Only for solutions supporting 'multiple identities', you may need to specify the identity to be used for this particular destination/server (optional)",
		// 															},
		// 														},
		// 														"sncPartnerName": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The backend's SNC name (Required when Logon Type is Application Server).",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"UseSnc":map[string]any{
		// 																			"values":[]any{
		// 																				"true",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(19),
		// 																},
		// 																"displayName": "SNC Partner Name",
		// 																"tooltip": "The backend's SNC name (Required when Logon Type is Application Server)",
		// 															},
		// 														},
		// 														"sncQop": map[string]any{
		// 															"type": "string",
		// 															"allowedValues":[]any{
		// 																map[string]any{
		// 																	"value": "Authentication",
		// 																},
		// 																map[string]any{
		// 																	"value": "Integrity",
		// 																},
		// 																map[string]any{
		// 																	"value": "Privacy",
		// 																},
		// 																map[string]any{
		// 																	"value": "Default",
		// 																},
		// 																map[string]any{
		// 																	"value": "Maximum",
		// 																},
		// 															},
		// 															"defaultValue": "Default",
		// 															"uiDefinition":map[string]any{
		// 																"description": "Quality of Service to be used for SNC communication of this particular destination/server.",
		// 																"constraints":map[string]any{
		// 																	"allowedValues":[]any{
		// 																		map[string]any{
		// 																			"text": "Authentication only",
		// 																			"value": "Authentication",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Authentication and integrity protection",
		// 																			"value": "Integrity",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Authentication, integrity and privacy protection (encryption)",
		// 																			"value": "Privacy",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Default protection",
		// 																			"value": "Default",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Maximum protection",
		// 																			"value": "Maximum",
		// 																		},
		// 																	},
		// 																	"capability":[]any{
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"UseSnc":map[string]any{
		// 																			"values":[]any{
		// 																				"true",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(20),
		// 																},
		// 																"displayName": "SNC Quality of Protection",
		// 																"tooltip": "Quality of Service to be used for SNC communication of this particular destination/server",
		// 															},
		// 														},
		// 														"sncSso": map[string]any{
		// 															"type": "string",
		// 															"allowedValues":[]any{
		// 																map[string]any{
		// 																	"value": "On",
		// 																},
		// 																map[string]any{
		// 																	"value": "Off",
		// 																},
		// 															},
		// 															"defaultValue": "On",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The SNC SSO specifies whether to use SNC identity or credentials provided on RFC level.",
		// 																"constraints":map[string]any{
		// 																	"allowedValues":[]any{
		// 																		map[string]any{
		// 																			"text": "Logon using the SNC identity",
		// 																			"value": "On",
		// 																		},
		// 																		map[string]any{
		// 																			"text": "Logon with the username/password information provided on RFC level",
		// 																			"value": "Off",
		// 																		},
		// 																	},
		// 																	"capability":[]any{
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"UseSnc":map[string]any{
		// 																			"values":[]any{
		// 																				"true",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(17),
		// 																},
		// 																"displayName": "SNC SSO",
		// 																"tooltip": "The SNC SSO specifies whether to use SNC identity or credentials provided on RFC level.",
		// 															},
		// 														},
		// 														"systemID": map[string]any{
		// 															"type": "string",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The System ID of the SAP system.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"Group",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(12),
		// 																},
		// 																"displayName": "MS System ID",
		// 																"tooltip": "The SAP system’s three-letter system ID (Mandatory if connection type (Logon) is B - Message Server (Group) and Message Server Service is not present)",
		// 															},
		// 														},
		// 														"systemNumber": map[string]any{
		// 															"type": "int",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The SAP System’s System Number. It is a number ranging from 00 to 99.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"dependencies":map[string]any{
		// 																		"LogonType":map[string]any{
		// 																			"values":[]any{
		// 																				"ApplicationServer",
		// 																			},
		// 																		},
		// 																	},
		// 																	"required": "false",
		// 																	"tabIndex": float64(9),
		// 																},
		// 																"displayName": "AS System Number",
		// 																"tooltip": "The SAP System’s System Number. It is a number ranging from 00 to 99 (Mandatory if connection type (Logon) is A - Application Server).",
		// 															},
		// 														},
		// 														"useSnc": map[string]any{
		// 															"type": "bool",
		// 															"defaultValue": "false",
		// 															"uiDefinition":map[string]any{
		// 																"description": "When selected, the connections will be secured with SNC.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																	},
		// 																	"tabIndex": float64(15),
		// 																},
		// 																"displayName": "Use SNC",
		// 																"tooltip": "When selected, the connections will be secured with SNC",
		// 															},
		// 														},
		// 														"username": map[string]any{
		// 															"type": "securestring",
		// 															"uiDefinition":map[string]any{
		// 																"description": "The username to be used for log in to the SAP System.",
		// 																"constraints":map[string]any{
		// 																	"capability":[]any{
		// 																		"integrationServiceEnvironment",
		// 																	},
		// 																	"clearText": true,
		// 																	"required": "false",
		// 																	"tabIndex": float64(4),
		// 																},
		// 																"displayName": "SAP Username",
		// 																"tooltip": "The username to be used for log in to the SAP System.",
		// 															},
		// 														},
		// 													},
		// 													GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 														Description: to.Ptr("SAP connector is part of Microsoft’s hybrid integration platform. Use this connector to run SAP based applications side by side with Logic Apps to connect with On-Premise Line of Business systems."),
		// 														DisplayName: to.Ptr("SAP"),
		// 														IconURL: to.Ptr("https://connectoricons-df.azureedge.net/sap/icon_1.0.1224.1629.png"),
		// 														ReleaseTag: to.Ptr("Production"),
		// 														Tier: to.Ptr(armlogic.APITierEnterprise),
		// 													},
		// 													IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 														Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 														Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 														ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 													},
		// 													Metadata: &armlogic.APIResourceMetadata{
		// 														BrandColor: to.Ptr("#99e7ff"),
		// 														DeploymentParameters: &armlogic.APIDeploymentParameterMetadataSet{
		// 															PackageContentLink: &armlogic.APIDeploymentParameterMetadata{
		// 																Type: to.Ptr("blob"),
		// 																Description: to.Ptr("Upload package containing SAP NCo components and optionally SNC components."),
		// 																DisplayName: to.Ptr("SAP package"),
		// 																IsRequired: to.Ptr(true),
		// 																Visibility: to.Ptr(armlogic.APIDeploymentParameterVisibilityDefault),
		// 															},
		// 															RedisCacheConnectionString: &armlogic.APIDeploymentParameterMetadata{
		// 																Type: to.Ptr("string"),
		// 																Description: to.Ptr("Redis connection string"),
		// 																DisplayName: to.Ptr("Redis connection string"),
		// 																IsRequired: to.Ptr(true),
		// 																Visibility: to.Ptr(armlogic.APIDeploymentParameterVisibilityInternal),
		// 															},
		// 														},
		// 														Source: to.Ptr("marketplace"),
		// 													},
		// 													ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 													RuntimeUrls: []*string{
		// 														to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/sap")},
		// 													},
		// 												},
		// 												{
		// 													Name: to.Ptr("servicebus"),
		// 													Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 													ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus"),
		// 													Location: to.Ptr("brazilsouth"),
		// 													Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 														Name: to.Ptr("servicebus"),
		// 														Capabilities: []*string{
		// 															to.Ptr("actions")},
		// 															ConnectionParameters: map[string]any{
		// 																"connectionString": map[string]any{
		// 																	"type": "securestring",
		// 																	"uiDefinition":map[string]any{
		// 																		"description": "Azure Service Bus Connection String",
		// 																		"constraints":map[string]any{
		// 																			"required": "true",
		// 																		},
		// 																		"displayName": "Connection String",
		// 																		"tooltip": "Provide Azure Service Bus Connection String",
		// 																	},
		// 																},
		// 															},
		// 															GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 																Description: to.Ptr("Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc."),
		// 																DisplayName: to.Ptr("Service Bus"),
		// 																IconURL: to.Ptr("https://powerappsconnectorsdf.blob.core.windows.net/officialicons/servicebus/icon_1.0.1216.1605.png"),
		// 																ReleaseTag: to.Ptr("Production"),
		// 																Tier: to.Ptr(armlogic.APITierStandard),
		// 															},
		// 															IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 																Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 																Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 																ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 															},
		// 															Metadata: &armlogic.APIResourceMetadata{
		// 																BrandColor: to.Ptr("#c4d5ff"),
		// 																Source: to.Ptr("marketplace"),
		// 															},
		// 															ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 															RuntimeUrls: []*string{
		// 																to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/servicebus")},
		// 															},
		// 														},
		// 														{
		// 															Name: to.Ptr("si3270"),
		// 															Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/managedApis"),
		// 															ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/si3270"),
		// 															Location: to.Ptr("brazilsouth"),
		// 															Properties: &armlogic.IntegrationServiceEnvironmentManagedAPIProperties{
		// 																Name: to.Ptr("si3270"),
		// 																Capabilities: []*string{
		// 																	to.Ptr("actions")},
		// 																	ConnectionParameters: map[string]any{
		// 																		"codePage": map[string]any{
		// 																			"type": "int",
		// 																			"defaultValue": float64(37),
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Specifies the code page of the host.",
		// 																				"constraints":map[string]any{
		// 																					"required": "false",
		// 																					"tabIndex": float64(4),
		// 																				},
		// 																				"displayName": "Code Page",
		// 																				"tooltip": "Code Page",
		// 																			},
		// 																		},
		// 																		"deviceType": map[string]any{
		// 																			"type": "string",
		// 																			"allowedValues":[]any{
		// 																				map[string]any{
		// 																					"value": "IBM-3278-2",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-2-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-2",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-2-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-3",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-3-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-3",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-3-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-4",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-4-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-4",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-4-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-5",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3278-5-E",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-5",
		// 																				},
		// 																				map[string]any{
		// 																					"value": "IBM-3279-5-E",
		// 																				},
		// 																			},
		// 																			"defaultValue": "IBM-3278-2",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "The 3270 model to use.",
		// 																				"constraints":map[string]any{
		// 																					"allowedValues":[]any{
		// 																						map[string]any{
		// 																							"text": "IBM-3278-2",
		// 																							"value": "IBM-3278-2",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-2-E",
		// 																							"value": "IBM-3278-2-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-2",
		// 																							"value": "IBM-3279-2",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-2-E",
		// 																							"value": "IBM-3279-2-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-3",
		// 																							"value": "IBM-3278-3",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-3-E",
		// 																							"value": "IBM-3278-3-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-3",
		// 																							"value": "IBM-3279-3",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-3-E",
		// 																							"value": "IBM-3279-3-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-4",
		// 																							"value": "IBM-3278-4",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-4-E",
		// 																							"value": "IBM-3278-4-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-4",
		// 																							"value": "IBM-3279-4",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-4-E",
		// 																							"value": "IBM-3279-4-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-5",
		// 																							"value": "IBM-3278-5",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3278-5-E",
		// 																							"value": "IBM-3278-5-E",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-5",
		// 																							"value": "IBM-3279-5",
		// 																						},
		// 																						map[string]any{
		// 																							"text": "IBM-3279-5-E",
		// 																							"value": "IBM-3279-5-E",
		// 																						},
		// 																					},
		// 																					"required": "false",
		// 																					"tabIndex": float64(3),
		// 																				},
		// 																				"displayName": "Device Type",
		// 																				"tooltip": "Device Type",
		// 																			},
		// 																		},
		// 																		"integrationAccountId": map[string]any{
		// 																			"type": "string",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Integration Account ID",
		// 																				"constraints":map[string]any{
		// 																					"required": "true",
		// 																				},
		// 																				"displayName": "Integration Account ID",
		// 																				"tooltip": "Provide Resource ID for the integration account",
		// 																			},
		// 																		},
		// 																		"integrationAccountUrl": map[string]any{
		// 																			"type": "securestring",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Integration Account SAS URL",
		// 																				"constraints":map[string]any{
		// 																					"required": "true",
		// 																				},
		// 																				"displayName": "Integration Account SAS URL",
		// 																				"tooltip": "Provide SAS URL for the integration account",
		// 																			},
		// 																		},
		// 																		"logicalUnitName": map[string]any{
		// 																			"type": "string",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "The name of specific logical unit to request from the TN 3270 server.",
		// 																				"constraints":map[string]any{
		// 																					"required": "false",
		// 																					"tabIndex": float64(5),
		// 																				},
		// 																				"displayName": "Logical Unit Name",
		// 																				"tooltip": "Logical Unit Name",
		// 																			},
		// 																		},
		// 																		"port": map[string]any{
		// 																			"type": "int",
		// 																			"defaultValue": float64(23),
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Specifies the port for the TN 3270 server.",
		// 																				"constraints":map[string]any{
		// 																					"required": "false",
		// 																					"tabIndex": float64(2),
		// 																				},
		// 																				"displayName": "Port",
		// 																				"tooltip": "Specifies the port for the TN 3270 server",
		// 																			},
		// 																		},
		// 																		"server": map[string]any{
		// 																			"type": "string",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "The name of the host running a TN 3270 server.",
		// 																				"constraints":map[string]any{
		// 																					"required": "true",
		// 																					"tabIndex": float64(1),
		// 																				},
		// 																				"displayName": "Server",
		// 																				"tooltip": "Server",
		// 																			},
		// 																		},
		// 																		"useSsl": map[string]any{
		// 																			"type": "bool",
		// 																			"defaultValue": "false",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Enable SSL? (True/False)",
		// 																				"constraints":map[string]any{
		// 																					"required": "false",
		// 																					"tabIndex": float64(6),
		// 																				},
		// 																				"displayName": "Enable SSL?",
		// 																				"tooltip": "Specify if SSL needs to be enabled",
		// 																			},
		// 																		},
		// 																		"validateCertificate": map[string]any{
		// 																			"type": "bool",
		// 																			"defaultValue": "false",
		// 																			"uiDefinition":map[string]any{
		// 																				"description": "Validate host ssl certificate? (True/False)",
		// 																				"constraints":map[string]any{
		// 																					"required": "false",
		// 																					"tabIndex": float64(7),
		// 																				},
		// 																				"displayName": "Validate host ssl certificate?",
		// 																				"tooltip": "Specify if host ssl certificate should be validated",
		// 																			},
		// 																		},
		// 																	},
		// 																	GeneralInformation: &armlogic.APIResourceGeneralInformation{
		// 																		Description: to.Ptr("Microsoft Connector for 3270 integrates Azure applications with resources available via TN 3270 Screen Scraping."),
		// 																		DisplayName: to.Ptr("IBM 3270"),
		// 																		IconURL: to.Ptr("https://connectoricons-df.azureedge.net/si3270/icon_1.0.1228.1636.png"),
		// 																		ReleaseTag: to.Ptr("Preview"),
		// 																		Tier: to.Ptr(armlogic.APITierEnterprise),
		// 																	},
		// 																	IntegrationServiceEnvironment: &armlogic.ResourceReference{
		// 																		Name: to.Ptr("testIntegrationServiceEnvironment"),
		// 																		Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 																		ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
		// 																	},
		// 																	Metadata: &armlogic.APIResourceMetadata{
		// 																		BrandColor: to.Ptr("#59b4d9"),
		// 																		ConnectionType: to.Ptr("integrationAccount"),
		// 																		Source: to.Ptr("marketplace"),
		// 																	},
		// 																	ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 																	RuntimeUrls: []*string{
		// 																		to.Ptr("https://flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net/apim/si3270")},
		// 																	},
		// 															}},
		// 														}
	}
}
Output:

type IntegrationServiceEnvironmentManagedApisClientBeginDeleteOptions added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

IntegrationServiceEnvironmentManagedApisClientBeginDeleteOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.BeginDelete method.

type IntegrationServiceEnvironmentManagedApisClientBeginPutOptions added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientBeginPutOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

IntegrationServiceEnvironmentManagedApisClientBeginPutOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.BeginPut method.

type IntegrationServiceEnvironmentManagedApisClientDeleteResponse added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientDeleteResponse struct {
}

IntegrationServiceEnvironmentManagedApisClientDeleteResponse contains the response from method IntegrationServiceEnvironmentManagedApisClient.BeginDelete.

type IntegrationServiceEnvironmentManagedApisClientGetOptions added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientGetOptions struct {
}

IntegrationServiceEnvironmentManagedApisClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.Get method.

type IntegrationServiceEnvironmentManagedApisClientGetResponse added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientGetResponse struct {
	// The integration service environment managed api.
	IntegrationServiceEnvironmentManagedAPI
}

IntegrationServiceEnvironmentManagedApisClientGetResponse contains the response from method IntegrationServiceEnvironmentManagedApisClient.Get.

type IntegrationServiceEnvironmentManagedApisClientListOptions added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientListOptions struct {
}

IntegrationServiceEnvironmentManagedApisClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.NewListPager method.

type IntegrationServiceEnvironmentManagedApisClientListResponse added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientListResponse struct {
	// The list of integration service environment managed APIs.
	IntegrationServiceEnvironmentManagedAPIListResult
}

IntegrationServiceEnvironmentManagedApisClientListResponse contains the response from method IntegrationServiceEnvironmentManagedApisClient.NewListPager.

type IntegrationServiceEnvironmentManagedApisClientPutResponse added in v0.3.0

type IntegrationServiceEnvironmentManagedApisClientPutResponse struct {
	// The integration service environment managed api.
	IntegrationServiceEnvironmentManagedAPI
}

IntegrationServiceEnvironmentManagedApisClientPutResponse contains the response from method IntegrationServiceEnvironmentManagedApisClient.BeginPut.

type IntegrationServiceEnvironmentNetworkDependency

type IntegrationServiceEnvironmentNetworkDependency struct {
	// The network dependency category type.
	Category *IntegrationServiceEnvironmentNetworkDependencyCategoryType

	// The display name.
	DisplayName *string

	// The endpoints.
	Endpoints []*IntegrationServiceEnvironmentNetworkEndpoint
}

IntegrationServiceEnvironmentNetworkDependency - The azure async operation resource.

func (IntegrationServiceEnvironmentNetworkDependency) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentNetworkDependency.

func (*IntegrationServiceEnvironmentNetworkDependency) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentNetworkDependency.

type IntegrationServiceEnvironmentNetworkDependencyCategoryType

type IntegrationServiceEnvironmentNetworkDependencyCategoryType string

IntegrationServiceEnvironmentNetworkDependencyCategoryType - The integration service environment network dependency category type.

const (
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAccessEndpoints                         IntegrationServiceEnvironmentNetworkDependencyCategoryType = "AccessEndpoints"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureActiveDirectory                    IntegrationServiceEnvironmentNetworkDependencyCategoryType = "AzureActiveDirectory"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureManagement                         IntegrationServiceEnvironmentNetworkDependencyCategoryType = "AzureManagement"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureStorage                            IntegrationServiceEnvironmentNetworkDependencyCategoryType = "AzureStorage"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeDiagnosticLogsAndMetrics                IntegrationServiceEnvironmentNetworkDependencyCategoryType = "DiagnosticLogsAndMetrics"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeIntegrationServiceEnvironmentConnectors IntegrationServiceEnvironmentNetworkDependencyCategoryType = "IntegrationServiceEnvironmentConnectors"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeNotSpecified                            IntegrationServiceEnvironmentNetworkDependencyCategoryType = "NotSpecified"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRecoveryService                         IntegrationServiceEnvironmentNetworkDependencyCategoryType = "RecoveryService"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRedisCache                              IntegrationServiceEnvironmentNetworkDependencyCategoryType = "RedisCache"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRegionalService                         IntegrationServiceEnvironmentNetworkDependencyCategoryType = "RegionalService"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSQL                                     IntegrationServiceEnvironmentNetworkDependencyCategoryType = "SQL"
	IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSSLCertificateVerification              IntegrationServiceEnvironmentNetworkDependencyCategoryType = "SSLCertificateVerification"
)

func PossibleIntegrationServiceEnvironmentNetworkDependencyCategoryTypeValues

func PossibleIntegrationServiceEnvironmentNetworkDependencyCategoryTypeValues() []IntegrationServiceEnvironmentNetworkDependencyCategoryType

PossibleIntegrationServiceEnvironmentNetworkDependencyCategoryTypeValues returns the possible values for the IntegrationServiceEnvironmentNetworkDependencyCategoryType const type.

type IntegrationServiceEnvironmentNetworkDependencyHealth

type IntegrationServiceEnvironmentNetworkDependencyHealth struct {
	// The error if any occurred during the operation.
	Error *ExtendedErrorInfo

	// The network dependency health state.
	State *IntegrationServiceEnvironmentNetworkDependencyHealthState
}

IntegrationServiceEnvironmentNetworkDependencyHealth - The integration service environment subnet network health.

func (IntegrationServiceEnvironmentNetworkDependencyHealth) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentNetworkDependencyHealth.

func (*IntegrationServiceEnvironmentNetworkDependencyHealth) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentNetworkDependencyHealth.

type IntegrationServiceEnvironmentNetworkDependencyHealthState

type IntegrationServiceEnvironmentNetworkDependencyHealthState string

IntegrationServiceEnvironmentNetworkDependencyHealthState - The integration service environment network dependency health state.

const (
	IntegrationServiceEnvironmentNetworkDependencyHealthStateHealthy      IntegrationServiceEnvironmentNetworkDependencyHealthState = "Healthy"
	IntegrationServiceEnvironmentNetworkDependencyHealthStateNotSpecified IntegrationServiceEnvironmentNetworkDependencyHealthState = "NotSpecified"
	IntegrationServiceEnvironmentNetworkDependencyHealthStateUnhealthy    IntegrationServiceEnvironmentNetworkDependencyHealthState = "Unhealthy"
	IntegrationServiceEnvironmentNetworkDependencyHealthStateUnknown      IntegrationServiceEnvironmentNetworkDependencyHealthState = "Unknown"
)

func PossibleIntegrationServiceEnvironmentNetworkDependencyHealthStateValues

func PossibleIntegrationServiceEnvironmentNetworkDependencyHealthStateValues() []IntegrationServiceEnvironmentNetworkDependencyHealthState

PossibleIntegrationServiceEnvironmentNetworkDependencyHealthStateValues returns the possible values for the IntegrationServiceEnvironmentNetworkDependencyHealthState const type.

type IntegrationServiceEnvironmentNetworkEndPointAccessibilityState

type IntegrationServiceEnvironmentNetworkEndPointAccessibilityState string

IntegrationServiceEnvironmentNetworkEndPointAccessibilityState - The integration service environment network endpoint accessibility state.

const (
	IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable    IntegrationServiceEnvironmentNetworkEndPointAccessibilityState = "Available"
	IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateNotAvailable IntegrationServiceEnvironmentNetworkEndPointAccessibilityState = "NotAvailable"
	IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateNotSpecified IntegrationServiceEnvironmentNetworkEndPointAccessibilityState = "NotSpecified"
	IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateUnknown      IntegrationServiceEnvironmentNetworkEndPointAccessibilityState = "Unknown"
)

func PossibleIntegrationServiceEnvironmentNetworkEndPointAccessibilityStateValues

func PossibleIntegrationServiceEnvironmentNetworkEndPointAccessibilityStateValues() []IntegrationServiceEnvironmentNetworkEndPointAccessibilityState

PossibleIntegrationServiceEnvironmentNetworkEndPointAccessibilityStateValues returns the possible values for the IntegrationServiceEnvironmentNetworkEndPointAccessibilityState const type.

type IntegrationServiceEnvironmentNetworkEndpoint

type IntegrationServiceEnvironmentNetworkEndpoint struct {
	// The accessibility state.
	Accessibility *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState

	// The domain name.
	DomainName *string

	// The ports.
	Ports []*string
}

IntegrationServiceEnvironmentNetworkEndpoint - The network endpoint.

func (IntegrationServiceEnvironmentNetworkEndpoint) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentNetworkEndpoint.

func (*IntegrationServiceEnvironmentNetworkEndpoint) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentNetworkEndpoint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentNetworkEndpoint.

type IntegrationServiceEnvironmentNetworkHealthClient

type IntegrationServiceEnvironmentNetworkHealthClient struct {
	// contains filtered or unexported fields
}

IntegrationServiceEnvironmentNetworkHealthClient contains the methods for the IntegrationServiceEnvironmentNetworkHealth group. Don't use this type directly, use NewIntegrationServiceEnvironmentNetworkHealthClient() instead.

func NewIntegrationServiceEnvironmentNetworkHealthClient

func NewIntegrationServiceEnvironmentNetworkHealthClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationServiceEnvironmentNetworkHealthClient, error)

NewIntegrationServiceEnvironmentNetworkHealthClient creates a new instance of IntegrationServiceEnvironmentNetworkHealthClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationServiceEnvironmentNetworkHealthClient) Get

Get - Gets the integration service environment network health. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentNetworkHealthClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentNetworkHealthClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_NetworkHealth.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationServiceEnvironmentNetworkHealthClient().Get(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Value = map[string]*armlogic.IntegrationServiceEnvironmentSubnetNetworkHealth{
	// 	"LA1": &armlogic.IntegrationServiceEnvironmentSubnetNetworkHealth{
	// 		NetworkDependencyHealthState: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState("Healthy")),
	// 		OutboundNetworkDependencies: []*armlogic.IntegrationServiceEnvironmentNetworkDependency{
	// 			{
	// 				Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureStorage),
	// 				DisplayName: to.Ptr("Azure Storage"),
	// 				Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 					{
	// 						Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 						DomainName: to.Ptr("www.table.core.windows.net"),
	// 						Ports: []*string{
	// 							to.Ptr("80"),
	// 							to.Ptr("443")},
	// 						},
	// 						{
	// 							Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 							DomainName: to.Ptr("www.blob.core.windows.net"),
	// 							Ports: []*string{
	// 								to.Ptr("80"),
	// 								to.Ptr("443")},
	// 							},
	// 							{
	// 								Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 								DomainName: to.Ptr("www.queue.core.windows.net"),
	// 								Ports: []*string{
	// 									to.Ptr("80"),
	// 									to.Ptr("443")},
	// 							}},
	// 						},
	// 						{
	// 							Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureActiveDirectory),
	// 							DisplayName: to.Ptr("Azure Active Directory"),
	// 							Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 								{
	// 									Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 									DomainName: to.Ptr("graph.windows.net"),
	// 									Ports: []*string{
	// 										to.Ptr("80"),
	// 										to.Ptr("443")},
	// 								}},
	// 							},
	// 							{
	// 								Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSSLCertificateVerification),
	// 								DisplayName: to.Ptr("SSL Certificate Verification"),
	// 								Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 									{
	// 										Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 										DomainName: to.Ptr("ocsp.msocsp.com"),
	// 										Ports: []*string{
	// 											to.Ptr("80"),
	// 											to.Ptr("443")},
	// 										},
	// 										{
	// 											Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 											DomainName: to.Ptr("mscrl.microsoft.com"),
	// 											Ports: []*string{
	// 												to.Ptr("80"),
	// 												to.Ptr("443")},
	// 											},
	// 											{
	// 												Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 												DomainName: to.Ptr("crl.microsoft.com"),
	// 												Ports: []*string{
	// 													to.Ptr("80"),
	// 													to.Ptr("443")},
	// 												},
	// 												{
	// 													Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 													DomainName: to.Ptr("www.microsoft.com"),
	// 													Ports: []*string{
	// 														to.Ptr("80"),
	// 														to.Ptr("443")},
	// 													},
	// 													{
	// 														Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 														DomainName: to.Ptr("crl3.digicert.com"),
	// 														Ports: []*string{
	// 															to.Ptr("80"),
	// 															to.Ptr("443")},
	// 														},
	// 														{
	// 															Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 															DomainName: to.Ptr("ocsp.digicert.com"),
	// 															Ports: []*string{
	// 																to.Ptr("80"),
	// 																to.Ptr("443")},
	// 															},
	// 															{
	// 																Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																DomainName: to.Ptr("cacerts.digicert.com"),
	// 																Ports: []*string{
	// 																	to.Ptr("80"),
	// 																	to.Ptr("443")},
	// 																},
	// 																{
	// 																	Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																	DomainName: to.Ptr("www.thawte.com"),
	// 																	Ports: []*string{
	// 																		to.Ptr("80"),
	// 																		to.Ptr("443")},
	// 																}},
	// 															},
	// 															{
	// 																Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeDiagnosticLogsAndMetrics),
	// 																DisplayName: to.Ptr("Diagnostic Logs And Metrics"),
	// 																Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																	{
	// 																		Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																		DomainName: to.Ptr("az-prod.metrics.nsatc.net"),
	// 																		Ports: []*string{
	// 																			to.Ptr("443")},
	// 																	}},
	// 																},
	// 																{
	// 																	Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeIntegrationServiceEnvironmentConnectors),
	// 																	DisplayName: to.Ptr("Integration Service Environment Connectors"),
	// 																	Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																		{
	// 																			Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																			DomainName: to.Ptr("flow-yticlpbiumhig-cqsn-apim-runtime.brazilus.environments.microsoftazurelogicapps.net"),
	// 																			Ports: []*string{
	// 																				to.Ptr("443")},
	// 																		}},
	// 																	},
	// 																	{
	// 																		Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRedisCache),
	// 																		DisplayName: to.Ptr("Redis Cache"),
	// 																		Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																			{
	// 																				Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																				DomainName: to.Ptr("flowyticlpbiumhigcqsn.redis.cache.windows.net"),
	// 																				Ports: []*string{
	// 																					to.Ptr("6380")},
	// 																			}},
	// 																	}},
	// 																	OutboundNetworkHealth: &armlogic.IntegrationServiceEnvironmentNetworkDependencyHealth{
	// 																		State: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyHealthStateHealthy),
	// 																	},
	// 																},
	// 																"LA2": &armlogic.IntegrationServiceEnvironmentSubnetNetworkHealth{
	// 																	NetworkDependencyHealthState: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState("Healthy")),
	// 																	OutboundNetworkDependencies: []*armlogic.IntegrationServiceEnvironmentNetworkDependency{
	// 																		{
	// 																			Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureStorage),
	// 																			DisplayName: to.Ptr("Azure Storage"),
	// 																			Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																				{
	// 																					Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																					DomainName: to.Ptr("blob.core.windows.net"),
	// 																					Ports: []*string{
	// 																						to.Ptr("80"),
	// 																						to.Ptr("443")},
	// 																					},
	// 																					{
	// 																						Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																						DomainName: to.Ptr("queue.core.windows.net"),
	// 																						Ports: []*string{
	// 																							to.Ptr("80"),
	// 																							to.Ptr("443")},
	// 																						},
	// 																						{
	// 																							Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																							DomainName: to.Ptr("table.core.windows.net"),
	// 																							Ports: []*string{
	// 																								to.Ptr("80"),
	// 																								to.Ptr("443")},
	// 																							},
	// 																							{
	// 																								Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																								DomainName: to.Ptr("file.core.windows.net"),
	// 																								Ports: []*string{
	// 																									to.Ptr("80"),
	// 																									to.Ptr("443")},
	// 																							}},
	// 																						},
	// 																						{
	// 																							Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSQL),
	// 																							DisplayName: to.Ptr("Azure SQL Database"),
	// 																							Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																								{
	// 																									Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																									DomainName: to.Ptr("database.windows.net"),
	// 																									Ports: []*string{
	// 																										to.Ptr("1433")},
	// 																								}},
	// 																							},
	// 																							{
	// 																								Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureManagement),
	// 																								DisplayName: to.Ptr("Azure Management"),
	// 																								Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																									{
	// 																										Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																										DomainName: to.Ptr("management.core.windows.net"),
	// 																										Ports: []*string{
	// 																											to.Ptr("443")},
	// 																										},
	// 																										{
	// 																											Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																											DomainName: to.Ptr("admin.core.windows.net"),
	// 																											Ports: []*string{
	// 																												to.Ptr("443")},
	// 																											},
	// 																											{
	// 																												Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																												DomainName: to.Ptr("management.azure.com"),
	// 																												Ports: []*string{
	// 																													to.Ptr("443")},
	// 																											}},
	// 																										},
	// 																										{
	// 																											Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureActiveDirectory),
	// 																											DisplayName: to.Ptr("Azure Active Directory"),
	// 																											Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																												{
	// 																													Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																													DomainName: to.Ptr("graph.windows.net"),
	// 																													Ports: []*string{
	// 																														to.Ptr("443")},
	// 																												}},
	// 																											},
	// 																											{
	// 																												Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRegionalService),
	// 																												DisplayName: to.Ptr("Regional Service"),
	// 																												Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																													{
	// 																														Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																														DomainName: to.Ptr("gr-prod-sn1.cloudapp.net"),
	// 																														Ports: []*string{
	// 																															to.Ptr("443")},
	// 																														},
	// 																														{
	// 																															Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																															DomainName: to.Ptr("az-prod.metrics.nsatc.net"),
	// 																															Ports: []*string{
	// 																																to.Ptr("443")},
	// 																														}},
	// 																													},
	// 																													{
	// 																														Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSSLCertificateVerification),
	// 																														DisplayName: to.Ptr("SSL Certificate Verification"),
	// 																														Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																															{
	// 																																Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																DomainName: to.Ptr("ocsp.msocsp.com"),
	// 																																Ports: []*string{
	// 																																	to.Ptr("80"),
	// 																																	to.Ptr("443")},
	// 																																},
	// 																																{
	// 																																	Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																	DomainName: to.Ptr("mscrl.microsoft.com"),
	// 																																	Ports: []*string{
	// 																																		to.Ptr("80"),
	// 																																		to.Ptr("443")},
	// 																																	},
	// 																																	{
	// 																																		Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																		DomainName: to.Ptr("crl.microsoft.com"),
	// 																																		Ports: []*string{
	// 																																			to.Ptr("80"),
	// 																																			to.Ptr("443")},
	// 																																		},
	// 																																		{
	// 																																			Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																			DomainName: to.Ptr("www.microsoft.com"),
	// 																																			Ports: []*string{
	// 																																				to.Ptr("80"),
	// 																																				to.Ptr("443")},
	// 																																			},
	// 																																			{
	// 																																				Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																				DomainName: to.Ptr("crl3.digicert.com"),
	// 																																				Ports: []*string{
	// 																																					to.Ptr("80"),
	// 																																					to.Ptr("443")},
	// 																																				},
	// 																																				{
	// 																																					Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																					DomainName: to.Ptr("ocsp.digicert.com"),
	// 																																					Ports: []*string{
	// 																																						to.Ptr("80"),
	// 																																						to.Ptr("443")},
	// 																																					},
	// 																																					{
	// 																																						Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																						DomainName: to.Ptr("cacerts.digicert.com"),
	// 																																						Ports: []*string{
	// 																																							to.Ptr("80"),
	// 																																							to.Ptr("443")},
	// 																																						},
	// 																																						{
	// 																																							Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																							DomainName: to.Ptr("www.thawte.com"),
	// 																																							Ports: []*string{
	// 																																								to.Ptr("80"),
	// 																																								to.Ptr("443")},
	// 																																						}},
	// 																																				}},
	// 																																				OutboundNetworkHealth: &armlogic.IntegrationServiceEnvironmentNetworkDependencyHealth{
	// 																																					State: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyHealthStateHealthy),
	// 																																				},
	// 																																			},
	// 																																			"LA3": &armlogic.IntegrationServiceEnvironmentSubnetNetworkHealth{
	// 																																				NetworkDependencyHealthState: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState("Healthy")),
	// 																																				OutboundNetworkDependencies: []*armlogic.IntegrationServiceEnvironmentNetworkDependency{
	// 																																					{
	// 																																						Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeRecoveryService),
	// 																																						DisplayName: to.Ptr("Recovery Service"),
	// 																																						Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																																							{
	// 																																								Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																								DomainName: to.Ptr("https://prod3.metrics.nsatc.net:1886/RecoveryService"),
	// 																																								Ports: []*string{
	// 																																									to.Ptr("1886")},
	// 																																							}},
	// 																																						},
	// 																																						{
	// 																																							Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeSQL),
	// 																																							DisplayName: to.Ptr("SQL"),
	// 																																							Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																																								{
	// 																																									Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																									DomainName: to.Ptr("jnb6zdnqth.database.windows.net"),
	// 																																									Ports: []*string{
	// 																																										to.Ptr("1443")},
	// 																																								}},
	// 																																							},
	// 																																							{
	// 																																								Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeDiagnosticLogsAndMetrics),
	// 																																								DisplayName: to.Ptr("Diagnostic Logs And Metrics"),
	// 																																								Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																																									{
	// 																																										Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																										DomainName: to.Ptr("prod.warmpath.msftcloudes.com"),
	// 																																										Ports: []*string{
	// 																																											to.Ptr("443")},
	// 																																									}},
	// 																																								},
	// 																																								{
	// 																																									Category: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyCategoryTypeAzureStorage),
	// 																																									DisplayName: to.Ptr("Azure Storage"),
	// 																																									Endpoints: []*armlogic.IntegrationServiceEnvironmentNetworkEndpoint{
	// 																																										{
	// 																																											Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																											DomainName: to.Ptr("apimgmtstcfpq5vx3sh9wdme.blob.core.windows.net"),
	// 																																											Ports: []*string{
	// 																																												to.Ptr("443")},
	// 																																											},
	// 																																											{
	// 																																												Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																												DomainName: to.Ptr("apimgmtstcfpq5vx3sh9wdme.file.core.windows.net"),
	// 																																												Ports: []*string{
	// 																																													to.Ptr("445")},
	// 																																												},
	// 																																												{
	// 																																													Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																													DomainName: to.Ptr("apimgmtstcfpq5vx3sh9wdme.queue.core.windows.net"),
	// 																																													Ports: []*string{
	// 																																														to.Ptr("443")},
	// 																																													},
	// 																																													{
	// 																																														Accessibility: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityStateAvailable),
	// 																																														DomainName: to.Ptr("apimgmtstcfpq5vx3sh9wdme.table.core.windows.net"),
	// 																																														Ports: []*string{
	// 																																															to.Ptr("443")},
	// 																																													}},
	// 																																											}},
	// 																																											OutboundNetworkHealth: &armlogic.IntegrationServiceEnvironmentNetworkDependencyHealth{
	// 																																												State: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkDependencyHealthStateHealthy),
	// 																																											},
	// 																																										},
	// 																																										"LA4": &armlogic.IntegrationServiceEnvironmentSubnetNetworkHealth{
	// 																																											NetworkDependencyHealthState: to.Ptr(armlogic.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState("Healthy")),
	// 																																										},
	// 																																									}
}
Output:

type IntegrationServiceEnvironmentNetworkHealthClientGetOptions added in v0.3.0

type IntegrationServiceEnvironmentNetworkHealthClientGetOptions struct {
}

IntegrationServiceEnvironmentNetworkHealthClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentNetworkHealthClient.Get method.

type IntegrationServiceEnvironmentNetworkHealthClientGetResponse added in v0.3.0

type IntegrationServiceEnvironmentNetworkHealthClientGetResponse struct {
	// The integration service environment network health of all the subnets.
	Value map[string]*IntegrationServiceEnvironmentSubnetNetworkHealth
}

IntegrationServiceEnvironmentNetworkHealthClientGetResponse contains the response from method IntegrationServiceEnvironmentNetworkHealthClient.Get.

type IntegrationServiceEnvironmentProperties

type IntegrationServiceEnvironmentProperties struct {
	// The encryption configuration.
	EncryptionConfiguration *IntegrationServiceEnvironmenEncryptionConfiguration

	// The endpoints configuration.
	EndpointsConfiguration *FlowEndpointsConfiguration

	// Gets the tracking id.
	IntegrationServiceEnvironmentID *string

	// The network configuration.
	NetworkConfiguration *NetworkConfiguration

	// The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// The integration service environment state.
	State *WorkflowState
}

IntegrationServiceEnvironmentProperties - The integration service environment properties.

func (IntegrationServiceEnvironmentProperties) MarshalJSON added in v1.1.0

func (i IntegrationServiceEnvironmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentProperties.

func (*IntegrationServiceEnvironmentProperties) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentProperties.

type IntegrationServiceEnvironmentSKU

type IntegrationServiceEnvironmentSKU struct {
	// The sku capacity.
	Capacity *int32

	// The sku name.
	Name *IntegrationServiceEnvironmentSKUName
}

IntegrationServiceEnvironmentSKU - The integration service environment sku.

func (IntegrationServiceEnvironmentSKU) MarshalJSON added in v1.1.0

func (i IntegrationServiceEnvironmentSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSKU.

func (*IntegrationServiceEnvironmentSKU) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSKU.

type IntegrationServiceEnvironmentSKUCapacity

type IntegrationServiceEnvironmentSKUCapacity struct {
	// The default capacity.
	Default *int32

	// The maximum capacity.
	Maximum *int32

	// The minimum capacity.
	Minimum *int32

	// The sku scale type.
	ScaleType *IntegrationServiceEnvironmentSKUScaleType
}

IntegrationServiceEnvironmentSKUCapacity - The integration service environment sku capacity.

func (IntegrationServiceEnvironmentSKUCapacity) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSKUCapacity.

func (*IntegrationServiceEnvironmentSKUCapacity) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentSKUCapacity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSKUCapacity.

type IntegrationServiceEnvironmentSKUDefinition

type IntegrationServiceEnvironmentSKUDefinition struct {
	// The sku capacity.
	Capacity *IntegrationServiceEnvironmentSKUCapacity

	// The resource type.
	ResourceType *string

	// The sku.
	SKU *IntegrationServiceEnvironmentSKUDefinitionSKU
}

IntegrationServiceEnvironmentSKUDefinition - The integration service environment sku definition.

func (IntegrationServiceEnvironmentSKUDefinition) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSKUDefinition.

func (*IntegrationServiceEnvironmentSKUDefinition) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentSKUDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSKUDefinition.

type IntegrationServiceEnvironmentSKUDefinitionSKU

type IntegrationServiceEnvironmentSKUDefinitionSKU struct {
	// The sku name.
	Name *IntegrationServiceEnvironmentSKUName

	// The sku tier.
	Tier *string
}

IntegrationServiceEnvironmentSKUDefinitionSKU - The sku.

func (IntegrationServiceEnvironmentSKUDefinitionSKU) MarshalJSON added in v1.1.0

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSKUDefinitionSKU.

func (*IntegrationServiceEnvironmentSKUDefinitionSKU) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentSKUDefinitionSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSKUDefinitionSKU.

type IntegrationServiceEnvironmentSKUList

type IntegrationServiceEnvironmentSKUList struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of integration service environment skus.
	Value []*IntegrationServiceEnvironmentSKUDefinition
}

IntegrationServiceEnvironmentSKUList - The list of integration service environment skus.

func (IntegrationServiceEnvironmentSKUList) MarshalJSON

func (i IntegrationServiceEnvironmentSKUList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSKUList.

func (*IntegrationServiceEnvironmentSKUList) UnmarshalJSON added in v1.1.0

func (i *IntegrationServiceEnvironmentSKUList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSKUList.

type IntegrationServiceEnvironmentSKUName

type IntegrationServiceEnvironmentSKUName string

IntegrationServiceEnvironmentSKUName - The integration service environment sku name.

const (
	IntegrationServiceEnvironmentSKUNameDeveloper    IntegrationServiceEnvironmentSKUName = "Developer"
	IntegrationServiceEnvironmentSKUNameNotSpecified IntegrationServiceEnvironmentSKUName = "NotSpecified"
	IntegrationServiceEnvironmentSKUNamePremium      IntegrationServiceEnvironmentSKUName = "Premium"
)

func PossibleIntegrationServiceEnvironmentSKUNameValues

func PossibleIntegrationServiceEnvironmentSKUNameValues() []IntegrationServiceEnvironmentSKUName

PossibleIntegrationServiceEnvironmentSKUNameValues returns the possible values for the IntegrationServiceEnvironmentSKUName const type.

type IntegrationServiceEnvironmentSKUScaleType

type IntegrationServiceEnvironmentSKUScaleType string

IntegrationServiceEnvironmentSKUScaleType - The integration service environment sku scale type.

const (
	IntegrationServiceEnvironmentSKUScaleTypeAutomatic IntegrationServiceEnvironmentSKUScaleType = "Automatic"
	IntegrationServiceEnvironmentSKUScaleTypeManual    IntegrationServiceEnvironmentSKUScaleType = "Manual"
	IntegrationServiceEnvironmentSKUScaleTypeNone      IntegrationServiceEnvironmentSKUScaleType = "None"
)

func PossibleIntegrationServiceEnvironmentSKUScaleTypeValues

func PossibleIntegrationServiceEnvironmentSKUScaleTypeValues() []IntegrationServiceEnvironmentSKUScaleType

PossibleIntegrationServiceEnvironmentSKUScaleTypeValues returns the possible values for the IntegrationServiceEnvironmentSKUScaleType const type.

type IntegrationServiceEnvironmentSKUsClient

type IntegrationServiceEnvironmentSKUsClient struct {
	// contains filtered or unexported fields
}

IntegrationServiceEnvironmentSKUsClient contains the methods for the IntegrationServiceEnvironmentSKUs group. Don't use this type directly, use NewIntegrationServiceEnvironmentSKUsClient() instead.

func NewIntegrationServiceEnvironmentSKUsClient

func NewIntegrationServiceEnvironmentSKUsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationServiceEnvironmentSKUsClient, error)

NewIntegrationServiceEnvironmentSKUsClient creates a new instance of IntegrationServiceEnvironmentSKUsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationServiceEnvironmentSKUsClient) NewListPager added in v0.5.0

NewListPager - Gets a list of integration service environment Skus.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentSKUsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentSKUsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Skus.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationServiceEnvironmentSKUsClient().NewListPager("testResourceGroup", "testIntegrationServiceEnvironment", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationServiceEnvironmentSKUList = armlogic.IntegrationServiceEnvironmentSKUList{
		// 	Value: []*armlogic.IntegrationServiceEnvironmentSKUDefinition{
		// 		{
		// 			Capacity: &armlogic.IntegrationServiceEnvironmentSKUCapacity{
		// 				Default: to.Ptr[int32](0),
		// 				Maximum: to.Ptr[int32](10),
		// 				Minimum: to.Ptr[int32](0),
		// 				ScaleType: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUScaleTypeAutomatic),
		// 			},
		// 			ResourceType: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKUDefinitionSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNamePremium),
		// 			},
		// 		},
		// 		{
		// 			Capacity: &armlogic.IntegrationServiceEnvironmentSKUCapacity{
		// 				Default: to.Ptr[int32](0),
		// 				Maximum: to.Ptr[int32](0),
		// 				Minimum: to.Ptr[int32](0),
		// 				ScaleType: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUScaleTypeNone),
		// 			},
		// 			ResourceType: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKUDefinitionSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
		// 			},
		// 	}},
		// }
	}
}
Output:

type IntegrationServiceEnvironmentSKUsClientListOptions added in v0.3.0

type IntegrationServiceEnvironmentSKUsClientListOptions struct {
}

IntegrationServiceEnvironmentSKUsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentSKUsClient.NewListPager method.

type IntegrationServiceEnvironmentSKUsClientListResponse added in v0.3.0

type IntegrationServiceEnvironmentSKUsClientListResponse struct {
	// The list of integration service environment skus.
	IntegrationServiceEnvironmentSKUList
}

IntegrationServiceEnvironmentSKUsClientListResponse contains the response from method IntegrationServiceEnvironmentSKUsClient.NewListPager.

type IntegrationServiceEnvironmentSubnetNetworkHealth

type IntegrationServiceEnvironmentSubnetNetworkHealth struct {
	// REQUIRED; The integration service environment network health state.
	NetworkDependencyHealthState *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState

	// The outbound network dependencies.
	OutboundNetworkDependencies []*IntegrationServiceEnvironmentNetworkDependency

	// The integration service environment network health.
	OutboundNetworkHealth *IntegrationServiceEnvironmentNetworkDependencyHealth
}

IntegrationServiceEnvironmentSubnetNetworkHealth - The integration service environment subnet network health.

func (IntegrationServiceEnvironmentSubnetNetworkHealth) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type IntegrationServiceEnvironmentSubnetNetworkHealth.

func (*IntegrationServiceEnvironmentSubnetNetworkHealth) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type IntegrationServiceEnvironmentSubnetNetworkHealth.

type IntegrationServiceEnvironmentsClient

type IntegrationServiceEnvironmentsClient struct {
	// contains filtered or unexported fields
}

IntegrationServiceEnvironmentsClient contains the methods for the IntegrationServiceEnvironments group. Don't use this type directly, use NewIntegrationServiceEnvironmentsClient() instead.

func NewIntegrationServiceEnvironmentsClient

func NewIntegrationServiceEnvironmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*IntegrationServiceEnvironmentsClient, error)

NewIntegrationServiceEnvironmentsClient creates a new instance of IntegrationServiceEnvironmentsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*IntegrationServiceEnvironmentsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates an integration service environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • integrationServiceEnvironment - The integration service environment.
  • options - IntegrationServiceEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.BeginCreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Put.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewIntegrationServiceEnvironmentsClient().BeginCreateOrUpdate(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", armlogic.IntegrationServiceEnvironment{
		Location: to.Ptr("brazilsouth"),
		Properties: &armlogic.IntegrationServiceEnvironmentProperties{
			EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
				EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
					KeyName: to.Ptr("testKeyName"),
					KeyVault: &armlogic.ResourceReference{
						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
					},
					KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
				},
			},
			NetworkConfiguration: &armlogic.NetworkConfiguration{
				AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
					Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
				},
				Subnets: []*armlogic.ResourceReference{
					{
						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s1"),
					},
					{
						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s2"),
					},
					{
						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s3"),
					},
					{
						ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s4"),
					}},
			},
		},
		SKU: &armlogic.IntegrationServiceEnvironmentSKU{
			Name:     to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNamePremium),
			Capacity: to.Ptr[int32](2),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationServiceEnvironment = armlogic.IntegrationServiceEnvironment{
	// 	Name: to.Ptr("testIntegrationServiceEnvironment"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 	ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
	// 	Location: to.Ptr("northeurope"),
	// 	Properties: &armlogic.IntegrationServiceEnvironmentProperties{
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.127.188.117"),
	// 					},
	// 					{
	// 						Address: to.Ptr("40.85.114.29"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.2.0/24"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.3.0/24"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("10.43.1.6"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.69.195.162"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.1.0/24"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationServiceEnvironmentID: to.Ptr("13b261d30b984753869902d7f47f4d55"),
	// 		NetworkConfiguration: &armlogic.NetworkConfiguration{
	// 			AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
	// 				Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
	// 			},
	// 			Subnets: []*armlogic.ResourceReference{
	// 				{
	// 					Name: to.Ptr("testVNET/s1"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s1"),
	// 				},
	// 				{
	// 					Name: to.Ptr("testVNET/s2"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s2"),
	// 				},
	// 				{
	// 					Name: to.Ptr("testVNET/s3"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s3"),
	// 				},
	// 				{
	// 					Name: to.Ptr("testVNET/s4"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/testVNET/subnets/s4"),
	// 			}},
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 	},
	// 	SKU: &armlogic.IntegrationServiceEnvironmentSKU{
	// 		Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
	// 		Capacity: to.Ptr[int32](0),
	// 	},
	// }
}
Output:

func (*IntegrationServiceEnvironmentsClient) BeginUpdate

BeginUpdate - Updates an integration service environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • integrationServiceEnvironment - The integration service environment.
  • options - IntegrationServiceEnvironmentsClientBeginUpdateOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.BeginUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Patch.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewIntegrationServiceEnvironmentsClient().BeginUpdate(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", armlogic.IntegrationServiceEnvironment{
		Tags: map[string]*string{
			"tag1": to.Ptr("value1"),
		},
		SKU: &armlogic.IntegrationServiceEnvironmentSKU{
			Name:     to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
			Capacity: to.Ptr[int32](0),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationServiceEnvironment = armlogic.IntegrationServiceEnvironment{
	// 	Name: to.Ptr("testIntegrationServiceEnvironment"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 	ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
	// 	Location: to.Ptr("northeurope"),
	// 	Properties: &armlogic.IntegrationServiceEnvironmentProperties{
	// 		EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
	// 			EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
	// 				KeyName: to.Ptr("testKeyName"),
	// 				KeyVault: &armlogic.ResourceReference{
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
	// 				},
	// 				KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.127.188.117"),
	// 					},
	// 					{
	// 						Address: to.Ptr("40.85.114.29"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.2.0/24"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.3.0/24"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("10.43.1.6"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.69.195.162"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.1.0/24"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationServiceEnvironmentID: to.Ptr("13b261d30b984753869902d7f47f4d55"),
	// 		NetworkConfiguration: &armlogic.NetworkConfiguration{
	// 			AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
	// 				Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
	// 			},
	// 			Subnets: []*armlogic.ResourceReference{
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s1"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s1"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s2"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s2"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s3"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s3"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s4"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s4"),
	// 			}},
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 	},
	// 	SKU: &armlogic.IntegrationServiceEnvironmentSKU{
	// 		Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
	// 		Capacity: to.Ptr[int32](0),
	// 	},
	// }
}
Output:

func (*IntegrationServiceEnvironmentsClient) Delete

Delete - Deletes an integration service environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentsClientDeleteOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationServiceEnvironmentsClient().Delete(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*IntegrationServiceEnvironmentsClient) Get

Get - Gets an integration service environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentsClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewIntegrationServiceEnvironmentsClient().Get(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IntegrationServiceEnvironment = armlogic.IntegrationServiceEnvironment{
	// 	Name: to.Ptr("testIntegrationServiceEnvironment"),
	// 	Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 	ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment"),
	// 	Location: to.Ptr("northeurope"),
	// 	Properties: &armlogic.IntegrationServiceEnvironmentProperties{
	// 		EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
	// 			EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
	// 				KeyName: to.Ptr("testKeyName"),
	// 				KeyVault: &armlogic.ResourceReference{
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
	// 				},
	// 				KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.127.188.117"),
	// 					},
	// 					{
	// 						Address: to.Ptr("40.85.114.29"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.2.0/24"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.3.0/24"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("10.43.1.6"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.69.195.162"),
	// 					},
	// 					{
	// 						Address: to.Ptr("10.43.1.0/24"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationServiceEnvironmentID: to.Ptr("13b261d30b984753869902d7f47f4d55"),
	// 		NetworkConfiguration: &armlogic.NetworkConfiguration{
	// 			AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
	// 				Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
	// 			},
	// 			Subnets: []*armlogic.ResourceReference{
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s1"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s1"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s2"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s2"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s3"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s3"),
	// 				},
	// 				{
	// 					Name: to.Ptr("VNET-ILB-NorthEurope/s4"),
	// 					Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
	// 					ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s4"),
	// 			}},
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 	},
	// 	SKU: &armlogic.IntegrationServiceEnvironmentSKU{
	// 		Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
	// 		Capacity: to.Ptr[int32](0),
	// 	},
	// }
}
Output:

func (*IntegrationServiceEnvironmentsClient) NewListByResourceGroupPager added in v0.5.0

NewListByResourceGroupPager - Gets a list of integration service environments by resource group.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • options - IntegrationServiceEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ListByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationServiceEnvironmentsClient().NewListByResourceGroupPager("testResourceGroup", &armlogic.IntegrationServiceEnvironmentsClientListByResourceGroupOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationServiceEnvironmentListResult = armlogic.IntegrationServiceEnvironmentListResult{
		// 	Value: []*armlogic.IntegrationServiceEnvironment{
		// 		{
		// 			Name: to.Ptr("ISE-ILB-NU"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/ISE-ILB-NU"),
		// 			Location: to.Ptr("northeurope"),
		// 			Properties: &armlogic.IntegrationServiceEnvironmentProperties{
		// 				EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
		// 					EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
		// 						KeyName: to.Ptr("testKeyName"),
		// 						KeyVault: &armlogic.ResourceReference{
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
		// 						},
		// 						KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.127.188.117"),
		// 							},
		// 							{
		// 								Address: to.Ptr("40.85.114.29"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.2.0/24"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.3.0/24"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("10.43.1.6"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.69.195.162"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.1.0/24"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationServiceEnvironmentID: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 				NetworkConfiguration: &armlogic.NetworkConfiguration{
		// 					AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
		// 						Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
		// 					},
		// 					Subnets: []*armlogic.ResourceReference{
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s1"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s1"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s2"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s2"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s3"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s3"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s4"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s4"),
		// 					}},
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 			},
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
		// 				Capacity: to.Ptr[int32](0),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("ISE-ILB-WCentralUS"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/ISE-ILB-WCentralUS"),
		// 			Location: to.Ptr("westcentralus"),
		// 			Properties: &armlogic.IntegrationServiceEnvironmentProperties{
		// 				EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
		// 					EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
		// 						KeyName: to.Ptr("testKeyName"),
		// 						KeyVault: &armlogic.ResourceReference{
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
		// 						},
		// 						KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.78.134.201"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.77.206.166"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.42.2.0/24"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.42.3.0/24"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("10.42.1.5"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.78.237.166"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.42.1.0/24"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationServiceEnvironmentID: to.Ptr("08bdba07c6b34ad6a263fc0152ff1735"),
		// 				NetworkConfiguration: &armlogic.NetworkConfiguration{
		// 					AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
		// 						Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
		// 					},
		// 					Subnets: []*armlogic.ResourceReference{
		// 						{
		// 							Name: to.Ptr("VNET-ILB-WCentralUS/s1"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-WCentralUS/subnets/s1"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-WCentralUS/s2"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-WCentralUS/subnets/s2"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-WCentralUS/s3"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-WCentralUS/subnets/s3"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-WCentralUS/s4"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-WCentralUS/subnets/s4"),
		// 					}},
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 			},
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
		// 				Capacity: to.Ptr[int32](0),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*IntegrationServiceEnvironmentsClient) NewListBySubscriptionPager added in v0.5.0

NewListBySubscriptionPager - Gets a list of integration service environments by subscription.

Generated from API version 2019-05-01

  • options - IntegrationServiceEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ListBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewIntegrationServiceEnvironmentsClient().NewListBySubscriptionPager(&armlogic.IntegrationServiceEnvironmentsClientListBySubscriptionOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IntegrationServiceEnvironmentListResult = armlogic.IntegrationServiceEnvironmentListResult{
		// 	Value: []*armlogic.IntegrationServiceEnvironment{
		// 		{
		// 			Name: to.Ptr("ISE-ILB-NU"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/ISE-ILB-NU"),
		// 			Location: to.Ptr("northeurope"),
		// 			Properties: &armlogic.IntegrationServiceEnvironmentProperties{
		// 				EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
		// 					EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
		// 						KeyName: to.Ptr("testKeyName"),
		// 						KeyVault: &armlogic.ResourceReference{
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
		// 						},
		// 						KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.127.188.117"),
		// 							},
		// 							{
		// 								Address: to.Ptr("40.85.114.29"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.2.0/24"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.3.0/24"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("10.43.1.6"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.69.195.162"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.43.1.0/24"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationServiceEnvironmentID: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 				NetworkConfiguration: &armlogic.NetworkConfiguration{
		// 					AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
		// 						Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeInternal),
		// 					},
		// 					Subnets: []*armlogic.ResourceReference{
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s1"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s1"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s2"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s2"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s3"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s3"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-ILB-NorthEurope/s4"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-ILB-NorthEurope/subnets/s4"),
		// 					}},
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 			},
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNameDeveloper),
		// 				Capacity: to.Ptr[int32](0),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("TestISE-WCentralUS"),
		// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
		// 			ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/TestISE-WCentralUS"),
		// 			Location: to.Ptr("westcentralus"),
		// 			Properties: &armlogic.IntegrationServiceEnvironmentProperties{
		// 				EncryptionConfiguration: &armlogic.IntegrationServiceEnvironmenEncryptionConfiguration{
		// 					EncryptionKeyReference: &armlogic.IntegrationServiceEnvironmenEncryptionKeyReference{
		// 						KeyName: to.Ptr("testKeyName"),
		// 						KeyVault: &armlogic.ResourceReference{
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"),
		// 						},
		// 						KeyVersion: to.Ptr("13b261d30b984753869902d7f47f4d55"),
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.77.201.181"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.77.203.57"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.37.4.0/24"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.37.3.0/24"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.77.204.22"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("52.161.103.0"),
		// 							},
		// 							{
		// 								Address: to.Ptr("10.37.1.0/24"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationServiceEnvironmentID: to.Ptr("dd470721b5b14148b9bf5b4d1ff27407"),
		// 				NetworkConfiguration: &armlogic.NetworkConfiguration{
		// 					AccessEndpoint: &armlogic.IntegrationServiceEnvironmentAccessEndpoint{
		// 						Type: to.Ptr(armlogic.IntegrationServiceEnvironmentAccessEndpointTypeExternal),
		// 					},
		// 					Subnets: []*armlogic.ResourceReference{
		// 						{
		// 							Name: to.Ptr("VNET-wCUS/s4"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-wCUS/subnets/s4"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-wCUS/s3"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-wCUS/subnets/s3"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-wCUS/s2"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-wCUS/subnets/s2"),
		// 						},
		// 						{
		// 							Name: to.Ptr("VNET-wCUS/s1"),
		// 							Type: to.Ptr("Microsoft.Network/virtualNetworks/subnets"),
		// 							ID: to.Ptr("/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testResourceGroup/providers/Microsoft.Network/virtualNetworks/VNET-wCUS/subnets/s1"),
		// 					}},
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 			},
		// 			SKU: &armlogic.IntegrationServiceEnvironmentSKU{
		// 				Name: to.Ptr(armlogic.IntegrationServiceEnvironmentSKUNamePremium),
		// 				Capacity: to.Ptr[int32](1),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*IntegrationServiceEnvironmentsClient) Restart

Restart - Restarts an integration service environment. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroup - The resource group.
  • integrationServiceEnvironmentName - The integration service environment name.
  • options - IntegrationServiceEnvironmentsClientRestartOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Restart method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Restart.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewIntegrationServiceEnvironmentsClient().Restart(ctx, "testResourceGroup", "testIntegrationServiceEnvironment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type IntegrationServiceEnvironmentsClientBeginCreateOrUpdateOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

IntegrationServiceEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.BeginCreateOrUpdate method.

type IntegrationServiceEnvironmentsClientBeginUpdateOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientBeginUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

IntegrationServiceEnvironmentsClientBeginUpdateOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.BeginUpdate method.

type IntegrationServiceEnvironmentsClientCreateOrUpdateResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientCreateOrUpdateResponse struct {
	// The integration service environment.
	IntegrationServiceEnvironment
}

IntegrationServiceEnvironmentsClientCreateOrUpdateResponse contains the response from method IntegrationServiceEnvironmentsClient.BeginCreateOrUpdate.

type IntegrationServiceEnvironmentsClientDeleteOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientDeleteOptions struct {
}

IntegrationServiceEnvironmentsClientDeleteOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Delete method.

type IntegrationServiceEnvironmentsClientDeleteResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientDeleteResponse struct {
}

IntegrationServiceEnvironmentsClientDeleteResponse contains the response from method IntegrationServiceEnvironmentsClient.Delete.

type IntegrationServiceEnvironmentsClientGetOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientGetOptions struct {
}

IntegrationServiceEnvironmentsClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Get method.

type IntegrationServiceEnvironmentsClientGetResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientGetResponse struct {
	// The integration service environment.
	IntegrationServiceEnvironment
}

IntegrationServiceEnvironmentsClientGetResponse contains the response from method IntegrationServiceEnvironmentsClient.Get.

type IntegrationServiceEnvironmentsClientListByResourceGroupOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientListByResourceGroupOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

IntegrationServiceEnvironmentsClientListByResourceGroupOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.NewListByResourceGroupPager method.

type IntegrationServiceEnvironmentsClientListByResourceGroupResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientListByResourceGroupResponse struct {
	// The list of integration service environments.
	IntegrationServiceEnvironmentListResult
}

IntegrationServiceEnvironmentsClientListByResourceGroupResponse contains the response from method IntegrationServiceEnvironmentsClient.NewListByResourceGroupPager.

type IntegrationServiceEnvironmentsClientListBySubscriptionOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientListBySubscriptionOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

IntegrationServiceEnvironmentsClientListBySubscriptionOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.NewListBySubscriptionPager method.

type IntegrationServiceEnvironmentsClientListBySubscriptionResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientListBySubscriptionResponse struct {
	// The list of integration service environments.
	IntegrationServiceEnvironmentListResult
}

IntegrationServiceEnvironmentsClientListBySubscriptionResponse contains the response from method IntegrationServiceEnvironmentsClient.NewListBySubscriptionPager.

type IntegrationServiceEnvironmentsClientRestartOptions added in v0.3.0

type IntegrationServiceEnvironmentsClientRestartOptions struct {
}

IntegrationServiceEnvironmentsClientRestartOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.Restart method.

type IntegrationServiceEnvironmentsClientRestartResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientRestartResponse struct {
}

IntegrationServiceEnvironmentsClientRestartResponse contains the response from method IntegrationServiceEnvironmentsClient.Restart.

type IntegrationServiceEnvironmentsClientUpdateResponse added in v0.3.0

type IntegrationServiceEnvironmentsClientUpdateResponse struct {
	// The integration service environment.
	IntegrationServiceEnvironment
}

IntegrationServiceEnvironmentsClientUpdateResponse contains the response from method IntegrationServiceEnvironmentsClient.BeginUpdate.

type JSONSchema

type JSONSchema struct {
	// The JSON content.
	Content *string

	// The JSON title.
	Title *string
}

JSONSchema - The JSON schema.

func (JSONSchema) MarshalJSON added in v1.1.0

func (j JSONSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type JSONSchema.

func (*JSONSchema) UnmarshalJSON added in v1.1.0

func (j *JSONSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type JSONSchema.

type KeyType

type KeyType string

KeyType - The key type.

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

func PossibleKeyTypeValues

func PossibleKeyTypeValues() []KeyType

PossibleKeyTypeValues returns the possible values for the KeyType const type.

type KeyVaultKey

type KeyVaultKey struct {
	// The key attributes.
	Attributes *KeyVaultKeyAttributes

	// The key id.
	Kid *string
}

KeyVaultKey - The key vault key.

func (KeyVaultKey) MarshalJSON added in v1.1.0

func (k KeyVaultKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKey.

func (*KeyVaultKey) UnmarshalJSON added in v1.1.0

func (k *KeyVaultKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKey.

type KeyVaultKeyAttributes

type KeyVaultKeyAttributes struct {
	// When the key was created.
	Created *int64

	// Whether the key is enabled or not.
	Enabled *bool

	// When the key was updated.
	Updated *int64
}

KeyVaultKeyAttributes - The key attributes.

func (KeyVaultKeyAttributes) MarshalJSON added in v1.1.0

func (k KeyVaultKeyAttributes) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyAttributes.

func (*KeyVaultKeyAttributes) UnmarshalJSON added in v1.1.0

func (k *KeyVaultKeyAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyAttributes.

type KeyVaultKeyCollection

type KeyVaultKeyCollection struct {
	// The skip token.
	SkipToken *string

	// The key vault keys.
	Value []*KeyVaultKey
}

KeyVaultKeyCollection - Collection of key vault keys.

func (KeyVaultKeyCollection) MarshalJSON

func (k KeyVaultKeyCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyCollection.

func (*KeyVaultKeyCollection) UnmarshalJSON added in v1.1.0

func (k *KeyVaultKeyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyCollection.

type KeyVaultKeyReference

type KeyVaultKeyReference struct {
	// REQUIRED; The private key name in key vault.
	KeyName *string

	// REQUIRED; The key vault reference.
	KeyVault *KeyVaultKeyReferenceKeyVault

	// The private key version in key vault.
	KeyVersion *string
}

KeyVaultKeyReference - The reference to the key vault key.

func (KeyVaultKeyReference) MarshalJSON added in v1.1.0

func (k KeyVaultKeyReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyReference.

func (*KeyVaultKeyReference) UnmarshalJSON added in v1.1.0

func (k *KeyVaultKeyReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyReference.

type KeyVaultKeyReferenceKeyVault

type KeyVaultKeyReferenceKeyVault struct {
	// The resource id.
	ID *string

	// READ-ONLY; The resource name.
	Name *string

	// READ-ONLY; The resource type.
	Type *string
}

KeyVaultKeyReferenceKeyVault - The key vault reference.

func (KeyVaultKeyReferenceKeyVault) MarshalJSON added in v1.1.0

func (k KeyVaultKeyReferenceKeyVault) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultKeyReferenceKeyVault.

func (*KeyVaultKeyReferenceKeyVault) UnmarshalJSON added in v1.1.0

func (k *KeyVaultKeyReferenceKeyVault) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultKeyReferenceKeyVault.

type KeyVaultReference

type KeyVaultReference struct {
	// The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

KeyVaultReference - The key vault reference.

func (KeyVaultReference) MarshalJSON added in v1.1.0

func (k KeyVaultReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type KeyVaultReference.

func (*KeyVaultReference) UnmarshalJSON added in v1.1.0

func (k *KeyVaultReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultReference.

type ListKeyVaultKeysDefinition

type ListKeyVaultKeysDefinition struct {
	// REQUIRED; The key vault reference.
	KeyVault *KeyVaultReference

	// The skip token.
	SkipToken *string
}

ListKeyVaultKeysDefinition - The list key vault keys definition.

func (ListKeyVaultKeysDefinition) MarshalJSON added in v1.1.0

func (l ListKeyVaultKeysDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListKeyVaultKeysDefinition.

func (*ListKeyVaultKeysDefinition) UnmarshalJSON added in v1.1.0

func (l *ListKeyVaultKeysDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ListKeyVaultKeysDefinition.

type ManagedAPI

type ManagedAPI struct {
	// The resource location.
	Location *string

	// The api resource properties.
	Properties *APIResourceProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

ManagedAPI - The managed api definition.

func (ManagedAPI) MarshalJSON

func (m ManagedAPI) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedAPI.

func (*ManagedAPI) UnmarshalJSON added in v1.1.0

func (m *ManagedAPI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagedAPI.

type ManagedAPIListResult

type ManagedAPIListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The managed APIs.
	Value []*ManagedAPI
}

ManagedAPIListResult - The list of managed APIs.

func (ManagedAPIListResult) MarshalJSON

func (m ManagedAPIListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedAPIListResult.

func (*ManagedAPIListResult) UnmarshalJSON added in v1.1.0

func (m *ManagedAPIListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagedAPIListResult.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// REQUIRED; Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type
	// 'None' will remove any identities from the resource.
	Type *ManagedServiceIdentityType

	// The list of user assigned identities associated with the resource. The user identity dictionary key references will be
	// ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
	UserAssignedIdentities map[string]*UserAssignedIdentity

	// READ-ONLY; Principal Id of managed service identity.
	PrincipalID *string

	// READ-ONLY; Tenant of managed service identity.
	TenantID *string
}

ManagedServiceIdentity - Managed service identity properties.

func (ManagedServiceIdentity) MarshalJSON

func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.

func (*ManagedServiceIdentity) UnmarshalJSON added in v1.1.0

func (m *ManagedServiceIdentity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagedServiceIdentity.

type ManagedServiceIdentityType

type ManagedServiceIdentityType string

ManagedServiceIdentityType - Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type 'None' will remove any identities from the resource.

const (
	ManagedServiceIdentityTypeNone           ManagedServiceIdentityType = "None"
	ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
	ManagedServiceIdentityTypeUserAssigned   ManagedServiceIdentityType = "UserAssigned"
)

func PossibleManagedServiceIdentityTypeValues

func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType

PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.

type MapType

type MapType string

MapType - The map type.

const (
	MapTypeLiquid       MapType = "Liquid"
	MapTypeNotSpecified MapType = "NotSpecified"
	MapTypeXslt         MapType = "Xslt"
	MapTypeXslt20       MapType = "Xslt20"
	MapTypeXslt30       MapType = "Xslt30"
)

func PossibleMapTypeValues

func PossibleMapTypeValues() []MapType

PossibleMapTypeValues returns the possible values for the MapType const type.

type MessageFilterType

type MessageFilterType string

MessageFilterType - The message filter type.

const (
	MessageFilterTypeExclude      MessageFilterType = "Exclude"
	MessageFilterTypeInclude      MessageFilterType = "Include"
	MessageFilterTypeNotSpecified MessageFilterType = "NotSpecified"
)

func PossibleMessageFilterTypeValues

func PossibleMessageFilterTypeValues() []MessageFilterType

PossibleMessageFilterTypeValues returns the possible values for the MessageFilterType const type.

type NetworkConfiguration

type NetworkConfiguration struct {
	// The access endpoint.
	AccessEndpoint *IntegrationServiceEnvironmentAccessEndpoint

	// The subnets.
	Subnets []*ResourceReference

	// Gets the virtual network address space.
	VirtualNetworkAddressSpace *string
}

NetworkConfiguration - The network configuration.

func (NetworkConfiguration) MarshalJSON

func (n NetworkConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkConfiguration.

func (*NetworkConfiguration) UnmarshalJSON added in v1.1.0

func (n *NetworkConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkConfiguration.

type OpenAuthenticationAccessPolicies

type OpenAuthenticationAccessPolicies struct {
	// Open authentication policies.
	Policies map[string]*OpenAuthenticationAccessPolicy
}

OpenAuthenticationAccessPolicies - AuthenticationPolicy of type Open.

func (OpenAuthenticationAccessPolicies) MarshalJSON

func (o OpenAuthenticationAccessPolicies) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationAccessPolicies.

func (*OpenAuthenticationAccessPolicies) UnmarshalJSON added in v1.1.0

func (o *OpenAuthenticationAccessPolicies) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationAccessPolicies.

type OpenAuthenticationAccessPolicy

type OpenAuthenticationAccessPolicy struct {
	// The access policy claims.
	Claims []*OpenAuthenticationPolicyClaim

	// Type of provider for OAuth.
	Type *OpenAuthenticationProviderType
}

OpenAuthenticationAccessPolicy - Open authentication access policy defined by user.

func (OpenAuthenticationAccessPolicy) MarshalJSON

func (o OpenAuthenticationAccessPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationAccessPolicy.

func (*OpenAuthenticationAccessPolicy) UnmarshalJSON added in v1.1.0

func (o *OpenAuthenticationAccessPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationAccessPolicy.

type OpenAuthenticationPolicyClaim

type OpenAuthenticationPolicyClaim struct {
	// The name of the claim.
	Name *string

	// The value of the claim.
	Value *string
}

OpenAuthenticationPolicyClaim - Open authentication policy claim.

func (OpenAuthenticationPolicyClaim) MarshalJSON added in v1.1.0

func (o OpenAuthenticationPolicyClaim) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OpenAuthenticationPolicyClaim.

func (*OpenAuthenticationPolicyClaim) UnmarshalJSON added in v1.1.0

func (o *OpenAuthenticationPolicyClaim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OpenAuthenticationPolicyClaim.

type OpenAuthenticationProviderType

type OpenAuthenticationProviderType string

OpenAuthenticationProviderType - Open authentication policy provider type.

const (
	OpenAuthenticationProviderTypeAAD OpenAuthenticationProviderType = "AAD"
)

func PossibleOpenAuthenticationProviderTypeValues

func PossibleOpenAuthenticationProviderTypeValues() []OpenAuthenticationProviderType

PossibleOpenAuthenticationProviderTypeValues returns the possible values for the OpenAuthenticationProviderType const type.

type Operation

type Operation struct {
	// The object that represents the operation.
	Display *OperationDisplay

	// Operation name: {provider}/{resource}/{operation}
	Name *string

	// Operation: origin
	Origin *string

	// The properties.
	Properties any
}

Operation - Logic REST API operation

func (Operation) MarshalJSON added in v1.1.0

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Operation.

func (*Operation) UnmarshalJSON added in v1.1.0

func (o *Operation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Operation.

type OperationDisplay

type OperationDisplay struct {
	// Operation: description.
	Description *string

	// Operation type: Read, write, delete, etc.
	Operation *string

	// Service provider: Microsoft.Logic
	Provider *string

	// Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string
}

OperationDisplay - The object that represents the operation.

func (OperationDisplay) MarshalJSON added in v1.1.0

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationDisplay.

func (*OperationDisplay) UnmarshalJSON added in v1.1.0

func (o *OperationDisplay) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.

type OperationListResult

type OperationListResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string

	// List of Logic operations supported by the Logic resource provider.
	Value []*Operation
}

OperationListResult - Result of the request to list Logic operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

func (*OperationListResult) UnmarshalJSON added in v1.1.0

func (o *OperationListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.

type OperationResult

type OperationResult struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error          any
	IterationCount *int32

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

OperationResult - The operation result definition.

func (OperationResult) MarshalJSON

func (o OperationResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationResult.

func (*OperationResult) UnmarshalJSON

func (o *OperationResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationResult.

type OperationResultProperties

type OperationResultProperties struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error any

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus
}

OperationResultProperties - The run operation result properties.

func (OperationResultProperties) MarshalJSON

func (o OperationResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationResultProperties.

func (*OperationResultProperties) UnmarshalJSON

func (o *OperationResultProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationResultProperties.

type OperationsClient

type OperationsClient struct {
	// contains filtered or unexported fields
}

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)

NewOperationsClient creates a new instance of OperationsClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*OperationsClient) NewListPager added in v0.5.0

NewListPager - Lists all of the available Logic REST API operations.

Generated from API version 2019-05-01

  • options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Operations_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewOperationsClient().NewListPager(nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.OperationListResult = armlogic.OperationListResult{
		// 	Value: []*armlogic.Operation{
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/operations/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the operation."),
		// 				Operation: to.Ptr("Get Operation"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Operation"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/register/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Registers the Microsoft.Logic resource provider for a given subscription."),
		// 				Operation: to.Ptr("Register Resource Provider"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Resource Provider"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/locations/workflows/validate/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Validates the workflow."),
		// 				Operation: to.Ptr("Validate Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow."),
		// 				Operation: to.Ptr("Get Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the workflow."),
		// 				Operation: to.Ptr("Set Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the workflow."),
		// 				Operation: to.Ptr("Delete Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/run/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Starts a run of the workflow."),
		// 				Operation: to.Ptr("Run Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/disable/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Disables the workflow."),
		// 				Operation: to.Ptr("Disable Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/enable/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Enables the workflow."),
		// 				Operation: to.Ptr("Enable Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/suspend/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Suspends the workflow."),
		// 				Operation: to.Ptr("Suspend Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/validate/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Validates the workflow."),
		// 				Operation: to.Ptr("Validate Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/move/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name."),
		// 				Operation: to.Ptr("Move Workflow"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/listSwagger/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the workflow swagger definitions."),
		// 				Operation: to.Ptr("Get workflow swagger"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/versions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow version."),
		// 				Operation: to.Ptr("Get Workflow Version"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Version"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for trigger."),
		// 				Operation: to.Ptr("List Trigger Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/accessKeys/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the access key."),
		// 				Operation: to.Ptr("Get Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/accessKeys/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the access key."),
		// 				Operation: to.Ptr("Set Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/accessKeys/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the access key."),
		// 				Operation: to.Ptr("Delete Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/accessKeys/list/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Lists the access key secrets."),
		// 				Operation: to.Ptr("List Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/accessKeys/regenerate/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Regenerates the access key secrets."),
		// 				Operation: to.Ptr("Regenerate Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/regenerateAccessKey/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Regenerates the access key secrets."),
		// 				Operation: to.Ptr("Regenerate Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Access Key"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/listCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for workflow."),
		// 				Operation: to.Ptr("List workflow callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the trigger."),
		// 				Operation: to.Ptr("Get Trigger"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/run/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Executes the trigger."),
		// 				Operation: to.Ptr("Trigger Run"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/reset/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Resets the trigger."),
		// 				Operation: to.Ptr("Trigger Reset"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/setState/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Sets the trigger state."),
		// 				Operation: to.Ptr("Set Trigger State"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/histories/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the trigger histories."),
		// 				Operation: to.Ptr("Get Trigger Histories"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger Histories"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/histories/resubmit/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Resubmits the workflow trigger."),
		// 				Operation: to.Ptr("Resubmit trigger"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger Histories"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/triggers/listCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for trigger."),
		// 				Operation: to.Ptr("List Trigger Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Trigger"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run."),
		// 				Operation: to.Ptr("Get Workflow Run"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/cancel/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Cancels the run of a workflow."),
		// 				Operation: to.Ptr("Cancel Workflow Run"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/operations/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run operation status."),
		// 				Operation: to.Ptr("Get Workflow Run Operation Status"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Operation"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run action."),
		// 				Operation: to.Ptr("Get Workflow Run Action"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Action"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run action repetition."),
		// 				Operation: to.Ptr("Get Workflow Run Action Repetition"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Action Repetition"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/scoperepetitions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run action scope repetition."),
		// 				Operation: to.Ptr("Get Workflow Run Action Scope Repetition"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Action Scope Repetition"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/requestHistories/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run action request history."),
		// 				Operation: to.Ptr("Gets the workflow run action request history"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow run action request history"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow run repetition action request history."),
		// 				Operation: to.Ptr("Gets the workflow run repetition action request history"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow run repetition action request history"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow diagnostic settings."),
		// 				Operation: to.Ptr("Get Workflow Diagnostic Setting"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Diagnostic Setting"),
		// 			},
		// 			Origin: to.Ptr("System"),
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the workflow diagnostic setting."),
		// 				Operation: to.Ptr("Set Workflow Diagnostic Setting"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Diagnostic Setting"),
		// 			},
		// 			Origin: to.Ptr("System"),
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow metric definitions."),
		// 				Operation: to.Ptr("Get Workflow Metric Definition"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Metric Definition"),
		// 			},
		// 			Origin: to.Ptr("System"),
		// 			Properties: map[string]any{
		// 				"serviceSpecification":map[string]any{
		// 					"metricSpecifications":[]any{
		// 						map[string]any{
		// 							"name": "RunsStarted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow runs started.",
		// 							"displayName": "Runs Started",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunsCompleted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow runs completed.",
		// 							"displayName": "Runs Completed",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunsSucceeded",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow runs succeeded.",
		// 							"displayName": "Runs Succeeded",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunsFailed",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow runs failed.",
		// 							"displayName": "Runs Failed",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunsCancelled",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow runs cancelled.",
		// 							"displayName": "Runs Cancelled",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of completed workflow runs.",
		// 							"displayName": "Run Latency",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "RunSuccessLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of succeeded workflow runs.",
		// 							"displayName": "Run Success Latency",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "RunThrottledEvents",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow action or trigger throttled events.",
		// 							"displayName": "Run Throttled Events",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "RunFailurePercentage",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Percentage of workflow runs failed.",
		// 							"displayName": "Run Failure Percentage",
		// 							"fillGapWithZero": true,
		// 							"unit": "Percent",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionsStarted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow actions started.",
		// 							"displayName": "Actions Started ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionsCompleted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow actions completed.",
		// 							"displayName": "Actions Completed ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionsSucceeded",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow actions succeeded.",
		// 							"displayName": "Actions Succeeded ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionsFailed",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow actions failed.",
		// 							"displayName": "Actions Failed ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionsSkipped",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow actions skipped.",
		// 							"displayName": "Actions Skipped ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of completed workflow actions.",
		// 							"displayName": "Action Latency ",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionSuccessLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of succeeded workflow actions.",
		// 							"displayName": "Action Success Latency ",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "ActionThrottledEvents",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow action throttled events..",
		// 							"displayName": "Action Throttled Events",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersStarted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers started.",
		// 							"displayName": "Triggers Started ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersCompleted",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers completed.",
		// 							"displayName": "Triggers Completed ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersSucceeded",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers succeeded.",
		// 							"displayName": "Triggers Succeeded ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersFailed",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers failed.",
		// 							"displayName": "Triggers Failed ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersSkipped",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers skipped.",
		// 							"displayName": "Triggers Skipped",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggersFired",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow triggers fired.",
		// 							"displayName": "Triggers Fired ",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggerLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of completed workflow triggers.",
		// 							"displayName": "Trigger Latency ",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggerFireLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of fired workflow triggers.",
		// 							"displayName": "Trigger Fire Latency ",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggerSuccessLatency",
		// 							"aggregationType": "Average",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Latency of succeeded workflow triggers.",
		// 							"displayName": "Trigger Success Latency ",
		// 							"fillGapWithZero": false,
		// 							"unit": "Seconds",
		// 						},
		// 						map[string]any{
		// 							"name": "TriggerThrottledEvents",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow trigger throttled events.",
		// 							"displayName": "Trigger Throttled Events",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableActionExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow action executions getting billed.",
		// 							"displayName": "Billable Action Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableTriggerExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow trigger executions getting billed.",
		// 							"displayName": "Billable Trigger Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TotalBillableExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of workflow executions getting billed.",
		// 							"displayName": "Total Billable Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableNativeActionExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of native workflow action executions getting billed.",
		// 							"displayName": "Billable Native Action Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableNativeTriggerExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of native workflow trigger executions getting billed.",
		// 							"displayName": "Billable Native Trigger Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TotalBillableNativeExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of native workflow executions getting billed.",
		// 							"displayName": "Total Native Billable Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableStandardActionExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of standard workflow action executions getting billed.",
		// 							"displayName": "Billable Standard Action Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "BillableStandardTriggerExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of standard workflow trigger executions getting billed.",
		// 							"displayName": "Billable Standard Trigger Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 						map[string]any{
		// 							"name": "TotalBillableStandardExecutions",
		// 							"aggregationType": "Total",
		// 							"availabilities":[]any{
		// 								map[string]any{
		// 									"blobDuration": "PT1H",
		// 									"timeGrain": "PT1M",
		// 								},
		// 							},
		// 							"dimensions":[]any{
		// 							},
		// 							"displayDescription": "Number of standard workflow executions getting billed.",
		// 							"displayName": "Total Standard Billable Executions",
		// 							"fillGapWithZero": true,
		// 							"unit": "Count",
		// 						},
		// 					},
		// 				},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the workflow log definitions."),
		// 				Operation: to.Ptr("Get Workflow Log Definition"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Log Definition"),
		// 			},
		// 			Origin: to.Ptr("System"),
		// 			Properties: map[string]any{
		// 				"serviceSpecification":map[string]any{
		// 					"logSpecifications":[]any{
		// 						map[string]any{
		// 							"name": "WorkflowRuntime",
		// 							"description": "Diagnostic events related to workflow runtime executions.",
		// 							"blobDuration": "PT1H",
		// 							"displayName": "Workflow runtime diagnostic events",
		// 						},
		// 					},
		// 				},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the workflow run action expression traces."),
		// 				Operation: to.Ptr("List Workflow Run Action Expression Traces"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Action"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the workflow run action repetition expression traces."),
		// 				Operation: to.Ptr("List Workflow Run Action Repetition Expression Traces"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Workflow Run Action Repetition"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the Integration Account log definitions."),
		// 				Operation: to.Ptr("Get Integration Account Log Definition"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Log Definition"),
		// 			},
		// 			Origin: to.Ptr("System"),
		// 			Properties: map[string]any{
		// 				"serviceSpecification":map[string]any{
		// 					"logSpecifications":[]any{
		// 						map[string]any{
		// 							"name": "IntegrationAccountTrackingEvents",
		// 							"description": "Track events related to Integration Account.",
		// 							"blobDuration": "PT1H",
		// 							"displayName": "Integration Account track events",
		// 						},
		// 					},
		// 				},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the integration account."),
		// 				Operation: to.Ptr("Get Integration Account"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the integration account."),
		// 				Operation: to.Ptr("Set Integration Account"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the integration account."),
		// 				Operation: to.Ptr("Delete Integration Account"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/regenerateAccessKey/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Regenerates the access key secrets."),
		// 				Operation: to.Ptr("Regenerate Access Key"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/listCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for integration account."),
		// 				Operation: to.Ptr("List Integration Account Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the keys in the key vault."),
		// 				Operation: to.Ptr("List Key Vault Keys"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/logTrackingEvents/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Logs the tracking events in the integration account."),
		// 				Operation: to.Ptr("Log Integration Account Tracking Events"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/join/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Joins the Integration Account."),
		// 				Operation: to.Ptr("Join Integration Account"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/partners/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the parter in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Partner"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Partner"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/partners/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the partner in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Partner"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Partner"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/partners/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the partner in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Partner"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Partner"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for partner content in integration account."),
		// 				Operation: to.Ptr("List Integration Account Partner Content Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Partner"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/agreements/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the agreement in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Agreement"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Agreement"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/agreements/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the agreement in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Agreement"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Agreement"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/agreements/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the agreement in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Agreement"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Agreement"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for agreement content in integration account."),
		// 				Operation: to.Ptr("List Integration Account Agreement Content Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Agreement"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/certificates/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the certificate in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Certificate"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Certificate"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/certificates/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the certificate in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Certificate"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Certificate"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/certificates/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the certificate in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Certificate"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Certificate"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/schemas/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the schema in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Schema"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Schema"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/schemas/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the schema in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Schema"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Schema"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/schemas/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the schema in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Schema"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Schema"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for schema content in integration account."),
		// 				Operation: to.Ptr("List Integration Account Schema Content Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Schema"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/maps/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the map in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Map"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Map"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/maps/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the map in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Map"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Map"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/maps/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the map in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Map"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Map"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for map content in integration account."),
		// 				Operation: to.Ptr("List Integration Account Map Content Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Map"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the assembly in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Assembly"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Assembly"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the assembly in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Assembly"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Assembly"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the assembly in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Assembly"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Assembly"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Gets the callback URL for assembly content in integration account."),
		// 				Operation: to.Ptr("List Integration Account Assembly Content Callback URL"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Assembly"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the batch configuration in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Batch Configuration"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Batch Configuration"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the batch configuration in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Batch Configuration"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Batch Configuration"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/batchConfigurations/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the batch configuration in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Batch Configuration"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Batch Configuration"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/sessions/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the batch configuration in integration account."),
		// 				Operation: to.Ptr("Get Integration Account Session"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Session"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/sessions/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the session in integration account."),
		// 				Operation: to.Ptr("Set Integration Account Session"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Session"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationAccounts/sessions/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the session in integration account."),
		// 				Operation: to.Ptr("Delete Integration Account Session"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Account Session"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/read"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Reads the integration service environment."),
		// 				Operation: to.Ptr("Get Integration Service Environment"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Service Environment"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/write"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Creates or updates the integration service environment."),
		// 				Operation: to.Ptr("Set Integration Service Environment"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Service Environment"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/delete"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Deletes the integration service environment."),
		// 				Operation: to.Ptr("Delete Integration Service Environment"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Service Environment"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("Microsoft.Logic/integrationServiceEnvironments/join/action"),
		// 			Display: &armlogic.OperationDisplay{
		// 				Description: to.Ptr("Joins the Integration Service Environment."),
		// 				Operation: to.Ptr("Join Integration Service Environment"),
		// 				Provider: to.Ptr("Microsoft Logic"),
		// 				Resource: to.Ptr("Integration Service Environment"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type OperationsClientListOptions added in v0.3.0

type OperationsClientListOptions struct {
}

OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.

type OperationsClientListResponse added in v0.3.0

type OperationsClientListResponse struct {
	// Result of the request to list Logic operations. It contains a list of operations and a URL link to get the next set of
	// results.
	OperationListResult
}

OperationsClientListResponse contains the response from method OperationsClient.NewListPager.

type ParameterType

type ParameterType string

ParameterType - The parameter type.

const (
	ParameterTypeArray        ParameterType = "Array"
	ParameterTypeBool         ParameterType = "Bool"
	ParameterTypeFloat        ParameterType = "Float"
	ParameterTypeInt          ParameterType = "Int"
	ParameterTypeNotSpecified ParameterType = "NotSpecified"
	ParameterTypeObject       ParameterType = "Object"
	ParameterTypeSecureObject ParameterType = "SecureObject"
	ParameterTypeSecureString ParameterType = "SecureString"
	ParameterTypeString       ParameterType = "String"
)

func PossibleParameterTypeValues

func PossibleParameterTypeValues() []ParameterType

PossibleParameterTypeValues returns the possible values for the ParameterType const type.

type PartnerContent

type PartnerContent struct {
	// The B2B partner content.
	B2B *B2BPartnerContent
}

PartnerContent - The integration account partner content.

func (PartnerContent) MarshalJSON added in v1.1.0

func (p PartnerContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PartnerContent.

func (*PartnerContent) UnmarshalJSON added in v1.1.0

func (p *PartnerContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PartnerContent.

type PartnerType

type PartnerType string

PartnerType - The partner type.

const (
	PartnerTypeB2B          PartnerType = "B2B"
	PartnerTypeNotSpecified PartnerType = "NotSpecified"
)

func PossiblePartnerTypeValues

func PossiblePartnerTypeValues() []PartnerType

PossiblePartnerTypeValues returns the possible values for the PartnerType const type.

type RecurrenceFrequency

type RecurrenceFrequency string

RecurrenceFrequency - The recurrence frequency.

const (
	RecurrenceFrequencyDay          RecurrenceFrequency = "Day"
	RecurrenceFrequencyHour         RecurrenceFrequency = "Hour"
	RecurrenceFrequencyMinute       RecurrenceFrequency = "Minute"
	RecurrenceFrequencyMonth        RecurrenceFrequency = "Month"
	RecurrenceFrequencyNotSpecified RecurrenceFrequency = "NotSpecified"
	RecurrenceFrequencySecond       RecurrenceFrequency = "Second"
	RecurrenceFrequencyWeek         RecurrenceFrequency = "Week"
	RecurrenceFrequencyYear         RecurrenceFrequency = "Year"
)

func PossibleRecurrenceFrequencyValues

func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency

PossibleRecurrenceFrequencyValues returns the possible values for the RecurrenceFrequency const type.

type RecurrenceSchedule

type RecurrenceSchedule struct {
	// The hours.
	Hours []*int32

	// The minutes.
	Minutes []*int32

	// The month days.
	MonthDays []*int32

	// The monthly occurrences.
	MonthlyOccurrences []*RecurrenceScheduleOccurrence

	// The days of the week.
	WeekDays []*DaysOfWeek
}

RecurrenceSchedule - The recurrence schedule.

func (RecurrenceSchedule) MarshalJSON

func (r RecurrenceSchedule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecurrenceSchedule.

func (*RecurrenceSchedule) UnmarshalJSON added in v1.1.0

func (r *RecurrenceSchedule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecurrenceSchedule.

type RecurrenceScheduleOccurrence

type RecurrenceScheduleOccurrence struct {
	// The day of the week.
	Day *DayOfWeek

	// The occurrence.
	Occurrence *int32
}

RecurrenceScheduleOccurrence - The recurrence schedule occurrence.

func (RecurrenceScheduleOccurrence) MarshalJSON added in v1.1.0

func (r RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecurrenceScheduleOccurrence.

func (*RecurrenceScheduleOccurrence) UnmarshalJSON added in v1.1.0

func (r *RecurrenceScheduleOccurrence) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecurrenceScheduleOccurrence.

type RegenerateActionParameter

type RegenerateActionParameter struct {
	// The key type.
	KeyType *KeyType
}

RegenerateActionParameter - The access key regenerate action content.

func (RegenerateActionParameter) MarshalJSON added in v1.1.0

func (r RegenerateActionParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RegenerateActionParameter.

func (*RegenerateActionParameter) UnmarshalJSON added in v1.1.0

func (r *RegenerateActionParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RegenerateActionParameter.

type RepetitionIndex

type RepetitionIndex struct {
	// REQUIRED; The index.
	ItemIndex *int32

	// The scope.
	ScopeName *string
}

RepetitionIndex - The workflow run action repetition index.

func (RepetitionIndex) MarshalJSON added in v1.1.0

func (r RepetitionIndex) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RepetitionIndex.

func (*RepetitionIndex) UnmarshalJSON added in v1.1.0

func (r *RepetitionIndex) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RepetitionIndex.

type Request

type Request struct {
	// A list of all the headers attached to the request.
	Headers any

	// The HTTP method used for the request.
	Method *string

	// The destination for the request.
	URI *string
}

Request - A request.

func (Request) MarshalJSON added in v1.1.0

func (r Request) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Request.

func (*Request) UnmarshalJSON added in v1.1.0

func (r *Request) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Request.

type RequestHistory

type RequestHistory struct {
	// The resource location.
	Location *string

	// The request history properties.
	Properties *RequestHistoryProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

RequestHistory - The request history.

func (RequestHistory) MarshalJSON

func (r RequestHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistory.

func (*RequestHistory) UnmarshalJSON added in v1.1.0

func (r *RequestHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistory.

type RequestHistoryListResult

type RequestHistoryListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow request histories.
	Value []*RequestHistory
}

RequestHistoryListResult - The list of workflow request histories.

func (RequestHistoryListResult) MarshalJSON

func (r RequestHistoryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistoryListResult.

func (*RequestHistoryListResult) UnmarshalJSON added in v1.1.0

func (r *RequestHistoryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistoryListResult.

type RequestHistoryProperties

type RequestHistoryProperties struct {
	// The time the request ended.
	EndTime *time.Time

	// The request.
	Request *Request

	// The response.
	Response *Response

	// The time the request started.
	StartTime *time.Time
}

RequestHistoryProperties - The request history.

func (RequestHistoryProperties) MarshalJSON

func (r RequestHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RequestHistoryProperties.

func (*RequestHistoryProperties) UnmarshalJSON

func (r *RequestHistoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RequestHistoryProperties.

type Resource

type Resource struct {
	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

Resource - The base resource type.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Resource.

func (*Resource) UnmarshalJSON added in v1.1.0

func (r *Resource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Resource.

type ResourceReference

type ResourceReference struct {
	// The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

ResourceReference - The resource reference.

func (ResourceReference) MarshalJSON added in v1.1.0

func (r ResourceReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceReference.

func (*ResourceReference) UnmarshalJSON added in v1.1.0

func (r *ResourceReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceReference.

type Response

type Response struct {
	// Details on the location of the body content.
	BodyLink *ContentLink

	// A list of all the headers attached to the response.
	Headers any

	// The status code of the response.
	StatusCode *int32
}

Response - A response.

func (Response) MarshalJSON added in v1.1.0

func (r Response) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Response.

func (*Response) UnmarshalJSON added in v1.1.0

func (r *Response) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Response.

type RetryHistory

type RetryHistory struct {
	// Gets the client request Id.
	ClientRequestID *string

	// Gets the status code.
	Code *string

	// Gets the end time.
	EndTime *time.Time

	// Gets the error response.
	Error *ErrorResponse

	// Gets the service request Id.
	ServiceRequestID *string

	// Gets the start time.
	StartTime *time.Time
}

RetryHistory - The retry history.

func (RetryHistory) MarshalJSON

func (r RetryHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RetryHistory.

func (*RetryHistory) UnmarshalJSON

func (r *RetryHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RetryHistory.

type RunActionCorrelation

type RunActionCorrelation struct {
	// The action tracking identifier.
	ActionTrackingID *string

	// The client keywords.
	ClientKeywords []*string

	// The client tracking identifier.
	ClientTrackingID *string
}

RunActionCorrelation - The workflow run action correlation properties.

func (RunActionCorrelation) MarshalJSON

func (r RunActionCorrelation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RunActionCorrelation.

func (*RunActionCorrelation) UnmarshalJSON added in v1.1.0

func (r *RunActionCorrelation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RunActionCorrelation.

type RunCorrelation

type RunCorrelation struct {
	// The client keywords.
	ClientKeywords []*string

	// The client tracking identifier.
	ClientTrackingID *string
}

RunCorrelation - The correlation properties.

func (RunCorrelation) MarshalJSON

func (r RunCorrelation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RunCorrelation.

func (*RunCorrelation) UnmarshalJSON added in v1.1.0

func (r *RunCorrelation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RunCorrelation.

type SKU

type SKU struct {
	// REQUIRED; The name.
	Name *SKUName

	// The reference to plan.
	Plan *ResourceReference
}

SKU - The sku type.

func (SKU) MarshalJSON added in v1.1.0

func (s SKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SKU.

func (*SKU) UnmarshalJSON added in v1.1.0

func (s *SKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SKU.

type SKUName

type SKUName string

SKUName - The sku name.

const (
	SKUNameBasic        SKUName = "Basic"
	SKUNameFree         SKUName = "Free"
	SKUNameNotSpecified SKUName = "NotSpecified"
	SKUNamePremium      SKUName = "Premium"
	SKUNameShared       SKUName = "Shared"
	SKUNameStandard     SKUName = "Standard"
)

func PossibleSKUNameValues

func PossibleSKUNameValues() []SKUName

PossibleSKUNameValues returns the possible values for the SKUName const type.

type SchemaType

type SchemaType string

SchemaType - The schema type.

const (
	SchemaTypeNotSpecified SchemaType = "NotSpecified"
	SchemaTypeXML          SchemaType = "Xml"
)

func PossibleSchemaTypeValues

func PossibleSchemaTypeValues() []SchemaType

PossibleSchemaTypeValues returns the possible values for the SchemaType const type.

type SegmentTerminatorSuffix

type SegmentTerminatorSuffix string

SegmentTerminatorSuffix - The segment terminator suffix.

const (
	SegmentTerminatorSuffixCR           SegmentTerminatorSuffix = "CR"
	SegmentTerminatorSuffixCRLF         SegmentTerminatorSuffix = "CRLF"
	SegmentTerminatorSuffixLF           SegmentTerminatorSuffix = "LF"
	SegmentTerminatorSuffixNone         SegmentTerminatorSuffix = "None"
	SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = "NotSpecified"
)

func PossibleSegmentTerminatorSuffixValues

func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix

PossibleSegmentTerminatorSuffixValues returns the possible values for the SegmentTerminatorSuffix const type.

type SetTriggerStateActionDefinition

type SetTriggerStateActionDefinition struct {
	// REQUIRED; The source.
	Source *WorkflowTriggerReference
}

SetTriggerStateActionDefinition - The set trigger state action definition.

func (SetTriggerStateActionDefinition) MarshalJSON added in v1.1.0

func (s SetTriggerStateActionDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SetTriggerStateActionDefinition.

func (*SetTriggerStateActionDefinition) UnmarshalJSON added in v1.1.0

func (s *SetTriggerStateActionDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SetTriggerStateActionDefinition.

type SigningAlgorithm

type SigningAlgorithm string

SigningAlgorithm - The signing or hashing algorithm.

const (
	SigningAlgorithmDefault      SigningAlgorithm = "Default"
	SigningAlgorithmNotSpecified SigningAlgorithm = "NotSpecified"
	SigningAlgorithmSHA1         SigningAlgorithm = "SHA1"
	SigningAlgorithmSHA2256      SigningAlgorithm = "SHA2256"
	SigningAlgorithmSHA2384      SigningAlgorithm = "SHA2384"
	SigningAlgorithmSHA2512      SigningAlgorithm = "SHA2512"
)

func PossibleSigningAlgorithmValues

func PossibleSigningAlgorithmValues() []SigningAlgorithm

PossibleSigningAlgorithmValues returns the possible values for the SigningAlgorithm const type.

type StatusAnnotation

type StatusAnnotation string

StatusAnnotation - The status annotation.

const (
	StatusAnnotationNotSpecified StatusAnnotation = "NotSpecified"
	StatusAnnotationPreview      StatusAnnotation = "Preview"
	StatusAnnotationProduction   StatusAnnotation = "Production"
)

func PossibleStatusAnnotationValues

func PossibleStatusAnnotationValues() []StatusAnnotation

PossibleStatusAnnotationValues returns the possible values for the StatusAnnotation const type.

type SubResource

type SubResource struct {
	// READ-ONLY; The resource id.
	ID *string
}

SubResource - The sub resource type.

func (SubResource) MarshalJSON added in v1.1.0

func (s SubResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubResource.

func (*SubResource) UnmarshalJSON added in v1.1.0

func (s *SubResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SubResource.

type SwaggerCustomDynamicList

type SwaggerCustomDynamicList struct {
	// The built in operation.
	BuiltInOperation *string

	// The path to an item property which defines the display name of the item.
	ItemTitlePath *string

	// The path to a property which defines the value which should be used.
	ItemValuePath *string

	// The path to a response property (relative to the response object, not the response body) which contains an array of dynamic
	// value items.
	ItemsPath *string

	// The operation id to fetch dynamic schema.
	OperationID *string

	// The parameters.
	Parameters map[string]*SwaggerCustomDynamicProperties
}

SwaggerCustomDynamicList - The swagger custom dynamic list.

func (SwaggerCustomDynamicList) MarshalJSON

func (s SwaggerCustomDynamicList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicList.

func (*SwaggerCustomDynamicList) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicList) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicList.

type SwaggerCustomDynamicProperties

type SwaggerCustomDynamicProperties struct {
	// The operation id to fetch dynamic schema.
	OperationID *string

	// The operation parameters.
	Parameters map[string]*SwaggerCustomDynamicProperties

	// Json pointer to the dynamic schema on the response body.
	ValuePath *string
}

SwaggerCustomDynamicProperties - The swagger custom dynamic properties.

func (SwaggerCustomDynamicProperties) MarshalJSON

func (s SwaggerCustomDynamicProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicProperties.

func (*SwaggerCustomDynamicProperties) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicProperties.

type SwaggerCustomDynamicSchema

type SwaggerCustomDynamicSchema struct {
	// The operation id to fetch dynamic schema.
	OperationID *string

	// The operation parameters.
	Parameters map[string]any

	// Json pointer to the dynamic schema on the response body.
	ValuePath *string
}

SwaggerCustomDynamicSchema - The swagger custom dynamic schema.

func (SwaggerCustomDynamicSchema) MarshalJSON

func (s SwaggerCustomDynamicSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicSchema.

func (*SwaggerCustomDynamicSchema) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicSchema.

type SwaggerCustomDynamicTree

type SwaggerCustomDynamicTree struct {
	// The tree on-browse configuration
	Browse *SwaggerCustomDynamicTreeCommand

	// The tree on-open configuration
	Open *SwaggerCustomDynamicTreeCommand

	// The tree settings
	Settings *SwaggerCustomDynamicTreeSettings
}

SwaggerCustomDynamicTree - The swagger custom dynamic tree.

func (SwaggerCustomDynamicTree) MarshalJSON added in v1.1.0

func (s SwaggerCustomDynamicTree) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicTree.

func (*SwaggerCustomDynamicTree) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicTree) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicTree.

type SwaggerCustomDynamicTreeCommand

type SwaggerCustomDynamicTreeCommand struct {
	// The path to an item property which defines the display name of the item.
	ItemFullTitlePath *string

	// The path to an item property which defines the display name of the item.
	ItemIsParent *string

	// The path to an item property which defines the display name of the item.
	ItemTitlePath *string

	// The path to an item property which defines the display name of the item.
	ItemValuePath *string

	// The path to an item property which defines the display name of the item.
	ItemsPath *string

	// The path to an item property which defines the display name of the item.
	OperationID *string

	// Dictionary of
	Parameters map[string]*SwaggerCustomDynamicTreeParameter

	// The path to an item property which defines the display name of the item.
	SelectableFilter *string
}

SwaggerCustomDynamicTreeCommand - The swagger tree command.

func (SwaggerCustomDynamicTreeCommand) MarshalJSON

func (s SwaggerCustomDynamicTreeCommand) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicTreeCommand.

func (*SwaggerCustomDynamicTreeCommand) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicTreeCommand) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicTreeCommand.

type SwaggerCustomDynamicTreeParameter

type SwaggerCustomDynamicTreeParameter struct {
	// The parameter reference.
	ParameterReference *string

	// Indicates whether the parameter is required.
	Required *bool

	// Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.
	SelectedItemValuePath *string

	// The parameter value.
	Value any
}

SwaggerCustomDynamicTreeParameter - The swagger custom dynamic tree parameter.

func (SwaggerCustomDynamicTreeParameter) MarshalJSON added in v1.1.0

func (s SwaggerCustomDynamicTreeParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicTreeParameter.

func (*SwaggerCustomDynamicTreeParameter) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicTreeParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicTreeParameter.

type SwaggerCustomDynamicTreeSettings

type SwaggerCustomDynamicTreeSettings struct {
	// Indicates whether leaf nodes can be selected.
	CanSelectLeafNodes *bool

	// Indicates whether parent nodes can be selected.
	CanSelectParentNodes *bool
}

SwaggerCustomDynamicTreeSettings - The swagger custom dynamic tree settings.

func (SwaggerCustomDynamicTreeSettings) MarshalJSON added in v1.1.0

func (s SwaggerCustomDynamicTreeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerCustomDynamicTreeSettings.

func (*SwaggerCustomDynamicTreeSettings) UnmarshalJSON added in v1.1.0

func (s *SwaggerCustomDynamicTreeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerCustomDynamicTreeSettings.

type SwaggerExternalDocumentation

type SwaggerExternalDocumentation struct {
	// The document description.
	Description *string

	// The vendor extensions.
	Extensions map[string]any

	// The documentation Uri.
	URI *string
}

SwaggerExternalDocumentation - The swagger external documentation

func (SwaggerExternalDocumentation) MarshalJSON

func (s SwaggerExternalDocumentation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerExternalDocumentation.

func (*SwaggerExternalDocumentation) UnmarshalJSON added in v1.1.0

func (s *SwaggerExternalDocumentation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerExternalDocumentation.

type SwaggerSchema

type SwaggerSchema struct {
	// The additional properties.
	AdditionalProperties any

	// The schemas which must pass validation when this schema is used.
	AllOf []*SwaggerSchema

	// The discriminator.
	Discriminator *string

	// The dynamic list.
	DynamicListNew *SwaggerCustomDynamicList

	// The dynamic schema configuration.
	DynamicSchemaNew *SwaggerCustomDynamicProperties

	// The dynamic schema configuration.
	DynamicSchemaOld *SwaggerCustomDynamicSchema

	// The dynamic values tree configuration.
	DynamicTree *SwaggerCustomDynamicTree

	// The example value.
	Example any

	// The external documentation.
	ExternalDocs *SwaggerExternalDocumentation

	// The items schema.
	Items *SwaggerSchema

	// The maximum number of allowed properties.
	MaxProperties *int32

	// The minimum number of allowed properties.
	MinProperties *int32

	// Indicates the notification url extension. If this is set, the property's value should be a callback url for a webhook.
	NotificationURLExtension *bool

	// The object properties
	Properties map[string]*SwaggerSchema

	// Indicates whether this property must be present in the a request.
	ReadOnly *bool

	// The reference.
	Ref *string

	// The object required properties.
	Required []*string

	// The title.
	Title *string

	// The type
	Type *SwaggerSchemaType

	// The xml representation format for a property.
	XML *SwaggerXML
}

SwaggerSchema - The swagger schema.

func (SwaggerSchema) MarshalJSON

func (s SwaggerSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerSchema.

func (*SwaggerSchema) UnmarshalJSON added in v1.1.0

func (s *SwaggerSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerSchema.

type SwaggerSchemaType

type SwaggerSchemaType string

SwaggerSchemaType - The swagger schema type.

const (
	SwaggerSchemaTypeArray   SwaggerSchemaType = "Array"
	SwaggerSchemaTypeBoolean SwaggerSchemaType = "Boolean"
	SwaggerSchemaTypeFile    SwaggerSchemaType = "File"
	SwaggerSchemaTypeInteger SwaggerSchemaType = "Integer"
	SwaggerSchemaTypeNull    SwaggerSchemaType = "Null"
	SwaggerSchemaTypeNumber  SwaggerSchemaType = "Number"
	SwaggerSchemaTypeObject  SwaggerSchemaType = "Object"
	SwaggerSchemaTypeString  SwaggerSchemaType = "String"
)

func PossibleSwaggerSchemaTypeValues

func PossibleSwaggerSchemaTypeValues() []SwaggerSchemaType

PossibleSwaggerSchemaTypeValues returns the possible values for the SwaggerSchemaType const type.

type SwaggerXML

type SwaggerXML struct {
	// Indicates whether the property should be an attribute instead of an element.
	Attribute *bool

	// The vendor extensions.
	Extensions map[string]any

	// The xml element or attribute name.
	Name *string

	// The xml namespace.
	Namespace *string

	// The name prefix.
	Prefix *string

	// Indicates whether the array elements are wrapped in a container element.
	Wrapped *bool
}

SwaggerXML - The Swagger XML.

func (SwaggerXML) MarshalJSON

func (s SwaggerXML) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SwaggerXML.

func (*SwaggerXML) UnmarshalJSON added in v1.1.0

func (s *SwaggerXML) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SwaggerXML.

type TrackEventsOperationOptions

type TrackEventsOperationOptions string

TrackEventsOperationOptions - The track events operation options.

const (
	TrackEventsOperationOptionsDisableSourceInfoEnrich TrackEventsOperationOptions = "DisableSourceInfoEnrich"
	TrackEventsOperationOptionsNone                    TrackEventsOperationOptions = "None"
)

func PossibleTrackEventsOperationOptionsValues

func PossibleTrackEventsOperationOptionsValues() []TrackEventsOperationOptions

PossibleTrackEventsOperationOptionsValues returns the possible values for the TrackEventsOperationOptions const type.

type TrackingEvent

type TrackingEvent struct {
	// REQUIRED; The event level.
	EventLevel *EventLevel

	// REQUIRED; The event time.
	EventTime *time.Time

	// REQUIRED; The record type.
	RecordType *TrackingRecordType

	// The error.
	Error *TrackingEventErrorInfo

	// The record.
	Record any
}

TrackingEvent - The tracking event.

func (TrackingEvent) MarshalJSON

func (t TrackingEvent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrackingEvent.

func (*TrackingEvent) UnmarshalJSON

func (t *TrackingEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TrackingEvent.

type TrackingEventErrorInfo

type TrackingEventErrorInfo struct {
	// The code.
	Code *string

	// The message.
	Message *string
}

TrackingEventErrorInfo - The tracking event error info.

func (TrackingEventErrorInfo) MarshalJSON added in v1.1.0

func (t TrackingEventErrorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrackingEventErrorInfo.

func (*TrackingEventErrorInfo) UnmarshalJSON added in v1.1.0

func (t *TrackingEventErrorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TrackingEventErrorInfo.

type TrackingEventsDefinition

type TrackingEventsDefinition struct {
	// REQUIRED; The events.
	Events []*TrackingEvent

	// REQUIRED; The source type.
	SourceType *string

	// The track events options.
	TrackEventsOptions *TrackEventsOperationOptions
}

TrackingEventsDefinition - The tracking events definition.

func (TrackingEventsDefinition) MarshalJSON

func (t TrackingEventsDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrackingEventsDefinition.

func (*TrackingEventsDefinition) UnmarshalJSON added in v1.1.0

func (t *TrackingEventsDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TrackingEventsDefinition.

type TrackingRecordType

type TrackingRecordType string

TrackingRecordType - The tracking record type.

const (
	TrackingRecordTypeAS2MDN                               TrackingRecordType = "AS2MDN"
	TrackingRecordTypeAS2Message                           TrackingRecordType = "AS2Message"
	TrackingRecordTypeCustom                               TrackingRecordType = "Custom"
	TrackingRecordTypeEdifactFunctionalGroup               TrackingRecordType = "EdifactFunctionalGroup"
	TrackingRecordTypeEdifactFunctionalGroupAcknowledgment TrackingRecordType = "EdifactFunctionalGroupAcknowledgment"
	TrackingRecordTypeEdifactInterchange                   TrackingRecordType = "EdifactInterchange"
	TrackingRecordTypeEdifactInterchangeAcknowledgment     TrackingRecordType = "EdifactInterchangeAcknowledgment"
	TrackingRecordTypeEdifactTransactionSet                TrackingRecordType = "EdifactTransactionSet"
	TrackingRecordTypeEdifactTransactionSetAcknowledgment  TrackingRecordType = "EdifactTransactionSetAcknowledgment"
	TrackingRecordTypeNotSpecified                         TrackingRecordType = "NotSpecified"
	TrackingRecordTypeX12FunctionalGroup                   TrackingRecordType = "X12FunctionalGroup"
	TrackingRecordTypeX12FunctionalGroupAcknowledgment     TrackingRecordType = "X12FunctionalGroupAcknowledgment"
	TrackingRecordTypeX12Interchange                       TrackingRecordType = "X12Interchange"
	TrackingRecordTypeX12InterchangeAcknowledgment         TrackingRecordType = "X12InterchangeAcknowledgment"
	TrackingRecordTypeX12TransactionSet                    TrackingRecordType = "X12TransactionSet"
	TrackingRecordTypeX12TransactionSetAcknowledgment      TrackingRecordType = "X12TransactionSetAcknowledgment"
)

func PossibleTrackingRecordTypeValues

func PossibleTrackingRecordTypeValues() []TrackingRecordType

PossibleTrackingRecordTypeValues returns the possible values for the TrackingRecordType const type.

type TrailingSeparatorPolicy

type TrailingSeparatorPolicy string

TrailingSeparatorPolicy - The trailing separator policy.

const (
	TrailingSeparatorPolicyMandatory    TrailingSeparatorPolicy = "Mandatory"
	TrailingSeparatorPolicyNotAllowed   TrailingSeparatorPolicy = "NotAllowed"
	TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = "NotSpecified"
	TrailingSeparatorPolicyOptional     TrailingSeparatorPolicy = "Optional"
)

func PossibleTrailingSeparatorPolicyValues

func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy

PossibleTrailingSeparatorPolicyValues returns the possible values for the TrailingSeparatorPolicy const type.

type UsageIndicator

type UsageIndicator string

UsageIndicator - The usage indicator.

const (
	UsageIndicatorInformation  UsageIndicator = "Information"
	UsageIndicatorNotSpecified UsageIndicator = "NotSpecified"
	UsageIndicatorProduction   UsageIndicator = "Production"
	UsageIndicatorTest         UsageIndicator = "Test"
)

func PossibleUsageIndicatorValues

func PossibleUsageIndicatorValues() []UsageIndicator

PossibleUsageIndicatorValues returns the possible values for the UsageIndicator const type.

type UserAssignedIdentity

type UserAssignedIdentity struct {
	// READ-ONLY; Client Id of user assigned identity
	ClientID *string

	// READ-ONLY; Principal Id of user assigned identity
	PrincipalID *string
}

UserAssignedIdentity - User Assigned identity properties.

func (UserAssignedIdentity) MarshalJSON added in v1.1.0

func (u UserAssignedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UserAssignedIdentity.

func (*UserAssignedIdentity) UnmarshalJSON added in v1.1.0

func (u *UserAssignedIdentity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UserAssignedIdentity.

type Workflow

type Workflow struct {
	// Managed service identity properties.
	Identity *ManagedServiceIdentity

	// The resource location.
	Location *string

	// The workflow properties.
	Properties *WorkflowProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

Workflow - The workflow type.

func (Workflow) MarshalJSON

func (w Workflow) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Workflow.

func (*Workflow) UnmarshalJSON added in v1.1.0

func (w *Workflow) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Workflow.

type WorkflowFilter

type WorkflowFilter struct {
	// The state of workflows.
	State *WorkflowState
}

WorkflowFilter - The workflow filter.

func (WorkflowFilter) MarshalJSON added in v1.1.0

func (w WorkflowFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowFilter.

func (*WorkflowFilter) UnmarshalJSON added in v1.1.0

func (w *WorkflowFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowFilter.

type WorkflowListResult

type WorkflowListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// The list of workflows.
	Value []*Workflow
}

WorkflowListResult - The list of workflows.

func (WorkflowListResult) MarshalJSON

func (w WorkflowListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowListResult.

func (*WorkflowListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowListResult.

type WorkflowOutputParameter

type WorkflowOutputParameter struct {
	// The description.
	Description *string

	// The metadata.
	Metadata any

	// The type.
	Type *ParameterType

	// The value.
	Value any

	// READ-ONLY; Gets the error.
	Error any
}

WorkflowOutputParameter - The workflow output parameter.

func (WorkflowOutputParameter) MarshalJSON added in v1.1.0

func (w WorkflowOutputParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowOutputParameter.

func (*WorkflowOutputParameter) UnmarshalJSON added in v1.1.0

func (w *WorkflowOutputParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowOutputParameter.

type WorkflowParameter

type WorkflowParameter struct {
	// The description.
	Description *string

	// The metadata.
	Metadata any

	// The type.
	Type *ParameterType

	// The value.
	Value any
}

WorkflowParameter - The workflow parameters.

func (WorkflowParameter) MarshalJSON added in v1.1.0

func (w WorkflowParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowParameter.

func (*WorkflowParameter) UnmarshalJSON added in v1.1.0

func (w *WorkflowParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowParameter.

type WorkflowProperties

type WorkflowProperties struct {
	// The access control configuration.
	AccessControl *FlowAccessControlConfiguration

	// The definition.
	Definition any

	// The endpoints configuration.
	EndpointsConfiguration *FlowEndpointsConfiguration

	// The integration account.
	IntegrationAccount *ResourceReference

	// The integration service environment.
	IntegrationServiceEnvironment *ResourceReference

	// The parameters.
	Parameters map[string]*WorkflowParameter

	// The state.
	State *WorkflowState

	// READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string

	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; Gets the provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The sku.
	SKU *SKU

	// READ-ONLY; Gets the version.
	Version *string
}

WorkflowProperties - The workflow properties.

func (WorkflowProperties) MarshalJSON

func (w WorkflowProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowProperties.

func (*WorkflowProperties) UnmarshalJSON

func (w *WorkflowProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowProperties.

type WorkflowProvisioningState

type WorkflowProvisioningState string

WorkflowProvisioningState - The workflow provisioning state.

const (
	WorkflowProvisioningStateAccepted      WorkflowProvisioningState = "Accepted"
	WorkflowProvisioningStateCanceled      WorkflowProvisioningState = "Canceled"
	WorkflowProvisioningStateCompleted     WorkflowProvisioningState = "Completed"
	WorkflowProvisioningStateCreated       WorkflowProvisioningState = "Created"
	WorkflowProvisioningStateCreating      WorkflowProvisioningState = "Creating"
	WorkflowProvisioningStateDeleted       WorkflowProvisioningState = "Deleted"
	WorkflowProvisioningStateDeleting      WorkflowProvisioningState = "Deleting"
	WorkflowProvisioningStateFailed        WorkflowProvisioningState = "Failed"
	WorkflowProvisioningStateInProgress    WorkflowProvisioningState = "InProgress"
	WorkflowProvisioningStateMoving        WorkflowProvisioningState = "Moving"
	WorkflowProvisioningStateNotSpecified  WorkflowProvisioningState = "NotSpecified"
	WorkflowProvisioningStatePending       WorkflowProvisioningState = "Pending"
	WorkflowProvisioningStateReady         WorkflowProvisioningState = "Ready"
	WorkflowProvisioningStateRegistered    WorkflowProvisioningState = "Registered"
	WorkflowProvisioningStateRegistering   WorkflowProvisioningState = "Registering"
	WorkflowProvisioningStateRenewing      WorkflowProvisioningState = "Renewing"
	WorkflowProvisioningStateRunning       WorkflowProvisioningState = "Running"
	WorkflowProvisioningStateSucceeded     WorkflowProvisioningState = "Succeeded"
	WorkflowProvisioningStateUnregistered  WorkflowProvisioningState = "Unregistered"
	WorkflowProvisioningStateUnregistering WorkflowProvisioningState = "Unregistering"
	WorkflowProvisioningStateUpdating      WorkflowProvisioningState = "Updating"
	WorkflowProvisioningStateWaiting       WorkflowProvisioningState = "Waiting"
)

func PossibleWorkflowProvisioningStateValues

func PossibleWorkflowProvisioningStateValues() []WorkflowProvisioningState

PossibleWorkflowProvisioningStateValues returns the possible values for the WorkflowProvisioningState const type.

type WorkflowReference

type WorkflowReference struct {
	// The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowReference - The workflow reference.

func (WorkflowReference) MarshalJSON added in v1.1.0

func (w WorkflowReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowReference.

func (*WorkflowReference) UnmarshalJSON added in v1.1.0

func (w *WorkflowReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowReference.

type WorkflowRun

type WorkflowRun struct {
	// The workflow run properties.
	Properties *WorkflowRunProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow run name.
	Name *string

	// READ-ONLY; Gets the workflow run type.
	Type *string
}

WorkflowRun - The workflow run.

func (WorkflowRun) MarshalJSON added in v1.1.0

func (w WorkflowRun) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRun.

func (*WorkflowRun) UnmarshalJSON added in v1.1.0

func (w *WorkflowRun) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRun.

type WorkflowRunAction

type WorkflowRunAction struct {
	// The workflow run action properties.
	Properties *WorkflowRunActionProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow run action name.
	Name *string

	// READ-ONLY; Gets the workflow run action type.
	Type *string
}

WorkflowRunAction - The workflow run action.

func (WorkflowRunAction) MarshalJSON added in v1.1.0

func (w WorkflowRunAction) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunAction.

func (*WorkflowRunAction) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunAction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunAction.

type WorkflowRunActionFilter

type WorkflowRunActionFilter struct {
	// The status of workflow run action.
	Status *WorkflowStatus
}

WorkflowRunActionFilter - The workflow run action filter.

func (WorkflowRunActionFilter) MarshalJSON added in v1.1.0

func (w WorkflowRunActionFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionFilter.

func (*WorkflowRunActionFilter) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunActionFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionFilter.

type WorkflowRunActionListResult

type WorkflowRunActionListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow run actions.
	Value []*WorkflowRunAction
}

WorkflowRunActionListResult - The list of workflow run actions.

func (WorkflowRunActionListResult) MarshalJSON

func (w WorkflowRunActionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionListResult.

func (*WorkflowRunActionListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunActionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionListResult.

type WorkflowRunActionProperties

type WorkflowRunActionProperties struct {
	// The correlation properties.
	Correlation *RunActionCorrelation

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunActionProperties - The workflow run action properties.

func (WorkflowRunActionProperties) MarshalJSON

func (w WorkflowRunActionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionProperties.

func (*WorkflowRunActionProperties) UnmarshalJSON

func (w *WorkflowRunActionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionProperties.

type WorkflowRunActionRepetitionDefinition

type WorkflowRunActionRepetitionDefinition struct {
	// REQUIRED; The workflow run action repetition properties definition.
	Properties *WorkflowRunActionRepetitionProperties

	// The resource location.
	Location *string

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowRunActionRepetitionDefinition - The workflow run action repetition definition.

func (WorkflowRunActionRepetitionDefinition) MarshalJSON

func (w WorkflowRunActionRepetitionDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionDefinition.

func (*WorkflowRunActionRepetitionDefinition) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunActionRepetitionDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionDefinition.

type WorkflowRunActionRepetitionDefinitionCollection

type WorkflowRunActionRepetitionDefinitionCollection struct {
	// The link used to get the next page of recommendations.
	NextLink *string
	Value    []*WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionRepetitionDefinitionCollection - A collection of workflow run action repetitions.

func (WorkflowRunActionRepetitionDefinitionCollection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionDefinitionCollection.

func (*WorkflowRunActionRepetitionDefinitionCollection) UnmarshalJSON added in v1.1.0

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionDefinitionCollection.

type WorkflowRunActionRepetitionProperties

type WorkflowRunActionRepetitionProperties struct {
	// The workflow scope repetition code.
	Code *string

	// The correlation properties.
	Correlation *RunActionCorrelation

	// The end time of the workflow scope repetition.
	EndTime *time.Time

	// Anything
	Error          any
	IterationCount *int32

	// The repetition indexes.
	RepetitionIndexes []*RepetitionIndex

	// Gets the retry histories.
	RetryHistory []*RetryHistory

	// The start time of the workflow scope repetition.
	StartTime *time.Time

	// The status of the workflow scope repetition.
	Status *WorkflowStatus

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunActionRepetitionProperties - The workflow run action repetition properties definition.

func (WorkflowRunActionRepetitionProperties) MarshalJSON

func (w WorkflowRunActionRepetitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunActionRepetitionProperties.

func (*WorkflowRunActionRepetitionProperties) UnmarshalJSON

func (w *WorkflowRunActionRepetitionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunActionRepetitionProperties.

type WorkflowRunActionRepetitionsClient

type WorkflowRunActionRepetitionsClient struct {
	// contains filtered or unexported fields
}

WorkflowRunActionRepetitionsClient contains the methods for the WorkflowRunActionRepetitions group. Don't use this type directly, use NewWorkflowRunActionRepetitionsClient() instead.

func NewWorkflowRunActionRepetitionsClient

func NewWorkflowRunActionRepetitionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionRepetitionsClient, error)

NewWorkflowRunActionRepetitionsClient creates a new instance of WorkflowRunActionRepetitionsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunActionRepetitionsClient) Get

func (client *WorkflowRunActionRepetitionsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string, actionName string, repetitionName string, options *WorkflowRunActionRepetitionsClientGetOptions) (WorkflowRunActionRepetitionsClientGetResponse, error)

Get - Get a workflow run action repetition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunActionRepetitionsClient().Get(ctx, "testResourceGroup", "testFlow", "08586776228332053161046300351", "testAction", "000001", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowRunActionRepetitionDefinition = armlogic.WorkflowRunActionRepetitionDefinition{
	// 	Name: to.Ptr("000001"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions"),
	// 	ID: to.Ptr("api/management/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001"),
	// 	Properties: &armlogic.WorkflowRunActionRepetitionProperties{
	// 		Code: to.Ptr("OK"),
	// 		Correlation: &armlogic.RunActionCorrelation{
	// 			ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 			ActionTrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.101Z"); return t}()),
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.092Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		InputsLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](6),
	// 			ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 			URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M"),
	// 		},
	// 		OutputsLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](6),
	// 			ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
	// 			URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw"),
	// 		},
	// 		TrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
	// 		RepetitionIndexes: []*armlogic.RepetitionIndex{
	// 			{
	// 				ItemIndex: to.Ptr[int32](1),
	// 				ScopeName: to.Ptr("For_each"),
	// 		}},
	// 	},
	// }
}
Output:

func (*WorkflowRunActionRepetitionsClient) NewListExpressionTracesPager added in v0.5.0

func (client *WorkflowRunActionRepetitionsClient) NewListExpressionTracesPager(resourceGroupName string, workflowName string, runName string, actionName string, repetitionName string, options *WorkflowRunActionRepetitionsClientListExpressionTracesOptions) *runtime.Pager[WorkflowRunActionRepetitionsClientListExpressionTracesResponse]

NewListExpressionTracesPager - Lists a workflow run expression trace.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionRepetitionsClient().NewListExpressionTracesPager("testResourceGroup", "testFlow", "08586776228332053161046300351", "testAction", "000001", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Inputs {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.ExpressionTraces = armlogic.ExpressionTraces{
		// 	Inputs: []*armlogic.ExpressionRoot{
		// 		{
		// 			Text: to.Ptr("items('For_each')?['OccuringLocation']?['Environment']"),
		// 			Value: "PROD",
		// 			Path: to.Ptr(""),
		// 	}},
		// }
	}
}
Output:

func (*WorkflowRunActionRepetitionsClient) NewListPager added in v0.5.0

NewListPager - Get all of a workflow run action repetitions.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionRepetitionsClient().NewListPager("testResourceGroup", "testFlow", "08586776228332053161046300351", "testAction", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowRunActionRepetitionDefinitionCollection = armlogic.WorkflowRunActionRepetitionDefinitionCollection{
		// 	Value: []*armlogic.WorkflowRunActionRepetitionDefinition{
		// 		{
		// 			Name: to.Ptr("000000"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000"),
		// 			Properties: &armlogic.WorkflowRunActionRepetitionProperties{
		// 				Code: to.Ptr("OK"),
		// 				Correlation: &armlogic.RunActionCorrelation{
		// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
		// 					ActionTrackingID: to.Ptr("0d8152bb-e198-44a9-bde8-5138eea16dd4"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.226Z"); return t}()),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.217Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				InputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](8),
		// 					ContentVersion: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
		// 					URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA"),
		// 				},
		// 				OutputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](8),
		// 					ContentVersion: to.Ptr("8q1zMKS5ZyHBrPF+qF1xXw=="),
		// 					URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0"),
		// 				},
		// 				TrackingID: to.Ptr("0d8152bb-e198-44a9-bde8-5138eea16dd4"),
		// 				RepetitionIndexes: []*armlogic.RepetitionIndex{
		// 					{
		// 						ItemIndex: to.Ptr[int32](0),
		// 						ScopeName: to.Ptr("For_each"),
		// 				}},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("000001"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/repetitions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001"),
		// 			Properties: &armlogic.WorkflowRunActionRepetitionProperties{
		// 				Code: to.Ptr("OK"),
		// 				Correlation: &armlogic.RunActionCorrelation{
		// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
		// 					ActionTrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.101Z"); return t}()),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.092Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				InputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](6),
		// 					ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
		// 					URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M"),
		// 				},
		// 				OutputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](6),
		// 					ContentVersion: to.Ptr("OA3i83YHGYVch+N8BQJIRQ=="),
		// 					URI: to.Ptr("https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw"),
		// 				},
		// 				TrackingID: to.Ptr("f84f23eb-b331-4772-9f39-cc307fa83bc3"),
		// 				RepetitionIndexes: []*armlogic.RepetitionIndex{
		// 					{
		// 						ItemIndex: to.Ptr[int32](1),
		// 						ScopeName: to.Ptr("For_each"),
		// 				}},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunActionRepetitionsClientGetOptions added in v0.3.0

type WorkflowRunActionRepetitionsClientGetOptions struct {
}

WorkflowRunActionRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.Get method.

type WorkflowRunActionRepetitionsClientGetResponse added in v0.3.0

type WorkflowRunActionRepetitionsClientGetResponse struct {
	// The workflow run action repetition definition.
	WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionRepetitionsClientGetResponse contains the response from method WorkflowRunActionRepetitionsClient.Get.

type WorkflowRunActionRepetitionsClientListExpressionTracesOptions added in v0.3.0

type WorkflowRunActionRepetitionsClientListExpressionTracesOptions struct {
}

WorkflowRunActionRepetitionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager method.

type WorkflowRunActionRepetitionsClientListExpressionTracesResponse added in v0.3.0

type WorkflowRunActionRepetitionsClientListExpressionTracesResponse struct {
	// The expression traces.
	ExpressionTraces
}

WorkflowRunActionRepetitionsClientListExpressionTracesResponse contains the response from method WorkflowRunActionRepetitionsClient.NewListExpressionTracesPager.

type WorkflowRunActionRepetitionsClientListOptions added in v0.3.0

type WorkflowRunActionRepetitionsClientListOptions struct {
}

WorkflowRunActionRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.NewListPager method.

type WorkflowRunActionRepetitionsClientListResponse added in v0.3.0

type WorkflowRunActionRepetitionsClientListResponse struct {
	// A collection of workflow run action repetitions.
	WorkflowRunActionRepetitionDefinitionCollection
}

WorkflowRunActionRepetitionsClientListResponse contains the response from method WorkflowRunActionRepetitionsClient.NewListPager.

type WorkflowRunActionRepetitionsRequestHistoriesClient

type WorkflowRunActionRepetitionsRequestHistoriesClient struct {
	// contains filtered or unexported fields
}

WorkflowRunActionRepetitionsRequestHistoriesClient contains the methods for the WorkflowRunActionRepetitionsRequestHistories group. Don't use this type directly, use NewWorkflowRunActionRepetitionsRequestHistoriesClient() instead.

func NewWorkflowRunActionRepetitionsRequestHistoriesClient

func NewWorkflowRunActionRepetitionsRequestHistoriesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionRepetitionsRequestHistoriesClient, error)

NewWorkflowRunActionRepetitionsRequestHistoriesClient creates a new instance of WorkflowRunActionRepetitionsRequestHistoriesClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunActionRepetitionsRequestHistoriesClient) Get

Get - Gets a workflow run repetition request history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • requestHistoryName - The request history name.
  • options - WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunActionRepetitionsRequestHistoriesClient().Get(ctx, "test-resource-group", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", "000001", "08586611142732800686", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.RequestHistory = armlogic.RequestHistory{
	// 	Name: to.Ptr("08586611142732800686"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/requestHistories"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
	// 	Properties: &armlogic.RequestHistoryProperties{
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
	// 		Response: &armlogic.Response{
	// 			BodyLink: &armlogic.ContentLink{
	// 				ContentHash: &armlogic.ContentHash{
	// 					Algorithm: to.Ptr("md5"),
	// 					Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 				},
	// 				ContentSize: to.Ptr[int64](137),
	// 				ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 				URI: to.Ptr("https://tempuri.org"),
	// 			},
	// 			Headers: map[string]any{
	// 				"Cache-Control": "private",
	// 				"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
	// 				"Location": "http://www.bing.com/",
	// 				"Server": "Microsoft-IIS/10.0",
	// 				"X-AspNet-Version": "4.0.30319",
	// 				"X-Powered-By": "ASP.NET",
	// 			},
	// 			StatusCode: to.Ptr[int32](302),
	// 		},
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
	// 		Request: &armlogic.Request{
	// 			Method: to.Ptr("GET"),
	// 			Headers: map[string]any{
	// 				"Accept-Language": "en-US",
	// 				"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
	// 				"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
	// 				"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
	// 				"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-execution-location": "brazilsouth",
	// 				"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
	// 				"x-ms-workflow-name": "test-workflow",
	// 				"x-ms-workflow-operation-name": "HTTP_Webhook",
	// 				"x-ms-workflow-resourcegroup-name": "test-resource-group",
	// 				"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
	// 				"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
	// 				"x-ms-workflow-subscription-capacity": "Large",
	// 				"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
	// 				"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
	// 				"x-ms-workflow-version": "08586611142904036539",
	// 			},
	// 			URI: to.Ptr("http://tempuri.org"),
	// 		},
	// 	},
	// }
}
Output:

func (*WorkflowRunActionRepetitionsRequestHistoriesClient) NewListPager added in v0.5.0

NewListPager - List a workflow run repetition request history.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionRepetitionsRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionRepetitionsRequestHistoriesClient().NewListPager("test-resource-group", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", "000001", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.RequestHistoryListResult = armlogic.RequestHistoryListResult{
		// 	Value: []*armlogic.RequestHistory{
		// 		{
		// 			Name: to.Ptr("08586611142732800686"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/requestHistories"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
		// 			Properties: &armlogic.RequestHistoryProperties{
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
		// 				Response: &armlogic.Response{
		// 					BodyLink: &armlogic.ContentLink{
		// 						ContentHash: &armlogic.ContentHash{
		// 							Algorithm: to.Ptr("md5"),
		// 							Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
		// 						},
		// 						ContentSize: to.Ptr[int64](137),
		// 						ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
		// 						URI: to.Ptr("https://tempuri.org"),
		// 					},
		// 					Headers: map[string]any{
		// 						"Cache-Control": "private",
		// 						"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
		// 						"Location": "http://www.bing.com/",
		// 						"Server": "Microsoft-IIS/10.0",
		// 						"X-AspNet-Version": "4.0.30319",
		// 						"X-Powered-By": "ASP.NET",
		// 					},
		// 					StatusCode: to.Ptr[int32](302),
		// 				},
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
		// 				Request: &armlogic.Request{
		// 					Method: to.Ptr("GET"),
		// 					Headers: map[string]any{
		// 						"Accept-Language": "en-US",
		// 						"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
		// 						"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
		// 						"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
		// 						"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-execution-location": "brazilsouth",
		// 						"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
		// 						"x-ms-workflow-name": "test-workflow",
		// 						"x-ms-workflow-operation-name": "HTTP_Webhook",
		// 						"x-ms-workflow-resourcegroup-name": "test-resource-group",
		// 						"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
		// 						"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
		// 						"x-ms-workflow-subscription-capacity": "Large",
		// 						"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
		// 						"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
		// 						"x-ms-workflow-version": "08586611142904036539",
		// 					},
		// 					URI: to.Ptr("http://tempuri.org"),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions added in v0.3.0

type WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions struct {
}

WorkflowRunActionRepetitionsRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.Get method.

type WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse added in v0.3.0

type WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse struct {
	// The request history.
	RequestHistory
}

WorkflowRunActionRepetitionsRequestHistoriesClientGetResponse contains the response from method WorkflowRunActionRepetitionsRequestHistoriesClient.Get.

type WorkflowRunActionRepetitionsRequestHistoriesClientListOptions added in v0.3.0

type WorkflowRunActionRepetitionsRequestHistoriesClientListOptions struct {
}

WorkflowRunActionRepetitionsRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager method.

type WorkflowRunActionRepetitionsRequestHistoriesClientListResponse added in v0.3.0

type WorkflowRunActionRepetitionsRequestHistoriesClientListResponse struct {
	// The list of workflow request histories.
	RequestHistoryListResult
}

WorkflowRunActionRepetitionsRequestHistoriesClientListResponse contains the response from method WorkflowRunActionRepetitionsRequestHistoriesClient.NewListPager.

type WorkflowRunActionRequestHistoriesClient

type WorkflowRunActionRequestHistoriesClient struct {
	// contains filtered or unexported fields
}

WorkflowRunActionRequestHistoriesClient contains the methods for the WorkflowRunActionRequestHistories group. Don't use this type directly, use NewWorkflowRunActionRequestHistoriesClient() instead.

func NewWorkflowRunActionRequestHistoriesClient

func NewWorkflowRunActionRequestHistoriesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionRequestHistoriesClient, error)

NewWorkflowRunActionRequestHistoriesClient creates a new instance of WorkflowRunActionRequestHistoriesClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunActionRequestHistoriesClient) Get

Get - Gets a workflow run request history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • requestHistoryName - The request history name.
  • options - WorkflowRunActionRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRequestHistoriesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunActionRequestHistoriesClient().Get(ctx, "test-resource-group", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", "08586611142732800686", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.RequestHistory = armlogic.RequestHistory{
	// 	Name: to.Ptr("08586611142732800686"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/requestHistories"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
	// 	Properties: &armlogic.RequestHistoryProperties{
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
	// 		Response: &armlogic.Response{
	// 			BodyLink: &armlogic.ContentLink{
	// 				ContentHash: &armlogic.ContentHash{
	// 					Algorithm: to.Ptr("md5"),
	// 					Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 				},
	// 				ContentSize: to.Ptr[int64](137),
	// 				ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
	// 				URI: to.Ptr("https://tempuri.org"),
	// 			},
	// 			Headers: map[string]any{
	// 				"Cache-Control": "private",
	// 				"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
	// 				"Location": "http://www.bing.com/",
	// 				"Server": "Microsoft-IIS/10.0",
	// 				"X-AspNet-Version": "4.0.30319",
	// 				"X-Powered-By": "ASP.NET",
	// 			},
	// 			StatusCode: to.Ptr[int32](302),
	// 		},
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
	// 		Request: &armlogic.Request{
	// 			Method: to.Ptr("GET"),
	// 			Headers: map[string]any{
	// 				"Accept-Language": "en-US",
	// 				"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
	// 				"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
	// 				"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
	// 				"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-execution-location": "brazilsouth",
	// 				"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
	// 				"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
	// 				"x-ms-workflow-name": "test-workflow",
	// 				"x-ms-workflow-operation-name": "HTTP_Webhook",
	// 				"x-ms-workflow-resourcegroup-name": "test-resource-group",
	// 				"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
	// 				"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
	// 				"x-ms-workflow-subscription-capacity": "Large",
	// 				"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
	// 				"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
	// 				"x-ms-workflow-version": "08586611142904036539",
	// 			},
	// 			URI: to.Ptr("http://tempuri.org"),
	// 		},
	// 	},
	// }
}
Output:

func (*WorkflowRunActionRequestHistoriesClient) NewListPager added in v0.5.0

NewListPager - List a workflow run request history.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRequestHistoriesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionRequestHistoriesClient().NewListPager("test-resource-group", "test-workflow", "08586776228332053161046300351", "HTTP_Webhook", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.RequestHistoryListResult = armlogic.RequestHistoryListResult{
		// 	Value: []*armlogic.RequestHistory{
		// 		{
		// 			Name: to.Ptr("08586611142732800686"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/requestHistories"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686"),
		// 			Properties: &armlogic.RequestHistoryProperties{
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:52.186Z"); return t}()),
		// 				Response: &armlogic.Response{
		// 					BodyLink: &armlogic.ContentLink{
		// 						ContentHash: &armlogic.ContentHash{
		// 							Algorithm: to.Ptr("md5"),
		// 							Value: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
		// 						},
		// 						ContentSize: to.Ptr[int64](137),
		// 						ContentVersion: to.Ptr("2LOOAR8Eh2pd7AvRHXUhRg=="),
		// 						URI: to.Ptr("https://tempuri.org"),
		// 					},
		// 					Headers: map[string]any{
		// 						"Cache-Control": "private",
		// 						"Date": "Thu, 25 Oct 2018 18:36:51 GMT",
		// 						"Location": "http://www.bing.com/",
		// 						"Server": "Microsoft-IIS/10.0",
		// 						"X-AspNet-Version": "4.0.30319",
		// 						"X-Powered-By": "ASP.NET",
		// 					},
		// 					StatusCode: to.Ptr[int32](302),
		// 				},
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-25T18:36:51.920Z"); return t}()),
		// 				Request: &armlogic.Request{
		// 					Method: to.Ptr("GET"),
		// 					Headers: map[string]any{
		// 						"Accept-Language": "en-US",
		// 						"User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)",
		// 						"x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8",
		// 						"x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-client-tracking-id": "08586611142736787787412824395CU21",
		// 						"x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-execution-location": "brazilsouth",
		// 						"x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256",
		// 						"x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56",
		// 						"x-ms-workflow-name": "test-workflow",
		// 						"x-ms-workflow-operation-name": "HTTP_Webhook",
		// 						"x-ms-workflow-resourcegroup-name": "test-resource-group",
		// 						"x-ms-workflow-run-id": "08586611142736787787412824395CU21",
		// 						"x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8",
		// 						"x-ms-workflow-subscription-capacity": "Large",
		// 						"x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
		// 						"x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56",
		// 						"x-ms-workflow-version": "08586611142904036539",
		// 					},
		// 					URI: to.Ptr("http://tempuri.org"),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunActionRequestHistoriesClientGetOptions added in v0.3.0

type WorkflowRunActionRequestHistoriesClientGetOptions struct {
}

WorkflowRunActionRequestHistoriesClientGetOptions contains the optional parameters for the WorkflowRunActionRequestHistoriesClient.Get method.

type WorkflowRunActionRequestHistoriesClientGetResponse added in v0.3.0

type WorkflowRunActionRequestHistoriesClientGetResponse struct {
	// The request history.
	RequestHistory
}

WorkflowRunActionRequestHistoriesClientGetResponse contains the response from method WorkflowRunActionRequestHistoriesClient.Get.

type WorkflowRunActionRequestHistoriesClientListOptions added in v0.3.0

type WorkflowRunActionRequestHistoriesClientListOptions struct {
}

WorkflowRunActionRequestHistoriesClientListOptions contains the optional parameters for the WorkflowRunActionRequestHistoriesClient.NewListPager method.

type WorkflowRunActionRequestHistoriesClientListResponse added in v0.3.0

type WorkflowRunActionRequestHistoriesClientListResponse struct {
	// The list of workflow request histories.
	RequestHistoryListResult
}

WorkflowRunActionRequestHistoriesClientListResponse contains the response from method WorkflowRunActionRequestHistoriesClient.NewListPager.

type WorkflowRunActionScopeRepetitionsClient

type WorkflowRunActionScopeRepetitionsClient struct {
	// contains filtered or unexported fields
}

WorkflowRunActionScopeRepetitionsClient contains the methods for the WorkflowRunActionScopeRepetitions group. Don't use this type directly, use NewWorkflowRunActionScopeRepetitionsClient() instead.

func NewWorkflowRunActionScopeRepetitionsClient

func NewWorkflowRunActionScopeRepetitionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionScopeRepetitionsClient, error)

NewWorkflowRunActionScopeRepetitionsClient creates a new instance of WorkflowRunActionScopeRepetitionsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunActionScopeRepetitionsClient) Get

Get - Get a workflow run action scoped repetition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • repetitionName - The workflow repetition.
  • options - WorkflowRunActionScopeRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunActionScopeRepetitionsClient().Get(ctx, "testResourceGroup", "testFlow", "08586776228332053161046300351", "for_each", "000000", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowRunActionRepetitionDefinition = armlogic.WorkflowRunActionRepetitionDefinition{
	// 	Name: to.Ptr("000000"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/scopeRepetitions"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000"),
	// 	Properties: &armlogic.WorkflowRunActionRepetitionProperties{
	// 		Code: to.Ptr("NotSpecified"),
	// 		Correlation: &armlogic.RunActionCorrelation{
	// 			ClientTrackingID: to.Ptr("08586775357427610445444523191"),
	// 			ActionTrackingID: to.Ptr("5c0e7c24-4891-44e8-b631-8084c5531dd5"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.624Z"); return t}()),
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.209Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		RepetitionIndexes: []*armlogic.RepetitionIndex{
	// 			{
	// 				ItemIndex: to.Ptr[int32](0),
	// 				ScopeName: to.Ptr("For_each"),
	// 		}},
	// 	},
	// }
}
Output:

func (*WorkflowRunActionScopeRepetitionsClient) NewListPager added in v0.5.0

NewListPager - List the workflow run action scoped repetitions.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionScopeRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionScopeRepetitionsClient().NewListPager("testResourceGroup", "testFlow", "08586776228332053161046300351", "for_each", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowRunActionRepetitionDefinitionCollection = armlogic.WorkflowRunActionRepetitionDefinitionCollection{
		// 	Value: []*armlogic.WorkflowRunActionRepetitionDefinition{
		// 		{
		// 			Name: to.Ptr("000000"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/scopeRepetitions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000"),
		// 			Properties: &armlogic.WorkflowRunActionRepetitionProperties{
		// 				Code: to.Ptr("NotSpecified"),
		// 				Correlation: &armlogic.RunActionCorrelation{
		// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
		// 					ActionTrackingID: to.Ptr("5c0e7c24-4891-44e8-b631-8084c5531dd5"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.624Z"); return t}()),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.209Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				RepetitionIndexes: []*armlogic.RepetitionIndex{
		// 					{
		// 						ItemIndex: to.Ptr[int32](0),
		// 						ScopeName: to.Ptr("For_each"),
		// 				}},
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("000001"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions/scopeRepetitions"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001"),
		// 			Properties: &armlogic.WorkflowRunActionRepetitionProperties{
		// 				Code: to.Ptr("NotSpecified"),
		// 				Correlation: &armlogic.RunActionCorrelation{
		// 					ClientTrackingID: to.Ptr("08586775357427610445444523191"),
		// 					ActionTrackingID: to.Ptr("1682d0bd-7189-4478-b333-fe364a80bd69"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.227Z"); return t}()),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-18T17:05:57.068Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				RepetitionIndexes: []*armlogic.RepetitionIndex{
		// 					{
		// 						ItemIndex: to.Ptr[int32](1),
		// 						ScopeName: to.Ptr("For_each"),
		// 				}},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunActionScopeRepetitionsClientGetOptions added in v0.3.0

type WorkflowRunActionScopeRepetitionsClientGetOptions struct {
}

WorkflowRunActionScopeRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.Get method.

type WorkflowRunActionScopeRepetitionsClientGetResponse added in v0.3.0

type WorkflowRunActionScopeRepetitionsClientGetResponse struct {
	// The workflow run action repetition definition.
	WorkflowRunActionRepetitionDefinition
}

WorkflowRunActionScopeRepetitionsClientGetResponse contains the response from method WorkflowRunActionScopeRepetitionsClient.Get.

type WorkflowRunActionScopeRepetitionsClientListOptions added in v0.3.0

type WorkflowRunActionScopeRepetitionsClientListOptions struct {
}

WorkflowRunActionScopeRepetitionsClientListOptions contains the optional parameters for the WorkflowRunActionScopeRepetitionsClient.NewListPager method.

type WorkflowRunActionScopeRepetitionsClientListResponse added in v0.3.0

type WorkflowRunActionScopeRepetitionsClientListResponse struct {
	// A collection of workflow run action repetitions.
	WorkflowRunActionRepetitionDefinitionCollection
}

WorkflowRunActionScopeRepetitionsClientListResponse contains the response from method WorkflowRunActionScopeRepetitionsClient.NewListPager.

type WorkflowRunActionsClient

type WorkflowRunActionsClient struct {
	// contains filtered or unexported fields
}

WorkflowRunActionsClient contains the methods for the WorkflowRunActions group. Don't use this type directly, use NewWorkflowRunActionsClient() instead.

func NewWorkflowRunActionsClient

func NewWorkflowRunActionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunActionsClient, error)

NewWorkflowRunActionsClient creates a new instance of WorkflowRunActionsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunActionsClient) Get

func (client *WorkflowRunActionsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string, actionName string, options *WorkflowRunActionsClientGetOptions) (WorkflowRunActionsClientGetResponse, error)

Get - Gets a workflow run action. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionsClientGetOptions contains the optional parameters for the WorkflowRunActionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunActionsClient().Get(ctx, "test-resource-group", "test-workflow", "08586676746934337772206998657CU22", "HTTP", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowRunAction = armlogic.WorkflowRunAction{
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP"),
	// 	Name: to.Ptr("HTTP"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs/actions"),
	// 	Properties: &armlogic.WorkflowRunActionProperties{
	// 		Code: to.Ptr("OK"),
	// 		Correlation: &armlogic.RunActionCorrelation{
	// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 			ActionTrackingID: to.Ptr("56063357-45dd-4278-9be5-8220ce0cc9ca"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.545Z"); return t}()),
	// 		InputsLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("XXUACojv0aBfuP56os3CWw=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](46),
	// 			ContentVersion: to.Ptr("5XUACojv0aBfuP56os3CWw=="),
	// 			URI: to.Ptr("https://tempuri.org"),
	// 		},
	// 		OutputsLink: &armlogic.ContentLink{
	// 			ContentHash: &armlogic.ContentHash{
	// 				Algorithm: to.Ptr("md5"),
	// 				Value: to.Ptr("XX6KRrevI6AAxEvo9FeBYQ=="),
	// 			},
	// 			ContentSize: to.Ptr[int64](11873),
	// 			ContentVersion: to.Ptr("6X6KRrevI6AAxEvo9FeBYQ=="),
	// 			URI: to.Ptr("https://tempuri.org"),
	// 		},
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.305Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 	},
	// }
}
Output:

func (*WorkflowRunActionsClient) NewListExpressionTracesPager added in v0.5.0

func (client *WorkflowRunActionsClient) NewListExpressionTracesPager(resourceGroupName string, workflowName string, runName string, actionName string, options *WorkflowRunActionsClientListExpressionTracesOptions) *runtime.Pager[WorkflowRunActionsClientListExpressionTracesResponse]

NewListExpressionTracesPager - Lists a workflow run expression trace.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • actionName - The workflow action name.
  • options - WorkflowRunActionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionsClient.NewListExpressionTracesPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_ListExpressionTraces.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionsClient().NewListExpressionTracesPager("testResourceGroup", "testFlow", "08586776228332053161046300351", "testAction", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Inputs {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.ExpressionTraces = armlogic.ExpressionTraces{
		// 	Inputs: []*armlogic.ExpressionRoot{
		// 		{
		// 			Text: to.Ptr("add(4, 4)"),
		// 			Value: float64(8),
		// 			Path: to.Ptr(""),
		// 	}},
		// }
	}
}
Output:

func (*WorkflowRunActionsClient) NewListPager added in v0.5.0

func (client *WorkflowRunActionsClient) NewListPager(resourceGroupName string, workflowName string, runName string, options *WorkflowRunActionsClientListOptions) *runtime.Pager[WorkflowRunActionsClientListResponse]

NewListPager - Gets a list of workflow run actions.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunActionsClientListOptions contains the optional parameters for the WorkflowRunActionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunActionsClient().NewListPager("test-resource-group", "test-workflow", "08586676746934337772206998657CU22", &armlogic.WorkflowRunActionsClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowRunActionListResult = armlogic.WorkflowRunActionListResult{
		// 	Value: []*armlogic.WorkflowRunAction{
		// 		{
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP"),
		// 			Name: to.Ptr("HTTP"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs/actions"),
		// 			Properties: &armlogic.WorkflowRunActionProperties{
		// 				Code: to.Ptr("OK"),
		// 				Correlation: &armlogic.RunActionCorrelation{
		// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
		// 					ActionTrackingID: to.Ptr("56063357-45dd-4278-9be5-8220ce0cc9ca"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.545Z"); return t}()),
		// 				InputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("XXUACojv0aBfuP56os3CWw=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](46),
		// 					ContentVersion: to.Ptr("5XUACojv0aBfuP56os3CWw=="),
		// 					URI: to.Ptr("https://tempuri.org"),
		// 				},
		// 				OutputsLink: &armlogic.ContentLink{
		// 					ContentHash: &armlogic.ContentHash{
		// 						Algorithm: to.Ptr("md5"),
		// 						Value: to.Ptr("XX6KRrevI6AAxEvo9FeBYQ=="),
		// 					},
		// 					ContentSize: to.Ptr[int64](11873),
		// 					ContentVersion: to.Ptr("6X6KRrevI6AAxEvo9FeBYQ=="),
		// 					URI: to.Ptr("https://tempuri.org"),
		// 				},
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.305Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunActionsClientGetOptions added in v0.3.0

type WorkflowRunActionsClientGetOptions struct {
}

WorkflowRunActionsClientGetOptions contains the optional parameters for the WorkflowRunActionsClient.Get method.

type WorkflowRunActionsClientGetResponse added in v0.3.0

type WorkflowRunActionsClientGetResponse struct {
	// The workflow run action.
	WorkflowRunAction
}

WorkflowRunActionsClientGetResponse contains the response from method WorkflowRunActionsClient.Get.

type WorkflowRunActionsClientListExpressionTracesOptions added in v0.3.0

type WorkflowRunActionsClientListExpressionTracesOptions struct {
}

WorkflowRunActionsClientListExpressionTracesOptions contains the optional parameters for the WorkflowRunActionsClient.NewListExpressionTracesPager method.

type WorkflowRunActionsClientListExpressionTracesResponse added in v0.3.0

type WorkflowRunActionsClientListExpressionTracesResponse struct {
	// The expression traces.
	ExpressionTraces
}

WorkflowRunActionsClientListExpressionTracesResponse contains the response from method WorkflowRunActionsClient.NewListExpressionTracesPager.

type WorkflowRunActionsClientListOptions added in v0.3.0

type WorkflowRunActionsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowRunActionsClientListOptions contains the optional parameters for the WorkflowRunActionsClient.NewListPager method.

type WorkflowRunActionsClientListResponse added in v0.3.0

type WorkflowRunActionsClientListResponse struct {
	// The list of workflow run actions.
	WorkflowRunActionListResult
}

WorkflowRunActionsClientListResponse contains the response from method WorkflowRunActionsClient.NewListPager.

type WorkflowRunFilter

type WorkflowRunFilter struct {
	// The status of workflow run.
	Status *WorkflowStatus
}

WorkflowRunFilter - The workflow run filter.

func (WorkflowRunFilter) MarshalJSON added in v1.1.0

func (w WorkflowRunFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunFilter.

func (*WorkflowRunFilter) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunFilter.

type WorkflowRunListResult

type WorkflowRunListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow runs.
	Value []*WorkflowRun
}

WorkflowRunListResult - The list of workflow runs.

func (WorkflowRunListResult) MarshalJSON

func (w WorkflowRunListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunListResult.

func (*WorkflowRunListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowRunListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunListResult.

type WorkflowRunOperationsClient

type WorkflowRunOperationsClient struct {
	// contains filtered or unexported fields
}

WorkflowRunOperationsClient contains the methods for the WorkflowRunOperations group. Don't use this type directly, use NewWorkflowRunOperationsClient() instead.

func NewWorkflowRunOperationsClient

func NewWorkflowRunOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunOperationsClient, error)

NewWorkflowRunOperationsClient creates a new instance of WorkflowRunOperationsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunOperationsClient) Get

func (client *WorkflowRunOperationsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string, operationID string, options *WorkflowRunOperationsClientGetOptions) (WorkflowRunOperationsClientGetResponse, error)

Get - Gets an operation for a run. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • operationID - The workflow operation id.
  • options - WorkflowRunOperationsClientGetOptions contains the optional parameters for the WorkflowRunOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunOperations_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunOperationsClient().Get(ctx, "testResourceGroup", "testFlow", "08586774142730039209110422528", "ebdcbbde-c4db-43ec-987c-fd0f7726f43b", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowRun = armlogic.WorkflowRun{
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586774142730039209110422528"),
	// 	Name: to.Ptr("08586774142730039209110422528"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs"),
	// 	Properties: &armlogic.WorkflowRunProperties{
	// 		Correlation: &armlogic.Correlation{
	// 			ClientTrackingID: to.Ptr("08586774142730039209110422528"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:13.717Z"); return t}()),
	// 		Outputs: map[string]*armlogic.WorkflowOutputParameter{
	// 		},
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:12.474Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		Trigger: &armlogic.WorkflowRunTrigger{
	// 			Name: to.Ptr("Recurrence"),
	// 			Code: to.Ptr("OK"),
	// 			Correlation: &armlogic.Correlation{
	// 				ClientTrackingID: to.Ptr("08586774142730039209110422528"),
	// 			},
	// 			EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:12.460Z"); return t}()),
	// 			ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:12.141Z"); return t}()),
	// 			StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:12.460Z"); return t}()),
	// 			Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		},
	// 		WaitEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-20T02:50:12.474Z"); return t}()),
	// 		Workflow: &armlogic.ResourceReference{
	// 			Name: to.Ptr("08586993867806980512"),
	// 			Type: to.Ptr("Microsoft.Logic/workflows/versions"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/versions/08586993867806980512"),
	// 		},
	// 	},
	// }
}
Output:

type WorkflowRunOperationsClientGetOptions added in v0.3.0

type WorkflowRunOperationsClientGetOptions struct {
}

WorkflowRunOperationsClientGetOptions contains the optional parameters for the WorkflowRunOperationsClient.Get method.

type WorkflowRunOperationsClientGetResponse added in v0.3.0

type WorkflowRunOperationsClientGetResponse struct {
	// The workflow run.
	WorkflowRun
}

WorkflowRunOperationsClientGetResponse contains the response from method WorkflowRunOperationsClient.Get.

type WorkflowRunProperties

type WorkflowRunProperties struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the correlation id.
	CorrelationID *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the outputs.
	Outputs map[string]*WorkflowOutputParameter

	// READ-ONLY; Gets the response of the flow run.
	Response *WorkflowRunTrigger

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the fired trigger.
	Trigger *WorkflowRunTrigger

	// READ-ONLY; Gets the wait end time.
	WaitEndTime *time.Time

	// READ-ONLY; Gets the reference to workflow version.
	Workflow *ResourceReference
}

WorkflowRunProperties - The workflow run properties.

func (WorkflowRunProperties) MarshalJSON

func (w WorkflowRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunProperties.

func (*WorkflowRunProperties) UnmarshalJSON

func (w *WorkflowRunProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunProperties.

type WorkflowRunTrigger

type WorkflowRunTrigger struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; Gets the inputs.
	Inputs any

	// READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink

	// READ-ONLY; Gets the name.
	Name *string

	// READ-ONLY; Gets the outputs.
	Outputs any

	// READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the scheduled time.
	ScheduledTime *time.Time

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracked properties.
	TrackedProperties any

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowRunTrigger - The workflow run trigger.

func (WorkflowRunTrigger) MarshalJSON

func (w WorkflowRunTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowRunTrigger.

func (*WorkflowRunTrigger) UnmarshalJSON

func (w *WorkflowRunTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowRunTrigger.

type WorkflowRunsClient

type WorkflowRunsClient struct {
	// contains filtered or unexported fields
}

WorkflowRunsClient contains the methods for the WorkflowRuns group. Don't use this type directly, use NewWorkflowRunsClient() instead.

func NewWorkflowRunsClient

func NewWorkflowRunsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowRunsClient, error)

NewWorkflowRunsClient creates a new instance of WorkflowRunsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowRunsClient) Cancel

func (client *WorkflowRunsClient) Cancel(ctx context.Context, resourceGroupName string, workflowName string, runName string, options *WorkflowRunsClientCancelOptions) (WorkflowRunsClientCancelResponse, error)

Cancel - Cancels a workflow run. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunsClientCancelOptions contains the optional parameters for the WorkflowRunsClient.Cancel method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Cancel.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowRunsClient().Cancel(ctx, "test-resource-group", "test-workflow", "08586676746934337772206998657CU22", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowRunsClient) Get

func (client *WorkflowRunsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string, options *WorkflowRunsClientGetOptions) (WorkflowRunsClientGetResponse, error)

Get - Gets a workflow run. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • runName - The workflow run name.
  • options - WorkflowRunsClientGetOptions contains the optional parameters for the WorkflowRunsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowRunsClient().Get(ctx, "test-resource-group", "test-workflow", "08586676746934337772206998657CU22", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowRun = armlogic.WorkflowRun{
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22"),
	// 	Name: to.Ptr("08586676746934337772206998657CU22"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/runs"),
	// 	Properties: &armlogic.WorkflowRunProperties{
	// 		Correlation: &armlogic.Correlation{
	// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.577Z"); return t}()),
	// 		Outputs: map[string]*armlogic.WorkflowOutputParameter{
	// 		},
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		Trigger: &armlogic.WorkflowRunTrigger{
	// 			Name: to.Ptr("Recurrence"),
	// 			Code: to.Ptr("OK"),
	// 			Correlation: &armlogic.Correlation{
	// 				ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 			},
	// 			EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 			ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
	// 			StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 			Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 		},
	// 		WaitEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
	// 		Workflow: &armlogic.ResourceReference{
	// 			Name: to.Ptr("08586676754160363885"),
	// 			Type: to.Ptr("Microsoft.Logic/workflows/versions"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885"),
	// 		},
	// 	},
	// }
}
Output:

func (*WorkflowRunsClient) NewListPager added in v0.5.0

func (client *WorkflowRunsClient) NewListPager(resourceGroupName string, workflowName string, options *WorkflowRunsClientListOptions) *runtime.Pager[WorkflowRunsClientListResponse]

NewListPager - Gets a list of workflow runs.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowRunsClientListOptions contains the optional parameters for the WorkflowRunsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowRunsClient().NewListPager("test-resource-group", "test-workflow", &armlogic.WorkflowRunsClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowRunListResult = armlogic.WorkflowRunListResult{
		// 	Value: []*armlogic.WorkflowRun{
		// 		{
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22"),
		// 			Name: to.Ptr("08586676746934337772206998657CU22"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/runs"),
		// 			Properties: &armlogic.WorkflowRunProperties{
		// 				Correlation: &armlogic.Correlation{
		// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.577Z"); return t}()),
		// 				Outputs: map[string]*armlogic.WorkflowOutputParameter{
		// 				},
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				Trigger: &armlogic.WorkflowRunTrigger{
		// 					Name: to.Ptr("Recurrence"),
		// 					Code: to.Ptr("OK"),
		// 					Correlation: &armlogic.Correlation{
		// 						ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
		// 					},
		// 					EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
		// 					ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
		// 					StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
		// 					Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 				},
		// 				WaitEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.044Z"); return t}()),
		// 				Workflow: &armlogic.ResourceReference{
		// 					Name: to.Ptr("08586676754160363885"),
		// 					Type: to.Ptr("Microsoft.Logic/workflows/versions"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885"),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowRunsClientCancelOptions added in v0.3.0

type WorkflowRunsClientCancelOptions struct {
}

WorkflowRunsClientCancelOptions contains the optional parameters for the WorkflowRunsClient.Cancel method.

type WorkflowRunsClientCancelResponse added in v0.3.0

type WorkflowRunsClientCancelResponse struct {
}

WorkflowRunsClientCancelResponse contains the response from method WorkflowRunsClient.Cancel.

type WorkflowRunsClientGetOptions added in v0.3.0

type WorkflowRunsClientGetOptions struct {
}

WorkflowRunsClientGetOptions contains the optional parameters for the WorkflowRunsClient.Get method.

type WorkflowRunsClientGetResponse added in v0.3.0

type WorkflowRunsClientGetResponse struct {
	// The workflow run.
	WorkflowRun
}

WorkflowRunsClientGetResponse contains the response from method WorkflowRunsClient.Get.

type WorkflowRunsClientListOptions added in v0.3.0

type WorkflowRunsClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowRunsClientListOptions contains the optional parameters for the WorkflowRunsClient.NewListPager method.

type WorkflowRunsClientListResponse added in v0.3.0

type WorkflowRunsClientListResponse struct {
	// The list of workflow runs.
	WorkflowRunListResult
}

WorkflowRunsClientListResponse contains the response from method WorkflowRunsClient.NewListPager.

type WorkflowState

type WorkflowState string

WorkflowState - The workflow state.

const (
	WorkflowStateCompleted    WorkflowState = "Completed"
	WorkflowStateDeleted      WorkflowState = "Deleted"
	WorkflowStateDisabled     WorkflowState = "Disabled"
	WorkflowStateEnabled      WorkflowState = "Enabled"
	WorkflowStateNotSpecified WorkflowState = "NotSpecified"
	WorkflowStateSuspended    WorkflowState = "Suspended"
)

func PossibleWorkflowStateValues

func PossibleWorkflowStateValues() []WorkflowState

PossibleWorkflowStateValues returns the possible values for the WorkflowState const type.

type WorkflowStatus

type WorkflowStatus string

WorkflowStatus - The workflow status.

const (
	WorkflowStatusAborted      WorkflowStatus = "Aborted"
	WorkflowStatusCancelled    WorkflowStatus = "Cancelled"
	WorkflowStatusFailed       WorkflowStatus = "Failed"
	WorkflowStatusFaulted      WorkflowStatus = "Faulted"
	WorkflowStatusIgnored      WorkflowStatus = "Ignored"
	WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
	WorkflowStatusPaused       WorkflowStatus = "Paused"
	WorkflowStatusRunning      WorkflowStatus = "Running"
	WorkflowStatusSkipped      WorkflowStatus = "Skipped"
	WorkflowStatusSucceeded    WorkflowStatus = "Succeeded"
	WorkflowStatusSuspended    WorkflowStatus = "Suspended"
	WorkflowStatusTimedOut     WorkflowStatus = "TimedOut"
	WorkflowStatusWaiting      WorkflowStatus = "Waiting"
)

func PossibleWorkflowStatusValues

func PossibleWorkflowStatusValues() []WorkflowStatus

PossibleWorkflowStatusValues returns the possible values for the WorkflowStatus const type.

type WorkflowTrigger

type WorkflowTrigger struct {
	// The workflow trigger properties.
	Properties *WorkflowTriggerProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow trigger name.
	Name *string

	// READ-ONLY; Gets the workflow trigger type.
	Type *string
}

WorkflowTrigger - The workflow trigger.

func (WorkflowTrigger) MarshalJSON added in v1.1.0

func (w WorkflowTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTrigger.

func (*WorkflowTrigger) UnmarshalJSON added in v1.1.0

func (w *WorkflowTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTrigger.

type WorkflowTriggerCallbackURL

type WorkflowTriggerCallbackURL struct {
	// Gets the workflow trigger callback URL query parameters.
	Queries *WorkflowTriggerListCallbackURLQueries

	// Gets the workflow trigger callback URL relative path parameters.
	RelativePathParameters []*string

	// READ-ONLY; Gets the workflow trigger callback URL base path.
	BasePath *string

	// READ-ONLY; Gets the workflow trigger callback URL HTTP method.
	Method *string

	// READ-ONLY; Gets the workflow trigger callback URL relative path.
	RelativePath *string

	// READ-ONLY; Gets the workflow trigger callback URL.
	Value *string
}

WorkflowTriggerCallbackURL - The workflow trigger callback URL.

func (WorkflowTriggerCallbackURL) MarshalJSON

func (w WorkflowTriggerCallbackURL) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerCallbackURL.

func (*WorkflowTriggerCallbackURL) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerCallbackURL) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerCallbackURL.

type WorkflowTriggerFilter

type WorkflowTriggerFilter struct {
	// The state of workflow trigger.
	State *WorkflowState
}

WorkflowTriggerFilter - The workflow trigger filter.

func (WorkflowTriggerFilter) MarshalJSON added in v1.1.0

func (w WorkflowTriggerFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerFilter.

func (*WorkflowTriggerFilter) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerFilter.

type WorkflowTriggerHistoriesClient

type WorkflowTriggerHistoriesClient struct {
	// contains filtered or unexported fields
}

WorkflowTriggerHistoriesClient contains the methods for the WorkflowTriggerHistories group. Don't use this type directly, use NewWorkflowTriggerHistoriesClient() instead.

func NewWorkflowTriggerHistoriesClient

func NewWorkflowTriggerHistoriesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowTriggerHistoriesClient, error)

NewWorkflowTriggerHistoriesClient creates a new instance of WorkflowTriggerHistoriesClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowTriggerHistoriesClient) Get

func (client *WorkflowTriggerHistoriesClient) Get(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, historyName string, options *WorkflowTriggerHistoriesClientGetOptions) (WorkflowTriggerHistoriesClientGetResponse, error)

Get - Gets a workflow trigger history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • historyName - The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.
  • options - WorkflowTriggerHistoriesClientGetOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowTriggerHistoriesClient().Get(ctx, "testResourceGroup", "testWorkflowName", "testTriggerName", "08586676746934337772206998657CU22", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerHistory = armlogic.WorkflowTriggerHistory{
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22"),
	// 	Name: to.Ptr("08586676746934337772206998657CU22"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/triggers/histories"),
	// 	Properties: &armlogic.WorkflowTriggerHistoryProperties{
	// 		Code: to.Ptr("OK"),
	// 		Correlation: &armlogic.Correlation{
	// 			ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
	// 		},
	// 		EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.298Z"); return t}()),
	// 		Fired: to.Ptr(true),
	// 		Run: &armlogic.ResourceReference{
	// 			Name: to.Ptr("08586676746934337772206998657CU22"),
	// 			Type: to.Ptr("Microsoft.Logic/workflows/runs"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22"),
	// 		},
	// 		ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
	// 		StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
	// 		Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
	// 	},
	// }
}
Output:

func (*WorkflowTriggerHistoriesClient) NewListPager added in v0.5.0

NewListPager - Gets a list of workflow trigger histories.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggerHistoriesClientListOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowTriggerHistoriesClient().NewListPager("testResourceGroup", "testWorkflowName", "testTriggerName", &armlogic.WorkflowTriggerHistoriesClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowTriggerHistoryListResult = armlogic.WorkflowTriggerHistoryListResult{
		// 	Value: []*armlogic.WorkflowTriggerHistory{
		// 		{
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22"),
		// 			Name: to.Ptr("08586676746934337772206998657CU22"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/triggers/histories"),
		// 			Properties: &armlogic.WorkflowTriggerHistoryProperties{
		// 				Code: to.Ptr("OK"),
		// 				Correlation: &armlogic.Correlation{
		// 					ClientTrackingID: to.Ptr("08586676746934337772206998657CU22"),
		// 				},
		// 				EndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.298Z"); return t}()),
		// 				Fired: to.Ptr(true),
		// 				Run: &armlogic.ResourceReference{
		// 					Name: to.Ptr("08586676746934337772206998657CU22"),
		// 					Type: to.Ptr("Microsoft.Logic/workflows/runs"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22"),
		// 				},
		// 				ScheduledTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:31.634Z"); return t}()),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T20:16:32.038Z"); return t}()),
		// 				Status: to.Ptr(armlogic.WorkflowStatusSucceeded),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*WorkflowTriggerHistoriesClient) Resubmit

func (client *WorkflowTriggerHistoriesClient) Resubmit(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, historyName string, options *WorkflowTriggerHistoriesClientResubmitOptions) (WorkflowTriggerHistoriesClientResubmitResponse, error)

Resubmit - Resubmits a workflow run based on the trigger history. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • historyName - The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.
  • options - WorkflowTriggerHistoriesClientResubmitOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Resubmit method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Resubmit.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowTriggerHistoriesClient().Resubmit(ctx, "testResourceGroup", "testWorkflowName", "testTriggerName", "testHistoryName", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type WorkflowTriggerHistoriesClientGetOptions added in v0.3.0

type WorkflowTriggerHistoriesClientGetOptions struct {
}

WorkflowTriggerHistoriesClientGetOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Get method.

type WorkflowTriggerHistoriesClientGetResponse added in v0.3.0

type WorkflowTriggerHistoriesClientGetResponse struct {
	// The workflow trigger history.
	WorkflowTriggerHistory
}

WorkflowTriggerHistoriesClientGetResponse contains the response from method WorkflowTriggerHistoriesClient.Get.

type WorkflowTriggerHistoriesClientListOptions added in v0.3.0

type WorkflowTriggerHistoriesClientListOptions struct {
	// The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowTriggerHistoriesClientListOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.NewListPager method.

type WorkflowTriggerHistoriesClientListResponse added in v0.3.0

type WorkflowTriggerHistoriesClientListResponse struct {
	// The list of workflow trigger histories.
	WorkflowTriggerHistoryListResult
}

WorkflowTriggerHistoriesClientListResponse contains the response from method WorkflowTriggerHistoriesClient.NewListPager.

type WorkflowTriggerHistoriesClientResubmitOptions added in v0.3.0

type WorkflowTriggerHistoriesClientResubmitOptions struct {
}

WorkflowTriggerHistoriesClientResubmitOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Resubmit method.

type WorkflowTriggerHistoriesClientResubmitResponse added in v0.3.0

type WorkflowTriggerHistoriesClientResubmitResponse struct {
}

WorkflowTriggerHistoriesClientResubmitResponse contains the response from method WorkflowTriggerHistoriesClient.Resubmit.

type WorkflowTriggerHistory

type WorkflowTriggerHistory struct {
	// Gets the workflow trigger history properties.
	Properties *WorkflowTriggerHistoryProperties

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the workflow trigger history name.
	Name *string

	// READ-ONLY; Gets the workflow trigger history type.
	Type *string
}

WorkflowTriggerHistory - The workflow trigger history.

func (WorkflowTriggerHistory) MarshalJSON added in v1.1.0

func (w WorkflowTriggerHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistory.

func (*WorkflowTriggerHistory) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistory.

type WorkflowTriggerHistoryFilter

type WorkflowTriggerHistoryFilter struct {
	// The status of workflow trigger history.
	Status *WorkflowStatus
}

WorkflowTriggerHistoryFilter - The workflow trigger history filter.

func (WorkflowTriggerHistoryFilter) MarshalJSON added in v1.1.0

func (w WorkflowTriggerHistoryFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryFilter.

func (*WorkflowTriggerHistoryFilter) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerHistoryFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryFilter.

type WorkflowTriggerHistoryListResult

type WorkflowTriggerHistoryListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow trigger histories.
	Value []*WorkflowTriggerHistory
}

WorkflowTriggerHistoryListResult - The list of workflow trigger histories.

func (WorkflowTriggerHistoryListResult) MarshalJSON

func (w WorkflowTriggerHistoryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryListResult.

func (*WorkflowTriggerHistoryListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerHistoryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryListResult.

type WorkflowTriggerHistoryProperties

type WorkflowTriggerHistoryProperties struct {
	// The run correlation.
	Correlation *Correlation

	// READ-ONLY; Gets the code.
	Code *string

	// READ-ONLY; Gets the end time.
	EndTime *time.Time

	// READ-ONLY; Gets the error.
	Error any

	// READ-ONLY; The value indicating whether trigger was fired.
	Fired *bool

	// READ-ONLY; Gets the link to input parameters.
	InputsLink *ContentLink

	// READ-ONLY; Gets the link to output parameters.
	OutputsLink *ContentLink

	// READ-ONLY; Gets the reference to workflow run.
	Run *ResourceReference

	// READ-ONLY; The scheduled time.
	ScheduledTime *time.Time

	// READ-ONLY; Gets the start time.
	StartTime *time.Time

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the tracking id.
	TrackingID *string
}

WorkflowTriggerHistoryProperties - The workflow trigger history properties.

func (WorkflowTriggerHistoryProperties) MarshalJSON

func (w WorkflowTriggerHistoryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerHistoryProperties.

func (*WorkflowTriggerHistoryProperties) UnmarshalJSON

func (w *WorkflowTriggerHistoryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerHistoryProperties.

type WorkflowTriggerListCallbackURLQueries

type WorkflowTriggerListCallbackURLQueries struct {
	// The api version.
	APIVersion *string

	// The SAS timestamp.
	Se *string

	// The SAS signature.
	Sig *string

	// The SAS permissions.
	Sp *string

	// The SAS version.
	Sv *string
}

WorkflowTriggerListCallbackURLQueries - Gets the workflow trigger callback URL query parameters.

func (WorkflowTriggerListCallbackURLQueries) MarshalJSON added in v1.1.0

func (w WorkflowTriggerListCallbackURLQueries) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerListCallbackURLQueries.

func (*WorkflowTriggerListCallbackURLQueries) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerListCallbackURLQueries) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerListCallbackURLQueries.

type WorkflowTriggerListResult

type WorkflowTriggerListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow triggers.
	Value []*WorkflowTrigger
}

WorkflowTriggerListResult - The list of workflow triggers.

func (WorkflowTriggerListResult) MarshalJSON

func (w WorkflowTriggerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerListResult.

func (*WorkflowTriggerListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerListResult.

type WorkflowTriggerProperties

type WorkflowTriggerProperties struct {
	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; Gets the last execution time.
	LastExecutionTime *time.Time

	// READ-ONLY; Gets the next execution time.
	NextExecutionTime *time.Time

	// READ-ONLY; Gets the provisioning state.
	ProvisioningState *WorkflowTriggerProvisioningState

	// READ-ONLY; Gets the workflow trigger recurrence.
	Recurrence *WorkflowTriggerRecurrence

	// READ-ONLY; Gets the state.
	State *WorkflowState

	// READ-ONLY; Gets the status.
	Status *WorkflowStatus

	// READ-ONLY; Gets the reference to workflow.
	Workflow *ResourceReference
}

WorkflowTriggerProperties - The workflow trigger properties.

func (WorkflowTriggerProperties) MarshalJSON

func (w WorkflowTriggerProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerProperties.

func (*WorkflowTriggerProperties) UnmarshalJSON

func (w *WorkflowTriggerProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerProperties.

type WorkflowTriggerProvisioningState

type WorkflowTriggerProvisioningState string

WorkflowTriggerProvisioningState - The workflow trigger provisioning state.

const (
	WorkflowTriggerProvisioningStateAccepted      WorkflowTriggerProvisioningState = "Accepted"
	WorkflowTriggerProvisioningStateCanceled      WorkflowTriggerProvisioningState = "Canceled"
	WorkflowTriggerProvisioningStateCompleted     WorkflowTriggerProvisioningState = "Completed"
	WorkflowTriggerProvisioningStateCreated       WorkflowTriggerProvisioningState = "Created"
	WorkflowTriggerProvisioningStateCreating      WorkflowTriggerProvisioningState = "Creating"
	WorkflowTriggerProvisioningStateDeleted       WorkflowTriggerProvisioningState = "Deleted"
	WorkflowTriggerProvisioningStateDeleting      WorkflowTriggerProvisioningState = "Deleting"
	WorkflowTriggerProvisioningStateFailed        WorkflowTriggerProvisioningState = "Failed"
	WorkflowTriggerProvisioningStateMoving        WorkflowTriggerProvisioningState = "Moving"
	WorkflowTriggerProvisioningStateNotSpecified  WorkflowTriggerProvisioningState = "NotSpecified"
	WorkflowTriggerProvisioningStateReady         WorkflowTriggerProvisioningState = "Ready"
	WorkflowTriggerProvisioningStateRegistered    WorkflowTriggerProvisioningState = "Registered"
	WorkflowTriggerProvisioningStateRegistering   WorkflowTriggerProvisioningState = "Registering"
	WorkflowTriggerProvisioningStateRunning       WorkflowTriggerProvisioningState = "Running"
	WorkflowTriggerProvisioningStateSucceeded     WorkflowTriggerProvisioningState = "Succeeded"
	WorkflowTriggerProvisioningStateUnregistered  WorkflowTriggerProvisioningState = "Unregistered"
	WorkflowTriggerProvisioningStateUnregistering WorkflowTriggerProvisioningState = "Unregistering"
	WorkflowTriggerProvisioningStateUpdating      WorkflowTriggerProvisioningState = "Updating"
)

func PossibleWorkflowTriggerProvisioningStateValues

func PossibleWorkflowTriggerProvisioningStateValues() []WorkflowTriggerProvisioningState

PossibleWorkflowTriggerProvisioningStateValues returns the possible values for the WorkflowTriggerProvisioningState const type.

type WorkflowTriggerRecurrence

type WorkflowTriggerRecurrence struct {
	// The end time.
	EndTime *string

	// The frequency.
	Frequency *RecurrenceFrequency

	// The interval.
	Interval *int32

	// The recurrence schedule.
	Schedule *RecurrenceSchedule

	// The start time.
	StartTime *string

	// The time zone.
	TimeZone *string
}

WorkflowTriggerRecurrence - The workflow trigger recurrence.

func (WorkflowTriggerRecurrence) MarshalJSON added in v1.1.0

func (w WorkflowTriggerRecurrence) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerRecurrence.

func (*WorkflowTriggerRecurrence) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerRecurrence) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerRecurrence.

type WorkflowTriggerReference

type WorkflowTriggerReference struct {
	// The workflow name.
	FlowName *string

	// The resource id.
	ID *string

	// The workflow trigger name.
	TriggerName *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowTriggerReference - The workflow trigger reference.

func (WorkflowTriggerReference) MarshalJSON added in v1.1.0

func (w WorkflowTriggerReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowTriggerReference.

func (*WorkflowTriggerReference) UnmarshalJSON added in v1.1.0

func (w *WorkflowTriggerReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowTriggerReference.

type WorkflowTriggersClient

type WorkflowTriggersClient struct {
	// contains filtered or unexported fields
}

WorkflowTriggersClient contains the methods for the WorkflowTriggers group. Don't use this type directly, use NewWorkflowTriggersClient() instead.

func NewWorkflowTriggersClient

func NewWorkflowTriggersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowTriggersClient, error)

NewWorkflowTriggersClient creates a new instance of WorkflowTriggersClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowTriggersClient) Get

func (client *WorkflowTriggersClient) Get(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, options *WorkflowTriggersClientGetOptions) (WorkflowTriggersClientGetResponse, error)

Get - Gets a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientGetOptions contains the optional parameters for the WorkflowTriggersClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowTriggersClient().Get(ctx, "test-resource-group", "test-workflow", "manual", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTrigger = armlogic.WorkflowTrigger{
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual"),
	// 	Name: to.Ptr("manual"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows/triggers"),
	// 	Properties: &armlogic.WorkflowTriggerProperties{
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T18:47:49.528Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T17:32:30.249Z"); return t}()),
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowTriggerProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 		Workflow: &armlogic.ResourceReference{
	// 			Name: to.Ptr("08586676800160476478"),
	// 			Type: to.Ptr("Microsoft.Logic/workflows/versions"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478"),
	// 		},
	// 	},
	// }
}
Output:

func (*WorkflowTriggersClient) GetSchemaJSON

func (client *WorkflowTriggersClient) GetSchemaJSON(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, options *WorkflowTriggersClientGetSchemaJSONOptions) (WorkflowTriggersClientGetSchemaJSONResponse, error)

GetSchemaJSON - Get the trigger schema as JSON. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientGetSchemaJSONOptions contains the optional parameters for the WorkflowTriggersClient.GetSchemaJSON method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_GetSchemaJson.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowTriggersClient().GetSchemaJSON(ctx, "testResourceGroup", "testWorkflow", "testTrigger", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.JSONSchema = armlogic.JSONSchema{
	// 	Content: to.Ptr("JsonContent"),
	// 	Title: to.Ptr("JsonTitle"),
	// }
}
Output:

func (*WorkflowTriggersClient) ListCallbackURL

func (client *WorkflowTriggersClient) ListCallbackURL(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, options *WorkflowTriggersClientListCallbackURLOptions) (WorkflowTriggersClientListCallbackURLResponse, error)

ListCallbackURL - Get the callback URL for a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowTriggersClient.ListCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_ListCallbackUrl.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowTriggersClient().ListCallbackURL(ctx, "test-resource-group", "test-workflow", "manual", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("POST"),
	// 	BasePath: to.Ptr("http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2018-07-01-preview"),
	// 		Sig: to.Ptr("IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
	// 		Sp: to.Ptr("/versions/08587100027316071865/triggers/manualTrigger/run"),
	// 		Sv: to.Ptr("1.0"),
	// 	},
	// 	Value: to.Ptr("http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
	// }
}
Output:

func (*WorkflowTriggersClient) NewListPager added in v0.5.0

func (client *WorkflowTriggersClient) NewListPager(resourceGroupName string, workflowName string, options *WorkflowTriggersClientListOptions) *runtime.Pager[WorkflowTriggersClientListResponse]

NewListPager - Gets a list of workflow triggers.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowTriggersClientListOptions contains the optional parameters for the WorkflowTriggersClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowTriggersClient().NewListPager("test-resource-group", "test-workflow", &armlogic.WorkflowTriggersClientListOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowTriggerListResult = armlogic.WorkflowTriggerListResult{
		// 	Value: []*armlogic.WorkflowTrigger{
		// 		{
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual"),
		// 			Name: to.Ptr("manual"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows/triggers"),
		// 			Properties: &armlogic.WorkflowTriggerProperties{
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T18:47:49.528Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-10T17:32:30.249Z"); return t}()),
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowTriggerProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 				Workflow: &armlogic.ResourceReference{
		// 					Name: to.Ptr("08586676800160476478"),
		// 					Type: to.Ptr("Microsoft.Logic/workflows/versions"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478"),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*WorkflowTriggersClient) Reset

func (client *WorkflowTriggersClient) Reset(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, options *WorkflowTriggersClientResetOptions) (WorkflowTriggersClientResetResponse, error)

Reset - Resets a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientResetOptions contains the optional parameters for the WorkflowTriggersClient.Reset method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Reset.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowTriggersClient().Reset(ctx, "testResourceGroup", "testWorkflow", "testTrigger", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowTriggersClient) Run

func (client *WorkflowTriggersClient) Run(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, options *WorkflowTriggersClientRunOptions) (WorkflowTriggersClientRunResponse, error)

Run - Runs a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • options - WorkflowTriggersClientRunOptions contains the optional parameters for the WorkflowTriggersClient.Run method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Run.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowTriggersClient().Run(ctx, "test-resource-group", "test-workflow", "manual", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowTriggersClient) SetState

SetState - Sets the state of a workflow trigger. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • triggerName - The workflow trigger name.
  • setState - The workflow trigger state.
  • options - WorkflowTriggersClientSetStateOptions contains the optional parameters for the WorkflowTriggersClient.SetState method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_SetState.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowTriggersClient().SetState(ctx, "testResourceGroup", "testWorkflow", "testTrigger", armlogic.SetTriggerStateActionDefinition{
		Source: &armlogic.WorkflowTriggerReference{
			ID: to.Ptr("subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type WorkflowTriggersClientGetOptions added in v0.3.0

type WorkflowTriggersClientGetOptions struct {
}

WorkflowTriggersClientGetOptions contains the optional parameters for the WorkflowTriggersClient.Get method.

type WorkflowTriggersClientGetResponse added in v0.3.0

type WorkflowTriggersClientGetResponse struct {
	// The workflow trigger.
	WorkflowTrigger
}

WorkflowTriggersClientGetResponse contains the response from method WorkflowTriggersClient.Get.

type WorkflowTriggersClientGetSchemaJSONOptions added in v0.3.0

type WorkflowTriggersClientGetSchemaJSONOptions struct {
}

WorkflowTriggersClientGetSchemaJSONOptions contains the optional parameters for the WorkflowTriggersClient.GetSchemaJSON method.

type WorkflowTriggersClientGetSchemaJSONResponse added in v0.3.0

type WorkflowTriggersClientGetSchemaJSONResponse struct {
	// The JSON schema.
	JSONSchema
}

WorkflowTriggersClientGetSchemaJSONResponse contains the response from method WorkflowTriggersClient.GetSchemaJSON.

type WorkflowTriggersClientListCallbackURLOptions added in v0.3.0

type WorkflowTriggersClientListCallbackURLOptions struct {
}

WorkflowTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowTriggersClient.ListCallbackURL method.

type WorkflowTriggersClientListCallbackURLResponse added in v0.3.0

type WorkflowTriggersClientListCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

WorkflowTriggersClientListCallbackURLResponse contains the response from method WorkflowTriggersClient.ListCallbackURL.

type WorkflowTriggersClientListOptions added in v0.3.0

type WorkflowTriggersClientListOptions struct {
	// The filter to apply on the operation.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowTriggersClientListOptions contains the optional parameters for the WorkflowTriggersClient.NewListPager method.

type WorkflowTriggersClientListResponse added in v0.3.0

type WorkflowTriggersClientListResponse struct {
	// The list of workflow triggers.
	WorkflowTriggerListResult
}

WorkflowTriggersClientListResponse contains the response from method WorkflowTriggersClient.NewListPager.

type WorkflowTriggersClientResetOptions added in v0.3.0

type WorkflowTriggersClientResetOptions struct {
}

WorkflowTriggersClientResetOptions contains the optional parameters for the WorkflowTriggersClient.Reset method.

type WorkflowTriggersClientResetResponse added in v0.3.0

type WorkflowTriggersClientResetResponse struct {
}

WorkflowTriggersClientResetResponse contains the response from method WorkflowTriggersClient.Reset.

type WorkflowTriggersClientRunOptions added in v0.3.0

type WorkflowTriggersClientRunOptions struct {
}

WorkflowTriggersClientRunOptions contains the optional parameters for the WorkflowTriggersClient.Run method.

type WorkflowTriggersClientRunResponse added in v0.3.0

type WorkflowTriggersClientRunResponse struct {
}

WorkflowTriggersClientRunResponse contains the response from method WorkflowTriggersClient.Run.

type WorkflowTriggersClientSetStateOptions added in v0.3.0

type WorkflowTriggersClientSetStateOptions struct {
}

WorkflowTriggersClientSetStateOptions contains the optional parameters for the WorkflowTriggersClient.SetState method.

type WorkflowTriggersClientSetStateResponse added in v0.3.0

type WorkflowTriggersClientSetStateResponse struct {
}

WorkflowTriggersClientSetStateResponse contains the response from method WorkflowTriggersClient.SetState.

type WorkflowVersion

type WorkflowVersion struct {
	// The resource location.
	Location *string

	// The workflow version properties.
	Properties *WorkflowVersionProperties

	// The resource tags.
	Tags map[string]*string

	// READ-ONLY; The resource id.
	ID *string

	// READ-ONLY; Gets the resource name.
	Name *string

	// READ-ONLY; Gets the resource type.
	Type *string
}

WorkflowVersion - The workflow version.

func (WorkflowVersion) MarshalJSON

func (w WorkflowVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersion.

func (*WorkflowVersion) UnmarshalJSON added in v1.1.0

func (w *WorkflowVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersion.

type WorkflowVersionListResult

type WorkflowVersionListResult struct {
	// The URL to get the next set of results.
	NextLink *string

	// A list of workflow versions.
	Value []*WorkflowVersion
}

WorkflowVersionListResult - The list of workflow versions.

func (WorkflowVersionListResult) MarshalJSON

func (w WorkflowVersionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersionListResult.

func (*WorkflowVersionListResult) UnmarshalJSON added in v1.1.0

func (w *WorkflowVersionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersionListResult.

type WorkflowVersionProperties

type WorkflowVersionProperties struct {
	// The access control configuration.
	AccessControl *FlowAccessControlConfiguration

	// The definition.
	Definition any

	// The endpoints configuration.
	EndpointsConfiguration *FlowEndpointsConfiguration

	// The integration account.
	IntegrationAccount *ResourceReference

	// The parameters.
	Parameters map[string]*WorkflowParameter

	// The state.
	State *WorkflowState

	// READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string

	// READ-ONLY; Gets the changed time.
	ChangedTime *time.Time

	// READ-ONLY; Gets the created time.
	CreatedTime *time.Time

	// READ-ONLY; The provisioning state.
	ProvisioningState *WorkflowProvisioningState

	// READ-ONLY; The sku.
	SKU *SKU

	// READ-ONLY; Gets the version.
	Version *string
}

WorkflowVersionProperties - The workflow version properties.

func (WorkflowVersionProperties) MarshalJSON

func (w WorkflowVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkflowVersionProperties.

func (*WorkflowVersionProperties) UnmarshalJSON

func (w *WorkflowVersionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkflowVersionProperties.

type WorkflowVersionTriggersClient

type WorkflowVersionTriggersClient struct {
	// contains filtered or unexported fields
}

WorkflowVersionTriggersClient contains the methods for the WorkflowVersionTriggers group. Don't use this type directly, use NewWorkflowVersionTriggersClient() instead.

func NewWorkflowVersionTriggersClient

func NewWorkflowVersionTriggersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowVersionTriggersClient, error)

NewWorkflowVersionTriggersClient creates a new instance of WorkflowVersionTriggersClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowVersionTriggersClient) ListCallbackURL

func (client *WorkflowVersionTriggersClient) ListCallbackURL(ctx context.Context, resourceGroupName string, workflowName string, versionID string, triggerName string, options *WorkflowVersionTriggersClientListCallbackURLOptions) (WorkflowVersionTriggersClientListCallbackURLResponse, error)

ListCallbackURL - Get the callback url for a trigger of a workflow version. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • versionID - The workflow versionId.
  • triggerName - The workflow trigger name.
  • options - WorkflowVersionTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowVersionTriggersClient.ListCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersionTriggers_ListCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowVersionTriggersClient().ListCallbackURL(ctx, "testResourceGroup", "testWorkflowName", "testWorkflowVersionId", "testTriggerName", &armlogic.WorkflowVersionTriggersClientListCallbackURLOptions{Parameters: &armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-05T08:00:00.000Z"); return t }()),
	},
	})
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("POST"),
	// 	BasePath: to.Ptr("http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2015-08-01-preview"),
	// 		Sig: to.Ptr("IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
	// 		Sp: to.Ptr("/versions/08587100027316071865/triggers/manualTrigger/run"),
	// 		Sv: to.Ptr("1.0"),
	// 	},
	// 	Value: to.Ptr("http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk"),
	// }
}
Output:

type WorkflowVersionTriggersClientListCallbackURLOptions added in v0.3.0

type WorkflowVersionTriggersClientListCallbackURLOptions struct {
	// The callback URL parameters.
	Parameters *GetCallbackURLParameters
}

WorkflowVersionTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowVersionTriggersClient.ListCallbackURL method.

type WorkflowVersionTriggersClientListCallbackURLResponse added in v0.3.0

type WorkflowVersionTriggersClientListCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

WorkflowVersionTriggersClientListCallbackURLResponse contains the response from method WorkflowVersionTriggersClient.ListCallbackURL.

type WorkflowVersionsClient

type WorkflowVersionsClient struct {
	// contains filtered or unexported fields
}

WorkflowVersionsClient contains the methods for the WorkflowVersions group. Don't use this type directly, use NewWorkflowVersionsClient() instead.

func NewWorkflowVersionsClient

func NewWorkflowVersionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowVersionsClient, error)

NewWorkflowVersionsClient creates a new instance of WorkflowVersionsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowVersionsClient) Get

func (client *WorkflowVersionsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, versionID string, options *WorkflowVersionsClientGetOptions) (WorkflowVersionsClientGetResponse, error)

Get - Gets a workflow version. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • versionID - The workflow versionId.
  • options - WorkflowVersionsClientGetOptions contains the optional parameters for the WorkflowVersionsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowVersionsClient().Get(ctx, "test-resource-group", "test-workflow", "08586676824806722526", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowVersion = armlogic.WorkflowVersion{
	// 	Name: to.Ptr("test-workflow"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow"),
	// 	Location: to.Ptr("brazilsouth"),
	// 	Tags: map[string]*string{
	// 	},
	// 	Properties: &armlogic.WorkflowVersionProperties{
	// 		AccessEndpoint: to.Ptr("http://tempuri.org"),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
	// 		Definition: map[string]any{
	// 			"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
	// 			"actions":map[string]any{
	// 			},
	// 			"contentVersion": "1.0.0.0",
	// 			"outputs":map[string]any{
	// 			},
	// 			"parameters":map[string]any{
	// 			},
	// 			"triggers":map[string]any{
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.84.145.61"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("104.210.153.89"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.85.79.155"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.39.247"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("13.84.159.168"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.86.56"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.82.190"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationAccount: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-account"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
	// 		},
	// 		Parameters: map[string]*armlogic.WorkflowParameter{
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 		Version: to.Ptr("08586677515911718341"),
	// 	},
	// }
}
Output:

func (*WorkflowVersionsClient) NewListPager added in v0.5.0

func (client *WorkflowVersionsClient) NewListPager(resourceGroupName string, workflowName string, options *WorkflowVersionsClientListOptions) *runtime.Pager[WorkflowVersionsClientListResponse]

NewListPager - Gets a list of workflow versions.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowVersionsClientListOptions contains the optional parameters for the WorkflowVersionsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_List.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowVersionsClient().NewListPager("test-resource-group", "test-workflow", &armlogic.WorkflowVersionsClientListOptions{Top: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowVersionListResult = armlogic.WorkflowVersionListResult{
		// 	Value: []*armlogic.WorkflowVersion{
		// 		{
		// 			Name: to.Ptr("test-workflow"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Tags: map[string]*string{
		// 			},
		// 			Properties: &armlogic.WorkflowVersionProperties{
		// 				AccessEndpoint: to.Ptr("http://tempuri.org"),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
		// 				Definition: map[string]any{
		// 					"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
		// 					"actions":map[string]any{
		// 					},
		// 					"contentVersion": "1.0.0.0",
		// 					"outputs":map[string]any{
		// 					},
		// 					"parameters":map[string]any{
		// 					},
		// 					"triggers":map[string]any{
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.84.145.61"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("104.210.153.89"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.85.79.155"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.39.247"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.84.159.168"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.86.56"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.82.190"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationAccount: &armlogic.ResourceReference{
		// 					Name: to.Ptr("test-integration-account"),
		// 					Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
		// 				},
		// 				Parameters: map[string]*armlogic.WorkflowParameter{
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 				Version: to.Ptr("08586677515911718341"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type WorkflowVersionsClientGetOptions added in v0.3.0

type WorkflowVersionsClientGetOptions struct {
}

WorkflowVersionsClientGetOptions contains the optional parameters for the WorkflowVersionsClient.Get method.

type WorkflowVersionsClientGetResponse added in v0.3.0

type WorkflowVersionsClientGetResponse struct {
	// The workflow version.
	WorkflowVersion
}

WorkflowVersionsClientGetResponse contains the response from method WorkflowVersionsClient.Get.

type WorkflowVersionsClientListOptions added in v0.3.0

type WorkflowVersionsClientListOptions struct {
	// The number of items to be included in the result.
	Top *int32
}

WorkflowVersionsClientListOptions contains the optional parameters for the WorkflowVersionsClient.NewListPager method.

type WorkflowVersionsClientListResponse added in v0.3.0

type WorkflowVersionsClientListResponse struct {
	// The list of workflow versions.
	WorkflowVersionListResult
}

WorkflowVersionsClientListResponse contains the response from method WorkflowVersionsClient.NewListPager.

type WorkflowsClient

type WorkflowsClient struct {
	// contains filtered or unexported fields
}

WorkflowsClient contains the methods for the Workflows group. Don't use this type directly, use NewWorkflowsClient() instead.

func NewWorkflowsClient

func NewWorkflowsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WorkflowsClient, error)

NewWorkflowsClient creates a new instance of WorkflowsClient with the specified values.

  • subscriptionID - The subscription id.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WorkflowsClient) BeginMove

func (client *WorkflowsClient) BeginMove(ctx context.Context, resourceGroupName string, workflowName string, move WorkflowReference, options *WorkflowsClientBeginMoveOptions) (*runtime.Poller[WorkflowsClientMoveResponse], error)

BeginMove - Moves an existing workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • move - The workflow to move.
  • options - WorkflowsClientBeginMoveOptions contains the optional parameters for the WorkflowsClient.BeginMove method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Move.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewWorkflowsClient().BeginMove(ctx, "testResourceGroup", "testWorkflow", armlogic.WorkflowReference{
		ID: to.Ptr("subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName"),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*WorkflowsClient) CreateOrUpdate

func (client *WorkflowsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow, options *WorkflowsClientCreateOrUpdateOptions) (WorkflowsClientCreateOrUpdateResponse, error)

CreateOrUpdate - Creates or updates a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • workflow - The workflow.
  • options - WorkflowsClientCreateOrUpdateOptions contains the optional parameters for the WorkflowsClient.CreateOrUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_CreateOrUpdate.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().CreateOrUpdate(ctx, "test-resource-group", "test-workflow", armlogic.Workflow{
		Location: to.Ptr("brazilsouth"),
		Tags:     map[string]*string{},
		Properties: &armlogic.WorkflowProperties{
			Definition: map[string]any{
				"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
				"actions": map[string]any{
					"Find_pet_by_ID": map[string]any{
						"type": "ApiConnection",
						"inputs": map[string]any{
							"path":   "/pet/@{encodeURIComponent('1')}",
							"method": "get",
							"host": map[string]any{
								"connection": map[string]any{
									"name": "@parameters('$connections')['test-custom-connector']['connectionId']",
								},
							},
						},
						"runAfter": map[string]any{},
					},
				},
				"contentVersion": "1.0.0.0",
				"outputs":        map[string]any{},
				"parameters": map[string]any{
					"$connections": map[string]any{
						"type":         "Object",
						"defaultValue": map[string]any{},
					},
				},
				"triggers": map[string]any{
					"manual": map[string]any{
						"type": "Request",
						"inputs": map[string]any{
							"schema": map[string]any{},
						},
						"kind": "Http",
					},
				},
			},
			IntegrationAccount: &armlogic.ResourceReference{
				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
			},
			Parameters: map[string]*armlogic.WorkflowParameter{
				"$connections": {
					Value: map[string]any{
						"test-custom-connector": map[string]any{
							"connectionId":   "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector",
							"connectionName": "test-custom-connector",
							"id":             "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector",
						},
					},
				},
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Workflow = armlogic.Workflow{
	// 	Properties: &armlogic.WorkflowProperties{
	// 		AccessEndpoint: to.Ptr("http://tempuri.org"),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
	// 		Definition: map[string]any{
	// 			"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
	// 			"actions":map[string]any{
	// 			},
	// 			"contentVersion": "1.0.0.0",
	// 			"outputs":map[string]any{
	// 			},
	// 			"parameters":map[string]any{
	// 			},
	// 			"triggers":map[string]any{
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.84.145.61"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("104.210.153.89"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.85.79.155"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.39.247"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("13.84.159.168"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.86.56"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.82.190"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationAccount: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-account"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
	// 		},
	// 		IntegrationServiceEnvironment: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-service-environment"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment"),
	// 		},
	// 		Parameters: map[string]*armlogic.WorkflowParameter{
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 		Version: to.Ptr("08586677515911718341"),
	// 	},
	// }
}
Output:

func (*WorkflowsClient) Delete

func (client *WorkflowsClient) Delete(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientDeleteOptions) (WorkflowsClientDeleteResponse, error)

Delete - Deletes a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientDeleteOptions contains the optional parameters for the WorkflowsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Delete.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().Delete(ctx, "test-resource-group", "test-workflow", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowsClient) Disable

func (client *WorkflowsClient) Disable(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientDisableOptions) (WorkflowsClientDisableResponse, error)

Disable - Disables a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientDisableOptions contains the optional parameters for the WorkflowsClient.Disable method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Disable.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().Disable(ctx, "test-resource-group", "test-workflow", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowsClient) Enable

func (client *WorkflowsClient) Enable(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientEnableOptions) (WorkflowsClientEnableResponse, error)

Enable - Enables a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientEnableOptions contains the optional parameters for the WorkflowsClient.Enable method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Enable.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().Enable(ctx, "test-resource-group", "test-workflow", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowsClient) GenerateUpgradedDefinition

GenerateUpgradedDefinition - Generates the upgraded definition for a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • parameters - Parameters for generating an upgraded definition.
  • options - WorkflowsClientGenerateUpgradedDefinitionOptions contains the optional parameters for the WorkflowsClient.GenerateUpgradedDefinition method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_GenerateUpgradedDefinition.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().GenerateUpgradedDefinition(ctx, "test-resource-group", "test-workflow", armlogic.GenerateUpgradedDefinitionParameters{
		TargetSchemaVersion: to.Ptr("2016-06-01"),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Interface = map[string]any{
	// 	"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
	// 	"actions":map[string]any{
	// 	},
	// 	"contentVersion": "1.0.0.0",
	// 	"outputs":map[string]any{
	// 	},
	// 	"parameters":map[string]any{
	// 		"$connections":map[string]any{
	// 			"type": "Object",
	// 			"defaultValue":map[string]any{
	// 			},
	// 		},
	// 	},
	// 	"triggers":map[string]any{
	// 	},
	// }
}
Output:

func (*WorkflowsClient) Get

func (client *WorkflowsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientGetOptions) (WorkflowsClientGetResponse, error)

Get - Gets a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientGetOptions contains the optional parameters for the WorkflowsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Get.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().Get(ctx, "test-resource-group", "test-workflow", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Workflow = armlogic.Workflow{
	// 	Name: to.Ptr("test-workflow"),
	// 	Type: to.Ptr("Microsoft.Logic/workflows"),
	// 	ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow"),
	// 	Location: to.Ptr("brazilsouth"),
	// 	Tags: map[string]*string{
	// 	},
	// 	Properties: &armlogic.WorkflowProperties{
	// 		AccessEndpoint: to.Ptr("http://tempuri.org"),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
	// 		Definition: map[string]any{
	// 			"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#",
	// 			"actions":map[string]any{
	// 			},
	// 			"contentVersion": "1.0.0.0",
	// 			"outputs":map[string]any{
	// 			},
	// 			"parameters":map[string]any{
	// 			},
	// 			"triggers":map[string]any{
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.84.145.61"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("104.210.153.89"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.85.79.155"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.39.247"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("13.84.159.168"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.86.56"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.82.190"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationAccount: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-account"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
	// 		},
	// 		IntegrationServiceEnvironment: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-service-environment"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationServiceEnvironments"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment"),
	// 		},
	// 		Parameters: map[string]*armlogic.WorkflowParameter{
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 		Version: to.Ptr("08586677515911718341"),
	// 	},
	// }
}
Output:

func (*WorkflowsClient) ListCallbackURL

func (client *WorkflowsClient) ListCallbackURL(ctx context.Context, resourceGroupName string, workflowName string, listCallbackURL GetCallbackURLParameters, options *WorkflowsClientListCallbackURLOptions) (WorkflowsClientListCallbackURLResponse, error)

ListCallbackURL - Get the workflow callback Url. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • listCallbackURL - Which callback url to list.
  • options - WorkflowsClientListCallbackURLOptions contains the optional parameters for the WorkflowsClient.ListCallbackURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListCallbackUrl.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().ListCallbackURL(ctx, "testResourceGroup", "testWorkflow", armlogic.GetCallbackURLParameters{
		KeyType:  to.Ptr(armlogic.KeyTypePrimary),
		NotAfter: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-19T16:00:00.000Z"); return t }()),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WorkflowTriggerCallbackURL = armlogic.WorkflowTriggerCallbackURL{
	// 	Method: to.Ptr("POST"),
	// 	BasePath: to.Ptr("https://prod-03.westus.logic.azure.com/workflows/d4690301f3b340de9330256bb2e83974"),
	// 	Queries: &armlogic.WorkflowTriggerListCallbackURLQueries{
	// 		APIVersion: to.Ptr("2018-07-01-preview"),
	// 		Se: to.Ptr("2018-04-19T16:00:00.0000000Z"),
	// 		Sig: to.Ptr("JXbHjs3qzLPDyk-IM_VzsN-WL_mNql3v_uWbBbKgtVk"),
	// 		Sp: to.Ptr("//*"),
	// 		Sv: to.Ptr("1.0"),
	// 	},
	// 	Value: to.Ptr("https://prod-03.westus.logic.azure.com/workflows/d4690301f3b340de9330256bb2e83974/triggers/requestTrigger/paths/invoke?api-version=2018-07-01-preview&se=2018-04-19T16%3A00%3A00.0000000Z&sp=%2Ftriggers%2FrequestTrigger%2Frun&sv=1.0&sig=JXbHjs3qzLPDyk-IM_VzsN-WL_mNql3v_uWbBbKgtVk"),
	// }
}
Output:

func (*WorkflowsClient) ListSwagger

func (client *WorkflowsClient) ListSwagger(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientListSwaggerOptions) (WorkflowsClientListSwaggerResponse, error)

ListSwagger - Gets an OpenAPI definition for the workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientListSwaggerOptions contains the optional parameters for the WorkflowsClient.ListSwagger method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListSwagger.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().ListSwagger(ctx, "testResourceGroup", "testWorkflowName", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Interface = map[string]any{
	// 	"info":map[string]any{
	// 		"description": "Azure Logic App.",
	// 		"title": "flow",
	// 	},
	// 	"basePath": "/workflows/2e420261710e423490d5d502fe9c4abb/triggers",
	// 	"consumes":[]any{
	// 		"application/json",
	// 	},
	// 	"host": "test-host",
	// 	"paths":map[string]any{
	// 		"/simpleManualTrigger/paths/invoke":map[string]any{
	// 			"post":map[string]any{
	// 				"operationId": "simpleManualTrigger-invoke",
	// 				"description": "Trigger a run of the logic app.",
	// 				"parameters":[]any{
	// 					map[string]any{
	// 						"name": "api-version",
	// 						"type": "string",
	// 						"description": "The service API version.",
	// 						"in": "query",
	// 						"required": true,
	// 					},
	// 					map[string]any{
	// 						"name": "sp",
	// 						"type": "string",
	// 						"description": "The permissions; generally 'read' or 'write'.",
	// 						"in": "query",
	// 						"required": true,
	// 					},
	// 					map[string]any{
	// 						"name": "sv",
	// 						"type": "string",
	// 						"description": "The version number of the query parameters.",
	// 						"in": "query",
	// 						"required": true,
	// 					},
	// 					map[string]any{
	// 						"name": "sig",
	// 						"type": "string",
	// 						"description": "The SHA 256 hash of the entire request URI with an internal key.",
	// 						"in": "query",
	// 						"required": true,
	// 					},
	// 				},
	// 				"responses":map[string]any{
	// 					"default":map[string]any{
	// 						"schema":map[string]any{
	// 							"type": "object",
	// 						},
	// 						"description": "The Logic App Response.",
	// 					},
	// 				},
	// 			},
	// 		},
	// 	},
	// 	"produces":[]any{
	// 		"application/json",
	// 	},
	// 	"schemes":[]any{
	// 		"http",
	// 	},
	// 	"swagger": "2.0",
	// }
}
Output:

func (*WorkflowsClient) NewListByResourceGroupPager added in v0.5.0

func (client *WorkflowsClient) NewListByResourceGroupPager(resourceGroupName string, options *WorkflowsClientListByResourceGroupOptions) *runtime.Pager[WorkflowsClientListByResourceGroupResponse]

NewListByResourceGroupPager - Gets a list of workflows by resource group.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • options - WorkflowsClientListByResourceGroupOptions contains the optional parameters for the WorkflowsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowsClient().NewListByResourceGroupPager("test-resource-group", &armlogic.WorkflowsClientListByResourceGroupOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowListResult = armlogic.WorkflowListResult{
		// 	Value: []*armlogic.Workflow{
		// 		{
		// 			Name: to.Ptr("test-workflow"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Tags: map[string]*string{
		// 			},
		// 			Properties: &armlogic.WorkflowProperties{
		// 				AccessControl: &armlogic.FlowAccessControlConfiguration{
		// 				},
		// 				AccessEndpoint: to.Ptr("http://tempuri.org"),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
		// 				Definition: map[string]any{
		// 					"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
		// 					"actions":map[string]any{
		// 					},
		// 					"contentVersion": "1.0.0.0",
		// 					"outputs":map[string]any{
		// 					},
		// 					"parameters":map[string]any{
		// 					},
		// 					"triggers":map[string]any{
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.84.145.61"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("104.210.153.89"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.85.79.155"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.39.247"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.84.159.168"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.86.56"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.82.190"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationAccount: &armlogic.ResourceReference{
		// 					Name: to.Ptr("test-integration-account"),
		// 					Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
		// 				},
		// 				Parameters: map[string]*armlogic.WorkflowParameter{
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 				Version: to.Ptr("08586677515911718341"),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*WorkflowsClient) NewListBySubscriptionPager added in v0.5.0

NewListBySubscriptionPager - Gets a list of workflows by subscription.

Generated from API version 2019-05-01

  • options - WorkflowsClientListBySubscriptionOptions contains the optional parameters for the WorkflowsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListBySubscription.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWorkflowsClient().NewListBySubscriptionPager(&armlogic.WorkflowsClientListBySubscriptionOptions{Top: nil,
		Filter: nil,
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WorkflowListResult = armlogic.WorkflowListResult{
		// 	Value: []*armlogic.Workflow{
		// 		{
		// 			Name: to.Ptr("test-workflow"),
		// 			Type: to.Ptr("Microsoft.Logic/workflows"),
		// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow"),
		// 			Location: to.Ptr("brazilsouth"),
		// 			Tags: map[string]*string{
		// 			},
		// 			Properties: &armlogic.WorkflowProperties{
		// 				AccessControl: &armlogic.FlowAccessControlConfiguration{
		// 				},
		// 				AccessEndpoint: to.Ptr("http://tempuri.org"),
		// 				ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
		// 				CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
		// 				Definition: map[string]any{
		// 					"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
		// 					"actions":map[string]any{
		// 					},
		// 					"contentVersion": "1.0.0.0",
		// 					"outputs":map[string]any{
		// 					},
		// 					"parameters":map[string]any{
		// 					},
		// 					"triggers":map[string]any{
		// 					},
		// 				},
		// 				EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
		// 					Connector: &armlogic.FlowEndpoints{
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("40.84.145.61"),
		// 						}},
		// 					},
		// 					Workflow: &armlogic.FlowEndpoints{
		// 						AccessEndpointIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("104.210.153.89"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.85.79.155"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.39.247"),
		// 						}},
		// 						OutgoingIPAddresses: []*armlogic.IPAddress{
		// 							{
		// 								Address: to.Ptr("13.84.159.168"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.86.56"),
		// 							},
		// 							{
		// 								Address: to.Ptr("13.65.82.190"),
		// 						}},
		// 					},
		// 				},
		// 				IntegrationAccount: &armlogic.ResourceReference{
		// 					Name: to.Ptr("test-integration-account"),
		// 					Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
		// 					ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
		// 				},
		// 				Parameters: map[string]*armlogic.WorkflowParameter{
		// 				},
		// 				ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
		// 				State: to.Ptr(armlogic.WorkflowStateEnabled),
		// 				Version: to.Ptr("08586677515911718341"),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*WorkflowsClient) RegenerateAccessKey

func (client *WorkflowsClient) RegenerateAccessKey(ctx context.Context, resourceGroupName string, workflowName string, keyType RegenerateActionParameter, options *WorkflowsClientRegenerateAccessKeyOptions) (WorkflowsClientRegenerateAccessKeyResponse, error)

RegenerateAccessKey - Regenerates the callback URL access key for request triggers. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • keyType - The access key type.
  • options - WorkflowsClientRegenerateAccessKeyOptions contains the optional parameters for the WorkflowsClient.RegenerateAccessKey method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_RegenerateAccessKey.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().RegenerateAccessKey(ctx, "testResourceGroup", "testWorkflowName", armlogic.RegenerateActionParameter{
		KeyType: to.Ptr(armlogic.KeyTypePrimary),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowsClient) Update

func (client *WorkflowsClient) Update(ctx context.Context, resourceGroupName string, workflowName string, options *WorkflowsClientUpdateOptions) (WorkflowsClientUpdateResponse, error)

Update - Updates a workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • options - WorkflowsClientUpdateOptions contains the optional parameters for the WorkflowsClient.Update method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Update.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWorkflowsClient().Update(ctx, "test-resource-group", "test-workflow", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Workflow = armlogic.Workflow{
	// 	Properties: &armlogic.WorkflowProperties{
	// 		AccessEndpoint: to.Ptr("http://tempuri.org"),
	// 		ChangedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-08-09T22:54:54.353Z"); return t}()),
	// 		CreatedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-04-25T01:39:21.436Z"); return t}()),
	// 		Definition: map[string]any{
	// 			"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
	// 			"actions":map[string]any{
	// 			},
	// 			"contentVersion": "1.0.0.0",
	// 			"outputs":map[string]any{
	// 			},
	// 			"parameters":map[string]any{
	// 			},
	// 			"triggers":map[string]any{
	// 			},
	// 		},
	// 		EndpointsConfiguration: &armlogic.FlowEndpointsConfiguration{
	// 			Connector: &armlogic.FlowEndpoints{
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("40.84.145.61"),
	// 				}},
	// 			},
	// 			Workflow: &armlogic.FlowEndpoints{
	// 				AccessEndpointIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("104.210.153.89"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.85.79.155"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.39.247"),
	// 				}},
	// 				OutgoingIPAddresses: []*armlogic.IPAddress{
	// 					{
	// 						Address: to.Ptr("13.84.159.168"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.86.56"),
	// 					},
	// 					{
	// 						Address: to.Ptr("13.65.82.190"),
	// 				}},
	// 			},
	// 		},
	// 		IntegrationAccount: &armlogic.ResourceReference{
	// 			Name: to.Ptr("test-integration-account"),
	// 			Type: to.Ptr("Microsoft.Logic/integrationAccounts"),
	// 			ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
	// 		},
	// 		Parameters: map[string]*armlogic.WorkflowParameter{
	// 		},
	// 		ProvisioningState: to.Ptr(armlogic.WorkflowProvisioningStateSucceeded),
	// 		State: to.Ptr(armlogic.WorkflowStateEnabled),
	// 		Version: to.Ptr("08586677515911718341"),
	// 	},
	// }
}
Output:

func (*WorkflowsClient) ValidateByLocation

func (client *WorkflowsClient) ValidateByLocation(ctx context.Context, resourceGroupName string, location string, workflowName string, validate Workflow, options *WorkflowsClientValidateByLocationOptions) (WorkflowsClientValidateByLocationResponse, error)

ValidateByLocation - Validates the workflow definition. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • location - The workflow location.
  • workflowName - The workflow name.
  • validate - The workflow.
  • options - WorkflowsClientValidateByLocationOptions contains the optional parameters for the WorkflowsClient.ValidateByLocation method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ValidateByLocation.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().ValidateByLocation(ctx, "test-resource-group", "brazilsouth", "test-workflow", armlogic.Workflow{
		Location: to.Ptr("brazilsouth"),
		Tags:     map[string]*string{},
		Properties: &armlogic.WorkflowProperties{
			Definition: map[string]any{
				"$schema":        "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
				"actions":        map[string]any{},
				"contentVersion": "1.0.0.0",
				"outputs":        map[string]any{},
				"parameters":     map[string]any{},
				"triggers":       map[string]any{},
			},
			IntegrationAccount: &armlogic.ResourceReference{
				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WorkflowsClient) ValidateByResourceGroup

func (client *WorkflowsClient) ValidateByResourceGroup(ctx context.Context, resourceGroupName string, workflowName string, validate Workflow, options *WorkflowsClientValidateByResourceGroupOptions) (WorkflowsClientValidateByResourceGroupResponse, error)

ValidateByResourceGroup - Validates the workflow. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2019-05-01

  • resourceGroupName - The resource group name.
  • workflowName - The workflow name.
  • validate - The workflow.
  • options - WorkflowsClientValidateByResourceGroupOptions contains the optional parameters for the WorkflowsClient.ValidateByResourceGroup method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ValidateByResourceGroup.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/logic/armlogic"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armlogic.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWorkflowsClient().ValidateByResourceGroup(ctx, "test-resource-group", "test-workflow", armlogic.Workflow{
		Location: to.Ptr("brazilsouth"),
		Tags:     map[string]*string{},
		Properties: &armlogic.WorkflowProperties{
			Definition: map[string]any{
				"$schema":        "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
				"actions":        map[string]any{},
				"contentVersion": "1.0.0.0",
				"outputs":        map[string]any{},
				"parameters":     map[string]any{},
				"triggers":       map[string]any{},
			},
			IntegrationAccount: &armlogic.ResourceReference{
				ID: to.Ptr("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"),
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

type WorkflowsClientBeginMoveOptions added in v0.3.0

type WorkflowsClientBeginMoveOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

WorkflowsClientBeginMoveOptions contains the optional parameters for the WorkflowsClient.BeginMove method.

type WorkflowsClientCreateOrUpdateOptions added in v0.3.0

type WorkflowsClientCreateOrUpdateOptions struct {
}

WorkflowsClientCreateOrUpdateOptions contains the optional parameters for the WorkflowsClient.CreateOrUpdate method.

type WorkflowsClientCreateOrUpdateResponse added in v0.3.0

type WorkflowsClientCreateOrUpdateResponse struct {
	// The workflow type.
	Workflow
}

WorkflowsClientCreateOrUpdateResponse contains the response from method WorkflowsClient.CreateOrUpdate.

type WorkflowsClientDeleteOptions added in v0.3.0

type WorkflowsClientDeleteOptions struct {
}

WorkflowsClientDeleteOptions contains the optional parameters for the WorkflowsClient.Delete method.

type WorkflowsClientDeleteResponse added in v0.3.0

type WorkflowsClientDeleteResponse struct {
}

WorkflowsClientDeleteResponse contains the response from method WorkflowsClient.Delete.

type WorkflowsClientDisableOptions added in v0.3.0

type WorkflowsClientDisableOptions struct {
}

WorkflowsClientDisableOptions contains the optional parameters for the WorkflowsClient.Disable method.

type WorkflowsClientDisableResponse added in v0.3.0

type WorkflowsClientDisableResponse struct {
}

WorkflowsClientDisableResponse contains the response from method WorkflowsClient.Disable.

type WorkflowsClientEnableOptions added in v0.3.0

type WorkflowsClientEnableOptions struct {
}

WorkflowsClientEnableOptions contains the optional parameters for the WorkflowsClient.Enable method.

type WorkflowsClientEnableResponse added in v0.3.0

type WorkflowsClientEnableResponse struct {
}

WorkflowsClientEnableResponse contains the response from method WorkflowsClient.Enable.

type WorkflowsClientGenerateUpgradedDefinitionOptions added in v0.3.0

type WorkflowsClientGenerateUpgradedDefinitionOptions struct {
}

WorkflowsClientGenerateUpgradedDefinitionOptions contains the optional parameters for the WorkflowsClient.GenerateUpgradedDefinition method.

type WorkflowsClientGenerateUpgradedDefinitionResponse added in v0.3.0

type WorkflowsClientGenerateUpgradedDefinitionResponse struct {
	// Anything
	Interface any
}

WorkflowsClientGenerateUpgradedDefinitionResponse contains the response from method WorkflowsClient.GenerateUpgradedDefinition.

type WorkflowsClientGetOptions added in v0.3.0

type WorkflowsClientGetOptions struct {
}

WorkflowsClientGetOptions contains the optional parameters for the WorkflowsClient.Get method.

type WorkflowsClientGetResponse added in v0.3.0

type WorkflowsClientGetResponse struct {
	// The workflow type.
	Workflow
}

WorkflowsClientGetResponse contains the response from method WorkflowsClient.Get.

type WorkflowsClientListByResourceGroupOptions added in v0.3.0

type WorkflowsClientListByResourceGroupOptions struct {
	// The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowsClientListByResourceGroupOptions contains the optional parameters for the WorkflowsClient.NewListByResourceGroupPager method.

type WorkflowsClientListByResourceGroupResponse added in v0.3.0

type WorkflowsClientListByResourceGroupResponse struct {
	// The list of workflows.
	WorkflowListResult
}

WorkflowsClientListByResourceGroupResponse contains the response from method WorkflowsClient.NewListByResourceGroupPager.

type WorkflowsClientListBySubscriptionOptions added in v0.3.0

type WorkflowsClientListBySubscriptionOptions struct {
	// The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.
	Filter *string

	// The number of items to be included in the result.
	Top *int32
}

WorkflowsClientListBySubscriptionOptions contains the optional parameters for the WorkflowsClient.NewListBySubscriptionPager method.

type WorkflowsClientListBySubscriptionResponse added in v0.3.0

type WorkflowsClientListBySubscriptionResponse struct {
	// The list of workflows.
	WorkflowListResult
}

WorkflowsClientListBySubscriptionResponse contains the response from method WorkflowsClient.NewListBySubscriptionPager.

type WorkflowsClientListCallbackURLOptions added in v0.3.0

type WorkflowsClientListCallbackURLOptions struct {
}

WorkflowsClientListCallbackURLOptions contains the optional parameters for the WorkflowsClient.ListCallbackURL method.

type WorkflowsClientListCallbackURLResponse added in v0.3.0

type WorkflowsClientListCallbackURLResponse struct {
	// The workflow trigger callback URL.
	WorkflowTriggerCallbackURL
}

WorkflowsClientListCallbackURLResponse contains the response from method WorkflowsClient.ListCallbackURL.

type WorkflowsClientListSwaggerOptions added in v0.3.0

type WorkflowsClientListSwaggerOptions struct {
}

WorkflowsClientListSwaggerOptions contains the optional parameters for the WorkflowsClient.ListSwagger method.

type WorkflowsClientListSwaggerResponse added in v0.3.0

type WorkflowsClientListSwaggerResponse struct {
	// Anything
	Interface any
}

WorkflowsClientListSwaggerResponse contains the response from method WorkflowsClient.ListSwagger.

type WorkflowsClientMoveResponse added in v0.3.0

type WorkflowsClientMoveResponse struct {
}

WorkflowsClientMoveResponse contains the response from method WorkflowsClient.BeginMove.

type WorkflowsClientRegenerateAccessKeyOptions added in v0.3.0

type WorkflowsClientRegenerateAccessKeyOptions struct {
}

WorkflowsClientRegenerateAccessKeyOptions contains the optional parameters for the WorkflowsClient.RegenerateAccessKey method.

type WorkflowsClientRegenerateAccessKeyResponse added in v0.3.0

type WorkflowsClientRegenerateAccessKeyResponse struct {
}

WorkflowsClientRegenerateAccessKeyResponse contains the response from method WorkflowsClient.RegenerateAccessKey.

type WorkflowsClientUpdateOptions added in v0.3.0

type WorkflowsClientUpdateOptions struct {
}

WorkflowsClientUpdateOptions contains the optional parameters for the WorkflowsClient.Update method.

type WorkflowsClientUpdateResponse added in v0.3.0

type WorkflowsClientUpdateResponse struct {
	// The workflow type.
	Workflow
}

WorkflowsClientUpdateResponse contains the response from method WorkflowsClient.Update.

type WorkflowsClientValidateByLocationOptions added in v0.3.0

type WorkflowsClientValidateByLocationOptions struct {
}

WorkflowsClientValidateByLocationOptions contains the optional parameters for the WorkflowsClient.ValidateByLocation method.

type WorkflowsClientValidateByLocationResponse added in v0.3.0

type WorkflowsClientValidateByLocationResponse struct {
}

WorkflowsClientValidateByLocationResponse contains the response from method WorkflowsClient.ValidateByLocation.

type WorkflowsClientValidateByResourceGroupOptions added in v0.3.0

type WorkflowsClientValidateByResourceGroupOptions struct {
}

WorkflowsClientValidateByResourceGroupOptions contains the optional parameters for the WorkflowsClient.ValidateByResourceGroup method.

type WorkflowsClientValidateByResourceGroupResponse added in v0.3.0

type WorkflowsClientValidateByResourceGroupResponse struct {
}

WorkflowsClientValidateByResourceGroupResponse contains the response from method WorkflowsClient.ValidateByResourceGroup.

type WsdlImportMethod

type WsdlImportMethod string

WsdlImportMethod - The WSDL import method.

const (
	WsdlImportMethodNotSpecified    WsdlImportMethod = "NotSpecified"
	WsdlImportMethodSoapPassThrough WsdlImportMethod = "SoapPassThrough"
	WsdlImportMethodSoapToRest      WsdlImportMethod = "SoapToRest"
)

func PossibleWsdlImportMethodValues

func PossibleWsdlImportMethodValues() []WsdlImportMethod

PossibleWsdlImportMethodValues returns the possible values for the WsdlImportMethod const type.

type WsdlService

type WsdlService struct {
	// The list of endpoints' qualified names.
	EndpointQualifiedNames []*string

	// The qualified name.
	QualifiedName *string
}

WsdlService - The WSDL service.

func (WsdlService) MarshalJSON

func (w WsdlService) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WsdlService.

func (*WsdlService) UnmarshalJSON added in v1.1.0

func (w *WsdlService) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WsdlService.

type X12AcknowledgementSettings

type X12AcknowledgementSettings struct {
	// REQUIRED; The acknowledgement control number lower bound.
	AcknowledgementControlNumberLowerBound *int32

	// REQUIRED; The acknowledgement control number upper bound.
	AcknowledgementControlNumberUpperBound *int32

	// REQUIRED; The value indicating whether to batch functional acknowledgements.
	BatchFunctionalAcknowledgements *bool

	// REQUIRED; The value indicating whether to batch implementation acknowledgements.
	BatchImplementationAcknowledgements *bool

	// REQUIRED; The value indicating whether to batch the technical acknowledgements.
	BatchTechnicalAcknowledgements *bool

	// REQUIRED; The value indicating whether functional acknowledgement is needed.
	NeedFunctionalAcknowledgement *bool

	// REQUIRED; The value indicating whether implementation acknowledgement is needed.
	NeedImplementationAcknowledgement *bool

	// REQUIRED; The value indicating whether a loop is needed for valid messages.
	NeedLoopForValidMessages *bool

	// REQUIRED; The value indicating whether technical acknowledgement is needed.
	NeedTechnicalAcknowledgement *bool

	// REQUIRED; The value indicating whether to rollover acknowledgement control number.
	RolloverAcknowledgementControlNumber *bool

	// REQUIRED; The value indicating whether to send synchronous acknowledgement.
	SendSynchronousAcknowledgement *bool

	// The acknowledgement control number prefix.
	AcknowledgementControlNumberPrefix *string

	// The acknowledgement control number suffix.
	AcknowledgementControlNumberSuffix *string

	// The functional acknowledgement version.
	FunctionalAcknowledgementVersion *string

	// The implementation acknowledgement version.
	ImplementationAcknowledgementVersion *string
}

X12AcknowledgementSettings - The X12 agreement acknowledgement settings.

func (X12AcknowledgementSettings) MarshalJSON added in v1.1.0

func (x X12AcknowledgementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12AcknowledgementSettings.

func (*X12AcknowledgementSettings) UnmarshalJSON added in v1.1.0

func (x *X12AcknowledgementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12AcknowledgementSettings.

type X12AgreementContent

type X12AgreementContent struct {
	// REQUIRED; The X12 one-way receive agreement.
	ReceiveAgreement *X12OneWayAgreement

	// REQUIRED; The X12 one-way send agreement.
	SendAgreement *X12OneWayAgreement
}

X12AgreementContent - The X12 agreement content.

func (X12AgreementContent) MarshalJSON added in v1.1.0

func (x X12AgreementContent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12AgreementContent.

func (*X12AgreementContent) UnmarshalJSON added in v1.1.0

func (x *X12AgreementContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12AgreementContent.

type X12CharacterSet

type X12CharacterSet string

X12CharacterSet - The X12 character set.

const (
	X12CharacterSetBasic        X12CharacterSet = "Basic"
	X12CharacterSetExtended     X12CharacterSet = "Extended"
	X12CharacterSetNotSpecified X12CharacterSet = "NotSpecified"
	X12CharacterSetUTF8         X12CharacterSet = "UTF8"
)

func PossibleX12CharacterSetValues

func PossibleX12CharacterSetValues() []X12CharacterSet

PossibleX12CharacterSetValues returns the possible values for the X12CharacterSet const type.

type X12DateFormat

type X12DateFormat string

X12DateFormat - The x12 date format.

const (
	X12DateFormatCCYYMMDD     X12DateFormat = "CCYYMMDD"
	X12DateFormatNotSpecified X12DateFormat = "NotSpecified"
	X12DateFormatYYMMDD       X12DateFormat = "YYMMDD"
)

func PossibleX12DateFormatValues

func PossibleX12DateFormatValues() []X12DateFormat

PossibleX12DateFormatValues returns the possible values for the X12DateFormat const type.

type X12DelimiterOverrides

type X12DelimiterOverrides struct {
	// REQUIRED; The component separator.
	ComponentSeparator *int32

	// REQUIRED; The data element separator.
	DataElementSeparator *int32

	// REQUIRED; The replacement character.
	ReplaceCharacter *int32

	// REQUIRED; The value indicating whether to replace separators in payload.
	ReplaceSeparatorsInPayload *bool

	// REQUIRED; The segment terminator.
	SegmentTerminator *int32

	// REQUIRED; The segment terminator suffix.
	SegmentTerminatorSuffix *SegmentTerminatorSuffix

	// The message id.
	MessageID *string

	// The protocol version.
	ProtocolVersion *string

	// The target namespace on which this delimiter settings has to be applied.
	TargetNamespace *string
}

X12DelimiterOverrides - The X12 delimiter override settings.

func (X12DelimiterOverrides) MarshalJSON added in v1.1.0

func (x X12DelimiterOverrides) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12DelimiterOverrides.

func (*X12DelimiterOverrides) UnmarshalJSON added in v1.1.0

func (x *X12DelimiterOverrides) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12DelimiterOverrides.

type X12EnvelopeOverride

type X12EnvelopeOverride struct {
	// REQUIRED; The date format.
	DateFormat *X12DateFormat

	// REQUIRED; The header version.
	HeaderVersion *string

	// REQUIRED; The message id on which this envelope settings has to be applied.
	MessageID *string

	// REQUIRED; The protocol version on which this envelope settings has to be applied.
	ProtocolVersion *string

	// REQUIRED; The receiver application id.
	ReceiverApplicationID *string

	// REQUIRED; The responsible agency code.
	ResponsibleAgencyCode *string

	// REQUIRED; The sender application id.
	SenderApplicationID *string

	// REQUIRED; The target namespace on which this envelope settings has to be applied.
	TargetNamespace *string

	// REQUIRED; The time format.
	TimeFormat *X12TimeFormat

	// The functional identifier code.
	FunctionalIdentifierCode *string
}

X12EnvelopeOverride - The X12 envelope override settings.

func (X12EnvelopeOverride) MarshalJSON added in v1.1.0

func (x X12EnvelopeOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12EnvelopeOverride.

func (*X12EnvelopeOverride) UnmarshalJSON added in v1.1.0

func (x *X12EnvelopeOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12EnvelopeOverride.

type X12EnvelopeSettings

type X12EnvelopeSettings struct {
	// REQUIRED; The controls standards id.
	ControlStandardsID *int32

	// REQUIRED; The control version number.
	ControlVersionNumber *string

	// REQUIRED; The value indicating whether to enable default group headers.
	EnableDefaultGroupHeaders *bool

	// REQUIRED; The group control number lower bound.
	GroupControlNumberLowerBound *int32

	// REQUIRED; The group control number upper bound.
	GroupControlNumberUpperBound *int32

	// REQUIRED; The group header agency code.
	GroupHeaderAgencyCode *string

	// REQUIRED; The group header date format.
	GroupHeaderDateFormat *X12DateFormat

	// REQUIRED; The group header time format.
	GroupHeaderTimeFormat *X12TimeFormat

	// REQUIRED; The group header version.
	GroupHeaderVersion *string

	// REQUIRED; The interchange control number lower bound.
	InterchangeControlNumberLowerBound *int32

	// REQUIRED; The interchange control number upper bound.
	InterchangeControlNumberUpperBound *int32

	// REQUIRED; The value indicating whether to overwrite existing transaction set control number.
	OverwriteExistingTransactionSetControlNumber *bool

	// REQUIRED; The receiver application id.
	ReceiverApplicationID *string

	// REQUIRED; The value indicating whether to rollover group control number.
	RolloverGroupControlNumber *bool

	// REQUIRED; The value indicating whether to rollover interchange control number.
	RolloverInterchangeControlNumber *bool

	// REQUIRED; The value indicating whether to rollover transaction set control number.
	RolloverTransactionSetControlNumber *bool

	// REQUIRED; The sender application id.
	SenderApplicationID *string

	// REQUIRED; The transaction set control number lower bound.
	TransactionSetControlNumberLowerBound *int32

	// REQUIRED; The transaction set control number upper bound.
	TransactionSetControlNumberUpperBound *int32

	// REQUIRED; The usage indicator.
	UsageIndicator *UsageIndicator

	// REQUIRED; The value indicating whether to use control standards id as repetition character.
	UseControlStandardsIDAsRepetitionCharacter *bool

	// The functional group id.
	FunctionalGroupID *string

	// The transaction set control number prefix.
	TransactionSetControlNumberPrefix *string

	// The transaction set control number suffix.
	TransactionSetControlNumberSuffix *string
}

X12EnvelopeSettings - The X12 agreement envelope settings.

func (X12EnvelopeSettings) MarshalJSON added in v1.1.0

func (x X12EnvelopeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12EnvelopeSettings.

func (*X12EnvelopeSettings) UnmarshalJSON added in v1.1.0

func (x *X12EnvelopeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12EnvelopeSettings.

type X12FramingSettings

type X12FramingSettings struct {
	// REQUIRED; The X12 character set.
	CharacterSet *X12CharacterSet

	// REQUIRED; The component separator.
	ComponentSeparator *int32

	// REQUIRED; The data element separator.
	DataElementSeparator *int32

	// REQUIRED; The replacement character.
	ReplaceCharacter *int32

	// REQUIRED; The value indicating whether to replace separators in payload.
	ReplaceSeparatorsInPayload *bool

	// REQUIRED; The segment terminator.
	SegmentTerminator *int32

	// REQUIRED; The segment terminator suffix.
	SegmentTerminatorSuffix *SegmentTerminatorSuffix
}

X12FramingSettings - The X12 agreement framing settings.

func (X12FramingSettings) MarshalJSON added in v1.1.0

func (x X12FramingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12FramingSettings.

func (*X12FramingSettings) UnmarshalJSON added in v1.1.0

func (x *X12FramingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12FramingSettings.

type X12MessageFilter

type X12MessageFilter struct {
	// REQUIRED; The message filter type.
	MessageFilterType *MessageFilterType
}

X12MessageFilter - The X12 message filter for odata query.

func (X12MessageFilter) MarshalJSON added in v1.1.0

func (x X12MessageFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12MessageFilter.

func (*X12MessageFilter) UnmarshalJSON added in v1.1.0

func (x *X12MessageFilter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12MessageFilter.

type X12MessageIdentifier

type X12MessageIdentifier struct {
	// REQUIRED; The message id.
	MessageID *string
}

X12MessageIdentifier - The X12 message identifier.

func (X12MessageIdentifier) MarshalJSON added in v1.1.0

func (x X12MessageIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12MessageIdentifier.

func (*X12MessageIdentifier) UnmarshalJSON added in v1.1.0

func (x *X12MessageIdentifier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12MessageIdentifier.

type X12OneWayAgreement

type X12OneWayAgreement struct {
	// REQUIRED; The X12 protocol settings.
	ProtocolSettings *X12ProtocolSettings

	// REQUIRED; The receiver business identity
	ReceiverBusinessIdentity *BusinessIdentity

	// REQUIRED; The sender business identity
	SenderBusinessIdentity *BusinessIdentity
}

X12OneWayAgreement - The X12 one-way agreement.

func (X12OneWayAgreement) MarshalJSON added in v1.1.0

func (x X12OneWayAgreement) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12OneWayAgreement.

func (*X12OneWayAgreement) UnmarshalJSON added in v1.1.0

func (x *X12OneWayAgreement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12OneWayAgreement.

type X12ProcessingSettings

type X12ProcessingSettings struct {
	// REQUIRED; The value indicating whether to convert numerical type to implied decimal.
	ConvertImpliedDecimal *bool

	// REQUIRED; The value indicating whether to create empty xml tags for trailing separators.
	CreateEmptyXMLTagsForTrailingSeparators *bool

	// REQUIRED; The value indicating whether to mask security information.
	MaskSecurityInfo *bool

	// REQUIRED; The value indicating whether to preserve interchange.
	PreserveInterchange *bool

	// REQUIRED; The value indicating whether to suspend interchange on error.
	SuspendInterchangeOnError *bool

	// REQUIRED; The value indicating whether to use dot as decimal separator.
	UseDotAsDecimalSeparator *bool
}

X12ProcessingSettings - The X12 processing settings.

func (X12ProcessingSettings) MarshalJSON added in v1.1.0

func (x X12ProcessingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12ProcessingSettings.

func (*X12ProcessingSettings) UnmarshalJSON added in v1.1.0

func (x *X12ProcessingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12ProcessingSettings.

type X12ProtocolSettings

type X12ProtocolSettings struct {
	// REQUIRED; The X12 acknowledgment settings.
	AcknowledgementSettings *X12AcknowledgementSettings

	// REQUIRED; The X12 envelope settings.
	EnvelopeSettings *X12EnvelopeSettings

	// REQUIRED; The X12 framing settings.
	FramingSettings *X12FramingSettings

	// REQUIRED; The X12 message filter.
	MessageFilter *X12MessageFilter

	// REQUIRED; The X12 processing settings.
	ProcessingSettings *X12ProcessingSettings

	// REQUIRED; The X12 schema references.
	SchemaReferences []*X12SchemaReference

	// REQUIRED; The X12 security settings.
	SecuritySettings *X12SecuritySettings

	// REQUIRED; The X12 validation settings.
	ValidationSettings *X12ValidationSettings

	// The X12 envelope override settings.
	EnvelopeOverrides []*X12EnvelopeOverride

	// The X12 message filter list.
	MessageFilterList []*X12MessageIdentifier

	// The X12 validation override settings.
	ValidationOverrides []*X12ValidationOverride

	// The X12 delimiter override settings.
	X12DelimiterOverrides []*X12DelimiterOverrides
}

X12ProtocolSettings - The X12 agreement protocol settings.

func (X12ProtocolSettings) MarshalJSON

func (x X12ProtocolSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12ProtocolSettings.

func (*X12ProtocolSettings) UnmarshalJSON added in v1.1.0

func (x *X12ProtocolSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12ProtocolSettings.

type X12SchemaReference

type X12SchemaReference struct {
	// REQUIRED; The message id.
	MessageID *string

	// REQUIRED; The schema name.
	SchemaName *string

	// REQUIRED; The schema version.
	SchemaVersion *string

	// The sender application id.
	SenderApplicationID *string
}

X12SchemaReference - The X12 schema reference.

func (X12SchemaReference) MarshalJSON added in v1.1.0

func (x X12SchemaReference) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12SchemaReference.

func (*X12SchemaReference) UnmarshalJSON added in v1.1.0

func (x *X12SchemaReference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12SchemaReference.

type X12SecuritySettings

type X12SecuritySettings struct {
	// REQUIRED; The authorization qualifier.
	AuthorizationQualifier *string

	// REQUIRED; The security qualifier.
	SecurityQualifier *string

	// The authorization value.
	AuthorizationValue *string

	// The password value.
	PasswordValue *string
}

X12SecuritySettings - The X12 agreement security settings.

func (X12SecuritySettings) MarshalJSON added in v1.1.0

func (x X12SecuritySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12SecuritySettings.

func (*X12SecuritySettings) UnmarshalJSON added in v1.1.0

func (x *X12SecuritySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12SecuritySettings.

type X12TimeFormat

type X12TimeFormat string

X12TimeFormat - The x12 time format.

const (
	X12TimeFormatHHMM         X12TimeFormat = "HHMM"
	X12TimeFormatHHMMSS       X12TimeFormat = "HHMMSS"
	X12TimeFormatHHMMSSd      X12TimeFormat = "HHMMSSd"
	X12TimeFormatHHMMSSdd     X12TimeFormat = "HHMMSSdd"
	X12TimeFormatNotSpecified X12TimeFormat = "NotSpecified"
)

func PossibleX12TimeFormatValues

func PossibleX12TimeFormatValues() []X12TimeFormat

PossibleX12TimeFormatValues returns the possible values for the X12TimeFormat const type.

type X12ValidationOverride

type X12ValidationOverride struct {
	// REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes.
	AllowLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The message id on which the validation settings has to be applied.
	MessageID *string

	// REQUIRED; The trailing separator policy.
	TrailingSeparatorPolicy *TrailingSeparatorPolicy

	// REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes.
	TrimLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to validate character Set.
	ValidateCharacterSet *bool

	// REQUIRED; The value indicating whether to validate EDI types.
	ValidateEDITypes *bool

	// REQUIRED; The value indicating whether to validate XSD types.
	ValidateXSDTypes *bool
}

X12ValidationOverride - The X12 validation override settings.

func (X12ValidationOverride) MarshalJSON added in v1.1.0

func (x X12ValidationOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12ValidationOverride.

func (*X12ValidationOverride) UnmarshalJSON added in v1.1.0

func (x *X12ValidationOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12ValidationOverride.

type X12ValidationSettings

type X12ValidationSettings struct {
	// REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes.
	AllowLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to check for duplicate group control number.
	CheckDuplicateGroupControlNumber *bool

	// REQUIRED; The value indicating whether to check for duplicate interchange control number.
	CheckDuplicateInterchangeControlNumber *bool

	// REQUIRED; The value indicating whether to check for duplicate transaction set control number.
	CheckDuplicateTransactionSetControlNumber *bool

	// REQUIRED; The validity period of interchange control number.
	InterchangeControlNumberValidityDays *int32

	// REQUIRED; The trailing separator policy.
	TrailingSeparatorPolicy *TrailingSeparatorPolicy

	// REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes.
	TrimLeadingAndTrailingSpacesAndZeroes *bool

	// REQUIRED; The value indicating whether to validate character set in the message.
	ValidateCharacterSet *bool

	// REQUIRED; The value indicating whether to Whether to validate EDI types.
	ValidateEDITypes *bool

	// REQUIRED; The value indicating whether to Whether to validate XSD types.
	ValidateXSDTypes *bool
}

X12ValidationSettings - The X12 agreement validation settings.

func (X12ValidationSettings) MarshalJSON added in v1.1.0

func (x X12ValidationSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type X12ValidationSettings.

func (*X12ValidationSettings) UnmarshalJSON added in v1.1.0

func (x *X12ValidationSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type X12ValidationSettings.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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