1. Packages
  2. Azure Native v2
  3. API Docs
  4. blueprint
  5. getRoleAssignmentArtifact
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.blueprint.getRoleAssignmentArtifact

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get a blueprint artifact. Azure REST API version: 2018-11-01-preview.

Using getRoleAssignmentArtifact

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRoleAssignmentArtifact(args: GetRoleAssignmentArtifactArgs, opts?: InvokeOptions): Promise<GetRoleAssignmentArtifactResult>
function getRoleAssignmentArtifactOutput(args: GetRoleAssignmentArtifactOutputArgs, opts?: InvokeOptions): Output<GetRoleAssignmentArtifactResult>
Copy
def get_role_assignment_artifact(artifact_name: Optional[str] = None,
                                 blueprint_name: Optional[str] = None,
                                 resource_scope: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRoleAssignmentArtifactResult
def get_role_assignment_artifact_output(artifact_name: Optional[pulumi.Input[str]] = None,
                                 blueprint_name: Optional[pulumi.Input[str]] = None,
                                 resource_scope: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetRoleAssignmentArtifactResult]
Copy
func LookupRoleAssignmentArtifact(ctx *Context, args *LookupRoleAssignmentArtifactArgs, opts ...InvokeOption) (*LookupRoleAssignmentArtifactResult, error)
func LookupRoleAssignmentArtifactOutput(ctx *Context, args *LookupRoleAssignmentArtifactOutputArgs, opts ...InvokeOption) LookupRoleAssignmentArtifactResultOutput
Copy

> Note: This function is named LookupRoleAssignmentArtifact in the Go SDK.

public static class GetRoleAssignmentArtifact 
{
    public static Task<GetRoleAssignmentArtifactResult> InvokeAsync(GetRoleAssignmentArtifactArgs args, InvokeOptions? opts = null)
    public static Output<GetRoleAssignmentArtifactResult> Invoke(GetRoleAssignmentArtifactInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRoleAssignmentArtifactResult> getRoleAssignmentArtifact(GetRoleAssignmentArtifactArgs args, InvokeOptions options)
public static Output<GetRoleAssignmentArtifactResult> getRoleAssignmentArtifact(GetRoleAssignmentArtifactArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:blueprint:getRoleAssignmentArtifact
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ArtifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
ArtifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifact_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the blueprint artifact.
blueprint_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the blueprint definition.
resource_scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

getRoleAssignmentArtifact Result

The following output properties are available:

Id string
String Id used to locate any resource on Azure.
Name string
Name of this resource.
PrincipalIds object
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
RoleDefinitionId string
Azure resource ID of the RoleDefinition.
Type string
Type of this resource.
DependsOn List<string>
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
Id string
String Id used to locate any resource on Azure.
Name string
Name of this resource.
PrincipalIds interface{}
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
RoleDefinitionId string
Azure resource ID of the RoleDefinition.
Type string
Type of this resource.
DependsOn []string
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
id String
String Id used to locate any resource on Azure.
name String
Name of this resource.
principalIds Object
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
roleDefinitionId String
Azure resource ID of the RoleDefinition.
type String
Type of this resource.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
id string
String Id used to locate any resource on Azure.
name string
Name of this resource.
principalIds any
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
roleDefinitionId string
Azure resource ID of the RoleDefinition.
type string
Type of this resource.
dependsOn string[]
Artifacts which need to be deployed before the specified artifact.
description string
Multi-line explain this resource.
displayName string
One-liner string explain this resource.
resourceGroup string
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
id str
String Id used to locate any resource on Azure.
name str
Name of this resource.
principal_ids Any
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
role_definition_id str
Azure resource ID of the RoleDefinition.
type str
Type of this resource.
depends_on Sequence[str]
Artifacts which need to be deployed before the specified artifact.
description str
Multi-line explain this resource.
display_name str
One-liner string explain this resource.
resource_group str
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
id String
String Id used to locate any resource on Azure.
name String
Name of this resource.
principalIds Any
Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
roleDefinitionId String
Azure resource ID of the RoleDefinition.
type String
Type of this resource.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi