Documentation
¶
Index ¶
- type Configuration
- type ConfigurationArgs
- type ConfigurationArray
- type ConfigurationArrayInput
- type ConfigurationArrayOutput
- func (ConfigurationArrayOutput) ElementType() reflect.Type
- func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
- type ConfigurationInput
- type ConfigurationMap
- type ConfigurationMapInput
- type ConfigurationMapOutput
- func (ConfigurationMapOutput) ElementType() reflect.Type
- func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
- type ConfigurationOutput
- func (o ConfigurationOutput) CompartmentId() pulumi.StringOutput
- func (o ConfigurationOutput) DefinedTags() pulumi.StringMapOutput
- func (ConfigurationOutput) ElementType() reflect.Type
- func (o ConfigurationOutput) FreeformTags() pulumi.StringMapOutput
- func (o ConfigurationOutput) LifecycleDetails() pulumi.StringOutput
- func (o ConfigurationOutput) State() pulumi.StringOutput
- func (o ConfigurationOutput) SystemTags() pulumi.StringMapOutput
- func (o ConfigurationOutput) TimeCreated() pulumi.StringOutput
- func (o ConfigurationOutput) TimeUpdated() pulumi.StringOutput
- func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
- func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
- func (o ConfigurationOutput) ZprStatus() pulumi.StringOutput
- type ConfigurationState
- type GetZprPoliciesArgs
- type GetZprPoliciesFilter
- type GetZprPoliciesFilterArgs
- type GetZprPoliciesFilterArray
- type GetZprPoliciesFilterArrayInput
- type GetZprPoliciesFilterArrayOutput
- func (GetZprPoliciesFilterArrayOutput) ElementType() reflect.Type
- func (o GetZprPoliciesFilterArrayOutput) Index(i pulumi.IntInput) GetZprPoliciesFilterOutput
- func (o GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutput() GetZprPoliciesFilterArrayOutput
- func (o GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutputWithContext(ctx context.Context) GetZprPoliciesFilterArrayOutput
- type GetZprPoliciesFilterInput
- type GetZprPoliciesFilterOutput
- func (GetZprPoliciesFilterOutput) ElementType() reflect.Type
- func (o GetZprPoliciesFilterOutput) Name() pulumi.StringOutput
- func (o GetZprPoliciesFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutput() GetZprPoliciesFilterOutput
- func (o GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutputWithContext(ctx context.Context) GetZprPoliciesFilterOutput
- func (o GetZprPoliciesFilterOutput) Values() pulumi.StringArrayOutput
- type GetZprPoliciesOutputArgs
- type GetZprPoliciesResult
- type GetZprPoliciesResultOutput
- func (o GetZprPoliciesResultOutput) CompartmentId() pulumi.StringPtrOutput
- func (GetZprPoliciesResultOutput) ElementType() reflect.Type
- func (o GetZprPoliciesResultOutput) Filters() GetZprPoliciesFilterArrayOutput
- func (o GetZprPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetZprPoliciesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetZprPoliciesResultOutput) State() pulumi.StringPtrOutput
- func (o GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutput() GetZprPoliciesResultOutput
- func (o GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutputWithContext(ctx context.Context) GetZprPoliciesResultOutput
- func (o GetZprPoliciesResultOutput) ZprPolicies() GetZprPoliciesZprPolicyArrayOutput
- type GetZprPoliciesZprPolicy
- type GetZprPoliciesZprPolicyArgs
- type GetZprPoliciesZprPolicyArray
- func (GetZprPoliciesZprPolicyArray) ElementType() reflect.Type
- func (i GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutput() GetZprPoliciesZprPolicyArrayOutput
- func (i GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyArrayOutput
- type GetZprPoliciesZprPolicyArrayInput
- type GetZprPoliciesZprPolicyArrayOutput
- func (GetZprPoliciesZprPolicyArrayOutput) ElementType() reflect.Type
- func (o GetZprPoliciesZprPolicyArrayOutput) Index(i pulumi.IntInput) GetZprPoliciesZprPolicyOutput
- func (o GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutput() GetZprPoliciesZprPolicyArrayOutput
- func (o GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyArrayOutput
- type GetZprPoliciesZprPolicyInput
- type GetZprPoliciesZprPolicyItem
- type GetZprPoliciesZprPolicyItemArgs
- func (GetZprPoliciesZprPolicyItemArgs) ElementType() reflect.Type
- func (i GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutput() GetZprPoliciesZprPolicyItemOutput
- func (i GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemOutput
- type GetZprPoliciesZprPolicyItemArray
- func (GetZprPoliciesZprPolicyItemArray) ElementType() reflect.Type
- func (i GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutput() GetZprPoliciesZprPolicyItemArrayOutput
- func (i GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemArrayOutput
- type GetZprPoliciesZprPolicyItemArrayInput
- type GetZprPoliciesZprPolicyItemArrayOutput
- func (GetZprPoliciesZprPolicyItemArrayOutput) ElementType() reflect.Type
- func (o GetZprPoliciesZprPolicyItemArrayOutput) Index(i pulumi.IntInput) GetZprPoliciesZprPolicyItemOutput
- func (o GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutput() GetZprPoliciesZprPolicyItemArrayOutput
- func (o GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemArrayOutput
- type GetZprPoliciesZprPolicyItemInput
- type GetZprPoliciesZprPolicyItemOutput
- func (o GetZprPoliciesZprPolicyItemOutput) CompartmentId() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) DefinedTags() pulumi.StringMapOutput
- func (o GetZprPoliciesZprPolicyItemOutput) Description() pulumi.StringOutput
- func (GetZprPoliciesZprPolicyItemOutput) ElementType() reflect.Type
- func (o GetZprPoliciesZprPolicyItemOutput) FreeformTags() pulumi.StringMapOutput
- func (o GetZprPoliciesZprPolicyItemOutput) Id() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) LifecycleDetails() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) Name() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) State() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) Statements() pulumi.StringArrayOutput
- func (o GetZprPoliciesZprPolicyItemOutput) SystemTags() pulumi.StringMapOutput
- func (o GetZprPoliciesZprPolicyItemOutput) TimeCreated() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) TimeUpdated() pulumi.StringOutput
- func (o GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutput() GetZprPoliciesZprPolicyItemOutput
- func (o GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemOutput
- type GetZprPoliciesZprPolicyOutput
- func (GetZprPoliciesZprPolicyOutput) ElementType() reflect.Type
- func (o GetZprPoliciesZprPolicyOutput) Items() GetZprPoliciesZprPolicyItemArrayOutput
- func (o GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutput() GetZprPoliciesZprPolicyOutput
- func (o GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyOutput
- type LookupConfigurationArgs
- type LookupConfigurationOutputArgs
- type LookupConfigurationResult
- type LookupConfigurationResultOutput
- func (o LookupConfigurationResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) DefinedTags() pulumi.StringMapOutput
- func (LookupConfigurationResultOutput) ElementType() reflect.Type
- func (o LookupConfigurationResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupConfigurationResultOutput) Id() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) LifecycleDetails() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) State() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) SystemTags() pulumi.StringMapOutput
- func (o LookupConfigurationResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) TimeUpdated() pulumi.StringOutput
- func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput
- func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput
- func (o LookupConfigurationResultOutput) ZprStatus() pulumi.StringOutput
- type LookupZprPolicyArgs
- type LookupZprPolicyOutputArgs
- type LookupZprPolicyResult
- type LookupZprPolicyResultOutput
- func (o LookupZprPolicyResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) DefinedTags() pulumi.StringMapOutput
- func (o LookupZprPolicyResultOutput) Description() pulumi.StringOutput
- func (LookupZprPolicyResultOutput) ElementType() reflect.Type
- func (o LookupZprPolicyResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupZprPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) LifecycleDetails() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) State() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) Statements() pulumi.StringArrayOutput
- func (o LookupZprPolicyResultOutput) SystemTags() pulumi.StringMapOutput
- func (o LookupZprPolicyResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) TimeUpdated() pulumi.StringOutput
- func (o LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutput() LookupZprPolicyResultOutput
- func (o LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutputWithContext(ctx context.Context) LookupZprPolicyResultOutput
- func (o LookupZprPolicyResultOutput) ZprPolicyId() pulumi.StringOutput
- type ZprPolicy
- type ZprPolicyArgs
- type ZprPolicyArray
- type ZprPolicyArrayInput
- type ZprPolicyArrayOutput
- func (ZprPolicyArrayOutput) ElementType() reflect.Type
- func (o ZprPolicyArrayOutput) Index(i pulumi.IntInput) ZprPolicyOutput
- func (o ZprPolicyArrayOutput) ToZprPolicyArrayOutput() ZprPolicyArrayOutput
- func (o ZprPolicyArrayOutput) ToZprPolicyArrayOutputWithContext(ctx context.Context) ZprPolicyArrayOutput
- type ZprPolicyInput
- type ZprPolicyMap
- type ZprPolicyMapInput
- type ZprPolicyMapOutput
- type ZprPolicyOutput
- func (o ZprPolicyOutput) CompartmentId() pulumi.StringOutput
- func (o ZprPolicyOutput) DefinedTags() pulumi.StringMapOutput
- func (o ZprPolicyOutput) Description() pulumi.StringOutput
- func (ZprPolicyOutput) ElementType() reflect.Type
- func (o ZprPolicyOutput) FreeformTags() pulumi.StringMapOutput
- func (o ZprPolicyOutput) LifecycleDetails() pulumi.StringOutput
- func (o ZprPolicyOutput) Name() pulumi.StringOutput
- func (o ZprPolicyOutput) State() pulumi.StringOutput
- func (o ZprPolicyOutput) Statements() pulumi.StringArrayOutput
- func (o ZprPolicyOutput) SystemTags() pulumi.StringMapOutput
- func (o ZprPolicyOutput) TimeCreated() pulumi.StringOutput
- func (o ZprPolicyOutput) TimeUpdated() pulumi.StringOutput
- func (o ZprPolicyOutput) ToZprPolicyOutput() ZprPolicyOutput
- func (o ZprPolicyOutput) ToZprPolicyOutputWithContext(ctx context.Context) ZprPolicyOutput
- type ZprPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { pulumi.CustomResourceState // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR resources will be bootstrapped. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // The current state of ZPR in the tenancy. State pulumi.StringOutput `pulumi:"state"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` // The enabled or disabled status of ZPR in the tenancy. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values ZprStatus pulumi.StringOutput `pulumi:"zprStatus"` }
This resource provides the Configuration resource in Oracle Cloud Infrastructure Zpr service.
Initiates the process to onboard ZPR in a root compartment (the root compartment is the tenancy). It creates an object of ZPR configuration as part of onboarding.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Zpr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Zpr.NewConfiguration(ctx, "test_configuration", &Zpr.ConfigurationArgs{ CompartmentId: pulumi.Any(tenancyOcid), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, ZprStatus: pulumi.Any(configurationZprStatus), }) if err != nil { return err } return nil }) }
```
## Import
Configuration can be imported using the 'compartment_id' and `id`, e.g.
```sh $ pulumi import oci:Zpr/configuration:Configuration test_configuration "{compartment_id}/{id}" ```
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)
GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
func (*Configuration) ElementType ¶
func (*Configuration) ElementType() reflect.Type
func (*Configuration) ToConfigurationOutput ¶
func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
func (*Configuration) ToConfigurationOutputWithContext ¶
func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationArgs ¶
type ConfigurationArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR resources will be bootstrapped. CompartmentId pulumi.StringInput // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The enabled or disabled status of ZPR in the tenancy. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values ZprStatus pulumi.StringPtrInput }
The set of arguments for constructing a Configuration resource.
func (ConfigurationArgs) ElementType ¶
func (ConfigurationArgs) ElementType() reflect.Type
type ConfigurationArray ¶
type ConfigurationArray []ConfigurationInput
func (ConfigurationArray) ElementType ¶
func (ConfigurationArray) ElementType() reflect.Type
func (ConfigurationArray) ToConfigurationArrayOutput ¶
func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArray) ToConfigurationArrayOutputWithContext ¶
func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationArrayInput ¶
type ConfigurationArrayInput interface { pulumi.Input ToConfigurationArrayOutput() ConfigurationArrayOutput ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput }
ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:
ConfigurationArray{ ConfigurationArgs{...} }
type ConfigurationArrayOutput ¶
type ConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationArrayOutput) ElementType ¶
func (ConfigurationArrayOutput) ElementType() reflect.Type
func (ConfigurationArrayOutput) Index ¶
func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutput ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationInput ¶
type ConfigurationInput interface { pulumi.Input ToConfigurationOutput() ConfigurationOutput ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput }
type ConfigurationMap ¶
type ConfigurationMap map[string]ConfigurationInput
func (ConfigurationMap) ElementType ¶
func (ConfigurationMap) ElementType() reflect.Type
func (ConfigurationMap) ToConfigurationMapOutput ¶
func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMap) ToConfigurationMapOutputWithContext ¶
func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationMapInput ¶
type ConfigurationMapInput interface { pulumi.Input ToConfigurationMapOutput() ConfigurationMapOutput ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput }
ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:
ConfigurationMap{ "key": ConfigurationArgs{...} }
type ConfigurationMapOutput ¶
type ConfigurationMapOutput struct{ *pulumi.OutputState }
func (ConfigurationMapOutput) ElementType ¶
func (ConfigurationMapOutput) ElementType() reflect.Type
func (ConfigurationMapOutput) MapIndex ¶
func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
func (ConfigurationMapOutput) ToConfigurationMapOutput ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationOutput ¶
type ConfigurationOutput struct{ *pulumi.OutputState }
func (ConfigurationOutput) CompartmentId ¶
func (o ConfigurationOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR resources will be bootstrapped.
func (ConfigurationOutput) DefinedTags ¶
func (o ConfigurationOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (ConfigurationOutput) ElementType ¶
func (ConfigurationOutput) ElementType() reflect.Type
func (ConfigurationOutput) FreeformTags ¶
func (o ConfigurationOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (ConfigurationOutput) LifecycleDetails ¶
func (o ConfigurationOutput) LifecycleDetails() pulumi.StringOutput
A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
func (ConfigurationOutput) State ¶
func (o ConfigurationOutput) State() pulumi.StringOutput
The current state of ZPR in the tenancy.
func (ConfigurationOutput) SystemTags ¶
func (o ConfigurationOutput) SystemTags() pulumi.StringMapOutput
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (ConfigurationOutput) TimeCreated ¶
func (o ConfigurationOutput) TimeCreated() pulumi.StringOutput
The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (ConfigurationOutput) TimeUpdated ¶
func (o ConfigurationOutput) TimeUpdated() pulumi.StringOutput
The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (ConfigurationOutput) ToConfigurationOutput ¶
func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
func (ConfigurationOutput) ToConfigurationOutputWithContext ¶
func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
func (ConfigurationOutput) ZprStatus ¶
func (o ConfigurationOutput) ZprStatus() pulumi.StringOutput
The enabled or disabled status of ZPR in the tenancy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
type ConfigurationState ¶
type ConfigurationState struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR resources will be bootstrapped. CompartmentId pulumi.StringPtrInput // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails pulumi.StringPtrInput // The current state of ZPR in the tenancy. State pulumi.StringPtrInput // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.StringMapInput // The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput // The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated pulumi.StringPtrInput // The enabled or disabled status of ZPR in the tenancy. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values ZprStatus pulumi.StringPtrInput }
func (ConfigurationState) ElementType ¶
func (ConfigurationState) ElementType() reflect.Type
type GetZprPoliciesArgs ¶
type GetZprPoliciesArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `pulumi:"compartmentId"` Filters []GetZprPoliciesFilter `pulumi:"filters"` // A filter to return only resources that match the entire display name given. Name *string `pulumi:"name"` // A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. State *string `pulumi:"state"` }
A collection of arguments for invoking getZprPolicies.
type GetZprPoliciesFilter ¶
type GetZprPoliciesFilterArgs ¶
type GetZprPoliciesFilterArgs struct { // A filter to return only resources that match the entire display name given. Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetZprPoliciesFilterArgs) ElementType ¶
func (GetZprPoliciesFilterArgs) ElementType() reflect.Type
func (GetZprPoliciesFilterArgs) ToGetZprPoliciesFilterOutput ¶
func (i GetZprPoliciesFilterArgs) ToGetZprPoliciesFilterOutput() GetZprPoliciesFilterOutput
func (GetZprPoliciesFilterArgs) ToGetZprPoliciesFilterOutputWithContext ¶
func (i GetZprPoliciesFilterArgs) ToGetZprPoliciesFilterOutputWithContext(ctx context.Context) GetZprPoliciesFilterOutput
type GetZprPoliciesFilterArray ¶
type GetZprPoliciesFilterArray []GetZprPoliciesFilterInput
func (GetZprPoliciesFilterArray) ElementType ¶
func (GetZprPoliciesFilterArray) ElementType() reflect.Type
func (GetZprPoliciesFilterArray) ToGetZprPoliciesFilterArrayOutput ¶
func (i GetZprPoliciesFilterArray) ToGetZprPoliciesFilterArrayOutput() GetZprPoliciesFilterArrayOutput
func (GetZprPoliciesFilterArray) ToGetZprPoliciesFilterArrayOutputWithContext ¶
func (i GetZprPoliciesFilterArray) ToGetZprPoliciesFilterArrayOutputWithContext(ctx context.Context) GetZprPoliciesFilterArrayOutput
type GetZprPoliciesFilterArrayInput ¶
type GetZprPoliciesFilterArrayInput interface { pulumi.Input ToGetZprPoliciesFilterArrayOutput() GetZprPoliciesFilterArrayOutput ToGetZprPoliciesFilterArrayOutputWithContext(context.Context) GetZprPoliciesFilterArrayOutput }
GetZprPoliciesFilterArrayInput is an input type that accepts GetZprPoliciesFilterArray and GetZprPoliciesFilterArrayOutput values. You can construct a concrete instance of `GetZprPoliciesFilterArrayInput` via:
GetZprPoliciesFilterArray{ GetZprPoliciesFilterArgs{...} }
type GetZprPoliciesFilterArrayOutput ¶
type GetZprPoliciesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesFilterArrayOutput) ElementType ¶
func (GetZprPoliciesFilterArrayOutput) ElementType() reflect.Type
func (GetZprPoliciesFilterArrayOutput) Index ¶
func (o GetZprPoliciesFilterArrayOutput) Index(i pulumi.IntInput) GetZprPoliciesFilterOutput
func (GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutput ¶
func (o GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutput() GetZprPoliciesFilterArrayOutput
func (GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutputWithContext ¶
func (o GetZprPoliciesFilterArrayOutput) ToGetZprPoliciesFilterArrayOutputWithContext(ctx context.Context) GetZprPoliciesFilterArrayOutput
type GetZprPoliciesFilterInput ¶
type GetZprPoliciesFilterInput interface { pulumi.Input ToGetZprPoliciesFilterOutput() GetZprPoliciesFilterOutput ToGetZprPoliciesFilterOutputWithContext(context.Context) GetZprPoliciesFilterOutput }
GetZprPoliciesFilterInput is an input type that accepts GetZprPoliciesFilterArgs and GetZprPoliciesFilterOutput values. You can construct a concrete instance of `GetZprPoliciesFilterInput` via:
GetZprPoliciesFilterArgs{...}
type GetZprPoliciesFilterOutput ¶
type GetZprPoliciesFilterOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesFilterOutput) ElementType ¶
func (GetZprPoliciesFilterOutput) ElementType() reflect.Type
func (GetZprPoliciesFilterOutput) Name ¶
func (o GetZprPoliciesFilterOutput) Name() pulumi.StringOutput
A filter to return only resources that match the entire display name given.
func (GetZprPoliciesFilterOutput) Regex ¶
func (o GetZprPoliciesFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutput ¶
func (o GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutput() GetZprPoliciesFilterOutput
func (GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutputWithContext ¶
func (o GetZprPoliciesFilterOutput) ToGetZprPoliciesFilterOutputWithContext(ctx context.Context) GetZprPoliciesFilterOutput
func (GetZprPoliciesFilterOutput) Values ¶
func (o GetZprPoliciesFilterOutput) Values() pulumi.StringArrayOutput
type GetZprPoliciesOutputArgs ¶
type GetZprPoliciesOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` Filters GetZprPoliciesFilterArrayInput `pulumi:"filters"` // A filter to return only resources that match the entire display name given. Name pulumi.StringPtrInput `pulumi:"name"` // A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getZprPolicies.
func (GetZprPoliciesOutputArgs) ElementType ¶
func (GetZprPoliciesOutputArgs) ElementType() reflect.Type
type GetZprPoliciesResult ¶
type GetZprPoliciesResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `pulumi:"compartmentId"` Filters []GetZprPoliciesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name *string `pulumi:"name"` // The current state of the ZprPolicy. State *string `pulumi:"state"` // The list of zpr_policies. ZprPolicies []GetZprPoliciesZprPolicy `pulumi:"zprPolicies"` }
A collection of values returned by getZprPolicies.
func GetZprPolicies ¶
func GetZprPolicies(ctx *pulumi.Context, args *GetZprPoliciesArgs, opts ...pulumi.InvokeOption) (*GetZprPoliciesResult, error)
This data source provides the list of Zpr Policies in Oracle Cloud Infrastructure Zpr service.
Gets a list of ZprPolicies.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Zpr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Zpr.GetZprPolicies(ctx, &zpr.GetZprPoliciesArgs{ CompartmentId: pulumi.StringRef(tenancyOcid), Name: pulumi.StringRef(zprPolicyName), State: pulumi.StringRef(zprPolicyState), }, nil) if err != nil { return err } return nil }) }
```
type GetZprPoliciesResultOutput ¶
type GetZprPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZprPolicies.
func GetZprPoliciesOutput ¶
func GetZprPoliciesOutput(ctx *pulumi.Context, args GetZprPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetZprPoliciesResultOutput
func (GetZprPoliciesResultOutput) CompartmentId ¶
func (o GetZprPoliciesResultOutput) CompartmentId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
func (GetZprPoliciesResultOutput) ElementType ¶
func (GetZprPoliciesResultOutput) ElementType() reflect.Type
func (GetZprPoliciesResultOutput) Filters ¶
func (o GetZprPoliciesResultOutput) Filters() GetZprPoliciesFilterArrayOutput
func (GetZprPoliciesResultOutput) Id ¶
func (o GetZprPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZprPoliciesResultOutput) Name ¶
func (o GetZprPoliciesResultOutput) Name() pulumi.StringPtrOutput
The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
func (GetZprPoliciesResultOutput) State ¶
func (o GetZprPoliciesResultOutput) State() pulumi.StringPtrOutput
The current state of the ZprPolicy.
func (GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutput ¶
func (o GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutput() GetZprPoliciesResultOutput
func (GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutputWithContext ¶
func (o GetZprPoliciesResultOutput) ToGetZprPoliciesResultOutputWithContext(ctx context.Context) GetZprPoliciesResultOutput
func (GetZprPoliciesResultOutput) ZprPolicies ¶
func (o GetZprPoliciesResultOutput) ZprPolicies() GetZprPoliciesZprPolicyArrayOutput
The list of zpr_policies.
type GetZprPoliciesZprPolicy ¶
type GetZprPoliciesZprPolicy struct {
Items []GetZprPoliciesZprPolicyItem `pulumi:"items"`
}
type GetZprPoliciesZprPolicyArgs ¶
type GetZprPoliciesZprPolicyArgs struct {
Items GetZprPoliciesZprPolicyItemArrayInput `pulumi:"items"`
}
func (GetZprPoliciesZprPolicyArgs) ElementType ¶
func (GetZprPoliciesZprPolicyArgs) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyArgs) ToGetZprPoliciesZprPolicyOutput ¶
func (i GetZprPoliciesZprPolicyArgs) ToGetZprPoliciesZprPolicyOutput() GetZprPoliciesZprPolicyOutput
func (GetZprPoliciesZprPolicyArgs) ToGetZprPoliciesZprPolicyOutputWithContext ¶
func (i GetZprPoliciesZprPolicyArgs) ToGetZprPoliciesZprPolicyOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyOutput
type GetZprPoliciesZprPolicyArray ¶
type GetZprPoliciesZprPolicyArray []GetZprPoliciesZprPolicyInput
func (GetZprPoliciesZprPolicyArray) ElementType ¶
func (GetZprPoliciesZprPolicyArray) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutput ¶
func (i GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutput() GetZprPoliciesZprPolicyArrayOutput
func (GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutputWithContext ¶
func (i GetZprPoliciesZprPolicyArray) ToGetZprPoliciesZprPolicyArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyArrayOutput
type GetZprPoliciesZprPolicyArrayInput ¶
type GetZprPoliciesZprPolicyArrayInput interface { pulumi.Input ToGetZprPoliciesZprPolicyArrayOutput() GetZprPoliciesZprPolicyArrayOutput ToGetZprPoliciesZprPolicyArrayOutputWithContext(context.Context) GetZprPoliciesZprPolicyArrayOutput }
GetZprPoliciesZprPolicyArrayInput is an input type that accepts GetZprPoliciesZprPolicyArray and GetZprPoliciesZprPolicyArrayOutput values. You can construct a concrete instance of `GetZprPoliciesZprPolicyArrayInput` via:
GetZprPoliciesZprPolicyArray{ GetZprPoliciesZprPolicyArgs{...} }
type GetZprPoliciesZprPolicyArrayOutput ¶
type GetZprPoliciesZprPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesZprPolicyArrayOutput) ElementType ¶
func (GetZprPoliciesZprPolicyArrayOutput) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyArrayOutput) Index ¶
func (o GetZprPoliciesZprPolicyArrayOutput) Index(i pulumi.IntInput) GetZprPoliciesZprPolicyOutput
func (GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutput ¶
func (o GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutput() GetZprPoliciesZprPolicyArrayOutput
func (GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutputWithContext ¶
func (o GetZprPoliciesZprPolicyArrayOutput) ToGetZprPoliciesZprPolicyArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyArrayOutput
type GetZprPoliciesZprPolicyInput ¶
type GetZprPoliciesZprPolicyInput interface { pulumi.Input ToGetZprPoliciesZprPolicyOutput() GetZprPoliciesZprPolicyOutput ToGetZprPoliciesZprPolicyOutputWithContext(context.Context) GetZprPoliciesZprPolicyOutput }
GetZprPoliciesZprPolicyInput is an input type that accepts GetZprPoliciesZprPolicyArgs and GetZprPoliciesZprPolicyOutput values. You can construct a concrete instance of `GetZprPoliciesZprPolicyInput` via:
GetZprPoliciesZprPolicyArgs{...}
type GetZprPoliciesZprPolicyItem ¶
type GetZprPoliciesZprPolicyItem struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description string `pulumi:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` Id string `pulumi:"id"` // A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails string `pulumi:"lifecycleDetails"` // A filter to return only resources that match the entire display name given. Name string `pulumi:"name"` // A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. State string `pulumi:"state"` // An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `pulumi:"statements"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]string `pulumi:"systemTags"` // The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` }
type GetZprPoliciesZprPolicyItemArgs ¶
type GetZprPoliciesZprPolicyItemArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description pulumi.StringInput `pulumi:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` Id pulumi.StringInput `pulumi:"id"` // A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` // A filter to return only resources that match the entire display name given. Name pulumi.StringInput `pulumi:"name"` // A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. State pulumi.StringInput `pulumi:"state"` // An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements pulumi.StringArrayInput `pulumi:"statements"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` }
func (GetZprPoliciesZprPolicyItemArgs) ElementType ¶
func (GetZprPoliciesZprPolicyItemArgs) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutput ¶
func (i GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutput() GetZprPoliciesZprPolicyItemOutput
func (GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutputWithContext ¶
func (i GetZprPoliciesZprPolicyItemArgs) ToGetZprPoliciesZprPolicyItemOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemOutput
type GetZprPoliciesZprPolicyItemArray ¶
type GetZprPoliciesZprPolicyItemArray []GetZprPoliciesZprPolicyItemInput
func (GetZprPoliciesZprPolicyItemArray) ElementType ¶
func (GetZprPoliciesZprPolicyItemArray) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutput ¶
func (i GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutput() GetZprPoliciesZprPolicyItemArrayOutput
func (GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext ¶
func (i GetZprPoliciesZprPolicyItemArray) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemArrayOutput
type GetZprPoliciesZprPolicyItemArrayInput ¶
type GetZprPoliciesZprPolicyItemArrayInput interface { pulumi.Input ToGetZprPoliciesZprPolicyItemArrayOutput() GetZprPoliciesZprPolicyItemArrayOutput ToGetZprPoliciesZprPolicyItemArrayOutputWithContext(context.Context) GetZprPoliciesZprPolicyItemArrayOutput }
GetZprPoliciesZprPolicyItemArrayInput is an input type that accepts GetZprPoliciesZprPolicyItemArray and GetZprPoliciesZprPolicyItemArrayOutput values. You can construct a concrete instance of `GetZprPoliciesZprPolicyItemArrayInput` via:
GetZprPoliciesZprPolicyItemArray{ GetZprPoliciesZprPolicyItemArgs{...} }
type GetZprPoliciesZprPolicyItemArrayOutput ¶
type GetZprPoliciesZprPolicyItemArrayOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesZprPolicyItemArrayOutput) ElementType ¶
func (GetZprPoliciesZprPolicyItemArrayOutput) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutput ¶
func (o GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutput() GetZprPoliciesZprPolicyItemArrayOutput
func (GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext ¶
func (o GetZprPoliciesZprPolicyItemArrayOutput) ToGetZprPoliciesZprPolicyItemArrayOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemArrayOutput
type GetZprPoliciesZprPolicyItemInput ¶
type GetZprPoliciesZprPolicyItemInput interface { pulumi.Input ToGetZprPoliciesZprPolicyItemOutput() GetZprPoliciesZprPolicyItemOutput ToGetZprPoliciesZprPolicyItemOutputWithContext(context.Context) GetZprPoliciesZprPolicyItemOutput }
GetZprPoliciesZprPolicyItemInput is an input type that accepts GetZprPoliciesZprPolicyItemArgs and GetZprPoliciesZprPolicyItemOutput values. You can construct a concrete instance of `GetZprPoliciesZprPolicyItemInput` via:
GetZprPoliciesZprPolicyItemArgs{...}
type GetZprPoliciesZprPolicyItemOutput ¶
type GetZprPoliciesZprPolicyItemOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesZprPolicyItemOutput) CompartmentId ¶
func (o GetZprPoliciesZprPolicyItemOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
func (GetZprPoliciesZprPolicyItemOutput) DefinedTags ¶
func (o GetZprPoliciesZprPolicyItemOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (GetZprPoliciesZprPolicyItemOutput) Description ¶
func (o GetZprPoliciesZprPolicyItemOutput) Description() pulumi.StringOutput
The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
func (GetZprPoliciesZprPolicyItemOutput) ElementType ¶
func (GetZprPoliciesZprPolicyItemOutput) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyItemOutput) FreeformTags ¶
func (o GetZprPoliciesZprPolicyItemOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (GetZprPoliciesZprPolicyItemOutput) Id ¶
func (o GetZprPoliciesZprPolicyItemOutput) Id() pulumi.StringOutput
func (GetZprPoliciesZprPolicyItemOutput) LifecycleDetails ¶
func (o GetZprPoliciesZprPolicyItemOutput) LifecycleDetails() pulumi.StringOutput
A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
func (GetZprPoliciesZprPolicyItemOutput) Name ¶
func (o GetZprPoliciesZprPolicyItemOutput) Name() pulumi.StringOutput
A filter to return only resources that match the entire display name given.
func (GetZprPoliciesZprPolicyItemOutput) State ¶
func (o GetZprPoliciesZprPolicyItemOutput) State() pulumi.StringOutput
A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
func (GetZprPoliciesZprPolicyItemOutput) Statements ¶
func (o GetZprPoliciesZprPolicyItemOutput) Statements() pulumi.StringArrayOutput
An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
func (GetZprPoliciesZprPolicyItemOutput) SystemTags ¶
func (o GetZprPoliciesZprPolicyItemOutput) SystemTags() pulumi.StringMapOutput
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (GetZprPoliciesZprPolicyItemOutput) TimeCreated ¶
func (o GetZprPoliciesZprPolicyItemOutput) TimeCreated() pulumi.StringOutput
The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (GetZprPoliciesZprPolicyItemOutput) TimeUpdated ¶
func (o GetZprPoliciesZprPolicyItemOutput) TimeUpdated() pulumi.StringOutput
The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutput ¶
func (o GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutput() GetZprPoliciesZprPolicyItemOutput
func (GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutputWithContext ¶
func (o GetZprPoliciesZprPolicyItemOutput) ToGetZprPoliciesZprPolicyItemOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyItemOutput
type GetZprPoliciesZprPolicyOutput ¶
type GetZprPoliciesZprPolicyOutput struct{ *pulumi.OutputState }
func (GetZprPoliciesZprPolicyOutput) ElementType ¶
func (GetZprPoliciesZprPolicyOutput) ElementType() reflect.Type
func (GetZprPoliciesZprPolicyOutput) Items ¶
func (o GetZprPoliciesZprPolicyOutput) Items() GetZprPoliciesZprPolicyItemArrayOutput
func (GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutput ¶
func (o GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutput() GetZprPoliciesZprPolicyOutput
func (GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutputWithContext ¶
func (o GetZprPoliciesZprPolicyOutput) ToGetZprPoliciesZprPolicyOutputWithContext(ctx context.Context) GetZprPoliciesZprPolicyOutput
type LookupConfigurationArgs ¶
type LookupConfigurationArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId string `pulumi:"compartmentId"` }
A collection of arguments for invoking getConfiguration.
type LookupConfigurationOutputArgs ¶
type LookupConfigurationOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` }
A collection of arguments for invoking getConfiguration.
func (LookupConfigurationOutputArgs) ElementType ¶
func (LookupConfigurationOutputArgs) ElementType() reflect.Type
type LookupConfigurationResult ¶
type LookupConfigurationResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR will be onboarded. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprConfiguration. Id string `pulumi:"id"` // A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails string `pulumi:"lifecycleDetails"` // The current state of ZPR in the tenancy. State string `pulumi:"state"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]string `pulumi:"systemTags"` // The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` // The enabled or disabled status of ZPR in tenancy. ZprStatus string `pulumi:"zprStatus"` }
A collection of values returned by getConfiguration.
func LookupConfiguration ¶
func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)
This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Zpr service.
Retrieves the ZPR configuration details for the root compartment (the root compartment is the tenancy). Returns ZPR configuration for root compartment (the root compartment is the tenancy).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Zpr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Zpr.GetConfiguration(ctx, &zpr.GetConfigurationArgs{ CompartmentId: tenancyOcid, }, nil) if err != nil { return err } return nil }) }
```
type LookupConfigurationResultOutput ¶
type LookupConfigurationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConfiguration.
func LookupConfigurationOutput ¶
func LookupConfigurationOutput(ctx *pulumi.Context, args LookupConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupConfigurationResultOutput
func (LookupConfigurationResultOutput) CompartmentId ¶
func (o LookupConfigurationResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR will be onboarded.
func (LookupConfigurationResultOutput) DefinedTags ¶
func (o LookupConfigurationResultOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (LookupConfigurationResultOutput) ElementType ¶
func (LookupConfigurationResultOutput) ElementType() reflect.Type
func (LookupConfigurationResultOutput) FreeformTags ¶
func (o LookupConfigurationResultOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (LookupConfigurationResultOutput) Id ¶
func (o LookupConfigurationResultOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprConfiguration.
func (LookupConfigurationResultOutput) LifecycleDetails ¶
func (o LookupConfigurationResultOutput) LifecycleDetails() pulumi.StringOutput
A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
func (LookupConfigurationResultOutput) State ¶
func (o LookupConfigurationResultOutput) State() pulumi.StringOutput
The current state of ZPR in the tenancy.
func (LookupConfigurationResultOutput) SystemTags ¶
func (o LookupConfigurationResultOutput) SystemTags() pulumi.StringMapOutput
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (LookupConfigurationResultOutput) TimeCreated ¶
func (o LookupConfigurationResultOutput) TimeCreated() pulumi.StringOutput
The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (LookupConfigurationResultOutput) TimeUpdated ¶
func (o LookupConfigurationResultOutput) TimeUpdated() pulumi.StringOutput
The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutput ¶
func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput
func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext ¶
func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput
func (LookupConfigurationResultOutput) ZprStatus ¶
func (o LookupConfigurationResultOutput) ZprStatus() pulumi.StringOutput
The enabled or disabled status of ZPR in tenancy.
type LookupZprPolicyArgs ¶
type LookupZprPolicyArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. ZprPolicyId string `pulumi:"zprPolicyId"` }
A collection of arguments for invoking getZprPolicy.
type LookupZprPolicyOutputArgs ¶
type LookupZprPolicyOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. ZprPolicyId pulumi.StringInput `pulumi:"zprPolicyId"` }
A collection of arguments for invoking getZprPolicy.
func (LookupZprPolicyOutputArgs) ElementType ¶
func (LookupZprPolicyOutputArgs) ElementType() reflect.Type
type LookupZprPolicyResult ¶
type LookupZprPolicyResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description string `pulumi:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` Id string `pulumi:"id"` // A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails string `pulumi:"lifecycleDetails"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name string `pulumi:"name"` // The current state of the ZprPolicy. State string `pulumi:"state"` // An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `pulumi:"statements"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]string `pulumi:"systemTags"` // The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` ZprPolicyId string `pulumi:"zprPolicyId"` }
A collection of values returned by getZprPolicy.
func LookupZprPolicy ¶
func LookupZprPolicy(ctx *pulumi.Context, args *LookupZprPolicyArgs, opts ...pulumi.InvokeOption) (*LookupZprPolicyResult, error)
This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
Gets information about a ZprPolicy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Zpr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Zpr.GetZprPolicy(ctx, &zpr.GetZprPolicyArgs{ ZprPolicyId: testZprPolicyOciZprZprPolicy.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupZprPolicyResultOutput ¶
type LookupZprPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZprPolicy.
func LookupZprPolicyOutput ¶
func LookupZprPolicyOutput(ctx *pulumi.Context, args LookupZprPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupZprPolicyResultOutput
func (LookupZprPolicyResultOutput) CompartmentId ¶
func (o LookupZprPolicyResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
func (LookupZprPolicyResultOutput) DefinedTags ¶
func (o LookupZprPolicyResultOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (LookupZprPolicyResultOutput) Description ¶
func (o LookupZprPolicyResultOutput) Description() pulumi.StringOutput
The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
func (LookupZprPolicyResultOutput) ElementType ¶
func (LookupZprPolicyResultOutput) ElementType() reflect.Type
func (LookupZprPolicyResultOutput) FreeformTags ¶
func (o LookupZprPolicyResultOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (LookupZprPolicyResultOutput) Id ¶
func (o LookupZprPolicyResultOutput) Id() pulumi.StringOutput
func (LookupZprPolicyResultOutput) LifecycleDetails ¶
func (o LookupZprPolicyResultOutput) LifecycleDetails() pulumi.StringOutput
A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
func (LookupZprPolicyResultOutput) Name ¶
func (o LookupZprPolicyResultOutput) Name() pulumi.StringOutput
The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
func (LookupZprPolicyResultOutput) State ¶
func (o LookupZprPolicyResultOutput) State() pulumi.StringOutput
The current state of the ZprPolicy.
func (LookupZprPolicyResultOutput) Statements ¶
func (o LookupZprPolicyResultOutput) Statements() pulumi.StringArrayOutput
An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
func (LookupZprPolicyResultOutput) SystemTags ¶
func (o LookupZprPolicyResultOutput) SystemTags() pulumi.StringMapOutput
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (LookupZprPolicyResultOutput) TimeCreated ¶
func (o LookupZprPolicyResultOutput) TimeCreated() pulumi.StringOutput
The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (LookupZprPolicyResultOutput) TimeUpdated ¶
func (o LookupZprPolicyResultOutput) TimeUpdated() pulumi.StringOutput
The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutput ¶
func (o LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutput() LookupZprPolicyResultOutput
func (LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutputWithContext ¶
func (o LookupZprPolicyResultOutput) ToLookupZprPolicyResultOutputWithContext(ctx context.Context) LookupZprPolicyResultOutput
func (LookupZprPolicyResultOutput) ZprPolicyId ¶
func (o LookupZprPolicyResultOutput) ZprPolicyId() pulumi.StringOutput
type ZprPolicy ¶
type ZprPolicy struct { pulumi.CustomResourceState // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description pulumi.StringOutput `pulumi:"description"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name pulumi.StringOutput `pulumi:"name"` // The current state of the ZprPolicy. State pulumi.StringOutput `pulumi:"state"` // (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Statements pulumi.StringArrayOutput `pulumi:"statements"` // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` }
This resource provides the Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
Creates a ZprPolicy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Zpr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Zpr.NewZprPolicy(ctx, "test_zpr_policy", &Zpr.ZprPolicyArgs{ CompartmentId: pulumi.Any(tenancyOcid), Description: pulumi.Any(zprPolicyDescription), Name: pulumi.Any(zprPolicyName), Statements: pulumi.Any(zprPolicyStatements), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, }) if err != nil { return err } return nil }) }
```
## Import
ZprPolicies can be imported using the `id`, e.g.
```sh $ pulumi import oci:Zpr/zprPolicy:ZprPolicy test_zpr_policy "id" ```
func GetZprPolicy ¶
func GetZprPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZprPolicyState, opts ...pulumi.ResourceOption) (*ZprPolicy, error)
GetZprPolicy gets an existing ZprPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZprPolicy ¶
func NewZprPolicy(ctx *pulumi.Context, name string, args *ZprPolicyArgs, opts ...pulumi.ResourceOption) (*ZprPolicy, error)
NewZprPolicy registers a new resource with the given unique name, arguments, and options.
func (*ZprPolicy) ElementType ¶
func (*ZprPolicy) ToZprPolicyOutput ¶
func (i *ZprPolicy) ToZprPolicyOutput() ZprPolicyOutput
func (*ZprPolicy) ToZprPolicyOutputWithContext ¶
func (i *ZprPolicy) ToZprPolicyOutputWithContext(ctx context.Context) ZprPolicyOutput
type ZprPolicyArgs ¶
type ZprPolicyArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in. CompartmentId pulumi.StringInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description pulumi.StringInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name pulumi.StringPtrInput // (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Statements pulumi.StringArrayInput }
The set of arguments for constructing a ZprPolicy resource.
func (ZprPolicyArgs) ElementType ¶
func (ZprPolicyArgs) ElementType() reflect.Type
type ZprPolicyArray ¶
type ZprPolicyArray []ZprPolicyInput
func (ZprPolicyArray) ElementType ¶
func (ZprPolicyArray) ElementType() reflect.Type
func (ZprPolicyArray) ToZprPolicyArrayOutput ¶
func (i ZprPolicyArray) ToZprPolicyArrayOutput() ZprPolicyArrayOutput
func (ZprPolicyArray) ToZprPolicyArrayOutputWithContext ¶
func (i ZprPolicyArray) ToZprPolicyArrayOutputWithContext(ctx context.Context) ZprPolicyArrayOutput
type ZprPolicyArrayInput ¶
type ZprPolicyArrayInput interface { pulumi.Input ToZprPolicyArrayOutput() ZprPolicyArrayOutput ToZprPolicyArrayOutputWithContext(context.Context) ZprPolicyArrayOutput }
ZprPolicyArrayInput is an input type that accepts ZprPolicyArray and ZprPolicyArrayOutput values. You can construct a concrete instance of `ZprPolicyArrayInput` via:
ZprPolicyArray{ ZprPolicyArgs{...} }
type ZprPolicyArrayOutput ¶
type ZprPolicyArrayOutput struct{ *pulumi.OutputState }
func (ZprPolicyArrayOutput) ElementType ¶
func (ZprPolicyArrayOutput) ElementType() reflect.Type
func (ZprPolicyArrayOutput) Index ¶
func (o ZprPolicyArrayOutput) Index(i pulumi.IntInput) ZprPolicyOutput
func (ZprPolicyArrayOutput) ToZprPolicyArrayOutput ¶
func (o ZprPolicyArrayOutput) ToZprPolicyArrayOutput() ZprPolicyArrayOutput
func (ZprPolicyArrayOutput) ToZprPolicyArrayOutputWithContext ¶
func (o ZprPolicyArrayOutput) ToZprPolicyArrayOutputWithContext(ctx context.Context) ZprPolicyArrayOutput
type ZprPolicyInput ¶
type ZprPolicyInput interface { pulumi.Input ToZprPolicyOutput() ZprPolicyOutput ToZprPolicyOutputWithContext(ctx context.Context) ZprPolicyOutput }
type ZprPolicyMap ¶
type ZprPolicyMap map[string]ZprPolicyInput
func (ZprPolicyMap) ElementType ¶
func (ZprPolicyMap) ElementType() reflect.Type
func (ZprPolicyMap) ToZprPolicyMapOutput ¶
func (i ZprPolicyMap) ToZprPolicyMapOutput() ZprPolicyMapOutput
func (ZprPolicyMap) ToZprPolicyMapOutputWithContext ¶
func (i ZprPolicyMap) ToZprPolicyMapOutputWithContext(ctx context.Context) ZprPolicyMapOutput
type ZprPolicyMapInput ¶
type ZprPolicyMapInput interface { pulumi.Input ToZprPolicyMapOutput() ZprPolicyMapOutput ToZprPolicyMapOutputWithContext(context.Context) ZprPolicyMapOutput }
ZprPolicyMapInput is an input type that accepts ZprPolicyMap and ZprPolicyMapOutput values. You can construct a concrete instance of `ZprPolicyMapInput` via:
ZprPolicyMap{ "key": ZprPolicyArgs{...} }
type ZprPolicyMapOutput ¶
type ZprPolicyMapOutput struct{ *pulumi.OutputState }
func (ZprPolicyMapOutput) ElementType ¶
func (ZprPolicyMapOutput) ElementType() reflect.Type
func (ZprPolicyMapOutput) MapIndex ¶
func (o ZprPolicyMapOutput) MapIndex(k pulumi.StringInput) ZprPolicyOutput
func (ZprPolicyMapOutput) ToZprPolicyMapOutput ¶
func (o ZprPolicyMapOutput) ToZprPolicyMapOutput() ZprPolicyMapOutput
func (ZprPolicyMapOutput) ToZprPolicyMapOutputWithContext ¶
func (o ZprPolicyMapOutput) ToZprPolicyMapOutputWithContext(ctx context.Context) ZprPolicyMapOutput
type ZprPolicyOutput ¶
type ZprPolicyOutput struct{ *pulumi.OutputState }
func (ZprPolicyOutput) CompartmentId ¶
func (o ZprPolicyOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
func (ZprPolicyOutput) DefinedTags ¶
func (o ZprPolicyOutput) DefinedTags() pulumi.StringMapOutput
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (ZprPolicyOutput) Description ¶
func (o ZprPolicyOutput) Description() pulumi.StringOutput
(Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
func (ZprPolicyOutput) ElementType ¶
func (ZprPolicyOutput) ElementType() reflect.Type
func (ZprPolicyOutput) FreeformTags ¶
func (o ZprPolicyOutput) FreeformTags() pulumi.StringMapOutput
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (ZprPolicyOutput) LifecycleDetails ¶
func (o ZprPolicyOutput) LifecycleDetails() pulumi.StringOutput
A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
func (ZprPolicyOutput) Name ¶
func (o ZprPolicyOutput) Name() pulumi.StringOutput
The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
func (ZprPolicyOutput) State ¶
func (o ZprPolicyOutput) State() pulumi.StringOutput
The current state of the ZprPolicy.
func (ZprPolicyOutput) Statements ¶
func (o ZprPolicyOutput) Statements() pulumi.StringArrayOutput
(Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (ZprPolicyOutput) SystemTags ¶
func (o ZprPolicyOutput) SystemTags() pulumi.StringMapOutput
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (ZprPolicyOutput) TimeCreated ¶
func (o ZprPolicyOutput) TimeCreated() pulumi.StringOutput
The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (ZprPolicyOutput) TimeUpdated ¶
func (o ZprPolicyOutput) TimeUpdated() pulumi.StringOutput
The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
func (ZprPolicyOutput) ToZprPolicyOutput ¶
func (o ZprPolicyOutput) ToZprPolicyOutput() ZprPolicyOutput
func (ZprPolicyOutput) ToZprPolicyOutputWithContext ¶
func (o ZprPolicyOutput) ToZprPolicyOutputWithContext(ctx context.Context) ZprPolicyOutput
type ZprPolicyState ¶
type ZprPolicyState struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in. CompartmentId pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description pulumi.StringPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state. LifecycleDetails pulumi.StringPtrInput // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name pulumi.StringPtrInput // The current state of the ZprPolicy. State pulumi.StringPtrInput // (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Statements pulumi.StringArrayInput // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.StringMapInput // The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeCreated pulumi.StringPtrInput // The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` TimeUpdated pulumi.StringPtrInput }
func (ZprPolicyState) ElementType ¶
func (ZprPolicyState) ElementType() reflect.Type