cloudflare.OrganizationProfile
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleOrganizationProfile = new cloudflare.OrganizationProfile("example_organization_profile", {
organizationId: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
businessAddress: "business_address",
businessEmail: "business_email",
businessName: "business_name",
businessPhone: "business_phone",
externalMetadata: "external_metadata",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_organization_profile = cloudflare.OrganizationProfile("example_organization_profile",
organization_id="a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
business_address="business_address",
business_email="business_email",
business_name="business_name",
business_phone="business_phone",
external_metadata="external_metadata")
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.NewOrganizationProfile(ctx, "example_organization_profile", &cloudflare.OrganizationProfileArgs{
OrganizationId: pulumi.String("a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8"),
BusinessAddress: pulumi.String("business_address"),
BusinessEmail: pulumi.String("business_email"),
BusinessName: pulumi.String("business_name"),
BusinessPhone: pulumi.String("business_phone"),
ExternalMetadata: pulumi.String("external_metadata"),
})
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 exampleOrganizationProfile = new Cloudflare.OrganizationProfile("example_organization_profile", new()
{
OrganizationId = "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
BusinessAddress = "business_address",
BusinessEmail = "business_email",
BusinessName = "business_name",
BusinessPhone = "business_phone",
ExternalMetadata = "external_metadata",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.OrganizationProfile;
import com.pulumi.cloudflare.OrganizationProfileArgs;
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 exampleOrganizationProfile = new OrganizationProfile("exampleOrganizationProfile", OrganizationProfileArgs.builder()
.organizationId("a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8")
.businessAddress("business_address")
.businessEmail("business_email")
.businessName("business_name")
.businessPhone("business_phone")
.externalMetadata("external_metadata")
.build());
}
}
resources:
exampleOrganizationProfile:
type: cloudflare:OrganizationProfile
name: example_organization_profile
properties:
organizationId: a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8
businessAddress: business_address
businessEmail: business_email
businessName: business_name
businessPhone: business_phone
externalMetadata: external_metadata
Create OrganizationProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationProfile(name: string, args: OrganizationProfileArgs, opts?: CustomResourceOptions);@overload
def OrganizationProfile(resource_name: str,
args: OrganizationProfileInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
business_address: Optional[str] = None,
business_email: Optional[str] = None,
business_name: Optional[str] = None,
business_phone: Optional[str] = None,
external_metadata: Optional[str] = None,
organization_id: Optional[str] = None)func NewOrganizationProfile(ctx *Context, name string, args OrganizationProfileArgs, opts ...ResourceOption) (*OrganizationProfile, error)public OrganizationProfile(string name, OrganizationProfileArgs args, CustomResourceOptions? opts = null)
public OrganizationProfile(String name, OrganizationProfileArgs args)
public OrganizationProfile(String name, OrganizationProfileArgs args, CustomResourceOptions options)
type: cloudflare:OrganizationProfile
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 OrganizationProfileArgs
- 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 OrganizationProfileInitArgs
- 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 OrganizationProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationProfileArgs
- 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 organizationProfileResource = new Cloudflare.OrganizationProfile("organizationProfileResource", new()
{
BusinessAddress = "string",
BusinessEmail = "string",
BusinessName = "string",
BusinessPhone = "string",
ExternalMetadata = "string",
OrganizationId = "string",
});
example, err := cloudflare.NewOrganizationProfile(ctx, "organizationProfileResource", &cloudflare.OrganizationProfileArgs{
BusinessAddress: pulumi.String("string"),
BusinessEmail: pulumi.String("string"),
BusinessName: pulumi.String("string"),
BusinessPhone: pulumi.String("string"),
ExternalMetadata: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
})
var organizationProfileResource = new OrganizationProfile("organizationProfileResource", OrganizationProfileArgs.builder()
.businessAddress("string")
.businessEmail("string")
.businessName("string")
.businessPhone("string")
.externalMetadata("string")
.organizationId("string")
.build());
organization_profile_resource = cloudflare.OrganizationProfile("organizationProfileResource",
business_address="string",
business_email="string",
business_name="string",
business_phone="string",
external_metadata="string",
organization_id="string")
const organizationProfileResource = new cloudflare.OrganizationProfile("organizationProfileResource", {
businessAddress: "string",
businessEmail: "string",
businessName: "string",
businessPhone: "string",
externalMetadata: "string",
organizationId: "string",
});
type: cloudflare:OrganizationProfile
properties:
businessAddress: string
businessEmail: string
businessName: string
businessPhone: string
externalMetadata: string
organizationId: string
OrganizationProfile 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 OrganizationProfile resource accepts the following input properties:
- Business
Address string - Business
Email string - Business
Name string - Business
Phone string - External
Metadata string - Organization
Id string
- Business
Address string - Business
Email string - Business
Name string - Business
Phone string - External
Metadata string - Organization
Id string
- business
Address String - business
Email String - business
Name String - business
Phone String - external
Metadata String - organization
Id String
- business
Address string - business
Email string - business
Name string - business
Phone string - external
Metadata string - organization
Id string
- business_
address str - business_
email str - business_
name str - business_
phone str - external_
metadata str - organization_
id str
- business
Address String - business
Email String - business
Name String - business
Phone String - external
Metadata String - organization
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OrganizationProfile Resource
Get an existing OrganizationProfile 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?: OrganizationProfileState, opts?: CustomResourceOptions): OrganizationProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
business_address: Optional[str] = None,
business_email: Optional[str] = None,
business_name: Optional[str] = None,
business_phone: Optional[str] = None,
external_metadata: Optional[str] = None,
organization_id: Optional[str] = None) -> OrganizationProfilefunc GetOrganizationProfile(ctx *Context, name string, id IDInput, state *OrganizationProfileState, opts ...ResourceOption) (*OrganizationProfile, error)public static OrganizationProfile Get(string name, Input<string> id, OrganizationProfileState? state, CustomResourceOptions? opts = null)public static OrganizationProfile get(String name, Output<String> id, OrganizationProfileState state, CustomResourceOptions options)resources: _: type: cloudflare:OrganizationProfile 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.
- Business
Address string - Business
Email string - Business
Name string - Business
Phone string - External
Metadata string - Organization
Id string
- Business
Address string - Business
Email string - Business
Name string - Business
Phone string - External
Metadata string - Organization
Id string
- business
Address String - business
Email String - business
Name String - business
Phone String - external
Metadata String - organization
Id String
- business
Address string - business
Email string - business
Name string - business
Phone string - external
Metadata string - organization
Id string
- business_
address str - business_
email str - business_
name str - business_
phone str - external_
metadata str - organization_
id str
- business
Address String - business
Email String - business
Name String - business
Phone String - external
Metadata String - organization
Id String
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
