cloudflare.ZeroTrustRiskScoringIntegration
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustRiskScoringIntegration = new cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration", {
accountId: "account_id",
integrationType: "Okta",
tenantUrl: "https://example.com",
referenceId: "reference_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_risk_scoring_integration = cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration",
account_id="account_id",
integration_type="Okta",
tenant_url="https://example.com",
reference_id="reference_id")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewZeroTrustRiskScoringIntegration(ctx, "example_zero_trust_risk_scoring_integration", &cloudflare.ZeroTrustRiskScoringIntegrationArgs{
AccountId: pulumi.String("account_id"),
IntegrationType: pulumi.String("Okta"),
TenantUrl: pulumi.String("https://example.com"),
ReferenceId: pulumi.String("reference_id"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustRiskScoringIntegration = new Cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration", new()
{
AccountId = "account_id",
IntegrationType = "Okta",
TenantUrl = "https://example.com",
ReferenceId = "reference_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustRiskScoringIntegration;
import com.pulumi.cloudflare.ZeroTrustRiskScoringIntegrationArgs;
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 exampleZeroTrustRiskScoringIntegration = new ZeroTrustRiskScoringIntegration("exampleZeroTrustRiskScoringIntegration", ZeroTrustRiskScoringIntegrationArgs.builder()
.accountId("account_id")
.integrationType("Okta")
.tenantUrl("https://example.com")
.referenceId("reference_id")
.build());
}
}
resources:
exampleZeroTrustRiskScoringIntegration:
type: cloudflare:ZeroTrustRiskScoringIntegration
name: example_zero_trust_risk_scoring_integration
properties:
accountId: account_id
integrationType: Okta
tenantUrl: https://example.com
referenceId: reference_id
Create ZeroTrustRiskScoringIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustRiskScoringIntegration(name: string, args: ZeroTrustRiskScoringIntegrationArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustRiskScoringIntegration(resource_name: str,
args: ZeroTrustRiskScoringIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustRiskScoringIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
integration_type: Optional[str] = None,
tenant_url: Optional[str] = None,
active: Optional[bool] = None,
reference_id: Optional[str] = None)
func NewZeroTrustRiskScoringIntegration(ctx *Context, name string, args ZeroTrustRiskScoringIntegrationArgs, opts ...ResourceOption) (*ZeroTrustRiskScoringIntegration, error)
public ZeroTrustRiskScoringIntegration(string name, ZeroTrustRiskScoringIntegrationArgs args, CustomResourceOptions? opts = null)
public ZeroTrustRiskScoringIntegration(String name, ZeroTrustRiskScoringIntegrationArgs args)
public ZeroTrustRiskScoringIntegration(String name, ZeroTrustRiskScoringIntegrationArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustRiskScoringIntegration
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 ZeroTrustRiskScoringIntegrationArgs
- 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 ZeroTrustRiskScoringIntegrationArgs
- 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 ZeroTrustRiskScoringIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustRiskScoringIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustRiskScoringIntegrationArgs
- 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 zeroTrustRiskScoringIntegrationResource = new Cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", new()
{
AccountId = "string",
IntegrationType = "string",
TenantUrl = "string",
Active = false,
ReferenceId = "string",
});
example, err := cloudflare.NewZeroTrustRiskScoringIntegration(ctx, "zeroTrustRiskScoringIntegrationResource", &cloudflare.ZeroTrustRiskScoringIntegrationArgs{
AccountId: pulumi.String("string"),
IntegrationType: pulumi.String("string"),
TenantUrl: pulumi.String("string"),
Active: pulumi.Bool(false),
ReferenceId: pulumi.String("string"),
})
var zeroTrustRiskScoringIntegrationResource = new ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", ZeroTrustRiskScoringIntegrationArgs.builder()
.accountId("string")
.integrationType("string")
.tenantUrl("string")
.active(false)
.referenceId("string")
.build());
zero_trust_risk_scoring_integration_resource = cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource",
account_id="string",
integration_type="string",
tenant_url="string",
active=False,
reference_id="string")
const zeroTrustRiskScoringIntegrationResource = new cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", {
accountId: "string",
integrationType: "string",
tenantUrl: "string",
active: false,
referenceId: "string",
});
type: cloudflare:ZeroTrustRiskScoringIntegration
properties:
accountId: string
active: false
integrationType: string
referenceId: string
tenantUrl: string
ZeroTrustRiskScoringIntegration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ZeroTrustRiskScoringIntegration resource accepts the following input properties:
- Account
Id string - Integration
Type string - Available values: "Okta".
- Tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- Active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- Reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- Account
Id string - Integration
Type string - Available values: "Okta".
- Tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- Active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- Reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- account
Id String - integration
Type String - Available values: "Okta".
- tenant
Url String - The base url of the tenant, e.g. "https://tenant.okta.com"
- active Boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- reference
Id String - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- account
Id string - integration
Type string - Available values: "Okta".
- tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- active boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- account_
id str - integration_
type str - Available values: "Okta".
- tenant_
url str - The base url of the tenant, e.g. "https://tenant.okta.com"
- active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- reference_
id str - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- account
Id String - integration
Type String - Available values: "Okta".
- tenant
Url String - The base url of the tenant, e.g. "https://tenant.okta.com"
- active Boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- reference
Id String - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustRiskScoringIntegration resource produces the following output properties:
- Account
Tag string - The Cloudflare account tag.
- Created
At string - When the integration was created in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- Account
Tag string - The Cloudflare account tag.
- Created
At string - When the integration was created in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Tag String - The Cloudflare account tag.
- created
At String - When the integration was created in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- well
Known StringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Tag string - The Cloudflare account tag.
- created
At string - When the integration was created in RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account_
tag str - The Cloudflare account tag.
- created_
at str - When the integration was created in RFC3339 format.
- id str
- The provider-assigned unique ID for this managed resource.
- well_
known_ strurl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Tag String - The Cloudflare account tag.
- created
At String - When the integration was created in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- well
Known StringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
Look up Existing ZeroTrustRiskScoringIntegration Resource
Get an existing ZeroTrustRiskScoringIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZeroTrustRiskScoringIntegrationState, opts?: CustomResourceOptions): ZeroTrustRiskScoringIntegration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
account_tag: Optional[str] = None,
active: Optional[bool] = None,
created_at: Optional[str] = None,
integration_type: Optional[str] = None,
reference_id: Optional[str] = None,
tenant_url: Optional[str] = None,
well_known_url: Optional[str] = None) -> ZeroTrustRiskScoringIntegration
func GetZeroTrustRiskScoringIntegration(ctx *Context, name string, id IDInput, state *ZeroTrustRiskScoringIntegrationState, opts ...ResourceOption) (*ZeroTrustRiskScoringIntegration, error)
public static ZeroTrustRiskScoringIntegration Get(string name, Input<string> id, ZeroTrustRiskScoringIntegrationState? state, CustomResourceOptions? opts = null)
public static ZeroTrustRiskScoringIntegration get(String name, Output<String> id, ZeroTrustRiskScoringIntegrationState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustRiskScoringIntegration get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account
Tag string - The Cloudflare account tag.
- Active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- Created
At string - When the integration was created in RFC3339 format.
- Integration
Type string - Available values: "Okta".
- Reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- Tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- Well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- Account
Id string - Account
Tag string - The Cloudflare account tag.
- Active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- Created
At string - When the integration was created in RFC3339 format.
- Integration
Type string - Available values: "Okta".
- Reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- Tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- Well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Id String - account
Tag String - The Cloudflare account tag.
- active Boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- created
At String - When the integration was created in RFC3339 format.
- integration
Type String - Available values: "Okta".
- reference
Id String - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- tenant
Url String - The base url of the tenant, e.g. "https://tenant.okta.com"
- well
Known StringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Id string - account
Tag string - The Cloudflare account tag.
- active boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- created
At string - When the integration was created in RFC3339 format.
- integration
Type string - Available values: "Okta".
- reference
Id string - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- tenant
Url string - The base url of the tenant, e.g. "https://tenant.okta.com"
- well
Known stringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account_
id str - account_
tag str - The Cloudflare account tag.
- active bool
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- created_
at str - When the integration was created in RFC3339 format.
- integration_
type str - Available values: "Okta".
- reference_
id str - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- tenant_
url str - The base url of the tenant, e.g. "https://tenant.okta.com"
- well_
known_ strurl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
- account
Id String - account
Tag String - The Cloudflare account tag.
- active Boolean
- Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
- created
At String - When the integration was created in RFC3339 format.
- integration
Type String - Available values: "Okta".
- reference
Id String - A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
- tenant
Url String - The base url of the tenant, e.g. "https://tenant.okta.com"
- well
Known StringUrl - The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
Import
$ pulumi import cloudflare:index/zeroTrustRiskScoringIntegration:ZeroTrustRiskScoringIntegration example '<account_id>/<integration_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.