File tree Expand file tree Collapse file tree 8 files changed +8
-16
lines changed
managementgroups/arm-managementgroups
managementpartner/arm-managementpartner
reservations/arm-reservations
resourcegraph/arm-resourcegraph
resources-subscriptions/arm-resources-subscriptions
arm-subscriptions-profile-2020-09-01-hybrid Expand file tree Collapse file tree 8 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ For more information about how to create an Azure AD Application check out [this
5252``` javascript
5353const { ManagementGroupsAPI } = require (" @azure/arm-managementgroups" );
5454const { DefaultAzureCredential } = require (" @azure/identity" );
55- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
56- const client = new ManagementGroupsAPI (new DefaultAzureCredential (), subscriptionId);
55+ const client = new ManagementGroupsAPI (new DefaultAzureCredential ());
5756```
5857
5958
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { ACEProvisioningManagementPartnerAPI } = require (" @azure/arm-managementpartner" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new ACEProvisioningManagementPartnerAPI (new DefaultAzureCredential (), subscriptionId);
52+ const client = new ACEProvisioningManagementPartnerAPI (new DefaultAzureCredential ());
5453```
5554
5655
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { AzureQuotaExtensionAPI } = require (" @azure/arm-quota" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new AzureQuotaExtensionAPI (new DefaultAzureCredential (), subscriptionId);
52+ const client = new AzureQuotaExtensionAPI (new DefaultAzureCredential ());
5453```
5554
5655
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { AzureReservationAPI } = require (" @azure/arm-reservations" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new AzureReservationAPI (new DefaultAzureCredential (), subscriptionId);
52+ const client = new AzureReservationAPI (new DefaultAzureCredential ());
5453```
5554
5655
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { ResourceGraphClient } = require (" @azure/arm-resourcegraph" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new ResourceGraphClient (new DefaultAzureCredential (), subscriptionId);
52+ const client = new ResourceGraphClient (new DefaultAzureCredential ());
5453```
5554
5655
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { SubscriptionClient } = require (" @azure/arm-resources-subscriptions" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new SubscriptionClient (new DefaultAzureCredential (), subscriptionId);
52+ const client = new SubscriptionClient (new DefaultAzureCredential ());
5453```
5554
5655
Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ const { SubscriptionClient } = require("@azure/arm-subscriptions-profile-2020-09
5353const { DefaultAzureCredential } = require (" @azure/identity" );
5454// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
5555
56- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
57- const client = new SubscriptionClient (new DefaultAzureCredential (), subscriptionId);
56+ const client = new SubscriptionClient (new DefaultAzureCredential ());
5857
5958// For client-side applications running in the browser, use this code instead:
6059// const credential = new InteractiveBrowserCredential({
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ For more information about how to create an Azure AD Application check out [this
4949``` javascript
5050const { SubscriptionClient } = require (" @azure/arm-subscriptions" );
5151const { DefaultAzureCredential } = require (" @azure/identity" );
52- const subscriptionId = " 00000000-0000-0000-0000-000000000000" ;
53- const client = new SubscriptionClient (new DefaultAzureCredential (), subscriptionId);
52+ const client = new SubscriptionClient (new DefaultAzureCredential ());
5453```
5554
5655
You can’t perform that action at this time.
0 commit comments