integrationserviceenvironments

package
v0.20231120.1140121 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

README

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

The integrationserviceenvironments SDK allows for interaction with the Azure Resource Manager Service logic (API Version 2019-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/integrationserviceenvironments"

Client Initialization

client := integrationserviceenvironments.NewIntegrationServiceEnvironmentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationServiceEnvironmentsClient.CreateOrUpdate

ctx := context.TODO()
id := integrationserviceenvironments.NewIntegrationServiceEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationServiceEnvironmentValue")

payload := integrationserviceenvironments.IntegrationServiceEnvironment{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: IntegrationServiceEnvironmentsClient.Delete

ctx := context.TODO()
id := integrationserviceenvironments.NewIntegrationServiceEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationServiceEnvironmentValue")

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

Example Usage: IntegrationServiceEnvironmentsClient.Get

ctx := context.TODO()
id := integrationserviceenvironments.NewIntegrationServiceEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationServiceEnvironmentValue")

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

Example Usage: IntegrationServiceEnvironmentsClient.ListByResourceGroup

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

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

Example Usage: IntegrationServiceEnvironmentsClient.ListBySubscription

ctx := context.TODO()
id := integrationserviceenvironments.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: IntegrationServiceEnvironmentsClient.Update

ctx := context.TODO()
id := integrationserviceenvironments.NewIntegrationServiceEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationServiceEnvironmentValue")

payload := integrationserviceenvironments.IntegrationServiceEnvironment{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForIntegrationServiceEnvironmentAccessEndpointType

func PossibleValuesForIntegrationServiceEnvironmentAccessEndpointType() []string

func PossibleValuesForIntegrationServiceEnvironmentSkuName

func PossibleValuesForIntegrationServiceEnvironmentSkuName() []string

func PossibleValuesForWorkflowProvisioningState

func PossibleValuesForWorkflowProvisioningState() []string

func PossibleValuesForWorkflowState

func PossibleValuesForWorkflowState() []string

func ValidateIntegrationServiceEnvironmentID

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

ValidateIntegrationServiceEnvironmentID checks that 'input' can be parsed as a Integration Service Environment ID

Types

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

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

type FlowEndpoints

type FlowEndpoints struct {
	AccessEndpointIPAddresses *[]IPAddress `json:"accessEndpointIpAddresses,omitempty"`
	OutgoingIPAddresses       *[]IPAddress `json:"outgoingIpAddresses,omitempty"`
}

type FlowEndpointsConfiguration

type FlowEndpointsConfiguration struct {
	Connector *FlowEndpoints `json:"connector,omitempty"`
	Workflow  *FlowEndpoints `json:"workflow,omitempty"`
}

type GetOperationResponse

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

type IPAddress

type IPAddress struct {
	Address *string `json:"address,omitempty"`
}

type IntegrationServiceEnvironmenEncryptionConfiguration

type IntegrationServiceEnvironmenEncryptionConfiguration struct {
	EncryptionKeyReference *IntegrationServiceEnvironmenEncryptionKeyReference `json:"encryptionKeyReference,omitempty"`
}

type IntegrationServiceEnvironmenEncryptionKeyReference

type IntegrationServiceEnvironmenEncryptionKeyReference struct {
	KeyName    *string            `json:"keyName,omitempty"`
	KeyVault   *ResourceReference `json:"keyVault,omitempty"`
	KeyVersion *string            `json:"keyVersion,omitempty"`
}

type IntegrationServiceEnvironment

type IntegrationServiceEnvironment struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.SystemOrUserAssignedMap        `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *IntegrationServiceEnvironmentProperties `json:"properties,omitempty"`
	Sku        *IntegrationServiceEnvironmentSku        `json:"sku,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type IntegrationServiceEnvironmentAccessEndpoint

type IntegrationServiceEnvironmentAccessEndpoint struct {
	Type *IntegrationServiceEnvironmentAccessEndpointType `json:"type,omitempty"`
}

type IntegrationServiceEnvironmentAccessEndpointType

type IntegrationServiceEnvironmentAccessEndpointType string
const (
	IntegrationServiceEnvironmentAccessEndpointTypeExternal     IntegrationServiceEnvironmentAccessEndpointType = "External"
	IntegrationServiceEnvironmentAccessEndpointTypeInternal     IntegrationServiceEnvironmentAccessEndpointType = "Internal"
	IntegrationServiceEnvironmentAccessEndpointTypeNotSpecified IntegrationServiceEnvironmentAccessEndpointType = "NotSpecified"
)

func (*IntegrationServiceEnvironmentAccessEndpointType) UnmarshalJSON added in v0.20230712.1163130

type IntegrationServiceEnvironmentId

type IntegrationServiceEnvironmentId struct {
	SubscriptionId                    string
	ResourceGroup                     string
	IntegrationServiceEnvironmentName string
}

IntegrationServiceEnvironmentId is a struct representing the Resource ID for a Integration Service Environment

func NewIntegrationServiceEnvironmentID

func NewIntegrationServiceEnvironmentID(subscriptionId string, resourceGroup string, integrationServiceEnvironmentName string) IntegrationServiceEnvironmentId

NewIntegrationServiceEnvironmentID returns a new IntegrationServiceEnvironmentId struct

func ParseIntegrationServiceEnvironmentID

func ParseIntegrationServiceEnvironmentID(input string) (*IntegrationServiceEnvironmentId, error)

ParseIntegrationServiceEnvironmentID parses 'input' into a IntegrationServiceEnvironmentId

func ParseIntegrationServiceEnvironmentIDInsensitively

func ParseIntegrationServiceEnvironmentIDInsensitively(input string) (*IntegrationServiceEnvironmentId, error)

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

func (IntegrationServiceEnvironmentId) ID

ID returns the formatted Integration Service Environment ID

func (IntegrationServiceEnvironmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Integration Service Environment ID

func (IntegrationServiceEnvironmentId) String

String returns a human-readable description of this Integration Service Environment ID

type IntegrationServiceEnvironmentOperationPredicate

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

func (IntegrationServiceEnvironmentOperationPredicate) Matches

type IntegrationServiceEnvironmentProperties

type IntegrationServiceEnvironmentProperties struct {
	EncryptionConfiguration         *IntegrationServiceEnvironmenEncryptionConfiguration `json:"encryptionConfiguration,omitempty"`
	EndpointsConfiguration          *FlowEndpointsConfiguration                          `json:"endpointsConfiguration,omitempty"`
	IntegrationServiceEnvironmentId *string                                              `json:"integrationServiceEnvironmentId,omitempty"`
	NetworkConfiguration            *NetworkConfiguration                                `json:"networkConfiguration,omitempty"`
	ProvisioningState               *WorkflowProvisioningState                           `json:"provisioningState,omitempty"`
	State                           *WorkflowState                                       `json:"state,omitempty"`
}

type IntegrationServiceEnvironmentSku

type IntegrationServiceEnvironmentSku struct {
	Capacity *int64                                `json:"capacity,omitempty"`
	Name     *IntegrationServiceEnvironmentSkuName `json:"name,omitempty"`
}

type IntegrationServiceEnvironmentSkuName

type IntegrationServiceEnvironmentSkuName string
const (
	IntegrationServiceEnvironmentSkuNameDeveloper    IntegrationServiceEnvironmentSkuName = "Developer"
	IntegrationServiceEnvironmentSkuNameNotSpecified IntegrationServiceEnvironmentSkuName = "NotSpecified"
	IntegrationServiceEnvironmentSkuNamePremium      IntegrationServiceEnvironmentSkuName = "Premium"
)

func (*IntegrationServiceEnvironmentSkuName) UnmarshalJSON added in v0.20230712.1163130

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

type IntegrationServiceEnvironmentsClient

type IntegrationServiceEnvironmentsClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationServiceEnvironmentsClientWithBaseURI

func NewIntegrationServiceEnvironmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationServiceEnvironmentsClient, error)

func (IntegrationServiceEnvironmentsClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationServiceEnvironmentsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (IntegrationServiceEnvironmentsClient) Delete

Delete ...

func (IntegrationServiceEnvironmentsClient) Get

Get ...

func (IntegrationServiceEnvironmentsClient) ListByResourceGroup

ListByResourceGroup ...

func (IntegrationServiceEnvironmentsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (IntegrationServiceEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (IntegrationServiceEnvironmentsClient) ListBySubscription

ListBySubscription ...

func (IntegrationServiceEnvironmentsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (IntegrationServiceEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (IntegrationServiceEnvironmentsClient) Update

Update ...

func (IntegrationServiceEnvironmentsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []IntegrationServiceEnvironment
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Top *int64
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders added in v0.20230712.1163130

func (ListByResourceGroupOperationOptions) ToOData added in v0.20230712.1163130

func (ListByResourceGroupOperationOptions) ToQuery added in v0.20230712.1163130

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]IntegrationServiceEnvironment
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []IntegrationServiceEnvironment
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Top *int64
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

func (ListBySubscriptionOperationOptions) ToHeaders added in v0.20230712.1163130

func (ListBySubscriptionOperationOptions) ToOData added in v0.20230712.1163130

func (ListBySubscriptionOperationOptions) ToQuery added in v0.20230712.1163130

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]IntegrationServiceEnvironment
}

type NetworkConfiguration

type NetworkConfiguration struct {
	AccessEndpoint             *IntegrationServiceEnvironmentAccessEndpoint `json:"accessEndpoint,omitempty"`
	Subnets                    *[]ResourceReference                         `json:"subnets,omitempty"`
	VirtualNetworkAddressSpace *string                                      `json:"virtualNetworkAddressSpace,omitempty"`
}

type ResourceReference

type ResourceReference struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type WorkflowProvisioningState

type WorkflowProvisioningState string
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 (*WorkflowProvisioningState) UnmarshalJSON added in v0.20230712.1163130

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

type WorkflowState

type WorkflowState string
const (
	WorkflowStateCompleted    WorkflowState = "Completed"
	WorkflowStateDeleted      WorkflowState = "Deleted"
	WorkflowStateDisabled     WorkflowState = "Disabled"
	WorkflowStateEnabled      WorkflowState = "Enabled"
	WorkflowStateNotSpecified WorkflowState = "NotSpecified"
	WorkflowStateSuspended    WorkflowState = "Suspended"
)

func (*WorkflowState) UnmarshalJSON added in v0.20230712.1163130

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

Jump to

Keyboard shortcuts

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