Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi
scm.getUrlAccessProfile
Explore with Pulumi AI
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.
- Cloud
Inline boolCat - The CloudInlineCat param.
- Continues List<string>
- The Continues param.
- Credential
Enforcement GetUrl Access Profile Credential Enforcement - The CredentialEnforcement param.
- Description string
- The Description param. String length must not exceed 255 characters.
- Id string
- The Id param.
- Local
Inline boolCat - The LocalInlineCat param.
- Log
Container boolPage Only - The LogContainerPageOnly param. Default:
true
. - Log
Http boolHdr Referer - The LogHttpHdrReferer param. Default:
false
. - Log
Http boolHdr User Agent - The LogHttpHdrUserAgent param. Default:
false
. - Log
Http boolHdr Xff - The LogHttpHdrXff param. Default:
false
. - Mlav
Category List<string>Exceptions - The MlavCategoryExceptions param.
- Name string
- The Name param.
- Safe
Search boolEnforcement - The SafeSearchEnforcement param. Default:
false
. - Tfid string
- Alerts []string
- The Alerts param.
- Allows []string
- The Allows param.
- Blocks []string
- The Blocks param.
- Cloud
Inline boolCat - The CloudInlineCat param.
- Continues []string
- The Continues param.
- Credential
Enforcement GetUrl Access Profile Credential Enforcement - The CredentialEnforcement param.
- Description string
- The Description param. String length must not exceed 255 characters.
- Id string
- The Id param.
- Local
Inline boolCat - The LocalInlineCat param.
- Log
Container boolPage Only - The LogContainerPageOnly param. Default:
true
. - Log
Http boolHdr Referer - The LogHttpHdrReferer param. Default:
false
. - Log
Http boolHdr User Agent - The LogHttpHdrUserAgent param. Default:
false
. - Log
Http boolHdr Xff - The LogHttpHdrXff param. Default:
false
. - Mlav
Category []stringExceptions - The MlavCategoryExceptions param.
- Name string
- The Name param.
- Safe
Search boolEnforcement - 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.
- cloud
Inline BooleanCat - The CloudInlineCat param.
- continues List<String>
- The Continues param.
- credential
Enforcement GetUrl Access Profile Credential Enforcement - The CredentialEnforcement param.
- description String
- The Description param. String length must not exceed 255 characters.
- id String
- The Id param.
- local
Inline BooleanCat - The LocalInlineCat param.
- log
Container BooleanPage Only - The LogContainerPageOnly param. Default:
true
. - log
Http BooleanHdr Referer - The LogHttpHdrReferer param. Default:
false
. - log
Http BooleanHdr User Agent - The LogHttpHdrUserAgent param. Default:
false
. - log
Http BooleanHdr Xff - The LogHttpHdrXff param. Default:
false
. - mlav
Category List<String>Exceptions - The MlavCategoryExceptions param.
- name String
- The Name param.
- safe
Search BooleanEnforcement - The SafeSearchEnforcement param. Default:
false
. - tfid String
- alerts string[]
- The Alerts param.
- allows string[]
- The Allows param.
- blocks string[]
- The Blocks param.
- cloud
Inline booleanCat - The CloudInlineCat param.
- continues string[]
- The Continues param.
- credential
Enforcement GetUrl Access Profile Credential Enforcement - The CredentialEnforcement param.
- description string
- The Description param. String length must not exceed 255 characters.
- id string
- The Id param.
- local
Inline booleanCat - The LocalInlineCat param.
- log
Container booleanPage Only - The LogContainerPageOnly param. Default:
true
. - log
Http booleanHdr Referer - The LogHttpHdrReferer param. Default:
false
. - log
Http booleanHdr User Agent - The LogHttpHdrUserAgent param. Default:
false
. - log
Http booleanHdr Xff - The LogHttpHdrXff param. Default:
false
. - mlav
Category string[]Exceptions - The MlavCategoryExceptions param.
- name string
- The Name param.
- safe
Search booleanEnforcement - 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_ boolcat - The CloudInlineCat param.
- continues Sequence[str]
- The Continues param.
- credential_
enforcement GetUrl Access Profile Credential Enforcement - The CredentialEnforcement param.
- description str
- The Description param. String length must not exceed 255 characters.
- id str
- The Id param.
- local_
inline_ boolcat - The LocalInlineCat param.
- log_
container_ boolpage_ only - The LogContainerPageOnly param. Default:
true
. - log_
http_ boolhdr_ referer - The LogHttpHdrReferer param. Default:
false
. - log_
http_ boolhdr_ user_ agent - The LogHttpHdrUserAgent param. Default:
false
. - log_
http_ boolhdr_ xff - The LogHttpHdrXff param. Default:
false
. - mlav_
category_ Sequence[str]exceptions - The MlavCategoryExceptions param.
- name str
- The Name param.
- safe_
search_ boolenforcement - 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.
- cloud
Inline BooleanCat - The CloudInlineCat param.
- continues List<String>
- The Continues param.
- credential
Enforcement Property Map - The CredentialEnforcement param.
- description String
- The Description param. String length must not exceed 255 characters.
- id String
- The Id param.
- local
Inline BooleanCat - The LocalInlineCat param.
- log
Container BooleanPage Only - The LogContainerPageOnly param. Default:
true
. - log
Http BooleanHdr Referer - The LogHttpHdrReferer param. Default:
false
. - log
Http BooleanHdr User Agent - The LogHttpHdrUserAgent param. Default:
false
. - log
Http BooleanHdr Xff - The LogHttpHdrXff param. Default:
false
. - mlav
Category List<String>Exceptions - The MlavCategoryExceptions param.
- name String
- The Name param.
- safe
Search BooleanEnforcement - 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.
- Log
Severity string - The LogSeverity param. Default:
"medium"
. - Mode
Get
Url Access Profile Credential Enforcement Mode - The Mode param.
- Alerts []string
- The Alerts param.
- Allows []string
- The Allows param.
- Blocks []string
- The Blocks param.
- Continues []string
- The Continues param.
- Log
Severity string - The LogSeverity param. Default:
"medium"
. - Mode
Get
Url Access Profile Credential Enforcement Mode - 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.
- log
Severity String - The LogSeverity param. Default:
"medium"
. - mode
Get
Url Access Profile Credential Enforcement Mode - The Mode param.
- alerts string[]
- The Alerts param.
- allows string[]
- The Allows param.
- blocks string[]
- The Blocks param.
- continues string[]
- The Continues param.
- log
Severity string - The LogSeverity param. Default:
"medium"
. - mode
Get
Url Access Profile Credential Enforcement Mode - 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
Get
Url Access Profile Credential Enforcement Mode - 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.
- log
Severity String - The LogSeverity param. Default:
"medium"
. - mode Property Map
- The Mode param.
GetUrlAccessProfileCredentialEnforcementMode
- Disabled bool
- The Disabled param. Default:
false
. - Domain
Credentials bool - The DomainCredentials param. Default:
false
. - Group
Mapping string - The GroupMapping param.
- Ip
User bool - The IpUser param. Default:
false
.
- Disabled bool
- The Disabled param. Default:
false
. - Domain
Credentials bool - The DomainCredentials param. Default:
false
. - Group
Mapping string - The GroupMapping param.
- Ip
User bool - The IpUser param. Default:
false
.
- disabled Boolean
- The Disabled param. Default:
false
. - domain
Credentials Boolean - The DomainCredentials param. Default:
false
. - group
Mapping String - The GroupMapping param.
- ip
User Boolean - The IpUser param. Default:
false
.
- disabled boolean
- The Disabled param. Default:
false
. - domain
Credentials boolean - The DomainCredentials param. Default:
false
. - group
Mapping string - The GroupMapping param.
- ip
User 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
. - domain
Credentials Boolean - The DomainCredentials param. Default:
false
. - group
Mapping String - The GroupMapping param.
- ip
User 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.