![]() ![]() ![]() ![]() NetworkManagerCollection collection = resourceGroupResource.That seems to have changed quietly, according to a user on reddit. get the collection of this NetworkManagerResource ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId) ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName) for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource this example assumes you already have this ResourceGroupResource created on azure TokenCredential cred = new DefaultAzureCredential() get your azure access token, for more details of how Azure SDK get your access token, please refer to this example is just showing the usage of "NetworkManagers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable//examples/NetworkManagerPut.json To provide feedback on this code sample, open a GitHub issue using System To use the Azure SDK library in your project, see this documentation. Subscriptions: ,Ĭonst credential = new DefaultAzureCredential() Ĭonst client = new NetworkManagementClient(credential, subscriptionId) Ĭonst result = await ( Public static void putNetworkManager( azure) = This sample demonstrates how to Creates or updates a Network Manager. * azure The entry point for accessing resource management APIs in Azure. * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable//examples/NetworkManagerPut.json ** Samples for NetworkManagers CreateOrUpdate. Import .models.NetworkManagerPropertiesNetworkManagerScopes ![]() "/providers/Microsoft.Management/managementGroups/sampleMG" "description": "My Test Network Manager", ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |