Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a11ab8a
generated sdk
mihretkidane-OCI Sep 24, 2025
616dcc6
docs(Oracle): add PowerShell example docs for Resource/Network Anchor…
nikitaartoracle Sep 25, 2025
56921cb
docs(Oracle): was added tests for Network and Resource anchors
nikitaartoracle Oct 1, 2025
71b1ab3
test simple change for static analysis fix
annieli9524 Oct 2, 2025
aa8f5ea
Merge branch '2025-09-01-powershell-sdk' of https://github.com/mihret…
annieli9524 Oct 2, 2025
794bd35
Was created tests and generated json responses
nikitaartoracle Oct 2, 2025
9ae3dab
test small change - add properties back
annieli9524 Oct 3, 2025
26d27e2
add a test example
annieli9524 Oct 3, 2025
ac86ddb
add all the examples
annieli9524 Oct 3, 2025
eff25f7
update changelog.md
annieli9524 Oct 6, 2025
0a3734f
add example issues and UX Metadata Issues
annieli9524 Oct 6, 2025
bf06c9e
added resource anchore test
mihretkidane-OCI Oct 9, 2025
ebc9f07
Merge branch '2025-09-01-powershell-sdk' of github.com:mihretkidane-O…
mihretkidane-OCI Oct 9, 2025
6f4799d
added resource anchore test
mihretkidane-OCI Oct 9, 2025
2033961
new tests for Resource,networks,BaseDb
nikitaartoracle Oct 9, 2025
7d21a25
new dbsystem test
nikitaartoracle Oct 9, 2025
2cba188
new dbsystem test
nikitaartoracle Oct 10, 2025
d4b2969
new dbsystem creation and update
nikitaartoracle Oct 10, 2025
d4878f9
correct header
nikitaartoracle Oct 10, 2025
175003d
Removed based db test added
nikitaartoracle Oct 10, 2025
8f87f94
Tests for Resource Anchor
nikitaartoracle Oct 10, 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
2 changes: 1 addition & 1 deletion generated/Oracle/Oracle.Autorest/Az.Oracle.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.Oracle.private.dll'
FormatsToProcess = './Az.Oracle.format.ps1xml'
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'
FunctionsToExport = 'Add-AzOracleCloudVMClusterVM', 'Get-AzOracleAutonomousDatabase', 'Get-AzOracleAutonomousDatabaseBackup', 'Get-AzOracleAutonomousDatabaseCharacterSet', 'Get-AzOracleAutonomousDatabaseNationalCharacterSet', 'Get-AzOracleAutonomousDatabaseVersion', 'Get-AzOracleCloudExadataInfrastructure', 'Get-AzOracleCloudVMCluster', 'Get-AzOracleDbVersion', 'Get-AzOracleDbNode', 'Get-AzOracleDbServer', 'Get-AzOracleNetworkAnchor', 'Get-AzOracleResourceAnchor', 'Get-AzOracleDbSystemShape', 'Get-AzOracleDbSystem', '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-AzOracleDbSystem', 'Remove-AzOracleResourceAnchor', 'Remove-AzOracleNetworkAnchor', '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'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Oracle'
Expand Down
1 change: 1 addition & 0 deletions src/Oracle/Oracle.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
[assembly: System.Reflection.AssemblyVersionAttribute("1.2.0")]
[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: d87c0a3d1abbd1d1aa1b487d99e77769b6895ef4
commit: 0a626b790148b419c9b0bbbc7f4db746d4d886e4
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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
85 changes: 85 additions & 0 deletions src/Oracle/Oracle.Autorest/UX/Oracle.Database/dbSystems.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "dbSystems",
"apiVersion": "2025-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleDbSystem",
"description": "Get a DbSystem",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/dbSystems/{dbSystemName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoracledbsystem"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a DbSystem",
"parameters": [
{
"name": "-Name",
"value": "[Path.dbSystemName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzOracleDbSystem",
"description": "Delete a DbSystem",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/dbSystems/{dbSystemName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/remove-azoracledbsystem"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a DbSystem",
"parameters": [
{
"name": "-Name",
"value": "[Path.dbSystemName]"
},
{
"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": "exadbVmClusters/dbNodes",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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": "exadbVmClusters",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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": "exascaleDbStorageVaults",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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/autonomousDatabaseCharacterSets",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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,47 @@
{
"resourceType": "locations/dbSystemDbVersions",
"apiVersion": "2025-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleDbVersion",
"description": "Get a DbVersion",
"path": "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dbSystemDbVersions/{dbversionsname}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoracledbversion"
},
"parameterSets": [
{
"parameters": [
"-Location <String>",
"-Sname <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a DbVersion",
"parameters": [
{
"name": "-Location",
"value": "[Path.location]"
},
{
"name": "-Sname",
"value": "[Path.dbversionsname]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "locations/dbSystemShapes",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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": "2025-03-01",
"apiVersion": "2025-09-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/flexComponents",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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/giVersions/giMinorVersions",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-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/giVersions",
"apiVersion": "2025-03-01",
"apiVersion": "2025-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
Expand Down
85 changes: 85 additions & 0 deletions src/Oracle/Oracle.Autorest/UX/Oracle.Database/networkAnchors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "networkAnchors",
"apiVersion": "2025-09-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle"
},
"commands": [
{
"name": "Get-AzOracleNetworkAnchor",
"description": "Get a NetworkAnchor",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/networkAnchors/{networkAnchorName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/get-azoraclenetworkanchor"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a NetworkAnchor",
"parameters": [
{
"name": "-Name",
"value": "[Path.networkAnchorName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzOracleNetworkAnchor",
"description": "Delete a NetworkAnchor",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/networkAnchors/{networkAnchorName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.oracle/remove-azoraclenetworkanchor"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a NetworkAnchor",
"parameters": [
{
"name": "-Name",
"value": "[Path.networkAnchorName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Loading