Skip to content

Commit 576e828

Browse files
[skip ci] Archive ab80f18 (#28097)
1 parent 359f969 commit 576e828

File tree

446 files changed

+92290
-9898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+92290
-9898
lines changed

generated/Oracle/Oracle.Autorest/Az.Oracle.format.ps1xml

Lines changed: 3675 additions & 1037 deletions
Large diffs are not rendered by default.

generated/Oracle/Oracle.Autorest/Az.Oracle.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.Oracle.private.dll'
1313
FormatsToProcess = './Az.Oracle.format.ps1xml'
14-
FunctionsToExport = 'Add-AzOracleCloudVMClusterVM', 'Get-AzOracleAutonomousDatabase', 'Get-AzOracleAutonomousDatabaseBackup', 'Get-AzOracleAutonomousDatabaseCharacterSet', 'Get-AzOracleAutonomousDatabaseNationalCharacterSet', 'Get-AzOracleAutonomousDatabaseVersion', 'Get-AzOracleCloudExadataInfrastructure', 'Get-AzOracleCloudVMCluster', 'Get-AzOracleDbNode', 'Get-AzOracleDbServer', 'Get-AzOracleDbSystemShape', 'Get-AzOracleDnsPrivateView', 'Get-AzOracleDnsPrivateZone', 'Get-AzOracleGiVersion', 'Invoke-AzOracleActionDbNode', 'Invoke-AzOracleSwitchoverAutonomousDatabase', 'New-AzOracleAutonomousDatabase', 'New-AzOracleAutonomousDatabaseBackup', 'New-AzOracleCloudExadataInfrastructure', 'New-AzOracleCloudVMCluster', 'New-AzOracleCustomerContactObject', 'New-AzOracleNsgCidrObject', 'Remove-AzOracleAutonomousDatabase', 'Remove-AzOracleAutonomousDatabaseBackup', 'Remove-AzOracleCloudExadataInfrastructure', 'Remove-AzOracleCloudVMCluster', 'Remove-AzOracleCloudVMClusterVM', 'Restore-AzOracleAutonomousDatabase', 'Update-AzOracleAutonomousDatabase', 'Update-AzOracleCloudExadataInfrastructure', 'Update-AzOracleCloudVMCluster'
14+
FunctionsToExport = 'Add-AzOracleCloudVMClusterVM', 'Get-AzOracleAutonomousDatabase', 'Get-AzOracleAutonomousDatabaseBackup', 'Get-AzOracleAutonomousDatabaseCharacterSet', 'Get-AzOracleAutonomousDatabaseNationalCharacterSet', 'Get-AzOracleAutonomousDatabaseVersion', 'Get-AzOracleCloudExadataInfrastructure', 'Get-AzOracleCloudVMCluster', 'Get-AzOracleDbNode', 'Get-AzOracleDbServer', 'Get-AzOracleDbSystemShape', 'Get-AzOracleDnsPrivateView', 'Get-AzOracleDnsPrivateZone', 'Get-AzOracleExadbVMCluster', 'Get-AzOracleExascaleDbNode', 'Get-AzOracleExascaleDbStorageVault', 'Get-AzOracleFlexComponent', 'Get-AzOracleGiMinorVersion', 'Get-AzOracleGiVersion', 'Invoke-AzOracleActionDbNode', 'Invoke-AzOracleActionExascaleDbNode', 'Invoke-AzOracleSwitchoverAutonomousDatabase', 'New-AzOracleAutonomousDatabase', 'New-AzOracleAutonomousDatabaseBackup', 'New-AzOracleCloudExadataInfrastructure', 'New-AzOracleCloudVMCluster', 'New-AzOracleCustomerContactObject', 'New-AzOracleExadbVMCluster', 'New-AzOracleExascaleDbStorageVault', 'New-AzOracleNsgCidrObject', 'Remove-AzOracleAutonomousDatabase', 'Remove-AzOracleAutonomousDatabaseBackup', 'Remove-AzOracleCloudExadataInfrastructure', 'Remove-AzOracleCloudVMCluster', 'Remove-AzOracleCloudVMClusterVM', 'Remove-AzOracleExadbVMCluster', 'Remove-AzOracleExadbVMClusterVM', 'Remove-AzOracleExascaleDbStorageVault', 'Rename-AzOracleAutonomousDatabaseDisasterRecoveryConfiguration', 'Restore-AzOracleAutonomousDatabase', 'Update-AzOracleAutonomousDatabase', 'Update-AzOracleCloudExadataInfrastructure', 'Update-AzOracleCloudVMCluster', 'Update-AzOracleExadbVMCluster', 'Update-AzOracleExascaleDbStorageVault'
1515
PrivateData = @{
1616
PSData = @{
1717
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Oracle'
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Oracle")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

generated/Oracle/Oracle.Autorest/exports/Add-AzOracleCloudVMClusterVM.ps1

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ INPUTOBJECT <IOracleIdentity>: Identity Parameter
5050
[Dbsystemshapename <String>]: DbSystemShape name
5151
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
5252
[Dnsprivatezonename <String>]: DnsPrivateZone name
53+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
54+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
55+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
56+
[FlexComponentName <String>]: The name of the FlexComponent
57+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
5358
[Giversionname <String>]: GiVersion name
5459
[Id <String>]: Resource identity path
5560
[Location <String>]: The name of the Azure region.
@@ -185,6 +190,15 @@ begin {
185190
$PSBoundParameters['OutBuffer'] = 1
186191
}
187192
$parameterSet = $PSCmdlet.ParameterSetName
193+
194+
$testPlayback = $false
195+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
196+
197+
$context = Get-AzContext
198+
if (-not $context -and -not $testPlayback) {
199+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
200+
exit
201+
}
188202

189203
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
190204
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -210,8 +224,6 @@ begin {
210224
AddViaJsonString = 'Az.Oracle.private\Add-AzOracleCloudVMClusterVM_AddViaJsonString';
211225
}
212226
if (('AddExpanded', 'AddViaJsonFilePath', 'AddViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
213-
$testPlayback = $false
214-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
215227
if ($testPlayback) {
216228
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
217229
} else {
@@ -225,6 +237,9 @@ begin {
225237
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
226238
}
227239
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
240+
if ($wrappedCmd -eq $null) {
241+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
242+
}
228243
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
229244
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
230245
$steppablePipeline.Begin($PSCmdlet)

generated/Oracle/Oracle.Autorest/exports/Get-AzOracleAutonomousDatabase.ps1

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ INPUTOBJECT <IOracleIdentity>: Identity Parameter
4444
[Dbsystemshapename <String>]: DbSystemShape name
4545
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
4646
[Dnsprivatezonename <String>]: DnsPrivateZone name
47+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
48+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
49+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
50+
[FlexComponentName <String>]: The name of the FlexComponent
51+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
4752
[Giversionname <String>]: GiVersion name
4853
[Id <String>]: Resource identity path
4954
[Location <String>]: The name of the Azure region.
@@ -145,6 +150,15 @@ begin {
145150
$PSBoundParameters['OutBuffer'] = 1
146151
}
147152
$parameterSet = $PSCmdlet.ParameterSetName
153+
154+
$testPlayback = $false
155+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
156+
157+
$context = Get-AzContext
158+
if (-not $context -and -not $testPlayback) {
159+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
160+
exit
161+
}
148162

149163
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
150164
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -170,8 +184,6 @@ begin {
170184
List1 = 'Az.Oracle.private\Get-AzOracleAutonomousDatabase_List1';
171185
}
172186
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
173-
$testPlayback = $false
174-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
175187
if ($testPlayback) {
176188
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
177189
} else {
@@ -185,6 +197,9 @@ begin {
185197
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
186198
}
187199
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
200+
if ($wrappedCmd -eq $null) {
201+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
202+
}
188203
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
189204
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
190205
$steppablePipeline.Begin($PSCmdlet)

generated/Oracle/Oracle.Autorest/exports/Get-AzOracleAutonomousDatabaseBackup.ps1

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ AUTONOMOUSDATABASEINPUTOBJECT <IOracleIdentity>: Identity Parameter
4444
[Dbsystemshapename <String>]: DbSystemShape name
4545
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
4646
[Dnsprivatezonename <String>]: DnsPrivateZone name
47+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
48+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
49+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
50+
[FlexComponentName <String>]: The name of the FlexComponent
51+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
4752
[Giversionname <String>]: GiVersion name
4853
[Id <String>]: Resource identity path
4954
[Location <String>]: The name of the Azure region.
@@ -65,6 +70,11 @@ INPUTOBJECT <IOracleIdentity>: Identity Parameter
6570
[Dbsystemshapename <String>]: DbSystemShape name
6671
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
6772
[Dnsprivatezonename <String>]: DnsPrivateZone name
73+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
74+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
75+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
76+
[FlexComponentName <String>]: The name of the FlexComponent
77+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
6878
[Giversionname <String>]: GiVersion name
6979
[Id <String>]: Resource identity path
7080
[Location <String>]: The name of the Azure region.
@@ -178,6 +188,15 @@ begin {
178188
$PSBoundParameters['OutBuffer'] = 1
179189
}
180190
$parameterSet = $PSCmdlet.ParameterSetName
191+
192+
$testPlayback = $false
193+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
194+
195+
$context = Get-AzContext
196+
if (-not $context -and -not $testPlayback) {
197+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
198+
exit
199+
}
181200

182201
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
183202
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -203,8 +222,6 @@ begin {
203222
List = 'Az.Oracle.private\Get-AzOracleAutonomousDatabaseBackup_List';
204223
}
205224
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
206-
$testPlayback = $false
207-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
208225
if ($testPlayback) {
209226
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
210227
} else {
@@ -218,6 +235,9 @@ begin {
218235
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
219236
}
220237
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
238+
if ($wrappedCmd -eq $null) {
239+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
240+
}
221241
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
222242
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
223243
$steppablePipeline.Begin($PSCmdlet)

generated/Oracle/Oracle.Autorest/exports/Get-AzOracleAutonomousDatabaseCharacterSet.ps1

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ INPUTOBJECT <IOracleIdentity>: Identity Parameter
4444
[Dbsystemshapename <String>]: DbSystemShape name
4545
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
4646
[Dnsprivatezonename <String>]: DnsPrivateZone name
47+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
48+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
49+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
50+
[FlexComponentName <String>]: The name of the FlexComponent
51+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
4752
[Giversionname <String>]: GiVersion name
4853
[Id <String>]: Resource identity path
4954
[Location <String>]: The name of the Azure region.
@@ -65,6 +70,11 @@ LOCATIONINPUTOBJECT <IOracleIdentity>: Identity Parameter
6570
[Dbsystemshapename <String>]: DbSystemShape name
6671
[Dnsprivateviewocid <String>]: DnsPrivateView OCID
6772
[Dnsprivatezonename <String>]: DnsPrivateZone name
73+
[ExadbVMClusterName <String>]: The name of the ExadbVmCluster
74+
[ExascaleDbNodeName <String>]: The name of the ExascaleDbNode
75+
[ExascaleDbStorageVaultName <String>]: The name of the ExascaleDbStorageVault
76+
[FlexComponentName <String>]: The name of the FlexComponent
77+
[GiMinorVersionName <String>]: The name of the GiMinorVersion
6878
[Giversionname <String>]: GiVersion name
6979
[Id <String>]: Resource identity path
7080
[Location <String>]: The name of the Azure region.
@@ -170,6 +180,15 @@ begin {
170180
$PSBoundParameters['OutBuffer'] = 1
171181
}
172182
$parameterSet = $PSCmdlet.ParameterSetName
183+
184+
$testPlayback = $false
185+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
186+
187+
$context = Get-AzContext
188+
if (-not $context -and -not $testPlayback) {
189+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
190+
exit
191+
}
173192

174193
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
175194
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -195,8 +214,6 @@ begin {
195214
List = 'Az.Oracle.private\Get-AzOracleAutonomousDatabaseCharacterSet_List';
196215
}
197216
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
198-
$testPlayback = $false
199-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Oracle.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
200217
if ($testPlayback) {
201218
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
202219
} else {
@@ -210,6 +227,9 @@ begin {
210227
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
211228
}
212229
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
230+
if ($wrappedCmd -eq $null) {
231+
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
232+
}
213233
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
214234
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
215235
$steppablePipeline.Begin($PSCmdlet)

0 commit comments

Comments
 (0)