/
namespaces_topics_subscription_spec_arm_types_gen.go
72 lines (54 loc) · 3.37 KB
/
namespaces_topics_subscription_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
// 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_Topics_Subscription_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: Properties of subscriptions resource.
Properties *SBSubscriptionProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &Namespaces_Topics_Subscription_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2021-01-01-preview"
func (subscription Namespaces_Topics_Subscription_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (subscription *Namespaces_Topics_Subscription_Spec_ARM) GetName() string {
return subscription.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.ServiceBus/namespaces/topics/subscriptions"
func (subscription *Namespaces_Topics_Subscription_Spec_ARM) GetType() string {
return "Microsoft.ServiceBus/namespaces/topics/subscriptions"
}
// Description of Subscription Resource.
type SBSubscriptionProperties_ARM struct {
// AutoDeleteOnIdle: ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration
// is 5 minutes.
AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"`
// DeadLetteringOnFilterEvaluationExceptions: Value that indicates whether a subscription has dead letter support on filter
// evaluation exceptions.
DeadLetteringOnFilterEvaluationExceptions *bool `json:"deadLetteringOnFilterEvaluationExceptions,omitempty"`
// DeadLetteringOnMessageExpiration: Value that indicates whether a subscription has dead letter support when a message
// expires.
DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"`
// DefaultMessageTimeToLive: ISO 8061 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"`
// 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 8061 lock duration timespan for the subscription. The default value is 1 minute.
LockDuration *string `json:"lockDuration,omitempty"`
// MaxDeliveryCount: Number of maximum deliveries.
MaxDeliveryCount *int `json:"maxDeliveryCount,omitempty"`
// RequiresSession: Value indicating if a subscription supports the concept of sessions.
RequiresSession *bool `json:"requiresSession,omitempty"`
}