1. Packages
  2. Azure Native v1
  3. API Docs
  4. blueprint
  5. getRoleAssignmentArtifact
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.blueprint.getRoleAssignmentArtifact

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get a blueprint artifact. 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>
    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]
    func LookupRoleAssignmentArtifact(ctx *Context, args *LookupRoleAssignmentArtifactArgs, opts ...InvokeOption) (*LookupRoleAssignmentArtifactResult, error)
    func LookupRoleAssignmentArtifactOutput(ctx *Context, args *LookupRoleAssignmentArtifactOutputArgs, opts ...InvokeOption) LookupRoleAssignmentArtifactResultOutput

    > 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)
    }
    public static CompletableFuture<GetRoleAssignmentArtifactResult> getRoleAssignmentArtifact(GetRoleAssignmentArtifactArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:blueprint:getRoleAssignmentArtifact
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ArtifactName string
    Name of the blueprint artifact.
    BlueprintName string
    Name of the blueprint definition.
    ResourceScope string
    The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
    ArtifactName string
    Name of the blueprint artifact.
    BlueprintName string
    Name of the blueprint definition.
    ResourceScope string
    The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
    artifactName String
    Name of the blueprint artifact.
    blueprintName String
    Name of the blueprint definition.
    resourceScope String
    The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
    artifactName string
    Name of the blueprint artifact.
    blueprintName string
    Name of the blueprint definition.
    resourceScope string
    The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
    artifact_name str
    Name of the blueprint artifact.
    blueprint_name str
    Name of the blueprint definition.
    resource_scope str
    The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
    artifactName String
    Name of the blueprint artifact.
    blueprintName String
    Name of the blueprint definition.
    resourceScope 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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi