Skip to content

Commit ac86ddb

Browse files
committed
add all the examples
1 parent 26d27e2 commit ac86ddb

15 files changed

+648
-129
lines changed

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-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'
14+
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'
1515
PrivateData = @{
1616
PSData = @{
1717
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Oracle'

src/Oracle/Oracle.Autorest/docs/Get-AzOracleDbSystem.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Get a DbSystem
3939

4040
## EXAMPLES
4141

42-
### Example 1: {{ Add title here }}
42+
### Example 1: Get a list of the DbSystem resources
4343
```powershell
4444
Get-AzOracleDbSystem
4545
```
@@ -72,9 +72,10 @@ SystemDataLastModifiedByType : Application
7272
TimeCreated : 05/07/2024 13:44:18
7373
```
7474

75-
{{ Add description here }}
75+
Get a DbSystem resource by name and resource group name.
76+
For more information, execute `Get-Help Get-AzOracleDbSystem`.
7677

77-
### Example 2: {{ Add title here }}
78+
### Example 2: Get a DbSystem by name and resource group name
7879
```powershell
7980
Get-AzOracleDbSystem -ResourceGroupName PowerShellTestRg -Name OFake_PowerShellTestDbSystem
8081
```
@@ -106,7 +107,8 @@ SystemDataLastModifiedByType : Application
106107
TimeCreated : 05/07/2024 13:44:18
107108
```
108109

109-
{{ Add description here }}
110+
Gets a specific DbSystem resource by name and resource group name.
111+
For more information, execute `Get-Help Get-AzOracleDbSystem`.
110112

111113
## PARAMETERS
112114

src/Oracle/Oracle.Autorest/docs/Get-AzOracleDbVersion.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,39 @@ Get a DbVersion
4141

4242
## EXAMPLES
4343

44-
### Example 1: {{ Add title here }}
44+
### Example 1: List available Oracle Database versions in a region
4545
```powershell
46-
{{ Add code here }}
46+
Get-AzOracleDbVersion -Location eastus2
4747
```
4848

4949
```output
50-
{{ Add output here (remove the output block if the example doesn't have an output) }}
50+
...
51+
Version : 19c
52+
VersionFull : 19.22.0.0
53+
IsDefault : True
54+
IsPreview : False
55+
56+
Version : 21c
57+
VersionFull : 21.10.0.0
58+
IsDefault : False
59+
IsPreview : True
5160
```
5261

53-
{{ Add description here }}
62+
Lists the available Oracle Database versions for **eastus2**. For more information, execute `Get-Help Get-AzOracleDbVersion`.
5463

55-
### Example 2: {{ Add title here }}
64+
### Example 2: List versions for a specific shape
5665
```powershell
57-
{{ Add code here }}
66+
Get-AzOracleDbVersion -Location eastus2 -Shape "VM.Standard3.Flex"
5867
```
5968

6069
```output
61-
{{ Add output here (remove the output block if the example doesn't have an output) }}
70+
Version : 19c
71+
VersionFull : 19.22.0.0
72+
IsDefault : True
73+
IsPreview : False
6274
```
6375

64-
{{ Add description here }}
76+
Filters versions by compute shape. For more information, execute `Get-Help Get-AzOracleDbVersion`.
6577

6678
## PARAMETERS
6779

src/Oracle/Oracle.Autorest/docs/Get-AzOracleNetworkAnchor.md

Lines changed: 58 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,72 @@ Get a NetworkAnchor
3939

4040
## EXAMPLES
4141

42-
### Example 1: {{ Add title here }}
42+
### Example 1: Get a list of the Network Anchor resources
4343
```powershell
44-
{{ Add code here }}
44+
Get-AzOracleNetworkAnchor
4545
```
4646

4747
```output
48-
{{ Add output here (remove the output block if the example doesn't have an output) }}
49-
```
50-
51-
{{ Add description here }}
52-
53-
### Example 2: {{ Add title here }}
48+
...
49+
Name : OFake_owerShellTestNetworkAnchor
50+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/networkAnchors/OFake_owerShellTestNetworkAnchor
51+
Type : oracle.database/networkanchors
52+
Location : eastus2
53+
ResourceGroupName : PowerShellTestRg
54+
OciUrl : https://cloud.oracle.com/network-anchors/ocid1.networkanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example?region=us-ashbur
55+
n-1&tenant=orpsandbox3
56+
Ocid : ocid1.networkanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example
57+
LinkedResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Microsoft.Network/virtualNetworks/PSTestVnet
58+
ProvisioningState : Succeeded
59+
Property : {
60+
...
61+
}
62+
SystemDataCreatedAt : 05/07/2024 13:40:35
63+
SystemDataCreatedBy : [email protected]
64+
SystemDataCreatedByType : User
65+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
66+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
67+
SystemDataLastModifiedByType : Application
68+
Tag : {
69+
}
70+
TimeCreated : 05/07/2024 13:44:18
71+
```
72+
73+
Get a Network Anchor resource by name and resource group name.
74+
For more information, execute `Get-Help Get-AzOracleNetworkAnchor`.
75+
76+
### Example 2: Get a Network Anchor by name and resource group name
5477
```powershell
55-
{{ Add code here }}
78+
Get-AzOracleNetworkAnchor -ResourceGroupName PowerShellTestRg -Name OFake_owerShellTestNetworkAnchor
5679
```
5780

5881
```output
59-
{{ Add output here (remove the output block if the example doesn't have an output) }}
60-
```
61-
62-
{{ Add description here }}
82+
Name : OFake_owerShellTestNetworkAnchor
83+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/networkAnchors/OFake_owerShellTestNetworkAnchor
84+
Type : oracle.database/networkanchors
85+
Location : eastus2
86+
ResourceGroupName : PowerShellTestRg
87+
OciUrl : https://cloud.oracle.com/network-anchors/ocid1.networkanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example?region=us-ashbur
88+
n-1&tenant=orpsandbox3
89+
Ocid : ocid1.networkanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example
90+
LinkedResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Microsoft.Network/virtualNetworks/PSTestVnet
91+
ProvisioningState : Succeeded
92+
Property : {
93+
...
94+
}
95+
SystemDataCreatedAt : 05/07/2024 13:40:35
96+
SystemDataCreatedBy : [email protected]
97+
SystemDataCreatedByType : User
98+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
99+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
100+
SystemDataLastModifiedByType : Application
101+
Tag : {
102+
}
103+
TimeCreated : 05/07/2024 13:44:18
104+
```
105+
106+
Gets a specific Network Anchor resource by name and resource group name.
107+
For more information, execute `Get-Help Get-AzOracleNetworkAnchor`.
63108

64109
## PARAMETERS
65110

src/Oracle/Oracle.Autorest/docs/Get-AzOracleResourceAnchor.md

Lines changed: 58 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,72 @@ Get a ResourceAnchor
3939

4040
## EXAMPLES
4141

42-
### Example 1: {{ Add title here }}
42+
### Example 1: Get a list of the Resource Anchor resources
4343
```powershell
44-
{{ Add code here }}
44+
Get-AzOracleResourceAnchor
4545
```
4646

4747
```output
48-
{{ Add output here (remove the output block if the example doesn't have an output) }}
49-
```
50-
51-
{{ Add description here }}
52-
53-
### Example 2: {{ Add title here }}
48+
...
49+
Name : OFake_PowerShellTestResourceAnchor
50+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/resourceAnchors/OFake_PowerShellTestResourceAnchor
51+
Type : oracle.database/resourceanchors
52+
Location : eastus2
53+
ResourceGroupName : PowerShellTestRg
54+
OciUrl : https://cloud.oracle.com/resource-anchors/ocid1.resourceanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example?region=us-ashbur
55+
n-1&tenant=orpsandbox3
56+
Ocid : ocid1.resourceanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example
57+
LinkedResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/autonomousDatabases/OFakePowerShellTestAdbs
58+
ProvisioningState : Succeeded
59+
Property : {
60+
...
61+
}
62+
SystemDataCreatedAt : 05/07/2024 13:40:35
63+
SystemDataCreatedBy : [email protected]
64+
SystemDataCreatedByType : User
65+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
66+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
67+
SystemDataLastModifiedByType : Application
68+
Tag : {
69+
}
70+
TimeCreated : 05/07/2024 13:44:18
71+
```
72+
73+
Get a Resource Anchor resource by name and resource group name.
74+
For more information, execute `Get-Help Get-AzOracleResourceAnchor`.
75+
76+
### Example 2: Get a Resource Anchor by name and resource group name
5477
```powershell
55-
{{ Add code here }}
78+
Get-AzOracleResourceAnchor -ResourceGroupName PowerShellTestRg -Name OFake_PowerShellTestResourceAnchor
5679
```
5780

5881
```output
59-
{{ Add output here (remove the output block if the example doesn't have an output) }}
60-
```
61-
62-
{{ Add description here }}
82+
Name : OFake_PowerShellTestResourceAnchor
83+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/resourceAnchors/OFake_PowerShellTestResourceAnchor
84+
Type : oracle.database/resourceanchors
85+
Location : eastus2
86+
ResourceGroupName : PowerShellTestRg
87+
OciUrl : https://cloud.oracle.com/resource-anchors/ocid1.resourceanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example?region=us-ashbur
88+
n-1&tenant=orpsandbox3
89+
Ocid : ocid1.resourceanchor.oc1.iad.anuwcljtnirvylqa7vzcwywunyc2mjnuvm62example
90+
LinkedResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/autonomousDatabases/OFakePowerShellTestAdbs
91+
ProvisioningState : Succeeded
92+
Property : {
93+
...
94+
}
95+
SystemDataCreatedAt : 05/07/2024 13:40:35
96+
SystemDataCreatedBy : [email protected]
97+
SystemDataCreatedByType : User
98+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
99+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
100+
SystemDataLastModifiedByType : Application
101+
Tag : {
102+
}
103+
TimeCreated : 05/07/2024 13:44:18
104+
```
105+
106+
Gets a specific Resource Anchor resource by name and resource group name.
107+
For more information, execute `Get-Help Get-AzOracleResourceAnchor`.
63108

64109
## PARAMETERS
65110

0 commit comments

Comments
 (0)