integrationaccountbatchconfigurations

package
v0.20240624.1113120 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

README

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

The integrationaccountbatchconfigurations 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/integrationaccountbatchconfigurations"

Client Initialization

client := integrationaccountbatchconfigurations.NewIntegrationAccountBatchConfigurationsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationAccountBatchConfigurationsClient.CreateOrUpdate

ctx := context.TODO()
id := integrationaccountbatchconfigurations.NewBatchConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "batchConfigurationValue")

payload := integrationaccountbatchconfigurations.BatchConfiguration{
	// ...
}


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: IntegrationAccountBatchConfigurationsClient.Delete

ctx := context.TODO()
id := integrationaccountbatchconfigurations.NewBatchConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "batchConfigurationValue")

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: IntegrationAccountBatchConfigurationsClient.Get

ctx := context.TODO()
id := integrationaccountbatchconfigurations.NewBatchConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "integrationAccountValue", "batchConfigurationValue")

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: IntegrationAccountBatchConfigurationsClient.List

ctx := context.TODO()
id := integrationaccountbatchconfigurations.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
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDayOfWeek

func PossibleValuesForDayOfWeek() []string

func PossibleValuesForDaysOfWeek

func PossibleValuesForDaysOfWeek() []string

func PossibleValuesForRecurrenceFrequency

func PossibleValuesForRecurrenceFrequency() []string

func ValidateBatchConfigurationID

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

ValidateBatchConfigurationID checks that 'input' can be parsed as a Batch Configuration 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 BatchConfiguration

type BatchConfiguration struct {
	Id         *string                      `json:"id,omitempty"`
	Location   *string                      `json:"location,omitempty"`
	Name       *string                      `json:"name,omitempty"`
	Properties BatchConfigurationProperties `json:"properties"`
	Tags       *map[string]string           `json:"tags,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type BatchConfigurationCollection

type BatchConfigurationCollection struct {
	Value *[]BatchConfiguration `json:"value,omitempty"`
}

type BatchConfigurationId

type BatchConfigurationId struct {
	SubscriptionId         string
	ResourceGroupName      string
	IntegrationAccountName string
	BatchConfigurationName string
}

BatchConfigurationId is a struct representing the Resource ID for a Batch Configuration

func NewBatchConfigurationID

func NewBatchConfigurationID(subscriptionId string, resourceGroupName string, integrationAccountName string, batchConfigurationName string) BatchConfigurationId

NewBatchConfigurationID returns a new BatchConfigurationId struct

func ParseBatchConfigurationID

func ParseBatchConfigurationID(input string) (*BatchConfigurationId, error)

ParseBatchConfigurationID parses 'input' into a BatchConfigurationId

func ParseBatchConfigurationIDInsensitively

func ParseBatchConfigurationIDInsensitively(input string) (*BatchConfigurationId, error)

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

func (*BatchConfigurationId) FromParseResult

func (id *BatchConfigurationId) FromParseResult(input resourceids.ParseResult) error

func (BatchConfigurationId) ID

func (id BatchConfigurationId) ID() string

ID returns the formatted Batch Configuration ID

func (BatchConfigurationId) Segments

func (id BatchConfigurationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Batch Configuration ID

func (BatchConfigurationId) String

func (id BatchConfigurationId) String() string

String returns a human-readable description of this Batch Configuration ID

type BatchConfigurationProperties

type BatchConfigurationProperties struct {
	BatchGroupName  string               `json:"batchGroupName"`
	ChangedTime     *string              `json:"changedTime,omitempty"`
	CreatedTime     *string              `json:"createdTime,omitempty"`
	Metadata        *interface{}         `json:"metadata,omitempty"`
	ReleaseCriteria BatchReleaseCriteria `json:"releaseCriteria"`
}

func (*BatchConfigurationProperties) GetChangedTimeAsTime

func (o *BatchConfigurationProperties) GetChangedTimeAsTime() (*time.Time, error)

func (*BatchConfigurationProperties) GetCreatedTimeAsTime

func (o *BatchConfigurationProperties) GetCreatedTimeAsTime() (*time.Time, error)

func (*BatchConfigurationProperties) SetChangedTimeAsTime

func (o *BatchConfigurationProperties) SetChangedTimeAsTime(input time.Time)

func (*BatchConfigurationProperties) SetCreatedTimeAsTime

func (o *BatchConfigurationProperties) SetCreatedTimeAsTime(input time.Time)

type BatchReleaseCriteria

type BatchReleaseCriteria struct {
	BatchSize    *int64                     `json:"batchSize,omitempty"`
	MessageCount *int64                     `json:"messageCount,omitempty"`
	Recurrence   *WorkflowTriggerRecurrence `json:"recurrence,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchConfiguration
}

type DayOfWeek

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

func (*DayOfWeek) UnmarshalJSON

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

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 (*DaysOfWeek) UnmarshalJSON

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

type DeleteOperationResponse

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

type GetOperationResponse

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

type IntegrationAccountBatchConfigurationsClient

type IntegrationAccountBatchConfigurationsClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationAccountBatchConfigurationsClientWithBaseURI

func NewIntegrationAccountBatchConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationAccountBatchConfigurationsClient, error)

func (IntegrationAccountBatchConfigurationsClient) CreateOrUpdate

CreateOrUpdate ...

func (IntegrationAccountBatchConfigurationsClient) Delete

Delete ...

func (IntegrationAccountBatchConfigurationsClient) Get

Get ...

func (IntegrationAccountBatchConfigurationsClient) List

List ...

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

func (id *IntegrationAccountId) FromParseResult(input resourceids.ParseResult) error

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 ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchConfigurationCollection
}

type RecurrenceFrequency

type RecurrenceFrequency string
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 (*RecurrenceFrequency) UnmarshalJSON

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

type RecurrenceSchedule

type RecurrenceSchedule struct {
	Hours              *[]int64                        `json:"hours,omitempty"`
	Minutes            *[]int64                        `json:"minutes,omitempty"`
	MonthDays          *[]int64                        `json:"monthDays,omitempty"`
	MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"`
	WeekDays           *[]DaysOfWeek                   `json:"weekDays,omitempty"`
}

type RecurrenceScheduleOccurrence

type RecurrenceScheduleOccurrence struct {
	Day        *DayOfWeek `json:"day,omitempty"`
	Occurrence *int64     `json:"occurrence,omitempty"`
}

type WorkflowTriggerRecurrence

type WorkflowTriggerRecurrence struct {
	EndTime   *string              `json:"endTime,omitempty"`
	Frequency *RecurrenceFrequency `json:"frequency,omitempty"`
	Interval  *int64               `json:"interval,omitempty"`
	Schedule  *RecurrenceSchedule  `json:"schedule,omitempty"`
	StartTime *string              `json:"startTime,omitempty"`
	TimeZone  *string              `json:"timeZone,omitempty"`
}

Jump to

Keyboard shortcuts

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