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 Summary
Constructor | Description |
---|---|
DeploymentExtensionSpec() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
extensionType()
Get the extension |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
String |
name()
Get the name property: Name of the extension. |
Object |
protectedSettings()
Get the protected |
Object |
settings()
Get the settings property: Settings for the extension. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the extension being used. |
Deployment |
withExtensionType(String extensionType)
Set the extension |
Deployment |
withName(String name)
Set the name property: Name of the extension. |
Deployment |
withProtectedSettings(Object protectedSettings)
Set the protected |
Deployment |
withSettings(Object settings)
Set the settings property: Settings for the extension. |
Deployment |
withVersion(String version)
Set the version property: Version of the extension being used. |
Methods inherited from java.lang.Object
Constructor Details
DeploymentExtensionSpec
public DeploymentExtensionSpec()
Creates an instance of DeploymentExtensionSpec class.
Method Details
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:
Applies to
Azure SDK for Java