ScopeMapInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerregistry. fluent. models. ScopeMapInner
- com.
- com.
public final class ScopeMapInner
extends ProxyResource
An object that represents a scope map for a container registry.
Constructor Summary
Constructor | Description |
---|---|
ScopeMapInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
String |
typePropertiesType()
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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ScopeMapInner
public ScopeMapInner()
Creates an instance of ScopeMapInner class.
Method Details
actions
public List
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 ScopeMapInner fromJson(JsonReader jsonReader)
Reads an instance of ScopeMapInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScopeMapInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScopeMapInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScopeMapInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScopeMapInner.type()Returns:
typePropertiesType
public String typePropertiesType()
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 ScopeMapInner withActions(List
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 ScopeMapInner withDescription(String description)
Set the description property: The user friendly description of the scope map.
Parameters:
Returns:
Applies to
Azure SDK for Java