Documentation
¶
Overview ¶
A Pulumi package for creating and managing oci cloud resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and // 'ResourcePrincipal'. By default, 'ApiKey' will be used. Auth pulumi.StringPtrOutput `pulumi:"auth"` // (Optional) The profile name to be used from config file, if not set it will be DEFAULT. ConfigFileProfile pulumi.StringPtrOutput `pulumi:"configFileProfile"` // (Optional) The fingerprint for the user's RSA key. This can be found in user settings in the Oracle Cloud Infrastructure // console. Required if auth is set to 'ApiKey', ignored otherwise. Fingerprint pulumi.StringPtrOutput `pulumi:"fingerprint"` // (Optional) A PEM formatted RSA private key for the user. A private_key or a private_key_path must be provided if auth is // set to 'ApiKey', ignored otherwise. PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // (Optional) The password used to secure the private key. PrivateKeyPassword pulumi.StringPtrOutput `pulumi:"privateKeyPassword"` // (Optional) The path to the user's PEM formatted private key. A private_key or a private_key_path must be provided if // auth is set to 'ApiKey', ignored otherwise. PrivateKeyPath pulumi.StringPtrOutput `pulumi:"privateKeyPath"` // (Required) The region for API connections (e.g. us-ashburn-1). Region pulumi.StringPtrOutput `pulumi:"region"` // (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud // Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. TenancyOcid pulumi.StringPtrOutput `pulumi:"tenancyOcid"` // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. UserOcid pulumi.StringPtrOutput `pulumi:"userOcid"` }
The provider type for the oci 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 { // (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and // 'ResourcePrincipal'. By default, 'ApiKey' will be used. Auth pulumi.StringPtrInput // (Optional) The profile name to be used from config file, if not set it will be DEFAULT. ConfigFileProfile pulumi.StringPtrInput // (Optional) Disable automatic retries for retriable errors. Automatic retries were introduced to solve some eventual // consistency problems but it also introduced performance issues on destroy operations. DisableAutoRetries pulumi.BoolPtrInput // (Optional) The fingerprint for the user's RSA key. This can be found in user settings in the Oracle Cloud Infrastructure // console. Required if auth is set to 'ApiKey', ignored otherwise. Fingerprint pulumi.StringPtrInput // (Optional) List of defined tags keys that Terraform should ignore when planning creates and updates to the associated // remote object IgnoreDefinedTags pulumi.StringArrayInput // (Optional) A PEM formatted RSA private key for the user. A private_key or a private_key_path must be provided if auth is // set to 'ApiKey', ignored otherwise. PrivateKey pulumi.StringPtrInput // (Optional) The password used to secure the private key. PrivateKeyPassword pulumi.StringPtrInput // (Optional) The path to the user's PEM formatted private key. A private_key or a private_key_path must be provided if // auth is set to 'ApiKey', ignored otherwise. PrivateKeyPath pulumi.StringPtrInput // (Required) The region for API connections (e.g. us-ashburn-1). Region pulumi.StringPtrInput // (Optional) The minimum duration (in seconds) to retry a resource operation in response to an error. The actual retry // duration may be longer due to jittering of retry operations. This value is ignored if the `disable_auto_retries` field // is set to true. RetryDurationSeconds pulumi.IntPtrInput // (Optional) The tenancy OCID for a user. The tenancy OCID can be found at the bottom of user settings in the Oracle Cloud // Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. TenancyOcid pulumi.StringPtrInput // (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if // auth is set to 'ApiKey', ignored otherwise. UserOcid 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) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput