This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates a new catalog. Auto-naming is currently not supported for this resource.
Create Catalog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Catalog(name: string, args: CatalogArgs, opts?: CustomResourceOptions);@overload
def Catalog(resource_name: str,
args: CatalogArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Catalog(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)func NewCatalog(ctx *Context, name string, args CatalogArgs, opts ...ResourceOption) (*Catalog, error)public Catalog(string name, CatalogArgs args, CustomResourceOptions? opts = null)
public Catalog(String name, CatalogArgs args)
public Catalog(String name, CatalogArgs args, CustomResourceOptions options)
type: google-native:biglake/v1:Catalog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_biglake_v1_catalog" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CatalogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CatalogArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CatalogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var catalogResource = new GoogleNative.BigLake.V1.Catalog("catalogResource", new()
{
CatalogId = "string",
Location = "string",
Project = "string",
});
example, err := biglake.NewCatalog(ctx, "catalogResource", &biglake.CatalogArgs{
CatalogId: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "google-native_biglake_v1_catalog" "catalogResource" {
lifecycle {
create_before_destroy = true
}
catalog_id = "string"
location = "string"
project = "string"
}
var catalogResource = new Catalog("catalogResource", CatalogArgs.builder()
.catalogId("string")
.location("string")
.project("string")
.build());
catalog_resource = google_native.biglake.v1.Catalog("catalogResource",
catalog_id="string",
location="string",
project="string")
const catalogResource = new google_native.biglake.v1.Catalog("catalogResource", {
catalogId: "string",
location: "string",
project: "string",
});
type: google-native:biglake/v1:Catalog
properties:
catalogId: string
location: string
project: string
Catalog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Catalog resource accepts the following input properties:
- catalog_
id string - Required. The ID to use for the catalog, which will become the final component of the catalog's resource name.
- location string
- project string
- catalog_
id str - Required. The ID to use for the catalog, which will become the final component of the catalog's resource name.
- location str
- project str
Outputs
All input properties are implicitly available as output properties. Additionally, the Catalog resource produces the following output properties:
- Create
Time string - The creation time of the catalog.
- Delete
Time string - The deletion time of the catalog. Only set after the catalog is deleted.
- Expire
Time string - The time when this catalog is considered expired. Only set after the catalog is deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- Update
Time string - The last modification time of the catalog.
- Create
Time string - The creation time of the catalog.
- Delete
Time string - The deletion time of the catalog. Only set after the catalog is deleted.
- Expire
Time string - The time when this catalog is considered expired. Only set after the catalog is deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- Update
Time string - The last modification time of the catalog.
- create_
time string - The creation time of the catalog.
- delete_
time string - The deletion time of the catalog. Only set after the catalog is deleted.
- expire_
time string - The time when this catalog is considered expired. Only set after the catalog is deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- update_
time string - The last modification time of the catalog.
- create
Time String - The creation time of the catalog.
- delete
Time String - The deletion time of the catalog. Only set after the catalog is deleted.
- expire
Time String - The time when this catalog is considered expired. Only set after the catalog is deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- update
Time String - The last modification time of the catalog.
- create
Time string - The creation time of the catalog.
- delete
Time string - The deletion time of the catalog. Only set after the catalog is deleted.
- expire
Time string - The time when this catalog is considered expired. Only set after the catalog is deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- update
Time string - The last modification time of the catalog.
- create_
time str - The creation time of the catalog.
- delete_
time str - The deletion time of the catalog. Only set after the catalog is deleted.
- expire_
time str - The time when this catalog is considered expired. Only set after the catalog is deleted.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- update_
time str - The last modification time of the catalog.
- create
Time String - The creation time of the catalog.
- delete
Time String - The deletion time of the catalog. Only set after the catalog is deleted.
- expire
Time String - The time when this catalog is considered expired. Only set after the catalog is deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
- update
Time String - The last modification time of the catalog.
Look up Existing Catalog Resource
Get an existing Catalog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Catalog@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Catalogfunc GetCatalog(ctx *Context, name string, id IDInput, state *CatalogState, opts ...ResourceOption) (*Catalog, error)public static Catalog Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Catalog get(String name, Output<String> id, CustomResourceOptions options)resources: existingCatalog: type: google-native:biglake/v1:Catalog get: id: ${id}import {
to = google-native_biglake_v1_catalog.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state CatalogState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi