Skip to content

Commit 26d27e2

Browse files
committed
add a test example
1 parent 9ae3dab commit 26d27e2

File tree

2 files changed

+51
-7
lines changed

2 files changed

+51
-7
lines changed

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

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,69 @@ Get a DbSystem
4141

4242
### Example 1: {{ Add title here }}
4343
```powershell
44-
{{ Add code here }}
44+
Get-AzOracleDbSystem
4545
```
4646

4747
```output
48-
{{ Add output here (remove the output block if the example doesn't have an output) }}
48+
...
49+
Name : OFake_PowerShellTestDbSystem
50+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/dbSystems/OFake_PowerShellTestDbSystem
51+
Type : oracle.database/dbsystems
52+
Location : eastus2
53+
ResourceGroupName : PowerShellTestRg
54+
OciUrl : https://cloud.oracle.com/dbaas/dbsystems/ocid1.dbsystem.oc1.iad.aaaaaaaexample?region=us-ashbur
55+
n-1&tenant=orpsandbox3&compartmentId=ocid1.compartment.oc1..aaaaaaaazcet2jt2uowjtgxsae5uositfy2thngqgokwdifyzmyygdpckeua
56+
Ocid : ocid1.dbsystem.oc1.iad.aaaaaaaexample
57+
Shape : VM.Standard3.Flex
58+
CpuCoreCount : 4
59+
DataStorageSizeInGb : 256
60+
SubnetId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Microsoft.Network/virtualNetworks/PSTestVnet/subn
61+
ets/delegated
62+
ProvisioningState : Succeeded
63+
Hostname : psdbs01
64+
Tag : {
65+
}
66+
SystemDataCreatedAt : 05/07/2024 13:40:35
67+
SystemDataCreatedBy : [email protected]
68+
SystemDataCreatedByType : User
69+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
70+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
71+
SystemDataLastModifiedByType : Application
72+
TimeCreated : 05/07/2024 13:44:18
4973
```
5074

5175
{{ Add description here }}
5276

5377
### Example 2: {{ Add title here }}
5478
```powershell
55-
{{ Add code here }}
79+
Get-AzOracleDbSystem -ResourceGroupName PowerShellTestRg -Name OFake_PowerShellTestDbSystem
5680
```
5781

5882
```output
59-
{{ Add output here (remove the output block if the example doesn't have an output) }}
83+
Name : OFake_PowerShellTestDbSystem
84+
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Oracle.Database/dbSystems/OFake_PowerShellTestDbSystem
85+
Type : oracle.database/dbsystems
86+
Location : eastus2
87+
ResourceGroupName : PowerShellTestRg
88+
OciUrl : https://cloud.oracle.com/dbaas/dbsystems/ocid1.dbsystem.oc1.iad.aaaaaaaexample?region=us-ashbur
89+
n-1&tenant=orpsandbox3&compartmentId=ocid1.compartment.oc1..aaaaaaaazcet2jt2uowjtgxsae5uositfy2thngqgokwdifyzmyygdpckeua
90+
Ocid : ocid1.dbsystem.oc1.iad.aaaaaaaexample
91+
Shape : VM.Standard3.Flex
92+
CpuCoreCount : 4
93+
DataStorageSizeInGb : 256
94+
SubnetId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Microsoft.Network/virtualNetworks/PSTestVnet/subn
95+
ets/delegated
96+
ProvisioningState : Succeeded
97+
Hostname : psdbs01
98+
Tag : {
99+
}
100+
SystemDataCreatedAt : 05/07/2024 13:40:35
101+
SystemDataCreatedBy : [email protected]
102+
SystemDataCreatedByType : User
103+
SystemDataLastModifiedAt : 06/07/2024 09:19:26
104+
SystemDataLastModifiedBy : 857ad006-4380-4712-ba4c-22f7c64d84e7
105+
SystemDataLastModifiedByType : Application
106+
TimeCreated : 05/07/2024 13:44:18
60107
```
61108

62109
{{ Add description here }}

src/Oracle/Oracle.Autorest/examples/Get-AzOracleAutonomousDatabase.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ UsedDataStorageSizeInGb :
5757
UsedDataStorageSizeInTb :
5858
VnetId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowerShellTestRg/providers/Microsoft.Network/virtualNetworks/PSTestVnet
5959
WhitelistedIP :
60-
ScheduledOperationScheduledStartTime :
61-
ScheduledOperationScheduledStopTime :
62-
DayOfWeekName :
6360
```
6461

6562
Get an Autonomous Database resource by name and resource group name.

0 commit comments

Comments
 (0)