@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Definition of the module type.
*
* Uses Azure REST API version 2023-11-01. In version 2.x of the Azure Native provider, it used API version 2023-11-01.
*/
export declare class PowerShell72Module extends pulumi.CustomResource {
/**
* Get an existing PowerShell72Module 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): PowerShell72Module;
/**
* Returns true if the given object is an instance of PowerShell72Module. 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 PowerShell72Module;
/**
* Gets the activity count of the module.
*/
readonly activityCount: pulumi.Output<number | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Gets the creation time.
*/
readonly creationTime: pulumi.Output<string | undefined>;
/**
* Gets or sets the description.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Gets the error info of the module.
*/
readonly error: pulumi.Output<outputs.automation.ModuleErrorInfoResponse | undefined>;
/**
* Gets the etag of the resource.
*/
readonly etag: pulumi.Output<string | undefined>;
/**
* Gets type of module, if its composite or not.
*/
readonly isComposite: pulumi.Output<boolean | undefined>;
/**
* Gets the isGlobal flag of the module.
*/
readonly isGlobal: pulumi.Output<boolean | undefined>;
/**
* Gets the last modified time.
*/
readonly lastModifiedTime: pulumi.Output<string | undefined>;
/**
* The Azure Region where the resource lives
*/
readonly location: pulumi.Output<string | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Gets the provisioning state of the module.
*/
readonly provisioningState: pulumi.Output<string | undefined>;
/**
* Gets the size in bytes of the module.
*/
readonly sizeInBytes: pulumi.Output<number | undefined>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Gets the version of the module.
*/
readonly version: pulumi.Output<string | undefined>;
/**
* Create a PowerShell72Module 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: PowerShell72ModuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a PowerShell72Module resource.
*/
export interface PowerShell72ModuleArgs {
/**
* The name of the automation account.
*/
automationAccountName: pulumi.Input<string>;
/**
* Sets the hash.
*/
contentLink: pulumi.Input<inputs.automation.ContentLinkArgs>;
/**
* Sets the location of the resource.
*/
location?: pulumi.Input<string>;
/**
* The name of module.
*/
moduleName?: pulumi.Input<string>;
/**
* Sets name of the resource.
*/
name?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Sets the tags attached to the resource.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}