LogScopeArgs class
The set of arguments for LogScope. The set of arguments for LogScope.
Constructors
-
LogScopeArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? location, Input<String?> ? name, Input<String?> ? parent, required Input<List< resourceNames})String> > -
Creates a new LogScopeArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionDescribes this log scopes.locationThe location of the resource. The only supported location is global so far.nameThe resource name of the log scope. For example: `projects/my-project/locations/global/logScopes/my-log-scope`parentThe parent of the resource.resourceNamesNames of one or more parent resources : * `projects/PROJECT_ID` May alternatively be one or more views : * `projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID` A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.const -
LogScopeArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
Describes this log scopes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
The location of the resource. The only supported location is global so far.
final
-
name
→ Input<
String?> ? -
The resource name of the log scope. For example: `projects/my-project/locations/global/logScopes/my-log-scope`
final
-
parent
→ Input<
String?> ? -
The parent of the resource.
final
-
resourceNames
→ Input<
List< String> > -
Names of one or more parent resources : * `projects/
PROJECT_ID` May alternatively be one or more views : * `projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID` A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited