Skip to content

Oracle database powershell for new version 2025-03-01 #27895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1842b1c
powershell new version
mihretkidane-OCI Jun 5, 2025
34ed032
revert versoin change
mihretkidane-OCI Jun 9, 2025
90d9cae
Merge branch 'Azure:main' into main
mihretkidane-OCI Jun 10, 2025
6ea5f61
INDIGO-18978 - Base File for Exascale
raghumetta Jun 10, 2025
92dd4bd
updated missing examples
mihretkidane-OCI Jun 10, 2025
e5b7eed
Merge branch 'main' of https://github.com/mihretkidane-OCI/azure-powe…
mihretkidane-OCI Jun 10, 2025
8d3cd00
INDIGO-18978 - Base File for Exascale powershell testing
raghumetta Jun 10, 2025
f1234f6
Merge branch 'main' of https://github.com/mihretkidane-OCI/azure-powe…
raghumetta Jun 10, 2025
b1905fd
INDIGO-18978 - Rename Base File for Exascale powershell testing
raghumetta Jun 10, 2025
c044f29
Merge branch 'Azure:main' into main
mihretkidane-OCI Jun 11, 2025
c80af80
build examples
mihretkidane-OCI Jun 11, 2025
47b550d
examples
mihretkidane-OCI Jun 11, 2025
e2f8783
update exascale tests
v-ehua Jun 11, 2025
7f18144
fix build failures
v-ehua Jun 17, 2025
21058aa
address build failures
v-ehua Jun 17, 2025
e54aed9
fix example
mihretkidane-OCI Jun 18, 2025
4fec842
fix example
mihretkidane-OCI Jun 18, 2025
3586834
examples
mihretkidane-OCI Jun 19, 2025
e4b8de9
example
mihretkidane-OCI Jun 23, 2025
8e954ed
fix example
mihretkidane-OCI Jun 24, 2025
cf81703
fix example
mihretkidane-OCI Jun 24, 2025
d81ddfa
add new test recording
mihretkidane-OCI Jun 24, 2025
2893eff
fix example
mihretkidane-OCI Jun 24, 2025
a35dcb9
fix example
mihretkidane-OCI Jun 24, 2025
430cf80
build result
mihretkidane-OCI Jun 25, 2025
0e972a2
build result
mihretkidane-OCI Jun 25, 2025
05f42e9
nit
mihretkidane-OCI Jun 25, 2025
4d239c1
nit
mihretkidane-OCI Jun 25, 2025
1d0284c
test recording
mihretkidane-OCI Jun 25, 2025
2a10f14
test recording
mihretkidane-OCI Jun 26, 2025
f363ddf
test recording
mihretkidane-OCI Jun 26, 2025
b9ea59f
test recording
mihretkidane-OCI Jun 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,900 changes: 4,900 additions & 0 deletions azure-powershell.sln

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions src/Oracle/Oracle.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Oracle")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
2 changes: 1 addition & 1 deletion src/Oracle/Oracle.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For information on how to develop for `Az.Oracle`, see [how-to.md](how-to.md).
> see https://aka.ms/autorest

```yaml
commit: cbbe228fd422db02b65e2748f83df5f2bcad7581
commit: d87c0a3d1abbd1d1aa1b487d99e77769b6895ef4
require:
- $(this-folder)/../../readme.azure.noprofile.md
- $(repo)/specification/oracle/resource-manager/readme.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "autonomousDatabases/autonomousDatabaseBackups",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "autonomousDatabases",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "cloudExadataInfrastructures/dbServers",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "cloudExadataInfrastructures",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "cloudVmClusters/dbNodes",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "cloudVmClusters",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"resourceType": "exadbVmClusters/dbNodes",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleExascaleDbNode",
"description": "Get a ExascaleDbNode",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/exadbVmClusters/{exadbVmClusterName}/dbNodes/{exascaleDbNodeName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoracleexascaledbnode"
},
"parameterSets": [
{
"parameters": [
"-ExadbVMClusterName <String>",
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a ExascaleDbNode",
"parameters": [
{
"name": "-ExadbVMClusterName",
"value": "[Path.exadbVmClusterName]"
},
{
"name": "-Name",
"value": "[Path.exascaleDbNodeName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
85 changes: 85 additions & 0 deletions src/Oracle/Oracle.Autorest/UX/Oracle.Database/exadbVmClusters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "exadbVmClusters",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleExadbVMCluster",
"description": "Get a ExadbVmCluster",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/exadbVmClusters/{exadbVmClusterName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoracleexadbvmcluster"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a ExadbVmCluster",
"parameters": [
{
"name": "-Name",
"value": "[Path.exadbVmClusterName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzOracleExadbVMCluster",
"description": "Delete a ExadbVmCluster",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/exadbVmClusters/{exadbVmClusterName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/remove-azoracleexadbvmcluster"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a ExadbVmCluster",
"parameters": [
{
"name": "-Name",
"value": "[Path.exadbVmClusterName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "exascaleDbStorageVaults",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleExascaleDbStorageVault",
"description": "Get a ExascaleDbStorageVault",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/exascaleDbStorageVaults/{exascaleDbStorageVaultName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoracleexascaledbstoragevault"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a ExascaleDbStorageVault",
"parameters": [
{
"name": "-Name",
"value": "[Path.exascaleDbStorageVaultName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzOracleExascaleDbStorageVault",
"description": "Delete a ExascaleDbStorageVault",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/exascaleDbStorageVaults/{exascaleDbStorageVaultName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/remove-azoracleexascaledbstoragevault"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a ExascaleDbStorageVault",
"parameters": [
{
"name": "-Name",
"value": "[Path.exascaleDbStorageVaultName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/autonomousDatabaseCharacterSets",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/autonomousDatabaseNationalCharacterSets",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/autonomousDbVersions",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/dbSystemShapes",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/dnsPrivateViews",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/dnsPrivateZones",
"apiVersion": "2023-09-01",
"apiVersion": "2025-03-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
Loading
Loading