ScopeMapProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. ScopeMapProperties
- com.
Implements
public final class ScopeMapProperties
implements JsonSerializable<ScopeMapProperties>
The properties of a scope map.
Constructor Summary
| Constructor | Description |
|---|---|
| ScopeMapProperties() |
Creates an instance of Scope |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
actions()
Get the actions property: The list of scoped permissions for registry artifacts. |
|
Offset |
creationDate()
Get the creation |
| String |
description()
Get the description property: The user friendly description of the scope map. |
|
static
Scope |
fromJson(JsonReader jsonReader)
Reads an instance of Scope |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the scope map. |
| void |
validate()
Validates the instance. |
|
Scope |
withActions(List<String> actions)
Set the actions property: The list of scoped 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
ScopeMapProperties
public ScopeMapProperties()
Creates an instance of ScopeMapProperties class.
Method Details
actions
public List<String> actions()
Get the actions property: The list of scoped permissions for registry artifacts. E.g. repositories/repository-name/content/read, repositories/repository-name/metadata/write.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of scope map.
Returns:
description
public String description()
Get the description property: The user friendly description of the scope map.
Returns:
fromJson
public static ScopeMapProperties fromJson(JsonReader jsonReader)
Reads an instance of ScopeMapProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
toJson
type
public String type()
Get the type property: The type of the scope map. E.g. BuildIn scope map.
Returns:
validate
public void validate()
Validates the instance.
withActions
public ScopeMapProperties withActions(List<String> actions)
Set the actions property: The list of scoped permissions for registry artifacts. E.g. repositories/repository-name/content/read, repositories/repository-name/metadata/write.
Parameters:
Returns:
withDescription
public ScopeMapProperties withDescription(String description)
Set the description property: The user friendly description of the scope map.
Parameters:
Returns: