Class ServiceArgs
Inherited Members
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.Gcp.Projects
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ServiceArgs : ResourceArgs
Constructors
View SourceServiceArgs()
Declaration
public ServiceArgs()
Properties
View SourceDisableDependentServices
If true, services that are enabled and which depend on this service should also be disabled when this service is destroyed.
If false or unset, an error will be generated if any enabled services depend on this service when destroying it.
Declaration
public Input<bool> DisableDependentServices { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
DisableOnDestroy
If true, disable the service when the resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently.
Declaration
public Input<bool> DisableOnDestroy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Project
The project ID. If not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ServiceName
The service to enable.
Declaration
public Input<string> ServiceName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |