Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
published on Monday, Jun 15, 2026 by rpothin
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
published on Monday, Jun 15, 2026 by rpothin
Reads an existing DLP policy by ID and returns its configuration ready for use with ResDlpPolicy or powerplatform:index:DlpPolicy. This function is the Pulumi equivalent of the utl-dlppolicy-replicator Terraform module. It is advisory-only: no enforcement or reclassification is applied.
Using getDlpPolicyMigrationConfig
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 getDlpPolicyMigrationConfig(args: GetDlpPolicyMigrationConfigArgs, opts?: InvokeOptions): Promise<GetDlpPolicyMigrationConfigResult>
function getDlpPolicyMigrationConfigOutput(args: GetDlpPolicyMigrationConfigOutputArgs, opts?: InvokeOptions): Output<GetDlpPolicyMigrationConfigResult>def get_dlp_policy_migration_config(source_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDlpPolicyMigrationConfigResult
def get_dlp_policy_migration_config_output(source_policy_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDlpPolicyMigrationConfigResult]func GetDlpPolicyMigrationConfig(ctx *Context, args *GetDlpPolicyMigrationConfigArgs, opts ...InvokeOption) (*GetDlpPolicyMigrationConfigResult, error)
func GetDlpPolicyMigrationConfigOutput(ctx *Context, args *GetDlpPolicyMigrationConfigOutputArgs, opts ...InvokeOption) GetDlpPolicyMigrationConfigResultOutput> Note: This function is named GetDlpPolicyMigrationConfig in the Go SDK.
public static class GetDlpPolicyMigrationConfig
{
public static Task<GetDlpPolicyMigrationConfigResult> InvokeAsync(GetDlpPolicyMigrationConfigArgs args, InvokeOptions? opts = null)
public static Output<GetDlpPolicyMigrationConfigResult> Invoke(GetDlpPolicyMigrationConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDlpPolicyMigrationConfigResult> getDlpPolicyMigrationConfig(GetDlpPolicyMigrationConfigArgs args, InvokeOptions options)
public static Output<GetDlpPolicyMigrationConfigResult> getDlpPolicyMigrationConfig(GetDlpPolicyMigrationConfigArgs args, InvokeOptions options)
fn::invoke:
function: powerplatform:getDlpPolicyMigrationConfig
arguments:
# arguments dictionarydata "powerplatform_getdlppolicymigrationconfig" "name" {
# arguments
}The following arguments are supported:
- Source
Policy stringId - The ID of the source DLP policy to read migration configuration from.
- Source
Policy stringId - The ID of the source DLP policy to read migration configuration from.
- source_
policy_ stringid - The ID of the source DLP policy to read migration configuration from.
- source
Policy StringId - The ID of the source DLP policy to read migration configuration from.
- source
Policy stringId - The ID of the source DLP policy to read migration configuration from.
- source_
policy_ strid - The ID of the source DLP policy to read migration configuration from.
- source
Policy StringId - The ID of the source DLP policy to read migration configuration from.
getDlpPolicyMigrationConfig Result
The following output properties are available:
- Display
Name string - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- Name string
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- Rule
Sets List<RuleSet> - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- Display
Name string - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- Name string
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- Rule
Sets []RuleSet - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- display_
name string - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- name string
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- rule_
sets list(object) - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- display
Name String - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- name String
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- rule
Sets List<RuleSet> - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- display
Name string - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- name string
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- rule
Sets RuleSet[] - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- display_
name str - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- name str
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- rule_
sets Sequence[RuleSet] - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
- display
Name String - Display name of the source DLP policy. Use as the displayName input for ResDlpPolicy.
- name String
- Display name of the source DLP policy. Use as the name input for powerplatform:index:DlpPolicy.
- rule
Sets List<Property Map> - Rule set configurations from the source policy, ready for input to ResDlpPolicy or DlpPolicy.
Supporting Types
RuleSet
Package Details
- Repository
- powerplatform rpothin/pulumi-powerplatform
- License
- MIT
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
published on Monday, Jun 15, 2026 by rpothin