UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

106 lines (105 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * A share data transfer object. * * Uses Azure REST API version 2021-08-01. In version 2.x of the Azure Native provider, it used API version 2021-08-01. */ export declare class Share extends pulumi.CustomResource { /** * Get an existing Share resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Share; /** * Returns true if the given object is an instance of Share. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Share; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Time at which the share was created. */ readonly createdAt: pulumi.Output<string>; /** * Share description. */ readonly description: pulumi.Output<string | undefined>; /** * Name of the azure resource */ readonly name: pulumi.Output<string>; /** * Gets or sets the provisioning state */ readonly provisioningState: pulumi.Output<string>; /** * Share kind. */ readonly shareKind: pulumi.Output<string | undefined>; /** * System Data of the Azure resource. */ readonly systemData: pulumi.Output<outputs.datashare.SystemDataResponse>; /** * Share terms. */ readonly terms: pulumi.Output<string | undefined>; /** * Type of the azure resource */ readonly type: pulumi.Output<string>; /** * Email of the user who created the resource */ readonly userEmail: pulumi.Output<string>; /** * Name of the user who created the resource */ readonly userName: pulumi.Output<string>; /** * Create a Share 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: ShareArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Share resource. */ export interface ShareArgs { /** * The name of the share account. */ accountName: pulumi.Input<string>; /** * Share description. */ description?: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * Share kind. */ shareKind?: pulumi.Input<string | enums.datashare.ShareKind>; /** * The name of the share. */ shareName?: pulumi.Input<string>; /** * Share terms. */ terms?: pulumi.Input<string>; }