Skip to content

Commit

Permalink
Update code samples to keep it consistent (Azure#15599)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzhums authored Sep 25, 2020
1 parent 6e1309e commit d9349aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/resourcemanager/docs/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ You can create a virtual machine scale set instance by using a `define() … cre
You can create a virtual network by using a `define() … create()` method chain.

```java
Network network = networks.define("mynetwork")
Network network = azure.networks().define("mynetwork")
.withRegion(Region.US_EAST)
.withNewResourceGroup()
.withAddressSpace("10.0.0.0/28")
Expand Down Expand Up @@ -362,7 +362,7 @@ SqlServer sqlServer = azure.sqlServers().define(sqlServerName)
Then, you can create a SQL database instance by using a `define() … create()` method chain.

```java
SqlDatabase database = sqlServer.databases().define("myNewDatabase")
SqlDatabase database = azure.sqlServers().databases().define("myNewDatabase")
...
.create();
```
Expand Down

0 comments on commit d9349aa

Please sign in to comment.