Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 75 lines (66 sloc) 3.52 KB
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputApi from "../../types/input";
import * as outputApi from "../../types/output";
/**
* VolumeAttachmentList is a collection of VolumeAttachment objects.
*/
export class VolumeAttachmentList extends pulumi.CustomResource {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should
* convert recognized schemas to the latest internal value, and may reject unrecognized
* values. More info:
* https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
*/
public readonly apiVersion: pulumi.Output<"storage.k8s.io/v1alpha1">;
/**
* Items is the list of VolumeAttachments
*/
public readonly items: pulumi.Output<outputApi.storage.v1alpha1.VolumeAttachment[]>;
/**
* Kind is a string value representing the REST resource this object represents. Servers may
* infer this from the endpoint the client submits requests to. Cannot be updated. In
* CamelCase. More info:
* https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
*/
public readonly kind: pulumi.Output<"VolumeAttachmentList">;
/**
* Standard list metadata More info:
* https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
*/
public readonly metadata: pulumi.Output<outputApi.meta.v1.ListMeta>;
/**
* Get the state of an existing `VolumeAttachmentList` resource, as identified by `id`.
* Typically this ID is of the form <namespace>/<name>; if <namespace> is omitted, then (per
* Kubernetes convention) the ID becomes default/<name>.
*
* Pulumi will keep track of this resource using `name` as the Pulumi ID.
*
* @param name _Unique_ name used to register this resource with Pulumi.
* @param id An ID for the Kubernetes resource to retrieve. Takes the form
* <namespace>/<name> or <name>.
* @param opts Uniquely specifies a CustomResource to select.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): VolumeAttachmentList {
return new VolumeAttachmentList(name, undefined, { ...opts, id: id });
}
public getInputs(): inputApi.storage.v1alpha1.VolumeAttachmentList { return this.__inputs; }
private readonly __inputs: inputApi.storage.v1alpha1.VolumeAttachmentList;
/**
* Create a storage.v1alpha1.VolumeAttachmentList resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: inputApi.storage.v1alpha1.VolumeAttachmentList, opts?: pulumi.CustomResourceOptions) {
let inputs: pulumi.Inputs = {};
inputs["apiVersion"] = "storage.k8s.io/v1alpha1";
inputs["items"] = args && args.items || undefined;
inputs["kind"] = "VolumeAttachmentList";
inputs["metadata"] = args && args.metadata || undefined;
super("kubernetes:storage.k8s.io/v1alpha1:VolumeAttachmentList", name, inputs, opts);
this.__inputs = <any>args;
}
}
You can’t perform that action at this time.