Documentation ¶
Overview ¶
A Pulumi package for creating and managing OpenStack cloud resources.
Index ¶
- type GetFwGroupV2Args
- type GetFwGroupV2OutputArgs
- type GetFwGroupV2Result
- type GetFwGroupV2ResultOutput
- func (o GetFwGroupV2ResultOutput) AdminStateUp() pulumi.BoolOutput
- func (o GetFwGroupV2ResultOutput) Description() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) EgressFirewallPolicyId() pulumi.StringPtrOutput
- func (GetFwGroupV2ResultOutput) ElementType() reflect.Type
- func (o GetFwGroupV2ResultOutput) GroupId() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) IngressFirewallPolicyId() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Ports() pulumi.StringArrayOutput
- func (o GetFwGroupV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwGroupV2ResultOutput) Status() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput() GetFwGroupV2ResultOutput
- func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext(ctx context.Context) GetFwGroupV2ResultOutput
- type GetFwPolicyV2Args
- type GetFwPolicyV2OutputArgs
- type GetFwPolicyV2Result
- type GetFwPolicyV2ResultOutput
- func (o GetFwPolicyV2ResultOutput) Audited() pulumi.BoolOutput
- func (o GetFwPolicyV2ResultOutput) Description() pulumi.StringPtrOutput
- func (GetFwPolicyV2ResultOutput) ElementType() reflect.Type
- func (o GetFwPolicyV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwPolicyV2ResultOutput) PolicyId() pulumi.StringPtrOutput
- func (o GetFwPolicyV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Rules() pulumi.StringArrayOutput
- func (o GetFwPolicyV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwPolicyV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput() GetFwPolicyV2ResultOutput
- func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext(ctx context.Context) GetFwPolicyV2ResultOutput
- type GetFwRuleV2Args
- type GetFwRuleV2OutputArgs
- type GetFwRuleV2Result
- type GetFwRuleV2ResultOutput
- func (o GetFwRuleV2ResultOutput) Action() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Description() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) DestinationIpAddress() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) DestinationPort() pulumi.StringPtrOutput
- func (GetFwRuleV2ResultOutput) ElementType() reflect.Type
- func (o GetFwRuleV2ResultOutput) Enabled() pulumi.BoolOutput
- func (o GetFwRuleV2ResultOutput) FirewallPolicyIds() pulumi.StringArrayOutput
- func (o GetFwRuleV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) IpVersion() pulumi.IntPtrOutput
- func (o GetFwRuleV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) Protocol() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) RuleId() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwRuleV2ResultOutput) SourceIpAddress() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) SourcePort() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput() GetFwRuleV2ResultOutput
- func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext(ctx context.Context) GetFwRuleV2ResultOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ApplicationCredentialId() pulumi.StringPtrOutput
- func (o ProviderOutput) ApplicationCredentialName() pulumi.StringPtrOutput
- func (o ProviderOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput
- func (o ProviderOutput) AuthUrl() pulumi.StringPtrOutput
- func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
- func (o ProviderOutput) Cert() pulumi.StringPtrOutput
- func (o ProviderOutput) Cloud() pulumi.StringPtrOutput
- func (o ProviderOutput) DefaultDomain() pulumi.StringPtrOutput
- func (o ProviderOutput) DomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) DomainName() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) EndpointType() pulumi.StringPtrOutput
- func (o ProviderOutput) Key() pulumi.StringPtrOutput
- func (o ProviderOutput) Password() pulumi.StringPtrOutput
- func (o ProviderOutput) ProjectDomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) ProjectDomainName() pulumi.StringPtrOutput
- func (o ProviderOutput) Region() pulumi.StringPtrOutput
- func (o ProviderOutput) TenantId() pulumi.StringPtrOutput
- func (o ProviderOutput) TenantName() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- func (o ProviderOutput) UserDomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) UserDomainName() pulumi.StringPtrOutput
- func (o ProviderOutput) UserId() pulumi.StringPtrOutput
- func (o ProviderOutput) UserName() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFwGroupV2Args ¶ added in v3.13.0
type GetFwGroupV2Args struct { // Administrative up/down status for the firewall group. AdminStateUp *bool `pulumi:"adminStateUp"` // Human-readable description of the firewall group. Description *string `pulumi:"description"` // The egress policy ID of the firewall group. EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"` // The ID of the firewall group. GroupId *string `pulumi:"groupId"` // The ingress policy ID of the firewall group. IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"` // The name of the firewall group. Name *string `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall group. ProjectId *string `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall group ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` Shared *bool `pulumi:"shared"` // Enabled status for the firewall group. Status *string `pulumi:"status"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall group. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwGroupV2.
type GetFwGroupV2OutputArgs ¶ added in v3.13.0
type GetFwGroupV2OutputArgs struct { // Administrative up/down status for the firewall group. AdminStateUp pulumi.BoolPtrInput `pulumi:"adminStateUp"` // Human-readable description of the firewall group. Description pulumi.StringPtrInput `pulumi:"description"` // The egress policy ID of the firewall group. EgressFirewallPolicyId pulumi.StringPtrInput `pulumi:"egressFirewallPolicyId"` // The ID of the firewall group. GroupId pulumi.StringPtrInput `pulumi:"groupId"` // The ingress policy ID of the firewall group. IngressFirewallPolicyId pulumi.StringPtrInput `pulumi:"ingressFirewallPolicyId"` // The name of the firewall group. Name pulumi.StringPtrInput `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall group. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall group ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // Enabled status for the firewall group. Status pulumi.StringPtrInput `pulumi:"status"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall group. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwGroupV2.
func (GetFwGroupV2OutputArgs) ElementType ¶ added in v3.13.0
func (GetFwGroupV2OutputArgs) ElementType() reflect.Type
type GetFwGroupV2Result ¶ added in v3.13.0
type GetFwGroupV2Result struct { // See Argument Reference above. AdminStateUp bool `pulumi:"adminStateUp"` // See Argument Reference above. Description *string `pulumi:"description"` // See Argument Reference above. EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"` // See Argument Reference above. GroupId *string `pulumi:"groupId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"` // See Argument Reference above. Name *string `pulumi:"name"` // Ports associated with the firewall group. Ports []string `pulumi:"ports"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Region string `pulumi:"region"` Shared bool `pulumi:"shared"` // See Argument Reference above. Status string `pulumi:"status"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwGroupV2.
func GetFwGroupV2 ¶ added in v3.13.0
func GetFwGroupV2(ctx *pulumi.Context, args *GetFwGroupV2Args, opts ...pulumi.InvokeOption) (*GetFwGroupV2Result, error)
Use this data source to get information of an available OpenStack firewall group v2.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwGroupV2(ctx, &openstack.GetFwGroupV2Args{ Name: pulumi.StringRef("tf_test_group"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetFwGroupV2ResultOutput ¶ added in v3.13.0
type GetFwGroupV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwGroupV2.
func GetFwGroupV2Output ¶ added in v3.13.0
func GetFwGroupV2Output(ctx *pulumi.Context, args GetFwGroupV2OutputArgs, opts ...pulumi.InvokeOption) GetFwGroupV2ResultOutput
func (GetFwGroupV2ResultOutput) AdminStateUp ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) AdminStateUp() pulumi.BoolOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Description ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Description() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) EgressFirewallPolicyId ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) EgressFirewallPolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) ElementType ¶ added in v3.13.0
func (GetFwGroupV2ResultOutput) ElementType() reflect.Type
func (GetFwGroupV2ResultOutput) GroupId ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) GroupId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Id ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwGroupV2ResultOutput) IngressFirewallPolicyId ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) IngressFirewallPolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Name ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Ports ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Ports() pulumi.StringArrayOutput
Ports associated with the firewall group.
func (GetFwGroupV2ResultOutput) ProjectId ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Region ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Shared ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Shared() pulumi.BoolOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Status ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) Status() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) TenantId ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput() GetFwGroupV2ResultOutput
func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext ¶ added in v3.13.0
func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext(ctx context.Context) GetFwGroupV2ResultOutput
type GetFwPolicyV2Args ¶ added in v3.13.0
type GetFwPolicyV2Args struct { // Whether this policy has been audited. Audited *bool `pulumi:"audited"` // Human-readable description of the policy. Description *string `pulumi:"description"` // The name of the firewall policy. Name *string `pulumi:"name"` // The ID of the firewall policy. PolicyId *string `pulumi:"policyId"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall policy. ProjectId *string `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` Shared *bool `pulumi:"shared"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall policy. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwPolicyV2.
type GetFwPolicyV2OutputArgs ¶ added in v3.13.0
type GetFwPolicyV2OutputArgs struct { // Whether this policy has been audited. Audited pulumi.BoolPtrInput `pulumi:"audited"` // Human-readable description of the policy. Description pulumi.StringPtrInput `pulumi:"description"` // The name of the firewall policy. Name pulumi.StringPtrInput `pulumi:"name"` // The ID of the firewall policy. PolicyId pulumi.StringPtrInput `pulumi:"policyId"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall policy. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall policy. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwPolicyV2.
func (GetFwPolicyV2OutputArgs) ElementType ¶ added in v3.13.0
func (GetFwPolicyV2OutputArgs) ElementType() reflect.Type
type GetFwPolicyV2Result ¶ added in v3.13.0
type GetFwPolicyV2Result struct { // The audit status of the firewall policy. Audited bool `pulumi:"audited"` Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. Name *string `pulumi:"name"` // See Argument Reference above. PolicyId *string `pulumi:"policyId"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Region string `pulumi:"region"` // The array of one or more firewall rules that comprise the policy. Rules []string `pulumi:"rules"` Shared bool `pulumi:"shared"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwPolicyV2.
func GetFwPolicyV2 ¶ added in v3.13.0
func GetFwPolicyV2(ctx *pulumi.Context, args *GetFwPolicyV2Args, opts ...pulumi.InvokeOption) (*GetFwPolicyV2Result, error)
Use this data source to get information of an available OpenStack firewall policy v2.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwPolicyV2(ctx, &openstack.GetFwPolicyV2Args{ Name: pulumi.StringRef("tf_test_policy"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetFwPolicyV2ResultOutput ¶ added in v3.13.0
type GetFwPolicyV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwPolicyV2.
func GetFwPolicyV2Output ¶ added in v3.13.0
func GetFwPolicyV2Output(ctx *pulumi.Context, args GetFwPolicyV2OutputArgs, opts ...pulumi.InvokeOption) GetFwPolicyV2ResultOutput
func (GetFwPolicyV2ResultOutput) Audited ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Audited() pulumi.BoolOutput
The audit status of the firewall policy.
func (GetFwPolicyV2ResultOutput) Description ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Description() pulumi.StringPtrOutput
func (GetFwPolicyV2ResultOutput) ElementType ¶ added in v3.13.0
func (GetFwPolicyV2ResultOutput) ElementType() reflect.Type
func (GetFwPolicyV2ResultOutput) Id ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwPolicyV2ResultOutput) Name ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) PolicyId ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) PolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) ProjectId ¶ added in v3.14.0
func (o GetFwPolicyV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) Region ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) Rules ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Rules() pulumi.StringArrayOutput
The array of one or more firewall rules that comprise the policy.
func (GetFwPolicyV2ResultOutput) Shared ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) Shared() pulumi.BoolOutput
The sharing status of the firewall policy.
func (GetFwPolicyV2ResultOutput) TenantId ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput() GetFwPolicyV2ResultOutput
func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext ¶ added in v3.13.0
func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext(ctx context.Context) GetFwPolicyV2ResultOutput
type GetFwRuleV2Args ¶ added in v3.13.0
type GetFwRuleV2Args struct { // Action to be taken when the firewall rule matches. Action *string `pulumi:"action"` // The description of the firewall rule. Description *string `pulumi:"description"` // The destination IP address on which the // firewall rule operates. DestinationIpAddress *string `pulumi:"destinationIpAddress"` // The destination port on which the firewall // rule operates. DestinationPort *string `pulumi:"destinationPort"` // Enabled status for the firewall rule. Enabled *bool `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds []string `pulumi:"firewallPolicyIds"` // IP version, either 4 (default) or 6. IpVersion *int `pulumi:"ipVersion"` // The name of the firewall rule. Name *string `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall rule. ProjectId *string `pulumi:"projectId"` // The protocol type on which the firewall rule operates. Protocol *string `pulumi:"protocol"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` // The ID of the firewall rule. RuleId *string `pulumi:"ruleId"` Shared *bool `pulumi:"shared"` // The source IP address on which the firewall // rule operates. SourceIpAddress *string `pulumi:"sourceIpAddress"` // The source port on which the firewall // rule operates. SourcePort *string `pulumi:"sourcePort"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall rule. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwRuleV2.
type GetFwRuleV2OutputArgs ¶ added in v3.13.0
type GetFwRuleV2OutputArgs struct { // Action to be taken when the firewall rule matches. Action pulumi.StringPtrInput `pulumi:"action"` // The description of the firewall rule. Description pulumi.StringPtrInput `pulumi:"description"` // The destination IP address on which the // firewall rule operates. DestinationIpAddress pulumi.StringPtrInput `pulumi:"destinationIpAddress"` // The destination port on which the firewall // rule operates. DestinationPort pulumi.StringPtrInput `pulumi:"destinationPort"` // Enabled status for the firewall rule. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds pulumi.StringArrayInput `pulumi:"firewallPolicyIds"` // IP version, either 4 (default) or 6. IpVersion pulumi.IntPtrInput `pulumi:"ipVersion"` // The name of the firewall rule. Name pulumi.StringPtrInput `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall rule. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The protocol type on which the firewall rule operates. Protocol pulumi.StringPtrInput `pulumi:"protocol"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` // The ID of the firewall rule. RuleId pulumi.StringPtrInput `pulumi:"ruleId"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // The source IP address on which the firewall // rule operates. SourceIpAddress pulumi.StringPtrInput `pulumi:"sourceIpAddress"` // The source port on which the firewall // rule operates. SourcePort pulumi.StringPtrInput `pulumi:"sourcePort"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall rule. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwRuleV2.
func (GetFwRuleV2OutputArgs) ElementType ¶ added in v3.13.0
func (GetFwRuleV2OutputArgs) ElementType() reflect.Type
type GetFwRuleV2Result ¶ added in v3.13.0
type GetFwRuleV2Result struct { // See Argument Reference above. Action *string `pulumi:"action"` // See Argument Reference above. Description *string `pulumi:"description"` // See Argument Reference above. DestinationIpAddress *string `pulumi:"destinationIpAddress"` // See Argument Reference above. DestinationPort *string `pulumi:"destinationPort"` // See Argument Reference above. Enabled bool `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds []string `pulumi:"firewallPolicyIds"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. IpVersion *int `pulumi:"ipVersion"` // See Argument Reference above. Name *string `pulumi:"name"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Protocol *string `pulumi:"protocol"` // See Argument Reference above. Region string `pulumi:"region"` // See Argument Reference above. RuleId *string `pulumi:"ruleId"` Shared bool `pulumi:"shared"` // See Argument Reference above. SourceIpAddress *string `pulumi:"sourceIpAddress"` // See Argument Reference above. SourcePort *string `pulumi:"sourcePort"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwRuleV2.
func GetFwRuleV2 ¶ added in v3.13.0
func GetFwRuleV2(ctx *pulumi.Context, args *GetFwRuleV2Args, opts ...pulumi.InvokeOption) (*GetFwRuleV2Result, error)
Use this data source to get information of an available OpenStack firewall rule v2.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwRuleV2(ctx, &openstack.GetFwRuleV2Args{ Name: pulumi.StringRef("tf_test_rule"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetFwRuleV2ResultOutput ¶ added in v3.13.0
type GetFwRuleV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwRuleV2.
func GetFwRuleV2Output ¶ added in v3.13.0
func GetFwRuleV2Output(ctx *pulumi.Context, args GetFwRuleV2OutputArgs, opts ...pulumi.InvokeOption) GetFwRuleV2ResultOutput
func (GetFwRuleV2ResultOutput) Action ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Action() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Description ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Description() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) DestinationIpAddress ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) DestinationIpAddress() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) DestinationPort ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) DestinationPort() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ElementType ¶ added in v3.13.0
func (GetFwRuleV2ResultOutput) ElementType() reflect.Type
func (GetFwRuleV2ResultOutput) Enabled ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Enabled() pulumi.BoolOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) FirewallPolicyIds ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) FirewallPolicyIds() pulumi.StringArrayOutput
The ID of the firewall policy the rule belongs to.
func (GetFwRuleV2ResultOutput) Id ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwRuleV2ResultOutput) IpVersion ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) IpVersion() pulumi.IntPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Name ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ProjectId ¶ added in v3.14.0
func (o GetFwRuleV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Protocol ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Protocol() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Region ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) RuleId ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) RuleId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Shared ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) Shared() pulumi.BoolOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) SourceIpAddress ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) SourceIpAddress() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) SourcePort ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) SourcePort() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) TenantId ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput() GetFwRuleV2ResultOutput
func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext ¶ added in v3.13.0
func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext(ctx context.Context) GetFwRuleV2ResultOutput
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // Application Credential ID to login with. ApplicationCredentialId pulumi.StringPtrOutput `pulumi:"applicationCredentialId"` // Application Credential name to login with. ApplicationCredentialName pulumi.StringPtrOutput `pulumi:"applicationCredentialName"` // Application Credential secret to login with. ApplicationCredentialSecret pulumi.StringPtrOutput `pulumi:"applicationCredentialSecret"` // The Identity authentication URL. AuthUrl pulumi.StringPtrOutput `pulumi:"authUrl"` // A Custom CA certificate. CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"` // A client certificate to authenticate with. Cert pulumi.StringPtrOutput `pulumi:"cert"` // An entry in a `clouds.yaml` file to use. Cloud pulumi.StringPtrOutput `pulumi:"cloud"` // The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3). DefaultDomain pulumi.StringPtrOutput `pulumi:"defaultDomain"` // The ID of the Domain to scope to (Identity v3). DomainId pulumi.StringPtrOutput `pulumi:"domainId"` // The name of the Domain to scope to (Identity v3). DomainName pulumi.StringPtrOutput `pulumi:"domainName"` EndpointType pulumi.StringPtrOutput `pulumi:"endpointType"` // A client private key to authenticate with. Key pulumi.StringPtrOutput `pulumi:"key"` // Password to login with. Password pulumi.StringPtrOutput `pulumi:"password"` // The ID of the domain where the proejct resides (Identity v3). ProjectDomainId pulumi.StringPtrOutput `pulumi:"projectDomainId"` // The name of the domain where the project resides (Identity v3). ProjectDomainName pulumi.StringPtrOutput `pulumi:"projectDomainName"` // The OpenStack region to connect to. Region pulumi.StringPtrOutput `pulumi:"region"` // The ID of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantId pulumi.StringPtrOutput `pulumi:"tenantId"` // The name of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantName pulumi.StringPtrOutput `pulumi:"tenantName"` // Authentication token to use as an alternative to username/password. Token pulumi.StringPtrOutput `pulumi:"token"` // The ID of the domain where the user resides (Identity v3). UserDomainId pulumi.StringPtrOutput `pulumi:"userDomainId"` // The name of the domain where the user resides (Identity v3). UserDomainName pulumi.StringPtrOutput `pulumi:"userDomainName"` // User ID to login with. UserId pulumi.StringPtrOutput `pulumi:"userId"` // Username to login with. UserName pulumi.StringPtrOutput `pulumi:"userName"` }
The provider type for the openstack package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // If set to `false`, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. // Defaults to `true` AllowReauth pulumi.BoolPtrInput // Application Credential ID to login with. ApplicationCredentialId pulumi.StringPtrInput // Application Credential name to login with. ApplicationCredentialName pulumi.StringPtrInput // Application Credential secret to login with. ApplicationCredentialSecret pulumi.StringPtrInput // The Identity authentication URL. AuthUrl pulumi.StringPtrInput // A Custom CA certificate. CacertFile pulumi.StringPtrInput // A client certificate to authenticate with. Cert pulumi.StringPtrInput // An entry in a `clouds.yaml` file to use. Cloud pulumi.StringPtrInput // The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3). DefaultDomain pulumi.StringPtrInput // If set to `false`, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults // to `true`. DelayedAuth pulumi.BoolPtrInput // If set to `true`, the HTTP `Cache-Control: no-cache` header will not be added by default to all API requests. DisableNoCacheHeader pulumi.BoolPtrInput // The ID of the Domain to scope to (Identity v3). DomainId pulumi.StringPtrInput // The name of the Domain to scope to (Identity v3). DomainName pulumi.StringPtrInput // Outputs very verbose logs with all calls made to and responses from OpenStack EnableLogging pulumi.BoolPtrInput // A map of services with an endpoint to override what was from the Keystone catalog EndpointOverrides pulumi.MapInput EndpointType pulumi.StringPtrInput // Trust self-signed certificates. Insecure pulumi.BoolPtrInput // A client private key to authenticate with. Key pulumi.StringPtrInput // How many times HTTP connection should be retried until giving up. MaxRetries pulumi.IntPtrInput // Password to login with. Password pulumi.StringPtrInput // The ID of the domain where the proejct resides (Identity v3). ProjectDomainId pulumi.StringPtrInput // The name of the domain where the project resides (Identity v3). ProjectDomainName pulumi.StringPtrInput // The OpenStack region to connect to. Region pulumi.StringPtrInput // Use Swift's authentication system instead of Keystone. Only used for interaction with Swift. Swauth pulumi.BoolPtrInput // If set to `true`, system scoped authorization will be enabled. Defaults to `false` (Identity v3). SystemScope pulumi.BoolPtrInput // The ID of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantId pulumi.StringPtrInput // The name of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantName pulumi.StringPtrInput // Authentication token to use as an alternative to username/password. Token pulumi.StringPtrInput // If set to `true`, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron). // // Deprecated: Users not using loadbalancer resources can ignore this message. Support for neutron-lbaas will be removed on next major release. Octavia will be the only supported method for loadbalancer resources. Users using octavia will have to remove 'use_octavia' option from the provider configuration block. Users using neutron-lbaas will have to migrate/upgrade to octavia. UseOctavia pulumi.BoolPtrInput // The ID of the domain where the user resides (Identity v3). UserDomainId pulumi.StringPtrInput // The name of the domain where the user resides (Identity v3). UserDomainName pulumi.StringPtrInput // User ID to login with. UserId pulumi.StringPtrInput // Username to login with. UserName pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ApplicationCredentialId ¶ added in v3.9.0
func (o ProviderOutput) ApplicationCredentialId() pulumi.StringPtrOutput
Application Credential ID to login with.
func (ProviderOutput) ApplicationCredentialName ¶ added in v3.9.0
func (o ProviderOutput) ApplicationCredentialName() pulumi.StringPtrOutput
Application Credential name to login with.
func (ProviderOutput) ApplicationCredentialSecret ¶ added in v3.9.0
func (o ProviderOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput
Application Credential secret to login with.
func (ProviderOutput) AuthUrl ¶ added in v3.9.0
func (o ProviderOutput) AuthUrl() pulumi.StringPtrOutput
The Identity authentication URL.
func (ProviderOutput) CacertFile ¶ added in v3.9.0
func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
A Custom CA certificate.
func (ProviderOutput) Cert ¶ added in v3.9.0
func (o ProviderOutput) Cert() pulumi.StringPtrOutput
A client certificate to authenticate with.
func (ProviderOutput) Cloud ¶ added in v3.9.0
func (o ProviderOutput) Cloud() pulumi.StringPtrOutput
An entry in a `clouds.yaml` file to use.
func (ProviderOutput) DefaultDomain ¶ added in v3.9.0
func (o ProviderOutput) DefaultDomain() pulumi.StringPtrOutput
The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3).
func (ProviderOutput) DomainId ¶ added in v3.9.0
func (o ProviderOutput) DomainId() pulumi.StringPtrOutput
The ID of the Domain to scope to (Identity v3).
func (ProviderOutput) DomainName ¶ added in v3.9.0
func (o ProviderOutput) DomainName() pulumi.StringPtrOutput
The name of the Domain to scope to (Identity v3).
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) EndpointType ¶ added in v3.9.0
func (o ProviderOutput) EndpointType() pulumi.StringPtrOutput
func (ProviderOutput) Key ¶ added in v3.9.0
func (o ProviderOutput) Key() pulumi.StringPtrOutput
A client private key to authenticate with.
func (ProviderOutput) Password ¶ added in v3.9.0
func (o ProviderOutput) Password() pulumi.StringPtrOutput
Password to login with.
func (ProviderOutput) ProjectDomainId ¶ added in v3.9.0
func (o ProviderOutput) ProjectDomainId() pulumi.StringPtrOutput
The ID of the domain where the proejct resides (Identity v3).
func (ProviderOutput) ProjectDomainName ¶ added in v3.9.0
func (o ProviderOutput) ProjectDomainName() pulumi.StringPtrOutput
The name of the domain where the project resides (Identity v3).
func (ProviderOutput) Region ¶ added in v3.9.0
func (o ProviderOutput) Region() pulumi.StringPtrOutput
The OpenStack region to connect to.
func (ProviderOutput) TenantId ¶ added in v3.9.0
func (o ProviderOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
func (ProviderOutput) TenantName ¶ added in v3.9.0
func (o ProviderOutput) TenantName() pulumi.StringPtrOutput
The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶ added in v3.9.0
func (o ProviderOutput) Token() pulumi.StringPtrOutput
Authentication token to use as an alternative to username/password.
func (ProviderOutput) UserDomainId ¶ added in v3.9.0
func (o ProviderOutput) UserDomainId() pulumi.StringPtrOutput
The ID of the domain where the user resides (Identity v3).
func (ProviderOutput) UserDomainName ¶ added in v3.9.0
func (o ProviderOutput) UserDomainName() pulumi.StringPtrOutput
The name of the domain where the user resides (Identity v3).
func (ProviderOutput) UserId ¶ added in v3.9.0
func (o ProviderOutput) UserId() pulumi.StringPtrOutput
User ID to login with.
func (ProviderOutput) UserName ¶ added in v3.9.0
func (o ProviderOutput) UserName() pulumi.StringPtrOutput
Username to login with.