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 ¶
- func PossibleValuesForIntegrationServiceEnvironmentAccessEndpointType() []string
- func PossibleValuesForIntegrationServiceEnvironmentSkuName() []string
- func PossibleValuesForWorkflowProvisioningState() []string
- func PossibleValuesForWorkflowState() []string
- func ValidateIntegrationServiceEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FlowEndpoints
- type FlowEndpointsConfiguration
- type GetOperationResponse
- type IPAddress
- type IntegrationServiceEnvironmenEncryptionConfiguration
- type IntegrationServiceEnvironmenEncryptionKeyReference
- type IntegrationServiceEnvironment
- type IntegrationServiceEnvironmentAccessEndpoint
- type IntegrationServiceEnvironmentAccessEndpointType
- type IntegrationServiceEnvironmentId
- func NewIntegrationServiceEnvironmentID(subscriptionId string, resourceGroup string, ...) IntegrationServiceEnvironmentId
- func ParseIntegrationServiceEnvironmentID(input string) (*IntegrationServiceEnvironmentId, error)
- func ParseIntegrationServiceEnvironmentIDInsensitively(input string) (*IntegrationServiceEnvironmentId, error)
- type IntegrationServiceEnvironmentOperationPredicate
- type IntegrationServiceEnvironmentProperties
- type IntegrationServiceEnvironmentSku
- type IntegrationServiceEnvironmentSkuName
- type IntegrationServiceEnvironmentsClient
- func (c IntegrationServiceEnvironmentsClient) CreateOrUpdate(ctx context.Context, id IntegrationServiceEnvironmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id IntegrationServiceEnvironmentId, ...) error
- func (c IntegrationServiceEnvironmentsClient) Delete(ctx context.Context, id IntegrationServiceEnvironmentId) (result DeleteOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) Get(ctx context.Context, id IntegrationServiceEnvironmentId) (result GetOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c IntegrationServiceEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c IntegrationServiceEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c IntegrationServiceEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c IntegrationServiceEnvironmentsClient) Update(ctx context.Context, id IntegrationServiceEnvironmentId, ...) (result UpdateOperationResponse, err error)
- func (c IntegrationServiceEnvironmentsClient) UpdateThenPoll(ctx context.Context, id IntegrationServiceEnvironmentId, ...) error
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type NetworkConfiguration
- type ResourceReference
- type UpdateOperationResponse
- type WorkflowProvisioningState
- type WorkflowState
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 FlowEndpoints ¶
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 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 ¶
func (id IntegrationServiceEnvironmentId) ID() string
ID returns the formatted Integration Service Environment ID
func (IntegrationServiceEnvironmentId) Segments ¶
func (id IntegrationServiceEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Integration Service Environment ID
func (IntegrationServiceEnvironmentId) String ¶
func (id IntegrationServiceEnvironmentId) String() 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 ¶
func (p IntegrationServiceEnvironmentOperationPredicate) Matches(input IntegrationServiceEnvironment) bool
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 ¶
func (c IntegrationServiceEnvironmentsClient) CreateOrUpdate(ctx context.Context, id IntegrationServiceEnvironmentId, input IntegrationServiceEnvironment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IntegrationServiceEnvironmentsClient) CreateOrUpdateThenPoll ¶
func (c IntegrationServiceEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id IntegrationServiceEnvironmentId, input IntegrationServiceEnvironment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IntegrationServiceEnvironmentsClient) Delete ¶
func (c IntegrationServiceEnvironmentsClient) Delete(ctx context.Context, id IntegrationServiceEnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (IntegrationServiceEnvironmentsClient) Get ¶
func (c IntegrationServiceEnvironmentsClient) Get(ctx context.Context, id IntegrationServiceEnvironmentId) (result GetOperationResponse, err error)
Get ...
func (IntegrationServiceEnvironmentsClient) ListByResourceGroup ¶
func (c IntegrationServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (IntegrationServiceEnvironmentsClient) ListByResourceGroupComplete ¶
func (c IntegrationServiceEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (IntegrationServiceEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c IntegrationServiceEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate IntegrationServiceEnvironmentOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IntegrationServiceEnvironmentsClient) ListBySubscription ¶
func (c IntegrationServiceEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (IntegrationServiceEnvironmentsClient) ListBySubscriptionComplete ¶
func (c IntegrationServiceEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (IntegrationServiceEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c IntegrationServiceEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate IntegrationServiceEnvironmentOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IntegrationServiceEnvironmentsClient) Update ¶
func (c IntegrationServiceEnvironmentsClient) Update(ctx context.Context, id IntegrationServiceEnvironmentId, input IntegrationServiceEnvironment) (result UpdateOperationResponse, err error)
Update ...
func (IntegrationServiceEnvironmentsClient) UpdateThenPoll ¶
func (c IntegrationServiceEnvironmentsClient) UpdateThenPoll(ctx context.Context, id IntegrationServiceEnvironmentId, input IntegrationServiceEnvironment) error
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 (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
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 (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type NetworkConfiguration ¶
type NetworkConfiguration struct { AccessEndpoint *IntegrationServiceEnvironmentAccessEndpoint `json:"accessEndpoint,omitempty"` Subnets *[]ResourceReference `json:"subnets,omitempty"` VirtualNetworkAddressSpace *string `json:"virtualNetworkAddressSpace,omitempty"` }
type ResourceReference ¶
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" )
Source Files ¶
- client.go
- constants.go
- id_integrationserviceenvironment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_flowendpoints.go
- model_flowendpointsconfiguration.go
- model_integrationserviceenvironmenencryptionconfiguration.go
- model_integrationserviceenvironmenencryptionkeyreference.go
- model_integrationserviceenvironment.go
- model_integrationserviceenvironmentaccessendpoint.go
- model_integrationserviceenvironmentproperties.go
- model_integrationserviceenvironmentsku.go
- model_ipaddress.go
- model_networkconfiguration.go
- model_resourcereference.go
- predicates.go
- version.go