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
Lists all rule-based DLP (Data Loss Prevention) policies in the tenant.
Using getDlpPolicies
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 getDlpPolicies(args: GetDlpPoliciesArgs, opts?: InvokeOptions): Promise<GetDlpPoliciesResult>
function getDlpPoliciesOutput(args: GetDlpPoliciesOutputArgs, opts?: InvokeOptions): Output<GetDlpPoliciesResult>def get_dlp_policies(opts: Optional[InvokeOptions] = None) -> GetDlpPoliciesResult
def get_dlp_policies_output(opts: Optional[InvokeOptions] = None) -> Output[GetDlpPoliciesResult]func GetDlpPolicies(ctx *Context, args *GetDlpPoliciesArgs, opts ...InvokeOption) (*GetDlpPoliciesResult, error)
func GetDlpPoliciesOutput(ctx *Context, args *GetDlpPoliciesOutputArgs, opts ...InvokeOption) GetDlpPoliciesResultOutput> Note: This function is named GetDlpPolicies in the Go SDK.
public static class GetDlpPolicies
{
public static Task<GetDlpPoliciesResult> InvokeAsync(GetDlpPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetDlpPoliciesResult> Invoke(GetDlpPoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDlpPoliciesResult> getDlpPolicies(GetDlpPoliciesArgs args, InvokeOptions options)
public static Output<GetDlpPoliciesResult> getDlpPolicies(GetDlpPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: powerplatform:getDlpPolicies
arguments:
# arguments dictionarydata "powerplatform_getdlppolicies" "name" {
# arguments
}The following arguments are supported:
getDlpPolicies Result
The following output properties are available:
- Policies
List<Dlp
Policy Summary> - The list of DLP policies.
- Policies
[]Dlp
Policy Summary - The list of DLP policies.
- policies list(object)
- The list of DLP policies.
- policies
List<Dlp
Policy Summary> - The list of DLP policies.
- policies
Dlp
Policy Summary[] - The list of DLP policies.
- policies
Sequence[Dlp
Policy Summary] - The list of DLP policies.
- policies List<Property Map>
- The list of DLP policies.
Supporting Types
DlpPolicySummary
- Id string
- The unique identifier of the DLP policy.
- Last
Modified string - The ISO 8601 timestamp when the policy was last modified.
- Name string
- The display name of the DLP policy.
- Rule
Set intCount - The total number of rule sets in the policy.
- Rule
Sets List<RuleSet> - The rule sets that define the DLP policy rules.
- Tenant
Id string - The ID of the tenant owning the DLP policy.
- Id string
- The unique identifier of the DLP policy.
- Last
Modified string - The ISO 8601 timestamp when the policy was last modified.
- Name string
- The display name of the DLP policy.
- Rule
Set intCount - The total number of rule sets in the policy.
- Rule
Sets []RuleSet - The rule sets that define the DLP policy rules.
- Tenant
Id string - The ID of the tenant owning the DLP policy.
- id string
- The unique identifier of the DLP policy.
- last_
modified string - The ISO 8601 timestamp when the policy was last modified.
- name string
- The display name of the DLP policy.
- rule_
set_ numbercount - The total number of rule sets in the policy.
- rule_
sets list(object) - The rule sets that define the DLP policy rules.
- tenant_
id string - The ID of the tenant owning the DLP policy.
- id String
- The unique identifier of the DLP policy.
- last
Modified String - The ISO 8601 timestamp when the policy was last modified.
- name String
- The display name of the DLP policy.
- rule
Set IntegerCount - The total number of rule sets in the policy.
- rule
Sets List<RuleSet> - The rule sets that define the DLP policy rules.
- tenant
Id String - The ID of the tenant owning the DLP policy.
- id string
- The unique identifier of the DLP policy.
- last
Modified string - The ISO 8601 timestamp when the policy was last modified.
- name string
- The display name of the DLP policy.
- rule
Set numberCount - The total number of rule sets in the policy.
- rule
Sets RuleSet[] - The rule sets that define the DLP policy rules.
- tenant
Id string - The ID of the tenant owning the DLP policy.
- id str
- The unique identifier of the DLP policy.
- last_
modified str - The ISO 8601 timestamp when the policy was last modified.
- name str
- The display name of the DLP policy.
- rule_
set_ intcount - The total number of rule sets in the policy.
- rule_
sets Sequence[RuleSet] - The rule sets that define the DLP policy rules.
- tenant_
id str - The ID of the tenant owning the DLP policy.
- id String
- The unique identifier of the DLP policy.
- last
Modified String - The ISO 8601 timestamp when the policy was last modified.
- name String
- The display name of the DLP policy.
- rule
Set NumberCount - The total number of rule sets in the policy.
- rule
Sets List<Property Map> - The rule sets that define the DLP policy rules.
- tenant
Id String - The ID of the tenant owning the DLP policy.
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