Esempio n. 1
0
        /// <summary>Snippet for InsertAsync</summary>
        public async Task InsertRequestObjectAsync()
        {
            // Snippet: InsertAsync(InsertNodeGroupRequest, CallSettings)
            // Additional: InsertAsync(InsertNodeGroupRequest, CancellationToken)
            // Create client
            NodeGroupsClient nodeGroupsClient = await NodeGroupsClient.CreateAsync();

            // Initialize request argument(s)
            InsertNodeGroupRequest request = new InsertNodeGroupRequest
            {
                Zone              = "",
                RequestId         = "",
                InitialNodeCount  = 0,
                Project           = "",
                NodeGroupResource = new NodeGroup(),
            };
            // Make the request
            Operation response = await nodeGroupsClient.InsertAsync(request);

            // End snippet
        }