다음을 통해 공유


IRecommendationsOperations.DisableRecommendationForSubscriptionWithHttpMessagesAsync 메서드

정의

지정한 규칙을 사용하지 않도록 설정하여 나중에 구독에 적용되지 않습니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DisableRecommendationForSubscriptionWithHttpMessagesAsync (string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DisableRecommendationForSubscriptionWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function DisableRecommendationForSubscriptionWithHttpMessagesAsync (name As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

매개 변수

name
String

규칙 이름

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

작업이 잘못된 상태 코드를 반환할 때 throw됨

필수 매개 변수가 null일 때 throw됨

설명

설명 나중에 구독에 적용되지 않도록 지정된 규칙을 사용하지 않도록 설정합니다.

적용 대상