@@ -13,8 +13,8 @@ param principalId string
13
13
param principalType string
14
14
15
15
16
- resource serviceBusNamespace_RuSlLOK64 'Microsoft.ServiceBus/namespaces@2022-10 -01-preview ' = {
17
- name : toLower (take (concat ( 'sb' , uniqueString (resourceGroup ().id )) , 24 ))
16
+ resource serviceBusNamespace_1RzZvI0LZ 'Microsoft.ServiceBus/namespaces@2021-11 -01' = {
17
+ name : toLower (take ('sb${ uniqueString (resourceGroup ().id )}' , 24 ))
18
18
location : location
19
19
tags : {
20
20
'aspire-resource-name' : 'sb'
@@ -23,66 +23,65 @@ resource serviceBusNamespace_RuSlLOK64 'Microsoft.ServiceBus/namespaces@2022-10-
23
23
name : sku
24
24
}
25
25
properties : {
26
- minimumTlsVersion : '1.2'
27
26
}
28
27
}
29
28
30
- resource roleAssignment_IS9HJzhT8 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
31
- scope : serviceBusNamespace_RuSlLOK64
32
- name : guid (serviceBusNamespace_RuSlLOK64 .id , principalId , subscriptionResourceId ('Microsoft.Authorization/roleDefinitions' , '090c5cfd-751d-490a-894a-3ce6f1109419' ))
29
+ resource roleAssignment_GAWCqJpjI 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
30
+ scope : serviceBusNamespace_1RzZvI0LZ
31
+ name : guid (serviceBusNamespace_1RzZvI0LZ .id , principalId , subscriptionResourceId ('Microsoft.Authorization/roleDefinitions' , '090c5cfd-751d-490a-894a-3ce6f1109419' ))
33
32
properties : {
34
33
roleDefinitionId : subscriptionResourceId ('Microsoft.Authorization/roleDefinitions' , '090c5cfd-751d-490a-894a-3ce6f1109419' )
35
34
principalId : principalId
36
35
principalType : principalType
37
36
}
38
37
}
39
38
40
- resource serviceBusQueue_XlB4dhrJO 'Microsoft.ServiceBus/namespaces/queues@2022-10 -01-preview ' = {
41
- parent : serviceBusNamespace_RuSlLOK64
39
+ resource serviceBusQueue_kQwbucWhl 'Microsoft.ServiceBus/namespaces/queues@2021-11 -01' = {
40
+ parent : serviceBusNamespace_1RzZvI0LZ
42
41
name : 'queue1'
43
42
location : location
44
43
properties : {
45
44
}
46
45
}
47
46
48
- resource serviceBusTopic_bemnWZskJ 'Microsoft.ServiceBus/namespaces/topics@2022-10 -01-preview ' = {
49
- parent : serviceBusNamespace_RuSlLOK64
47
+ resource serviceBusTopic_768oqOlcX 'Microsoft.ServiceBus/namespaces/topics@2021-11 -01' = {
48
+ parent : serviceBusNamespace_1RzZvI0LZ
50
49
name : 'topic1'
51
50
location : location
52
51
properties : {
53
52
}
54
53
}
55
54
56
- resource serviceBusSubscription_pWgs2FLAX 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2022-10 -01-preview ' = {
57
- parent : serviceBusTopic_bemnWZskJ
55
+ resource serviceBusSubscription_IcxQHWZBG 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-11 -01' = {
56
+ parent : serviceBusTopic_768oqOlcX
58
57
name : 'subscription1'
59
58
location : location
60
59
properties : {
61
60
}
62
61
}
63
62
64
- resource serviceBusSubscription_qojP3oFII 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2022-10 -01-preview ' = {
65
- parent : serviceBusTopic_bemnWZskJ
63
+ resource serviceBusSubscription_exANvItuE 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-11 -01' = {
64
+ parent : serviceBusTopic_768oqOlcX
66
65
name : 'subscription2'
67
66
location : location
68
67
properties : {
69
68
}
70
69
}
71
70
72
- resource serviceBusTopic_Sh8X0ue6x 'Microsoft.ServiceBus/namespaces/topics@2022-10 -01-preview ' = {
73
- parent : serviceBusNamespace_RuSlLOK64
71
+ resource serviceBusTopic_nemvFxmjZ 'Microsoft.ServiceBus/namespaces/topics@2021-11 -01' = {
72
+ parent : serviceBusNamespace_1RzZvI0LZ
74
73
name : 'topic2'
75
74
location : location
76
75
properties : {
77
76
}
78
77
}
79
78
80
- resource serviceBusSubscription_I0aPXc6VB 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2022-10 -01-preview ' = {
81
- parent : serviceBusTopic_Sh8X0ue6x
79
+ resource serviceBusSubscription_qiv2k0Nuu 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-11 -01' = {
80
+ parent : serviceBusTopic_nemvFxmjZ
82
81
name : 'subscription1'
83
82
location : location
84
83
properties : {
85
84
}
86
85
}
87
86
88
- output serviceBusEndpoint string = serviceBusNamespace_RuSlLOK64 .properties .serviceBusEndpoint
87
+ output serviceBusEndpoint string = serviceBusNamespace_1RzZvI0LZ .properties .serviceBusEndpoint
0 commit comments