This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.blueprint.getRoleAssignmentArtifact
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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>
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:
- Artifact
Name string - Name of the blueprint artifact.
- Blueprint
Name string - Name of the blueprint definition.
- Resource
Scope string - The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- Artifact
Name string - Name of the blueprint artifact.
- Blueprint
Name string - Name of the blueprint definition.
- Resource
Scope string - The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact
Name String - Name of the blueprint artifact.
- blueprint
Name String - Name of the blueprint definition.
- resource
Scope String - The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact
Name string - Name of the blueprint artifact.
- blueprint
Name string - Name of the blueprint definition.
- resource
Scope 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}').
- artifact
Name String - Name of the blueprint artifact.
- blueprint
Name String - Name of the blueprint definition.
- resource
Scope 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.
- Principal
Ids object - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
- Role
Definition stringId - Azure resource ID of the RoleDefinition.
- Type string
- Type of this resource.
- Depends
On List<string> - Artifacts which need to be deployed before the specified artifact.
- Description string
- Multi-line explain this resource.
- Display
Name string - One-liner string explain this resource.
- Resource
Group 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.
- Principal
Ids interface{} - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
- Role
Definition stringId - Azure resource ID of the RoleDefinition.
- Type string
- Type of this resource.
- Depends
On []string - Artifacts which need to be deployed before the specified artifact.
- Description string
- Multi-line explain this resource.
- Display
Name string - One-liner string explain this resource.
- Resource
Group 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.
- principal
Ids Object - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
- role
Definition StringId - Azure resource ID of the RoleDefinition.
- type String
- Type of this resource.
- depends
On List<String> - Artifacts which need to be deployed before the specified artifact.
- description String
- Multi-line explain this resource.
- display
Name String - One-liner string explain this resource.
- resource
Group 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.
- principal
Ids any - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
- role
Definition stringId - Azure resource ID of the RoleDefinition.
- type string
- Type of this resource.
- depends
On string[] - Artifacts which need to be deployed before the specified artifact.
- description string
- Multi-line explain this resource.
- display
Name string - One-liner string explain this resource.
- resource
Group 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_ strid - 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.
- principal
Ids Any - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.
- role
Definition StringId - Azure resource ID of the RoleDefinition.
- type String
- Type of this resource.
- depends
On List<String> - Artifacts which need to be deployed before the specified artifact.
- description String
- Multi-line explain this resource.
- display
Name String - One-liner string explain this resource.
- resource
Group String - RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi