azure-native.authorization.RoleManagementPolicyAssignment
Explore with Pulumi AI
Role management policy API Version: 2020-10-01.
Example Usage
PutRoleManagementPolicyAssignment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var roleManagementPolicyAssignment = new AzureNative.Authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignment", new()
{
PolicyId = "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9",
RoleDefinitionId = "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
RoleManagementPolicyAssignmentName = "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
Scope = "/subscriptions/129ff972-28f8-46b8-a726-e497be039368",
});
});
package main
import (
authorization "github.com/pulumi/pulumi-azure-native-sdk/authorization"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authorization.NewRoleManagementPolicyAssignment(ctx, "roleManagementPolicyAssignment", &authorization.RoleManagementPolicyAssignmentArgs{
PolicyId: pulumi.String("/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9"),
RoleDefinitionId: pulumi.String("/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24"),
RoleManagementPolicyAssignmentName: pulumi.String("b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"),
Scope: pulumi.String("/subscriptions/129ff972-28f8-46b8-a726-e497be039368"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.authorization.RoleManagementPolicyAssignment;
import com.pulumi.azurenative.authorization.RoleManagementPolicyAssignmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var roleManagementPolicyAssignment = new RoleManagementPolicyAssignment("roleManagementPolicyAssignment", RoleManagementPolicyAssignmentArgs.builder()
.policyId("/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9")
.roleDefinitionId("/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24")
.roleManagementPolicyAssignmentName("b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24")
.scope("/subscriptions/129ff972-28f8-46b8-a726-e497be039368")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
role_management_policy_assignment = azure_native.authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignment",
policy_id="/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9",
role_definition_id="/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
role_management_policy_assignment_name="b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
scope="/subscriptions/129ff972-28f8-46b8-a726-e497be039368")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const roleManagementPolicyAssignment = new azure_native.authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignment", {
policyId: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9",
roleDefinitionId: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
roleManagementPolicyAssignmentName: "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24",
scope: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368",
});
resources:
roleManagementPolicyAssignment:
type: azure-native:authorization:RoleManagementPolicyAssignment
properties:
policyId: /subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9
roleDefinitionId: /subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24
roleManagementPolicyAssignmentName: b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24
scope: /subscriptions/129ff972-28f8-46b8-a726-e497be039368
Create RoleManagementPolicyAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoleManagementPolicyAssignment(name: string, args: RoleManagementPolicyAssignmentArgs, opts?: CustomResourceOptions);
@overload
def RoleManagementPolicyAssignment(resource_name: str,
args: RoleManagementPolicyAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoleManagementPolicyAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
scope: Optional[str] = None,
policy_id: Optional[str] = None,
role_definition_id: Optional[str] = None,
role_management_policy_assignment_name: Optional[str] = None)
func NewRoleManagementPolicyAssignment(ctx *Context, name string, args RoleManagementPolicyAssignmentArgs, opts ...ResourceOption) (*RoleManagementPolicyAssignment, error)
public RoleManagementPolicyAssignment(string name, RoleManagementPolicyAssignmentArgs args, CustomResourceOptions? opts = null)
public RoleManagementPolicyAssignment(String name, RoleManagementPolicyAssignmentArgs args)
public RoleManagementPolicyAssignment(String name, RoleManagementPolicyAssignmentArgs args, CustomResourceOptions options)
type: azure-native:authorization:RoleManagementPolicyAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RoleManagementPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RoleManagementPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RoleManagementPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoleManagementPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoleManagementPolicyAssignmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var roleManagementPolicyAssignmentResource = new AzureNative.Authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignmentResource", new()
{
Scope = "string",
PolicyId = "string",
RoleDefinitionId = "string",
RoleManagementPolicyAssignmentName = "string",
});
example, err := authorization.NewRoleManagementPolicyAssignment(ctx, "roleManagementPolicyAssignmentResource", &authorization.RoleManagementPolicyAssignmentArgs{
Scope: "string",
PolicyId: "string",
RoleDefinitionId: "string",
RoleManagementPolicyAssignmentName: "string",
})
var roleManagementPolicyAssignmentResource = new RoleManagementPolicyAssignment("roleManagementPolicyAssignmentResource", RoleManagementPolicyAssignmentArgs.builder()
.scope("string")
.policyId("string")
.roleDefinitionId("string")
.roleManagementPolicyAssignmentName("string")
.build());
role_management_policy_assignment_resource = azure_native.authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignmentResource",
scope=string,
policy_id=string,
role_definition_id=string,
role_management_policy_assignment_name=string)
const roleManagementPolicyAssignmentResource = new azure_native.authorization.RoleManagementPolicyAssignment("roleManagementPolicyAssignmentResource", {
scope: "string",
policyId: "string",
roleDefinitionId: "string",
roleManagementPolicyAssignmentName: "string",
});
type: azure-native:authorization:RoleManagementPolicyAssignment
properties:
policyId: string
roleDefinitionId: string
roleManagementPolicyAssignmentName: string
scope: string
RoleManagementPolicyAssignment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RoleManagementPolicyAssignment resource accepts the following input properties:
- Scope string
- The role management policy scope.
- Policy
Id string - The policy id role management policy assignment.
- Role
Definition stringId - The role definition of management policy assignment.
- Role
Management stringPolicy Assignment Name - The name of format {guid_guid} the role management policy assignment to upsert.
- Scope string
- The role management policy scope.
- Policy
Id string - The policy id role management policy assignment.
- Role
Definition stringId - The role definition of management policy assignment.
- Role
Management stringPolicy Assignment Name - The name of format {guid_guid} the role management policy assignment to upsert.
- scope String
- The role management policy scope.
- policy
Id String - The policy id role management policy assignment.
- role
Definition StringId - The role definition of management policy assignment.
- role
Management StringPolicy Assignment Name - The name of format {guid_guid} the role management policy assignment to upsert.
- scope string
- The role management policy scope.
- policy
Id string - The policy id role management policy assignment.
- role
Definition stringId - The role definition of management policy assignment.
- role
Management stringPolicy Assignment Name - The name of format {guid_guid} the role management policy assignment to upsert.
- scope str
- The role management policy scope.
- policy_
id str - The policy id role management policy assignment.
- role_
definition_ strid - The role definition of management policy assignment.
- role_
management_ strpolicy_ assignment_ name - The name of format {guid_guid} the role management policy assignment to upsert.
- scope String
- The role management policy scope.
- policy
Id String - The policy id role management policy assignment.
- role
Definition StringId - The role definition of management policy assignment.
- role
Management StringPolicy Assignment Name - The name of format {guid_guid} the role management policy assignment to upsert.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoleManagementPolicyAssignment resource produces the following output properties:
- Effective
Rules List<object> - The readonly computed rule applied to the policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The role management policy name.
- Policy
Assignment Pulumi.Properties Azure Native. Authorization. Outputs. Policy Assignment Properties Response - Additional properties of scope, role definition and policy
- Type string
- The role management policy type.
- Effective
Rules []interface{} - The readonly computed rule applied to the policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The role management policy name.
- Policy
Assignment PolicyProperties Assignment Properties Response - Additional properties of scope, role definition and policy
- Type string
- The role management policy type.
- effective
Rules List<Object> - The readonly computed rule applied to the policy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The role management policy name.
- policy
Assignment PolicyProperties Assignment Properties Response - Additional properties of scope, role definition and policy
- type String
- The role management policy type.
- effective
Rules (RoleManagement Policy Approval Rule Response | Role Management Policy Authentication Context Rule Response | Role Management Policy Enablement Rule Response | Role Management Policy Expiration Rule Response | Role Management Policy Notification Rule Response)[] - The readonly computed rule applied to the policy.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The role management policy name.
- policy
Assignment PolicyProperties Assignment Properties Response - Additional properties of scope, role definition and policy
- type string
- The role management policy type.
- effective_
rules Sequence[Any] - The readonly computed rule applied to the policy.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The role management policy name.
- policy_
assignment_ Policyproperties Assignment Properties Response - Additional properties of scope, role definition and policy
- type str
- The role management policy type.
- effective
Rules List<Property Map | Property Map | Property Map | Property Map | Property Map> - The readonly computed rule applied to the policy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The role management policy name.
- policy
Assignment Property MapProperties - Additional properties of scope, role definition and policy
- type String
- The role management policy type.
Supporting Types
ApprovalSettingsResponse, ApprovalSettingsResponseArgs
- Approval
Mode string - The type of rule
- Approval
Stages List<Pulumi.Azure Native. Authorization. Inputs. Approval Stage Response> - The approval stages of the request.
- Is
Approval boolRequired - Determines whether approval is required or not.
- Is
Approval boolRequired For Extension - Determines whether approval is required for assignment extension.
- Is
Requestor boolJustification Required - Determine whether requestor justification is required.
- Approval
Mode string - The type of rule
- Approval
Stages []ApprovalStage Response - The approval stages of the request.
- Is
Approval boolRequired - Determines whether approval is required or not.
- Is
Approval boolRequired For Extension - Determines whether approval is required for assignment extension.
- Is
Requestor boolJustification Required - Determine whether requestor justification is required.
- approval
Mode String - The type of rule
- approval
Stages List<ApprovalStage Response> - The approval stages of the request.
- is
Approval BooleanRequired - Determines whether approval is required or not.
- is
Approval BooleanRequired For Extension - Determines whether approval is required for assignment extension.
- is
Requestor BooleanJustification Required - Determine whether requestor justification is required.
- approval
Mode string - The type of rule
- approval
Stages ApprovalStage Response[] - The approval stages of the request.
- is
Approval booleanRequired - Determines whether approval is required or not.
- is
Approval booleanRequired For Extension - Determines whether approval is required for assignment extension.
- is
Requestor booleanJustification Required - Determine whether requestor justification is required.
- approval_
mode str - The type of rule
- approval_
stages Sequence[ApprovalStage Response] - The approval stages of the request.
- is_
approval_ boolrequired - Determines whether approval is required or not.
- is_
approval_ boolrequired_ for_ extension - Determines whether approval is required for assignment extension.
- is_
requestor_ booljustification_ required - Determine whether requestor justification is required.
- approval
Mode String - The type of rule
- approval
Stages List<Property Map> - The approval stages of the request.
- is
Approval BooleanRequired - Determines whether approval is required or not.
- is
Approval BooleanRequired For Extension - Determines whether approval is required for assignment extension.
- is
Requestor BooleanJustification Required - Determine whether requestor justification is required.
ApprovalStageResponse, ApprovalStageResponseArgs
- Approval
Stage intTime Out In Days - The time in days when approval request would be timed out
- Escalation
Approvers List<Pulumi.Azure Native. Authorization. Inputs. User Set Response> - The escalation approver of the request.
- Escalation
Time intIn Minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- Is
Approver boolJustification Required - Determines whether approver need to provide justification for his decision.
- Is
Escalation boolEnabled - The value determine whether escalation feature is enabled.
- Primary
Approvers List<Pulumi.Azure Native. Authorization. Inputs. User Set Response> - The primary approver of the request.
- Approval
Stage intTime Out In Days - The time in days when approval request would be timed out
- Escalation
Approvers []UserSet Response - The escalation approver of the request.
- Escalation
Time intIn Minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- Is
Approver boolJustification Required - Determines whether approver need to provide justification for his decision.
- Is
Escalation boolEnabled - The value determine whether escalation feature is enabled.
- Primary
Approvers []UserSet Response - The primary approver of the request.
- approval
Stage IntegerTime Out In Days - The time in days when approval request would be timed out
- escalation
Approvers List<UserSet Response> - The escalation approver of the request.
- escalation
Time IntegerIn Minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- is
Approver BooleanJustification Required - Determines whether approver need to provide justification for his decision.
- is
Escalation BooleanEnabled - The value determine whether escalation feature is enabled.
- primary
Approvers List<UserSet Response> - The primary approver of the request.
- approval
Stage numberTime Out In Days - The time in days when approval request would be timed out
- escalation
Approvers UserSet Response[] - The escalation approver of the request.
- escalation
Time numberIn Minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- is
Approver booleanJustification Required - Determines whether approver need to provide justification for his decision.
- is
Escalation booleanEnabled - The value determine whether escalation feature is enabled.
- primary
Approvers UserSet Response[] - The primary approver of the request.
- approval_
stage_ inttime_ out_ in_ days - The time in days when approval request would be timed out
- escalation_
approvers Sequence[UserSet Response] - The escalation approver of the request.
- escalation_
time_ intin_ minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- is_
approver_ booljustification_ required - Determines whether approver need to provide justification for his decision.
- is_
escalation_ boolenabled - The value determine whether escalation feature is enabled.
- primary_
approvers Sequence[UserSet Response] - The primary approver of the request.
- approval
Stage NumberTime Out In Days - The time in days when approval request would be timed out
- escalation
Approvers List<Property Map> - The escalation approver of the request.
- escalation
Time NumberIn Minutes - The time in minutes when the approval request would be escalated if the primary approver does not approve
- is
Approver BooleanJustification Required - Determines whether approver need to provide justification for his decision.
- is
Escalation BooleanEnabled - The value determine whether escalation feature is enabled.
- primary
Approvers List<Property Map> - The primary approver of the request.
PolicyAssignmentPropertiesResponse, PolicyAssignmentPropertiesResponseArgs
- Policy
Pulumi.
Azure Native. Authorization. Inputs. Policy Assignment Properties Response Policy - Details of the policy
- Role
Definition Pulumi.Azure Native. Authorization. Inputs. Policy Assignment Properties Response Role Definition - Details of role definition
- Scope
Pulumi.
Azure Native. Authorization. Inputs. Policy Assignment Properties Response Scope - Details of the resource scope
- Policy
Policy
Assignment Properties Response Policy - Details of the policy
- Role
Definition PolicyAssignment Properties Response Role Definition - Details of role definition
- Scope
Policy
Assignment Properties Response Scope - Details of the resource scope
- policy
Policy
Assignment Properties Response Policy - Details of the policy
- role
Definition PolicyAssignment Properties Response Role Definition - Details of role definition
- scope
Policy
Assignment Properties Response Scope - Details of the resource scope
- policy
Policy
Assignment Properties Response Policy - Details of the policy
- role
Definition PolicyAssignment Properties Response Role Definition - Details of role definition
- scope
Policy
Assignment Properties Response Scope - Details of the resource scope
- policy
Policy
Assignment Properties Response Policy - Details of the policy
- role_
definition PolicyAssignment Properties Response Role Definition - Details of role definition
- scope
Policy
Assignment Properties Response Scope - Details of the resource scope
- policy Property Map
- Details of the policy
- role
Definition Property Map - Details of role definition
- scope Property Map
- Details of the resource scope
PolicyAssignmentPropertiesResponsePolicy, PolicyAssignmentPropertiesResponsePolicyArgs
- Last
Modified Pulumi.By Azure Native. Authorization. Inputs. Principal Response - The name of the entity last modified it
- Id string
- Id of the policy
- Last
Modified stringDate Time - The last modified date time.
- Last
Modified PrincipalBy Response - The name of the entity last modified it
- Id string
- Id of the policy
- Last
Modified stringDate Time - The last modified date time.
- last
Modified PrincipalBy Response - The name of the entity last modified it
- id String
- Id of the policy
- last
Modified StringDate Time - The last modified date time.
- last
Modified PrincipalBy Response - The name of the entity last modified it
- id string
- Id of the policy
- last
Modified stringDate Time - The last modified date time.
- last_
modified_ Principalby Response - The name of the entity last modified it
- id str
- Id of the policy
- last_
modified_ strdate_ time - The last modified date time.
- last
Modified Property MapBy - The name of the entity last modified it
- id String
- Id of the policy
- last
Modified StringDate Time - The last modified date time.
PolicyAssignmentPropertiesResponseRoleDefinition, PolicyAssignmentPropertiesResponseRoleDefinitionArgs
- Display
Name string - Display name of the role definition
- Id string
- Id of the role definition
- Type string
- Type of the role definition
- Display
Name string - Display name of the role definition
- Id string
- Id of the role definition
- Type string
- Type of the role definition
- display
Name String - Display name of the role definition
- id String
- Id of the role definition
- type String
- Type of the role definition
- display
Name string - Display name of the role definition
- id string
- Id of the role definition
- type string
- Type of the role definition
- display_
name str - Display name of the role definition
- id str
- Id of the role definition
- type str
- Type of the role definition
- display
Name String - Display name of the role definition
- id String
- Id of the role definition
- type String
- Type of the role definition
PolicyAssignmentPropertiesResponseScope, PolicyAssignmentPropertiesResponseScopeArgs
- Display
Name string - Display name of the resource
- Id string
- Scope id of the resource
- Type string
- Type of the resource
- Display
Name string - Display name of the resource
- Id string
- Scope id of the resource
- Type string
- Type of the resource
- display
Name String - Display name of the resource
- id String
- Scope id of the resource
- type String
- Type of the resource
- display
Name string - Display name of the resource
- id string
- Scope id of the resource
- type string
- Type of the resource
- display_
name str - Display name of the resource
- id str
- Scope id of the resource
- type str
- Type of the resource
- display
Name String - Display name of the resource
- id String
- Scope id of the resource
- type String
- Type of the resource
PrincipalResponse, PrincipalResponseArgs
- Display
Name string - The name of the principal made changes
- Email string
- Email of principal
- Id string
- The id of the principal made changes
- Type string
- Type of principal such as user , group etc
- Display
Name string - The name of the principal made changes
- Email string
- Email of principal
- Id string
- The id of the principal made changes
- Type string
- Type of principal such as user , group etc
- display
Name String - The name of the principal made changes
- email String
- Email of principal
- id String
- The id of the principal made changes
- type String
- Type of principal such as user , group etc
- display
Name string - The name of the principal made changes
- email string
- Email of principal
- id string
- The id of the principal made changes
- type string
- Type of principal such as user , group etc
- display_
name str - The name of the principal made changes
- email str
- Email of principal
- id str
- The id of the principal made changes
- type str
- Type of principal such as user , group etc
- display
Name String - The name of the principal made changes
- email String
- Email of principal
- id String
- The id of the principal made changes
- type String
- Type of principal such as user , group etc
RoleManagementPolicyApprovalRuleResponse, RoleManagementPolicyApprovalRuleResponseArgs
- Id string
- The id of the rule.
- Setting
Pulumi.
Azure Native. Authorization. Inputs. Approval Settings Response - The approval setting
- Target
Pulumi.
Azure Native. Authorization. Inputs. Role Management Policy Rule Target Response - The target of the current rule.
- Id string
- The id of the rule.
- Setting
Approval
Settings Response - The approval setting
- Target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- setting
Approval
Settings Response - The approval setting
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id string
- The id of the rule.
- setting
Approval
Settings Response - The approval setting
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id str
- The id of the rule.
- setting
Approval
Settings Response - The approval setting
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- setting Property Map
- The approval setting
- target Property Map
- The target of the current rule.
RoleManagementPolicyAuthenticationContextRuleResponse, RoleManagementPolicyAuthenticationContextRuleResponseArgs
- Claim
Value string - The claim value.
- Id string
- The id of the rule.
- Is
Enabled bool - The value indicating if rule is enabled.
- Target
Pulumi.
Azure Native. Authorization. Inputs. Role Management Policy Rule Target Response - The target of the current rule.
- Claim
Value string - The claim value.
- Id string
- The id of the rule.
- Is
Enabled bool - The value indicating if rule is enabled.
- Target
Role
Management Policy Rule Target Response - The target of the current rule.
- claim
Value String - The claim value.
- id String
- The id of the rule.
- is
Enabled Boolean - The value indicating if rule is enabled.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- claim
Value string - The claim value.
- id string
- The id of the rule.
- is
Enabled boolean - The value indicating if rule is enabled.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- claim_
value str - The claim value.
- id str
- The id of the rule.
- is_
enabled bool - The value indicating if rule is enabled.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- claim
Value String - The claim value.
- id String
- The id of the rule.
- is
Enabled Boolean - The value indicating if rule is enabled.
- target Property Map
- The target of the current rule.
RoleManagementPolicyEnablementRuleResponse, RoleManagementPolicyEnablementRuleResponseArgs
- Enabled
Rules List<string> - The list of enabled rules.
- Id string
- The id of the rule.
- Target
Pulumi.
Azure Native. Authorization. Inputs. Role Management Policy Rule Target Response - The target of the current rule.
- Enabled
Rules []string - The list of enabled rules.
- Id string
- The id of the rule.
- Target
Role
Management Policy Rule Target Response - The target of the current rule.
- enabled
Rules List<String> - The list of enabled rules.
- id String
- The id of the rule.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- enabled
Rules string[] - The list of enabled rules.
- id string
- The id of the rule.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- enabled_
rules Sequence[str] - The list of enabled rules.
- id str
- The id of the rule.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- enabled
Rules List<String> - The list of enabled rules.
- id String
- The id of the rule.
- target Property Map
- The target of the current rule.
RoleManagementPolicyExpirationRuleResponse, RoleManagementPolicyExpirationRuleResponseArgs
- Id string
- The id of the rule.
- Is
Expiration boolRequired - The value indicating whether expiration is required.
- Maximum
Duration string - The maximum duration of expiration in timespan.
- Target
Pulumi.
Azure Native. Authorization. Inputs. Role Management Policy Rule Target Response - The target of the current rule.
- Id string
- The id of the rule.
- Is
Expiration boolRequired - The value indicating whether expiration is required.
- Maximum
Duration string - The maximum duration of expiration in timespan.
- Target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- is
Expiration BooleanRequired - The value indicating whether expiration is required.
- maximum
Duration String - The maximum duration of expiration in timespan.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id string
- The id of the rule.
- is
Expiration booleanRequired - The value indicating whether expiration is required.
- maximum
Duration string - The maximum duration of expiration in timespan.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id str
- The id of the rule.
- is_
expiration_ boolrequired - The value indicating whether expiration is required.
- maximum_
duration str - The maximum duration of expiration in timespan.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- is
Expiration BooleanRequired - The value indicating whether expiration is required.
- maximum
Duration String - The maximum duration of expiration in timespan.
- target Property Map
- The target of the current rule.
RoleManagementPolicyNotificationRuleResponse, RoleManagementPolicyNotificationRuleResponseArgs
- Id string
- The id of the rule.
- Is
Default boolRecipients Enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- Notification
Level string - The notification level.
- Notification
Recipients List<string> - The list of notification recipients.
- Notification
Type string - The type of notification.
- Recipient
Type string - The recipient type.
- Target
Pulumi.
Azure Native. Authorization. Inputs. Role Management Policy Rule Target Response - The target of the current rule.
- Id string
- The id of the rule.
- Is
Default boolRecipients Enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- Notification
Level string - The notification level.
- Notification
Recipients []string - The list of notification recipients.
- Notification
Type string - The type of notification.
- Recipient
Type string - The recipient type.
- Target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- is
Default BooleanRecipients Enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- notification
Level String - The notification level.
- notification
Recipients List<String> - The list of notification recipients.
- notification
Type String - The type of notification.
- recipient
Type String - The recipient type.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id string
- The id of the rule.
- is
Default booleanRecipients Enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- notification
Level string - The notification level.
- notification
Recipients string[] - The list of notification recipients.
- notification
Type string - The type of notification.
- recipient
Type string - The recipient type.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id str
- The id of the rule.
- is_
default_ boolrecipients_ enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- notification_
level str - The notification level.
- notification_
recipients Sequence[str] - The list of notification recipients.
- notification_
type str - The type of notification.
- recipient_
type str - The recipient type.
- target
Role
Management Policy Rule Target Response - The target of the current rule.
- id String
- The id of the rule.
- is
Default BooleanRecipients Enabled - Determines if the notification will be sent to the recipient type specified in the policy rule.
- notification
Level String - The notification level.
- notification
Recipients List<String> - The list of notification recipients.
- notification
Type String - The type of notification.
- recipient
Type String - The recipient type.
- target Property Map
- The target of the current rule.
RoleManagementPolicyRuleTargetResponse, RoleManagementPolicyRuleTargetResponseArgs
- Caller string
- The caller of the setting.
- Enforced
Settings List<string> - The list of enforced settings.
- Inheritable
Settings List<string> - The list of inheritable settings.
- Level string
- The assignment level to which rule is applied.
- Operations List<string>
- The type of operation.
- Target
Objects List<string> - The list of target objects.
- Caller string
- The caller of the setting.
- Enforced
Settings []string - The list of enforced settings.
- Inheritable
Settings []string - The list of inheritable settings.
- Level string
- The assignment level to which rule is applied.
- Operations []string
- The type of operation.
- Target
Objects []string - The list of target objects.
- caller String
- The caller of the setting.
- enforced
Settings List<String> - The list of enforced settings.
- inheritable
Settings List<String> - The list of inheritable settings.
- level String
- The assignment level to which rule is applied.
- operations List<String>
- The type of operation.
- target
Objects List<String> - The list of target objects.
- caller string
- The caller of the setting.
- enforced
Settings string[] - The list of enforced settings.
- inheritable
Settings string[] - The list of inheritable settings.
- level string
- The assignment level to which rule is applied.
- operations string[]
- The type of operation.
- target
Objects string[] - The list of target objects.
- caller str
- The caller of the setting.
- enforced_
settings Sequence[str] - The list of enforced settings.
- inheritable_
settings Sequence[str] - The list of inheritable settings.
- level str
- The assignment level to which rule is applied.
- operations Sequence[str]
- The type of operation.
- target_
objects Sequence[str] - The list of target objects.
- caller String
- The caller of the setting.
- enforced
Settings List<String> - The list of enforced settings.
- inheritable
Settings List<String> - The list of inheritable settings.
- level String
- The assignment level to which rule is applied.
- operations List<String>
- The type of operation.
- target
Objects List<String> - The list of target objects.
UserSetResponse, UserSetResponseArgs
- Description string
- The description of the user.
- Id string
- The object id of the user.
- Is
Backup bool - The value indicating whether the user is a backup fallback approver
- User
Type string - The type of user.
- Description string
- The description of the user.
- Id string
- The object id of the user.
- Is
Backup bool - The value indicating whether the user is a backup fallback approver
- User
Type string - The type of user.
- description String
- The description of the user.
- id String
- The object id of the user.
- is
Backup Boolean - The value indicating whether the user is a backup fallback approver
- user
Type String - The type of user.
- description string
- The description of the user.
- id string
- The object id of the user.
- is
Backup boolean - The value indicating whether the user is a backup fallback approver
- user
Type string - The type of user.
- description str
- The description of the user.
- id str
- The object id of the user.
- is_
backup bool - The value indicating whether the user is a backup fallback approver
- user_
type str - The type of user.
- description String
- The description of the user.
- id String
- The object id of the user.
- is
Backup Boolean - The value indicating whether the user is a backup fallback approver
- user
Type String - The type of user.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:authorization:RoleManagementPolicyAssignment b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24 /subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicyAssignment/b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0