ArmContainerRegistryModelFactory.ScopeMapData Method

Definition

Initializes a new instance of ScopeMapData.

public static Azure.ResourceManager.ContainerRegistry.ScopeMapData ScopeMapData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string scopeMapType = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<string> actions = default);
static member ScopeMapData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * seq<string> -> Azure.ResourceManager.ContainerRegistry.ScopeMapData
Public Shared Function ScopeMapData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional scopeMapType As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional actions As IEnumerable(Of String) = Nothing) As ScopeMapData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

The user friendly description of the scope map.

scopeMapType
String

The type of the scope map. E.g. BuildIn scope map.

createdOn
Nullable<DateTimeOffset>

The creation date of scope map.

provisioningState
Nullable<ContainerRegistryProvisioningState>

Provisioning state of the resource.

actions
IEnumerable<String>

The list of scoped permissions for registry artifacts. E.g. repositories/repository-name/content/read, repositories/repository-name/metadata/write

Returns

A new ScopeMapData instance for mocking.

Applies to