Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns
heroku.space.InboundRuleset
Explore with Pulumi AI
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns
Create InboundRuleset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InboundRuleset(name: string, args: InboundRulesetArgs, opts?: CustomResourceOptions);
@overload
def InboundRuleset(resource_name: str,
args: InboundRulesetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InboundRuleset(resource_name: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[InboundRulesetRuleArgs]] = None,
space: Optional[str] = None)
func NewInboundRuleset(ctx *Context, name string, args InboundRulesetArgs, opts ...ResourceOption) (*InboundRuleset, error)
public InboundRuleset(string name, InboundRulesetArgs args, CustomResourceOptions? opts = null)
public InboundRuleset(String name, InboundRulesetArgs args)
public InboundRuleset(String name, InboundRulesetArgs args, CustomResourceOptions options)
type: heroku:space:InboundRuleset
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 InboundRulesetArgs
- 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 InboundRulesetArgs
- 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 InboundRulesetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InboundRulesetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InboundRulesetArgs
- 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 inboundRulesetResource = new Heroku.Space.InboundRuleset("inboundRulesetResource", new()
{
Rules = new[]
{
new Heroku.Space.Inputs.InboundRulesetRuleArgs
{
Action = "string",
Source = "string",
},
},
Space = "string",
});
example, err := space.NewInboundRuleset(ctx, "inboundRulesetResource", &space.InboundRulesetArgs{
Rules: space.InboundRulesetRuleArray{
&space.InboundRulesetRuleArgs{
Action: pulumi.String("string"),
Source: pulumi.String("string"),
},
},
Space: pulumi.String("string"),
})
var inboundRulesetResource = new InboundRuleset("inboundRulesetResource", InboundRulesetArgs.builder()
.rules(InboundRulesetRuleArgs.builder()
.action("string")
.source("string")
.build())
.space("string")
.build());
inbound_ruleset_resource = heroku.space.InboundRuleset("inboundRulesetResource",
rules=[heroku.space.InboundRulesetRuleArgs(
action="string",
source="string",
)],
space="string")
const inboundRulesetResource = new heroku.space.InboundRuleset("inboundRulesetResource", {
rules: [{
action: "string",
source: "string",
}],
space: "string",
});
type: heroku:space:InboundRuleset
properties:
rules:
- action: string
source: string
space: string
InboundRuleset 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 InboundRuleset resource accepts the following input properties:
- rules
Inbound
Ruleset Rule[] - space string
- rules List<Property Map>
- space String
Outputs
All input properties are implicitly available as output properties. Additionally, the InboundRuleset 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 InboundRuleset Resource
Get an existing InboundRuleset 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?: InboundRulesetState, opts?: CustomResourceOptions): InboundRuleset
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[InboundRulesetRuleArgs]] = None,
space: Optional[str] = None) -> InboundRuleset
func GetInboundRuleset(ctx *Context, name string, id IDInput, state *InboundRulesetState, opts ...ResourceOption) (*InboundRuleset, error)
public static InboundRuleset Get(string name, Input<string> id, InboundRulesetState? state, CustomResourceOptions? opts = null)
public static InboundRuleset get(String name, Output<String> id, InboundRulesetState 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.
- rules
Inbound
Ruleset Rule[] - space string
- rules List<Property Map>
- space String
Supporting Types
InboundRulesetRule, InboundRulesetRuleArgs
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
heroku
Terraform Provider.
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns