1. Packages
  2. Strata Cloud Manager (Palo Alto SCM)
  3. API Docs
  4. getUrlAccessProfile
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

scm.getUrlAccessProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getUrlAccessProfile({
        id: "1234-56-789",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_url_access_profile(id="1234-56-789")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.LookupUrlAccessProfile(ctx, &scm.LookupUrlAccessProfileArgs{
    			Id: "1234-56-789",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetUrlAccessProfile.Invoke(new()
        {
            Id = "1234-56-789",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetUrlAccessProfileArgs;
    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) {
            final var example = ScmFunctions.getUrlAccessProfile(GetUrlAccessProfileArgs.builder()
                .id("1234-56-789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getUrlAccessProfile
          Arguments:
            id: 1234-56-789
    

    Using getUrlAccessProfile

    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 getUrlAccessProfile(args: GetUrlAccessProfileArgs, opts?: InvokeOptions): Promise<GetUrlAccessProfileResult>
    function getUrlAccessProfileOutput(args: GetUrlAccessProfileOutputArgs, opts?: InvokeOptions): Output<GetUrlAccessProfileResult>
    def get_url_access_profile(id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetUrlAccessProfileResult
    def get_url_access_profile_output(id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetUrlAccessProfileResult]
    func LookupUrlAccessProfile(ctx *Context, args *LookupUrlAccessProfileArgs, opts ...InvokeOption) (*LookupUrlAccessProfileResult, error)
    func LookupUrlAccessProfileOutput(ctx *Context, args *LookupUrlAccessProfileOutputArgs, opts ...InvokeOption) LookupUrlAccessProfileResultOutput

    > Note: This function is named LookupUrlAccessProfile in the Go SDK.

    public static class GetUrlAccessProfile 
    {
        public static Task<GetUrlAccessProfileResult> InvokeAsync(GetUrlAccessProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetUrlAccessProfileResult> Invoke(GetUrlAccessProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUrlAccessProfileResult> getUrlAccessProfile(GetUrlAccessProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getUrlAccessProfile:getUrlAccessProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Id string
    The Id param.
    id String
    The Id param.
    id string
    The Id param.
    id str
    The Id param.
    id String
    The Id param.

    getUrlAccessProfile Result

    The following output properties are available:

    Alerts List<string>
    The Alerts param.
    Allows List<string>
    The Allows param.
    Blocks List<string>
    The Blocks param.
    CloudInlineCat bool
    The CloudInlineCat param.
    Continues List<string>
    The Continues param.
    CredentialEnforcement GetUrlAccessProfileCredentialEnforcement
    The CredentialEnforcement param.
    Description string
    The Description param. String length must not exceed 255 characters.
    Id string
    The Id param.
    LocalInlineCat bool
    The LocalInlineCat param.
    LogContainerPageOnly bool
    The LogContainerPageOnly param. Default: true.
    LogHttpHdrReferer bool
    The LogHttpHdrReferer param. Default: false.
    LogHttpHdrUserAgent bool
    The LogHttpHdrUserAgent param. Default: false.
    LogHttpHdrXff bool
    The LogHttpHdrXff param. Default: false.
    MlavCategoryExceptions List<string>
    The MlavCategoryExceptions param.
    Name string
    The Name param.
    SafeSearchEnforcement bool
    The SafeSearchEnforcement param. Default: false.
    Tfid string
    Alerts []string
    The Alerts param.
    Allows []string
    The Allows param.
    Blocks []string
    The Blocks param.
    CloudInlineCat bool
    The CloudInlineCat param.
    Continues []string
    The Continues param.
    CredentialEnforcement GetUrlAccessProfileCredentialEnforcement
    The CredentialEnforcement param.
    Description string
    The Description param. String length must not exceed 255 characters.
    Id string
    The Id param.
    LocalInlineCat bool
    The LocalInlineCat param.
    LogContainerPageOnly bool
    The LogContainerPageOnly param. Default: true.
    LogHttpHdrReferer bool
    The LogHttpHdrReferer param. Default: false.
    LogHttpHdrUserAgent bool
    The LogHttpHdrUserAgent param. Default: false.
    LogHttpHdrXff bool
    The LogHttpHdrXff param. Default: false.
    MlavCategoryExceptions []string
    The MlavCategoryExceptions param.
    Name string
    The Name param.
    SafeSearchEnforcement bool
    The SafeSearchEnforcement param. Default: false.
    Tfid string
    alerts List<String>
    The Alerts param.
    allows List<String>
    The Allows param.
    blocks List<String>
    The Blocks param.
    cloudInlineCat Boolean
    The CloudInlineCat param.
    continues List<String>
    The Continues param.
    credentialEnforcement GetUrlAccessProfileCredentialEnforcement
    The CredentialEnforcement param.
    description String
    The Description param. String length must not exceed 255 characters.
    id String
    The Id param.
    localInlineCat Boolean
    The LocalInlineCat param.
    logContainerPageOnly Boolean
    The LogContainerPageOnly param. Default: true.
    logHttpHdrReferer Boolean
    The LogHttpHdrReferer param. Default: false.
    logHttpHdrUserAgent Boolean
    The LogHttpHdrUserAgent param. Default: false.
    logHttpHdrXff Boolean
    The LogHttpHdrXff param. Default: false.
    mlavCategoryExceptions List<String>
    The MlavCategoryExceptions param.
    name String
    The Name param.
    safeSearchEnforcement Boolean
    The SafeSearchEnforcement param. Default: false.
    tfid String
    alerts string[]
    The Alerts param.
    allows string[]
    The Allows param.
    blocks string[]
    The Blocks param.
    cloudInlineCat boolean
    The CloudInlineCat param.
    continues string[]
    The Continues param.
    credentialEnforcement GetUrlAccessProfileCredentialEnforcement
    The CredentialEnforcement param.
    description string
    The Description param. String length must not exceed 255 characters.
    id string
    The Id param.
    localInlineCat boolean
    The LocalInlineCat param.
    logContainerPageOnly boolean
    The LogContainerPageOnly param. Default: true.
    logHttpHdrReferer boolean
    The LogHttpHdrReferer param. Default: false.
    logHttpHdrUserAgent boolean
    The LogHttpHdrUserAgent param. Default: false.
    logHttpHdrXff boolean
    The LogHttpHdrXff param. Default: false.
    mlavCategoryExceptions string[]
    The MlavCategoryExceptions param.
    name string
    The Name param.
    safeSearchEnforcement boolean
    The SafeSearchEnforcement param. Default: false.
    tfid string
    alerts Sequence[str]
    The Alerts param.
    allows Sequence[str]
    The Allows param.
    blocks Sequence[str]
    The Blocks param.
    cloud_inline_cat bool
    The CloudInlineCat param.
    continues Sequence[str]
    The Continues param.
    credential_enforcement GetUrlAccessProfileCredentialEnforcement
    The CredentialEnforcement param.
    description str
    The Description param. String length must not exceed 255 characters.
    id str
    The Id param.
    local_inline_cat bool
    The LocalInlineCat param.
    log_container_page_only bool
    The LogContainerPageOnly param. Default: true.
    log_http_hdr_referer bool
    The LogHttpHdrReferer param. Default: false.
    log_http_hdr_user_agent bool
    The LogHttpHdrUserAgent param. Default: false.
    log_http_hdr_xff bool
    The LogHttpHdrXff param. Default: false.
    mlav_category_exceptions Sequence[str]
    The MlavCategoryExceptions param.
    name str
    The Name param.
    safe_search_enforcement bool
    The SafeSearchEnforcement param. Default: false.
    tfid str
    alerts List<String>
    The Alerts param.
    allows List<String>
    The Allows param.
    blocks List<String>
    The Blocks param.
    cloudInlineCat Boolean
    The CloudInlineCat param.
    continues List<String>
    The Continues param.
    credentialEnforcement Property Map
    The CredentialEnforcement param.
    description String
    The Description param. String length must not exceed 255 characters.
    id String
    The Id param.
    localInlineCat Boolean
    The LocalInlineCat param.
    logContainerPageOnly Boolean
    The LogContainerPageOnly param. Default: true.
    logHttpHdrReferer Boolean
    The LogHttpHdrReferer param. Default: false.
    logHttpHdrUserAgent Boolean
    The LogHttpHdrUserAgent param. Default: false.
    logHttpHdrXff Boolean
    The LogHttpHdrXff param. Default: false.
    mlavCategoryExceptions List<String>
    The MlavCategoryExceptions param.
    name String
    The Name param.
    safeSearchEnforcement Boolean
    The SafeSearchEnforcement param. Default: false.
    tfid String

    Supporting Types

    GetUrlAccessProfileCredentialEnforcement

    Alerts List<string>
    The Alerts param.
    Allows List<string>
    The Allows param.
    Blocks List<string>
    The Blocks param.
    Continues List<string>
    The Continues param.
    LogSeverity string
    The LogSeverity param. Default: "medium".
    Mode GetUrlAccessProfileCredentialEnforcementMode
    The Mode param.
    Alerts []string
    The Alerts param.
    Allows []string
    The Allows param.
    Blocks []string
    The Blocks param.
    Continues []string
    The Continues param.
    LogSeverity string
    The LogSeverity param. Default: "medium".
    Mode GetUrlAccessProfileCredentialEnforcementMode
    The Mode param.
    alerts List<String>
    The Alerts param.
    allows List<String>
    The Allows param.
    blocks List<String>
    The Blocks param.
    continues List<String>
    The Continues param.
    logSeverity String
    The LogSeverity param. Default: "medium".
    mode GetUrlAccessProfileCredentialEnforcementMode
    The Mode param.
    alerts string[]
    The Alerts param.
    allows string[]
    The Allows param.
    blocks string[]
    The Blocks param.
    continues string[]
    The Continues param.
    logSeverity string
    The LogSeverity param. Default: "medium".
    mode GetUrlAccessProfileCredentialEnforcementMode
    The Mode param.
    alerts Sequence[str]
    The Alerts param.
    allows Sequence[str]
    The Allows param.
    blocks Sequence[str]
    The Blocks param.
    continues Sequence[str]
    The Continues param.
    log_severity str
    The LogSeverity param. Default: "medium".
    mode GetUrlAccessProfileCredentialEnforcementMode
    The Mode param.
    alerts List<String>
    The Alerts param.
    allows List<String>
    The Allows param.
    blocks List<String>
    The Blocks param.
    continues List<String>
    The Continues param.
    logSeverity String
    The LogSeverity param. Default: "medium".
    mode Property Map
    The Mode param.

    GetUrlAccessProfileCredentialEnforcementMode

    Disabled bool
    The Disabled param. Default: false.
    DomainCredentials bool
    The DomainCredentials param. Default: false.
    GroupMapping string
    The GroupMapping param.
    IpUser bool
    The IpUser param. Default: false.
    Disabled bool
    The Disabled param. Default: false.
    DomainCredentials bool
    The DomainCredentials param. Default: false.
    GroupMapping string
    The GroupMapping param.
    IpUser bool
    The IpUser param. Default: false.
    disabled Boolean
    The Disabled param. Default: false.
    domainCredentials Boolean
    The DomainCredentials param. Default: false.
    groupMapping String
    The GroupMapping param.
    ipUser Boolean
    The IpUser param. Default: false.
    disabled boolean
    The Disabled param. Default: false.
    domainCredentials boolean
    The DomainCredentials param. Default: false.
    groupMapping string
    The GroupMapping param.
    ipUser boolean
    The IpUser param. Default: false.
    disabled bool
    The Disabled param. Default: false.
    domain_credentials bool
    The DomainCredentials param. Default: false.
    group_mapping str
    The GroupMapping param.
    ip_user bool
    The IpUser param. Default: false.
    disabled Boolean
    The Disabled param. Default: false.
    domainCredentials Boolean
    The DomainCredentials param. Default: false.
    groupMapping String
    The GroupMapping param.
    ipUser Boolean
    The IpUser param. Default: false.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi