Deployment.DefinitionStages.WithParameters Interface
public interface WithParameters
A deployment definition allowing the parameters to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Deployment. |
withParameters(Object parameters)
Specifies the parameters as a Java object. |
Deployment. |
withParameters(String parametersJson)
Specifies the parameters as a JSON string. |
Deployment. |
withParametersLink(String uri, String contentVersion)
Specifies the parameters as a URL. |
Method Details
withParameters
public WithMode withParameters(Object parameters)
Specifies the parameters as a Java object.
Parameters:
parameters
- the Java object
Returns:
the next stage of the definition
withParameters
public WithMode withParameters(String parametersJson)
Specifies the parameters as a JSON string.
Parameters:
parametersJson
- the JSON string
Returns:
the next stage of the definition
Throws:
IOException
- exception thrown from serialization/deserialization
withParametersLink
public WithMode withParametersLink(String uri, String contentVersion)
Specifies the parameters as a URL.
Parameters:
uri
- the location of the remote parameters file
contentVersion
- the version of the parameters file
Returns:
the next stage of the definition
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