@@ -18,56 +18,57 @@ Adds an Azure deployment to a resource group.
18
18
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
19
19
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
20
20
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
21
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateFile <String> [-SkipTemplateParameterPrompt]
22
- [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
21
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [-QueryString <String>] -TemplateFile <String>
22
+ [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
23
+ [<CommonParameters>]
23
24
```
24
25
25
26
### ByTemplateObjectAndParameterObject
26
27
```
27
28
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
28
29
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
29
30
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
30
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterObject <Hashtable>
31
- -TemplateObject <Hashtable> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer> ]
32
- [-WhatIf] [-Confirm] [<CommonParameters>]
31
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>]
32
+ -TemplateParameterObject <Hashtable> - TemplateObject <Hashtable> [-SkipTemplateParameterPrompt] [-Pre]
33
+ [-DefaultProfile <IAzureContextContainer>] [- WhatIf] [-Confirm] [<CommonParameters>]
33
34
```
34
35
35
36
### ByTemplateFileAndParameterObject
36
37
```
37
38
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
38
39
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
39
40
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
40
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterObject <Hashtable>
41
- -TemplateFile <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer> ]
42
- [-WhatIf] [-Confirm] [<CommonParameters>]
41
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>]
42
+ -TemplateParameterObject <Hashtable> - TemplateFile <String> [-SkipTemplateParameterPrompt] [-Pre]
43
+ [-DefaultProfile <IAzureContextContainer>] [- WhatIf] [-Confirm] [<CommonParameters>]
43
44
```
44
45
45
46
### ByTemplateUriAndParameterObject
46
47
```
47
48
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
48
49
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
49
50
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
50
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterObject <Hashtable>
51
- -TemplateUri <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer> ]
52
- [-WhatIf] [-Confirm] [<CommonParameters>]
51
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>]
52
+ -TemplateParameterObject <Hashtable> - TemplateUri <String> [-SkipTemplateParameterPrompt] [-Pre]
53
+ [-DefaultProfile <IAzureContextContainer>] [- WhatIf] [-Confirm] [<CommonParameters>]
53
54
```
54
55
55
56
### ByTemplateSpecResourceIdAndParamsObject
56
57
```
57
58
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
58
59
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
59
60
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
60
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterObject <Hashtable>
61
- -TemplateSpecId <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer> ]
62
- [-WhatIf] [-Confirm] [<CommonParameters>]
61
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>]
62
+ -TemplateParameterObject <Hashtable> - TemplateSpecId <String> [-SkipTemplateParameterPrompt] [-Pre]
63
+ [-DefaultProfile <IAzureContextContainer>] [- WhatIf] [-Confirm] [<CommonParameters>]
63
64
```
64
65
65
66
### ByTemplateObjectAndParameterFile
66
67
```
67
68
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
68
69
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
69
70
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
70
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterFile <String>
71
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [- QueryString <String>] -TemplateParameterFile <String>
71
72
-TemplateObject <Hashtable> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
72
73
[-WhatIf] [-Confirm] [<CommonParameters>]
73
74
```
@@ -77,37 +78,37 @@ New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mod
77
78
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
78
79
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
79
80
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
80
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterFile <String> -TemplateFile <String>
81
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
82
- [<CommonParameters>]
81
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterFile <String>
82
+ -TemplateFile <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
83
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
83
84
```
84
85
85
86
### ByTemplateUriAndParameterFile
86
87
```
87
88
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
88
89
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
89
90
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
90
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterFile <String> -TemplateUri <String>
91
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
92
- [<CommonParameters>]
91
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterFile <String>
92
+ -TemplateUri <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
93
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
93
94
```
94
95
95
96
### ByTemplateSpecResourceIdAndParams
96
97
```
97
98
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
98
99
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
99
100
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
100
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterFile <String> -TemplateSpecId <String>
101
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
102
- [<CommonParameters>]
101
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterFile <String>
102
+ -TemplateSpecId <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
103
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
103
104
```
104
105
105
106
### ByParameterFileWithNoTemplate
106
107
```
107
108
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
108
109
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
109
110
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
110
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterFile <String>
111
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [- QueryString <String>] -TemplateParameterFile <String>
111
112
[-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
112
113
[<CommonParameters>]
113
114
```
@@ -117,7 +118,7 @@ New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mod
117
118
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
118
119
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
119
120
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
120
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterUri <String>
121
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [- QueryString <String>] -TemplateParameterUri <String>
121
122
-TemplateObject <Hashtable> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
122
123
[-WhatIf] [-Confirm] [<CommonParameters>]
123
124
```
@@ -127,37 +128,37 @@ New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mod
127
128
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
128
129
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
129
130
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
130
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterUri <String> -TemplateFile <String>
131
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
132
- [<CommonParameters>]
131
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterUri <String>
132
+ -TemplateFile <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
133
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
133
134
```
134
135
135
136
### ByTemplateUriAndParameterUri
136
137
```
137
138
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
138
139
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
139
140
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
140
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterUri <String> -TemplateUri <String>
141
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
142
- [<CommonParameters>]
141
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterUri <String>
142
+ -TemplateUri <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
143
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
143
144
```
144
145
145
146
### ByTemplateSpecResourceIdAndParamsUri
146
147
```
147
148
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
148
149
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
149
150
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
150
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateParameterUri <String> -TemplateSpecId <String>
151
- [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm ]
152
- [<CommonParameters>]
151
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[] >] [-QueryString <String>] -TemplateParameterUri <String>
152
+ -TemplateSpecId <String> [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>]
153
+ [-WhatIf] [-Confirm] [ <CommonParameters>]
153
154
```
154
155
155
156
### ByTemplateObjectWithNoParameters
156
157
```
157
158
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
158
159
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
159
160
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
160
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateObject <Hashtable>
161
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [- QueryString <String>] -TemplateObject <Hashtable>
161
162
[-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
162
163
[<CommonParameters>]
163
164
```
@@ -167,17 +168,19 @@ New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mod
167
168
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
168
169
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
169
170
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
170
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateUri <String> [-SkipTemplateParameterPrompt]
171
- [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
171
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [-QueryString <String>] -TemplateUri <String>
172
+ [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
173
+ [<CommonParameters>]
172
174
```
173
175
174
176
### ByTemplateSpecResourceId
175
177
```
176
178
New-AzResourceGroupDeployment [-Name <String>] -ResourceGroupName <String> [-Mode <DeploymentMode>]
177
179
[-DeploymentDebugLogLevel <String>] [-RollbackToLastDeployment] [-RollBackDeploymentName <String>]
178
180
[-Tag <Hashtable>] [-WhatIfResultFormat <WhatIfResultFormat>] [-WhatIfExcludeChangeType <String[]>] [-Force]
179
- [-ProceedIfNoChange] [-AsJob] [-QueryString <String>] -TemplateSpecId <String> [-SkipTemplateParameterPrompt]
180
- [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
181
+ [-ProceedIfNoChange] [-AsJob] [-AuxTenant <String[]>] [-QueryString <String>] -TemplateSpecId <String>
182
+ [-SkipTemplateParameterPrompt] [-Pre] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
183
+ [<CommonParameters>]
181
184
```
182
185
183
186
## DESCRIPTION
@@ -264,6 +267,21 @@ Accept pipeline input: False
264
267
Accept wildcard characters : False
265
268
` ` `
266
269
270
+ ### -AuxTenant
271
+ Aux tenant ids for cross tenant deployments
272
+
273
+ ` ` ` yaml
274
+ Type : System.String[]
275
+ Parameter Sets : (All)
276
+ Aliases :
277
+
278
+ Required : False
279
+ Position : Named
280
+ Default value : None
281
+ Accept pipeline input : False
282
+ Accept wildcard characters : False
283
+ ` ` `
284
+
267
285
### -DefaultProfile
268
286
The credentials, account, tenant, and subscription used for communication with azure
269
287
0 commit comments