Exemplo n.º 1
0
        /// <summary>Snippet for GetAlertMetadataAsync</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 GetAlertMetadataRequestObjectAsync()
        {
            // Create client
            AlertCenterServiceClient alertCenterServiceClient = await AlertCenterServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAlertMetadataRequest request = new GetAlertMetadataRequest
            {
                CustomerId = "",
                AlertId    = "",
            };
            // Make the request
            AlertMetadata response = await alertCenterServiceClient.GetAlertMetadataAsync(request);
        }
        /// <summary>Snippet for GetAlertMetadataAsync</summary>
        public async Task GetAlertMetadataRequestObjectAsync()
        {
            // Snippet: GetAlertMetadataAsync(GetAlertMetadataRequest, CallSettings)
            // Additional: GetAlertMetadataAsync(GetAlertMetadataRequest, CancellationToken)
            // Create client
            AlertCenterServiceClient alertCenterServiceClient = await AlertCenterServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAlertMetadataRequest request = new GetAlertMetadataRequest
            {
                CustomerId = "",
                AlertId    = "",
            };
            // Make the request
            AlertMetadata response = await alertCenterServiceClient.GetAlertMetadataAsync(request);

            // End snippet
        }