Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.storage/v1.ManagedFolder
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new managed folder.
Create ManagedFolder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedFolder(name: string, args: ManagedFolderArgs, opts?: CustomResourceOptions);
@overload
def ManagedFolder(resource_name: str,
args: ManagedFolderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedFolder(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
create_time: Optional[str] = None,
id: Optional[str] = None,
kind: Optional[str] = None,
metageneration: Optional[str] = None,
name: Optional[str] = None,
self_link: Optional[str] = None,
update_time: Optional[str] = None)
func NewManagedFolder(ctx *Context, name string, args ManagedFolderArgs, opts ...ResourceOption) (*ManagedFolder, error)
public ManagedFolder(string name, ManagedFolderArgs args, CustomResourceOptions? opts = null)
public ManagedFolder(String name, ManagedFolderArgs args)
public ManagedFolder(String name, ManagedFolderArgs args, CustomResourceOptions options)
type: google-native:storage/v1:ManagedFolder
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagedFolderArgs
- 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 ManagedFolderArgs
- 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 ManagedFolderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedFolderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedFolderArgs
- 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 managedFolderResource = new GoogleNative.Storage.V1.ManagedFolder("managedFolderResource", new()
{
Bucket = "string",
CreateTime = "string",
Id = "string",
Kind = "string",
Metageneration = "string",
Name = "string",
SelfLink = "string",
UpdateTime = "string",
});
example, err := storage.NewManagedFolder(ctx, "managedFolderResource", &storage.ManagedFolderArgs{
Bucket: pulumi.String("string"),
CreateTime: pulumi.String("string"),
Id: pulumi.String("string"),
Kind: pulumi.String("string"),
Metageneration: pulumi.String("string"),
Name: pulumi.String("string"),
SelfLink: pulumi.String("string"),
UpdateTime: pulumi.String("string"),
})
var managedFolderResource = new ManagedFolder("managedFolderResource", ManagedFolderArgs.builder()
.bucket("string")
.createTime("string")
.id("string")
.kind("string")
.metageneration("string")
.name("string")
.selfLink("string")
.updateTime("string")
.build());
managed_folder_resource = google_native.storage.v1.ManagedFolder("managedFolderResource",
bucket="string",
create_time="string",
id="string",
kind="string",
metageneration="string",
name="string",
self_link="string",
update_time="string")
const managedFolderResource = new google_native.storage.v1.ManagedFolder("managedFolderResource", {
bucket: "string",
createTime: "string",
id: "string",
kind: "string",
metageneration: "string",
name: "string",
selfLink: "string",
updateTime: "string",
});
type: google-native:storage/v1:ManagedFolder
properties:
bucket: string
createTime: string
id: string
kind: string
metageneration: string
name: string
selfLink: string
updateTime: string
ManagedFolder 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 ManagedFolder resource accepts the following input properties:
- Bucket string
- The name of the bucket containing this managed folder.
- Create
Time string - The creation time of the managed folder in RFC 3339 format.
- Id string
- The ID of the managed folder, including the bucket name and managed folder name.
- Kind string
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- Metageneration string
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- Name string
- The name of the managed folder. Required if not specified by URL parameter.
- Self
Link string - The link to this managed folder.
- Update
Time string - The last update time of the managed folder metadata in RFC 3339 format.
- Bucket string
- The name of the bucket containing this managed folder.
- Create
Time string - The creation time of the managed folder in RFC 3339 format.
- Id string
- The ID of the managed folder, including the bucket name and managed folder name.
- Kind string
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- Metageneration string
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- Name string
- The name of the managed folder. Required if not specified by URL parameter.
- Self
Link string - The link to this managed folder.
- Update
Time string - The last update time of the managed folder metadata in RFC 3339 format.
- bucket String
- The name of the bucket containing this managed folder.
- create
Time String - The creation time of the managed folder in RFC 3339 format.
- id String
- The ID of the managed folder, including the bucket name and managed folder name.
- kind String
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- metageneration String
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- name String
- The name of the managed folder. Required if not specified by URL parameter.
- self
Link String - The link to this managed folder.
- update
Time String - The last update time of the managed folder metadata in RFC 3339 format.
- bucket string
- The name of the bucket containing this managed folder.
- create
Time string - The creation time of the managed folder in RFC 3339 format.
- id string
- The ID of the managed folder, including the bucket name and managed folder name.
- kind string
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- metageneration string
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- name string
- The name of the managed folder. Required if not specified by URL parameter.
- self
Link string - The link to this managed folder.
- update
Time string - The last update time of the managed folder metadata in RFC 3339 format.
- bucket str
- The name of the bucket containing this managed folder.
- create_
time str - The creation time of the managed folder in RFC 3339 format.
- id str
- The ID of the managed folder, including the bucket name and managed folder name.
- kind str
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- metageneration str
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- name str
- The name of the managed folder. Required if not specified by URL parameter.
- self_
link str - The link to this managed folder.
- update_
time str - The last update time of the managed folder metadata in RFC 3339 format.
- bucket String
- The name of the bucket containing this managed folder.
- create
Time String - The creation time of the managed folder in RFC 3339 format.
- id String
- The ID of the managed folder, including the bucket name and managed folder name.
- kind String
- The kind of item this is. For managed folders, this is always storage#managedFolder.
- metageneration String
- The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
- name String
- The name of the managed folder. Required if not specified by URL parameter.
- self
Link String - The link to this managed folder.
- update
Time String - The last update time of the managed folder metadata in RFC 3339 format.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedFolder resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.