1. Packages
  2. Heroku
  3. API Docs
  4. space
  5. Space
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

heroku.space.Space

Explore with Pulumi AI

heroku logo
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

    Create Space Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Space(name: string, args: SpaceArgs, opts?: CustomResourceOptions);
    @overload
    def Space(resource_name: str,
              args: SpaceArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Space(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              organization: Optional[str] = None,
              cidr: Optional[str] = None,
              data_cidr: Optional[str] = None,
              name: Optional[str] = None,
              region: Optional[str] = None,
              shield: Optional[bool] = None)
    func NewSpace(ctx *Context, name string, args SpaceArgs, opts ...ResourceOption) (*Space, error)
    public Space(string name, SpaceArgs args, CustomResourceOptions? opts = null)
    public Space(String name, SpaceArgs args)
    public Space(String name, SpaceArgs args, CustomResourceOptions options)
    
    type: heroku:space:Space
    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 SpaceArgs
    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 SpaceArgs
    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 SpaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var spaceResource = new Heroku.Space.Space("spaceResource", new()
    {
        Organization = "string",
        Cidr = "string",
        DataCidr = "string",
        Name = "string",
        Region = "string",
        Shield = false,
    });
    
    example, err := space.NewSpace(ctx, "spaceResource", &space.SpaceArgs{
    	Organization: pulumi.String("string"),
    	Cidr:         pulumi.String("string"),
    	DataCidr:     pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Region:       pulumi.String("string"),
    	Shield:       pulumi.Bool(false),
    })
    
    var spaceResource = new Space("spaceResource", SpaceArgs.builder()        
        .organization("string")
        .cidr("string")
        .dataCidr("string")
        .name("string")
        .region("string")
        .shield(false)
        .build());
    
    space_resource = heroku.space.Space("spaceResource",
        organization="string",
        cidr="string",
        data_cidr="string",
        name="string",
        region="string",
        shield=False)
    
    const spaceResource = new heroku.space.Space("spaceResource", {
        organization: "string",
        cidr: "string",
        dataCidr: "string",
        name: "string",
        region: "string",
        shield: false,
    });
    
    type: heroku:space:Space
    properties:
        cidr: string
        dataCidr: string
        name: string
        organization: string
        region: string
        shield: false
    

    Space Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Space resource accepts the following input properties:

    Organization string
    Cidr string
    DataCidr string
    Name string
    Region string
    Shield bool
    Organization string
    Cidr string
    DataCidr string
    Name string
    Region string
    Shield bool
    organization String
    cidr String
    dataCidr String
    name String
    region String
    shield Boolean
    organization string
    cidr string
    dataCidr string
    name string
    region string
    shield boolean
    organization String
    cidr String
    dataCidr String
    name String
    region String
    shield Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Space resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OutboundIps List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    OutboundIps []string
    id String
    The provider-assigned unique ID for this managed resource.
    outboundIps List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    outboundIps string[]
    id str
    The provider-assigned unique ID for this managed resource.
    outbound_ips Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    outboundIps List<String>

    Look up Existing Space Resource

    Get an existing Space 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?: SpaceState, opts?: CustomResourceOptions): Space
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cidr: Optional[str] = None,
            data_cidr: Optional[str] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            outbound_ips: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            shield: Optional[bool] = None) -> Space
    func GetSpace(ctx *Context, name string, id IDInput, state *SpaceState, opts ...ResourceOption) (*Space, error)
    public static Space Get(string name, Input<string> id, SpaceState? state, CustomResourceOptions? opts = null)
    public static Space get(String name, Output<String> id, SpaceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Cidr string
    DataCidr string
    Name string
    Organization string
    OutboundIps List<string>
    Region string
    Shield bool
    Cidr string
    DataCidr string
    Name string
    Organization string
    OutboundIps []string
    Region string
    Shield bool
    cidr String
    dataCidr String
    name String
    organization String
    outboundIps List<String>
    region String
    shield Boolean
    cidr string
    dataCidr string
    name string
    organization string
    outboundIps string[]
    region string
    shield boolean
    cidr str
    data_cidr str
    name str
    organization str
    outbound_ips Sequence[str]
    region str
    shield bool
    cidr String
    dataCidr String
    name String
    organization String
    outboundIps List<String>
    region String
    shield Boolean

    Package Details

    Repository
    heroku pulumiverse/pulumi-heroku
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the heroku Terraform Provider.
    heroku logo
    Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns