Deployment.UpdateStages.WithTemplate Interface
public interface WithTemplate
A deployment update allowing to change the template.
Method Summary
Modifier and Type | Method and Description |
---|---|
Deployment. |
withTemplate(Object template)
Specifies the template as a Java object. |
Deployment. |
withTemplate(String templateJson)
Specifies the template as a JSON string. |
Deployment. |
withTemplateLink(String uri, String contentVersion)
Specifies the template as a URL. |
Method Details
withTemplate
public 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 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:
IOException
- exception thrown from serialization/deserialization
withTemplateLink
public 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java