AgentPoolArtifactStreamingProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AgentPoolArtifactStreamingProfile
- com.
Implements
public final class AgentPoolArtifactStreamingProfile
implements JsonSerializable<AgentPoolArtifactStreamingProfile>
Artifact streaming profile for the agent pool.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolArtifactStreamingProfile() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. |
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Agent |
withEnabled(Boolean enabled)
Set the enabled property: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolArtifactStreamingProfile
public AgentPoolArtifactStreamingProfile()
Creates an instance of AgentPoolArtifactStreamingProfile class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
Returns:
fromJson
public static AgentPoolArtifactStreamingProfile fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolArtifactStreamingProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public AgentPoolArtifactStreamingProfile withEnabled(Boolean enabled)
Set the enabled property: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
Parameters:
Returns: