ManagedClusterNodeResourceGroupProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterNodeResourceGroupProfile
- com.
Implements
public final class ManagedClusterNodeResourceGroupProfile
implements JsonSerializable<ManagedClusterNodeResourceGroupProfile>
Node resource group lockdown profile for a managed cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterNodeResourceGroupProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Restriction |
restrictionLevel()
Get the restriction |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withRestrictionLevel(RestrictionLevel restrictionLevel)
Set the restriction |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterNodeResourceGroupProfile
public ManagedClusterNodeResourceGroupProfile()
Creates an instance of ManagedClusterNodeResourceGroupProfile class.
Method Details
fromJson
public static ManagedClusterNodeResourceGroupProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterNodeResourceGroupProfile from the JsonReader.
Parameters:
Returns:
Throws:
restrictionLevel
public RestrictionLevel restrictionLevel()
Get the restrictionLevel property: The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRestrictionLevel
public ManagedClusterNodeResourceGroupProfile withRestrictionLevel(RestrictionLevel restrictionLevel)
Set the restrictionLevel property: The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'.
Parameters:
Returns: