README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/integrationaccountassemblies
Documentation
The integrationaccountassemblies
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/integrationaccountassemblies"
Client Initialization
client := integrationaccountassemblies.NewIntegrationAccountAssembliesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: IntegrationAccountAssembliesClient.CreateOrUpdate
ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "assemblyValue")
payload := integrationaccountassemblies.AssemblyDefinition{
// ...
}
read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IntegrationAccountAssembliesClient.Delete
ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "assemblyValue")
read, err := client.Delete(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IntegrationAccountAssembliesClient.Get
ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "assemblyValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IntegrationAccountAssembliesClient.List
ctx := context.TODO()
id := integrationaccountassemblies.NewIntegrationAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue")
read, err := client.List(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IntegrationAccountAssembliesClient.ListContentCallbackUrl
ctx := context.TODO()
id := integrationaccountassemblies.NewAssemblyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "assemblyValue")
read, err := client.ListContentCallbackUrl(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func ValidateAssemblyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIntegrationAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AssemblyCollection
- type AssemblyDefinition
- type AssemblyId
- type AssemblyProperties
- type ContentHash
- type ContentLink
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IntegrationAccountAssembliesClient
- func (c IntegrationAccountAssembliesClient) CreateOrUpdate(ctx context.Context, id AssemblyId, input AssemblyDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c IntegrationAccountAssembliesClient) Delete(ctx context.Context, id AssemblyId) (result DeleteOperationResponse, err error)
- func (c IntegrationAccountAssembliesClient) Get(ctx context.Context, id AssemblyId) (result GetOperationResponse, err error)
- func (c IntegrationAccountAssembliesClient) List(ctx context.Context, id IntegrationAccountId) (result ListOperationResponse, err error)
- func (c IntegrationAccountAssembliesClient) ListContentCallbackUrl(ctx context.Context, id AssemblyId) (result ListContentCallbackUrlOperationResponse, err error)
- type IntegrationAccountId
- type ListContentCallbackUrlOperationResponse
- type ListOperationResponse
- type WorkflowTriggerCallbackUrl
- type WorkflowTriggerListCallbackUrlQueries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAssemblyID ¶
ValidateAssemblyID checks that 'input' can be parsed as a Assembly ID
func ValidateIntegrationAccountID ¶
func ValidateIntegrationAccountID(input interface{}, key string) (warnings []string, errors []error)
ValidateIntegrationAccountID checks that 'input' can be parsed as a Integration Account ID
Types ¶
type AssemblyCollection ¶
type AssemblyCollection struct {
Value *[]AssemblyDefinition `json:"value,omitempty"`
}
type AssemblyDefinition ¶
type AssemblyId ¶
type AssemblyId struct { SubscriptionId string ResourceGroupName string IntegrationAccountName string AssemblyName string }
AssemblyId is a struct representing the Resource ID for a Assembly
func NewAssemblyID ¶
func NewAssemblyID(subscriptionId string, resourceGroupName string, integrationAccountName string, assemblyName string) AssemblyId
NewAssemblyID returns a new AssemblyId struct
func ParseAssemblyID ¶
func ParseAssemblyID(input string) (*AssemblyId, error)
ParseAssemblyID parses 'input' into a AssemblyId
func ParseAssemblyIDInsensitively ¶
func ParseAssemblyIDInsensitively(input string) (*AssemblyId, error)
ParseAssemblyIDInsensitively parses 'input' case-insensitively into a AssemblyId note: this method should only be used for API response data and not user input
func (AssemblyId) Segments ¶
func (id AssemblyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Assembly ID
func (AssemblyId) String ¶
func (id AssemblyId) String() string
String returns a human-readable description of this Assembly ID
type AssemblyProperties ¶
type AssemblyProperties struct { AssemblyCulture *string `json:"assemblyCulture,omitempty"` AssemblyName string `json:"assemblyName"` AssemblyPublicKeyToken *string `json:"assemblyPublicKeyToken,omitempty"` AssemblyVersion *string `json:"assemblyVersion,omitempty"` ChangedTime *string `json:"changedTime,omitempty"` Content *interface{} `json:"content,omitempty"` ContentLink *ContentLink `json:"contentLink,omitempty"` ContentType *string `json:"contentType,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` }
func (*AssemblyProperties) GetChangedTimeAsTime ¶
func (o *AssemblyProperties) GetChangedTimeAsTime() (*time.Time, error)
func (*AssemblyProperties) GetCreatedTimeAsTime ¶
func (o *AssemblyProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*AssemblyProperties) SetChangedTimeAsTime ¶
func (o *AssemblyProperties) SetChangedTimeAsTime(input time.Time)
func (*AssemblyProperties) SetCreatedTimeAsTime ¶
func (o *AssemblyProperties) SetCreatedTimeAsTime(input time.Time)
type ContentHash ¶
type ContentLink ¶
type ContentLink struct { ContentHash *ContentHash `json:"contentHash,omitempty"` ContentSize *int64 `json:"contentSize,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Uri *string `json:"uri,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssemblyDefinition }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssemblyDefinition }
type IntegrationAccountAssembliesClient ¶
type IntegrationAccountAssembliesClient struct {
Client *resourcemanager.Client
}
func NewIntegrationAccountAssembliesClientWithBaseURI ¶
func NewIntegrationAccountAssembliesClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationAccountAssembliesClient, error)
func (IntegrationAccountAssembliesClient) CreateOrUpdate ¶
func (c IntegrationAccountAssembliesClient) CreateOrUpdate(ctx context.Context, id AssemblyId, input AssemblyDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IntegrationAccountAssembliesClient) Delete ¶
func (c IntegrationAccountAssembliesClient) Delete(ctx context.Context, id AssemblyId) (result DeleteOperationResponse, err error)
Delete ...
func (IntegrationAccountAssembliesClient) Get ¶
func (c IntegrationAccountAssembliesClient) Get(ctx context.Context, id AssemblyId) (result GetOperationResponse, err error)
Get ...
func (IntegrationAccountAssembliesClient) List ¶
func (c IntegrationAccountAssembliesClient) List(ctx context.Context, id IntegrationAccountId) (result ListOperationResponse, err error)
List ...
func (IntegrationAccountAssembliesClient) ListContentCallbackUrl ¶
func (c IntegrationAccountAssembliesClient) ListContentCallbackUrl(ctx context.Context, id AssemblyId) (result ListContentCallbackUrlOperationResponse, err error)
ListContentCallbackUrl ...
type IntegrationAccountId ¶
type IntegrationAccountId struct { SubscriptionId string ResourceGroupName string IntegrationAccountName string }
IntegrationAccountId is a struct representing the Resource ID for a Integration Account
func NewIntegrationAccountID ¶
func NewIntegrationAccountID(subscriptionId string, resourceGroupName string, integrationAccountName string) IntegrationAccountId
NewIntegrationAccountID returns a new IntegrationAccountId struct
func ParseIntegrationAccountID ¶
func ParseIntegrationAccountID(input string) (*IntegrationAccountId, error)
ParseIntegrationAccountID parses 'input' into a IntegrationAccountId
func ParseIntegrationAccountIDInsensitively ¶
func ParseIntegrationAccountIDInsensitively(input string) (*IntegrationAccountId, error)
ParseIntegrationAccountIDInsensitively parses 'input' case-insensitively into a IntegrationAccountId note: this method should only be used for API response data and not user input
func (IntegrationAccountId) ID ¶
func (id IntegrationAccountId) ID() string
ID returns the formatted Integration Account ID
func (IntegrationAccountId) Segments ¶
func (id IntegrationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Integration Account ID
func (IntegrationAccountId) String ¶
func (id IntegrationAccountId) String() string
String returns a human-readable description of this Integration Account ID
type ListContentCallbackUrlOperationResponse ¶
type ListContentCallbackUrlOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowTriggerCallbackUrl }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssemblyCollection }
type WorkflowTriggerCallbackUrl ¶
type WorkflowTriggerCallbackUrl struct { BasePath *string `json:"basePath,omitempty"` Method *string `json:"method,omitempty"` Queries *WorkflowTriggerListCallbackUrlQueries `json:"queries,omitempty"` RelativePath *string `json:"relativePath,omitempty"` RelativePathParameters *[]string `json:"relativePathParameters,omitempty"` Value *string `json:"value,omitempty"` }
Source Files ¶
- client.go
- id_assembly.go
- id_integrationaccount.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listcontentcallbackurl.go
- model_assemblycollection.go
- model_assemblydefinition.go
- model_assemblyproperties.go
- model_contenthash.go
- model_contentlink.go
- model_workflowtriggercallbackurl.go
- model_workflowtriggerlistcallbackurlqueries.go
- version.go