DeploymentExtensionSpec Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. DeploymentExtensionSpec
- com.
Implements
public final class DeploymentExtensionSpec
implements JsonSerializable<DeploymentExtensionSpec>
Extension sidecars to be added to the deployment.
Constructor | Description |
---|---|
Deployment |
Creates an instance of Deployment |
Modifier and Type | Method and Description |
---|---|
String |
extension Get the extension |
static
Deployment |
from Reads an instance of Deployment |
String |
name()
Get the name property: Name of the extension. |
Object |
protected Get the protected |
Object |
settings()
Get the settings property: Settings for the extension. |
Json |
to |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the extension being used. |
Deployment |
with Set the extension |
Deployment |
with Set the name property: Name of the extension. |
Deployment |
with Set the protected |
Deployment |
with Set the settings property: Settings for the extension. |
Deployment |
with Set the version property: Version of the extension being used. |
Methods inherited from java.lang.Object
DeploymentExtensionSpec
public DeploymentExtensionSpec()
Creates an instance of DeploymentExtensionSpec class.
extensionType
public String extensionType()
Get the extensionType property: Type of extension to be added.
Returns:
fromJson
public static DeploymentExtensionSpec fromJson(JsonReader jsonReader)
Reads an instance of DeploymentExtensionSpec from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the extension.
Returns:
protectedSettings
public Object protectedSettings()
Get the protectedSettings property: Protected settings for the extension.
Returns:
settings
public Object settings()
Get the settings property: Settings for the extension.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of the extension being used.
Returns:
withExtensionType
public DeploymentExtensionSpec withExtensionType(String extensionType)
Set the extensionType property: Type of extension to be added.
Parameters:
Returns:
withName
public DeploymentExtensionSpec withName(String name)
Set the name property: Name of the extension.
Parameters:
Returns:
withProtectedSettings
public DeploymentExtensionSpec withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: Protected settings for the extension.
Parameters:
Returns:
withSettings
public DeploymentExtensionSpec withSettings(Object settings)
Set the settings property: Settings for the extension.
Parameters:
Returns:
withVersion
public DeploymentExtensionSpec withVersion(String version)
Set the version property: Version of the extension being used.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: