Show / Hide Table of Contents

Class ComponentResourceOptions

A bag of optional settings that control a ComponentResource's behavior.

Inheritance
System.Object
ResourceOptions
ComponentResourceOptions
Inherited Members
ResourceOptions.Id
ResourceOptions.Parent
ResourceOptions.DependsOn
ResourceOptions.Protect
ResourceOptions.IgnoreChanges
ResourceOptions.Version
ResourceOptions.Provider
ResourceOptions.CustomTimeouts
ResourceOptions.ResourceTransformations
ResourceOptions.Aliases
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class ComponentResourceOptions : ResourceOptions

Properties

View Source

Providers

An optional set of providers to use for child resources.

Note: do not provide both Provider and Providers.

Declaration
public List<ProviderResource> Providers { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ProviderResource>

Methods

View Source

Merge(ComponentResourceOptions, ComponentResourceOptions)

Takes two ComponentResourceOptions values and produces a new ComponentResourceOptions with the respective properties of options2 merged over the same properties in options1. The original options objects will be unchanged.

A new instance will always be returned.

Conceptually property merging follows these basic rules:

Declaration
public static ComponentResourceOptions Merge(ComponentResourceOptions options1, ComponentResourceOptions options2)
Parameters
Type Name Description
ComponentResourceOptions options1
ComponentResourceOptions options2
Returns
Type Description
ComponentResourceOptions
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.