integrationserviceenvironments

package
v0.20230228.1155508 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MPL-2.0 Imports: 11 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       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

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

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

type IntegrationServiceEnvironmentsClient

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

func NewIntegrationServiceEnvironmentsClientWithBaseURI

func NewIntegrationServiceEnvironmentsClientWithBaseURI(endpoint string) IntegrationServiceEnvironmentsClient

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 of the results into a single object

func (IntegrationServiceEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (IntegrationServiceEnvironmentsClient) ListBySubscription

ListBySubscription ...

func (IntegrationServiceEnvironmentsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (IntegrationServiceEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied 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

type ListByResourceGroupOperationResponse

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

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []IntegrationServiceEnvironment
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Top *int64
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

type ListBySubscriptionOperationResponse

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

func (ListBySubscriptionOperationResponse) HasMore

func (ListBySubscriptionOperationResponse) LoadMore

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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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

type WorkflowState

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

Jump to

Keyboard shortcuts

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