/// <summary>Snippet for GetServiceConfigAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetServiceConfigAsync() { // Create client ServiceManagerClient serviceManagerClient = await ServiceManagerClient.CreateAsync(); // Initialize request argument(s) string serviceName = ""; string configId = ""; GetServiceConfigRequest.Types.ConfigView view = GetServiceConfigRequest.Types.ConfigView.Basic; // Make the request Service response = await serviceManagerClient.GetServiceConfigAsync(serviceName, configId, view); }
/// <summary>Snippet for GetServiceConfigAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetServiceConfigRequestObjectAsync() { // Create client ServiceManagerClient serviceManagerClient = await ServiceManagerClient.CreateAsync(); // Initialize request argument(s) GetServiceConfigRequest request = new GetServiceConfigRequest { ServiceName = "", ConfigId = "", View = GetServiceConfigRequest.Types.ConfigView.Basic, }; // Make the request Service response = await serviceManagerClient.GetServiceConfigAsync(request); }