다음을 통해 공유


IPublishedBlueprintsOperations.CreateWithHttpMessagesAsync 메서드

정의

최신 아티팩트가 있는 새 버전의 청사진 정의를 게시합니다. 게시된 청사진 정의는 변경할 수 없습니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint>> CreateWithHttpMessagesAsync(string resourceScope, string blueprintName, string versionId, Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint publishedBlueprint = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint>>
Public Function CreateWithHttpMessagesAsync (resourceScope As String, blueprintName As String, versionId As String, Optional publishedBlueprint As PublishedBlueprint = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PublishedBlueprint))

매개 변수

resourceScope
String

리소스의 범위입니다. 유효한 범위는 관리 그룹(형식: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), 구독(형식: '/subscriptions/{subscriptionId}')입니다.

blueprintName
String

청사진 정의의 이름입니다.

versionId
String

게시된 청사진 정의의 버전입니다.

publishedBlueprint
PublishedBlueprint

만들거나 업데이트할 게시된 청사진입니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

응답을 역직렬화할 수 없을 때 throw됨

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

적용 대상