1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. storage
  6. storage/v1
  7. ManagedFolder

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    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.
    
    
    resource "google-native_storage_v1_managed_folder" "name" {
        # resource properties
    }

    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"),
    })
    
    resource "google-native_storage_v1_managed_folder" "managedFolderResource" {
      lifecycle {
        create_before_destroy = true
      }
      bucket         = "string"
      create_time    = "string"
      id             = "string"
      kind           = "string"
      metageneration = "string"
      name           = "string"
      self_link      = "string"
      update_time    = "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.
    CreateTime 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.
    SelfLink string
    The link to this managed folder.
    UpdateTime 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.
    CreateTime 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.
    SelfLink string
    The link to this managed folder.
    UpdateTime 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.
    createTime 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.
    selfLink String
    The link to this managed folder.
    updateTime 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.
    createTime 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.
    selfLink string
    The link to this managed folder.
    updateTime 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.
    createTime 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.
    selfLink String
    The link to this managed folder.
    updateTime 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 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.

    Look up Existing ManagedFolder Resource

    Get an existing ManagedFolder 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): ManagedFolder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> ManagedFolder
    func GetManagedFolder(ctx *Context, name string, id IDInput, state *ManagedFolderState, opts ...ResourceOption) (*ManagedFolder, error)
    public static ManagedFolder Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static ManagedFolder get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingManagedFolder:    type: google-native:storage/v1:ManagedFolder    get:      id: ${id}
    import {
      to = google-native_storage_v1_managed_folder.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 ManagedFolderState
    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
    google-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial