ScopeMapUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. ScopeMapUpdateParameters
- com.
Implements
public final class ScopeMapUpdateParameters
implements JsonSerializable<ScopeMapUpdateParameters>
The properties for updating the scope map.
Constructor Summary
| Constructor | Description |
|---|---|
| ScopeMapUpdateParameters() |
Creates an instance of Scope |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
actions()
Get the actions property: The list of scope permissions for registry artifacts. |
| String |
description()
Get the description property: The user friendly description of the scope map. |
|
static
Scope |
fromJson(JsonReader jsonReader)
Reads an instance of Scope |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scope |
withActions(List<String> actions)
Set the actions property: The list of scope permissions for registry artifacts. |
|
Scope |
withDescription(String description)
Set the description property: The user friendly description of the scope map. |
Methods inherited from java.lang.Object
Constructor Details
ScopeMapUpdateParameters
public ScopeMapUpdateParameters()
Creates an instance of ScopeMapUpdateParameters class.
Method Details
actions
public List<String> actions()
Get the actions property: The list of scope permissions for registry artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete.
Returns:
description
public String description()
Get the description property: The user friendly description of the scope map.
Returns:
fromJson
public static ScopeMapUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of ScopeMapUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withActions
public ScopeMapUpdateParameters withActions(List<String> actions)
Set the actions property: The list of scope permissions for registry artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete.
Parameters:
Returns:
withDescription
public ScopeMapUpdateParameters withDescription(String description)
Set the description property: The user friendly description of the scope map.
Parameters:
Returns: