/
namespaces_queue_spec_arm_types_gen.go
84 lines (63 loc) · 3.95 KB
/
namespaces_queue_spec_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20210101preview
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type Namespaces_Queue_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: Queue Properties
Properties *SBQueueProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &Namespaces_Queue_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2021-01-01-preview"
func (queue Namespaces_Queue_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (queue *Namespaces_Queue_Spec_ARM) GetName() string {
return queue.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.ServiceBus/namespaces/queues"
func (queue *Namespaces_Queue_Spec_ARM) GetType() string {
return "Microsoft.ServiceBus/namespaces/queues"
}
// The Queue Properties definition.
type SBQueueProperties_ARM struct {
// AutoDeleteOnIdle: ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration
// is 5 minutes.
AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"`
// DeadLetteringOnMessageExpiration: A value that indicates whether this queue has dead letter support when a message
// expires.
DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"`
// DefaultMessageTimeToLive: ISO 8601 default message timespan to live value. This is the duration after which the message
// expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not
// set on a message itself.
DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"`
// DuplicateDetectionHistoryTimeWindow: ISO 8601 timeSpan structure that defines the duration of the duplicate detection
// history. The default value is 10 minutes.
DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"`
// EnableBatchedOperations: Value that indicates whether server-side batched operations are enabled.
EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"`
// EnableExpress: A value that indicates whether Express Entities are enabled. An express queue holds a message in memory
// temporarily before writing it to persistent storage.
EnableExpress *bool `json:"enableExpress,omitempty"`
// EnablePartitioning: A value that indicates whether the queue is to be partitioned across multiple message brokers.
EnablePartitioning *bool `json:"enablePartitioning,omitempty"`
// ForwardDeadLetteredMessagesTo: Queue/Topic name to forward the Dead Letter message
ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty"`
// ForwardTo: Queue/Topic name to forward the messages
ForwardTo *string `json:"forwardTo,omitempty"`
// LockDuration: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for
// other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
LockDuration *string `json:"lockDuration,omitempty"`
// MaxDeliveryCount: The maximum delivery count. A message is automatically deadlettered after this number of deliveries.
// default value is 10.
MaxDeliveryCount *int `json:"maxDeliveryCount,omitempty"`
// MaxSizeInMegabytes: The maximum size of the queue in megabytes, which is the size of memory allocated for the queue.
// Default is 1024.
MaxSizeInMegabytes *int `json:"maxSizeInMegabytes,omitempty"`
// RequiresDuplicateDetection: A value indicating if this queue requires duplicate detection.
RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"`
// RequiresSession: A value that indicates whether the queue supports the concept of sessions.
RequiresSession *bool `json:"requiresSession,omitempty"`
}