Deployment.UpdateStages.WithTemplate Interface
public static interface Deployment.UpdateStages.WithTemplate
A deployment update allowing to change the template.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withTemplate(Object template)
Specifies the template as a Java object. |
abstract Update |
withTemplate(String templateJson)
Specifies the template as a JSON string. |
abstract Update |
withTemplateLink(String uri, String contentVersion)
Specifies the template as a URL. |
Method Details
withTemplate
public abstract Deployment.Update withTemplate(Object template)
Specifies the template as a Java object.
Parameters:
template
- the Java object
Returns:
the next stage of the deployment update
withTemplate
public abstract Deployment.Update withTemplate(String templateJson)
Specifies the template as a JSON string.
Parameters:
templateJson
- the JSON string
Returns:
the next stage of the deployment update
Throws:
java.io.IOException
- exception thrown from serialization/deserialization
withTemplateLink
public abstract Deployment.Update withTemplateLink(String uri, String contentVersion)
Specifies the template as a URL.
Parameters:
uri
- the location of the remote template file
contentVersion
- the version of the template file
Returns:
the next stage of the deployment update
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java