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

98 lines (97 loc) 3.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the storage task properties * * Uses Azure REST API version 2023-01-01. */ export declare function getStorageTask(args: GetStorageTaskArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageTaskResult>; export interface GetStorageTaskArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. */ storageTaskName: string; } /** * Represents Storage Task. */ export interface GetStorageTaskResult { /** * The storage task action that is executed */ readonly action: outputs.storageactions.StorageTaskActionResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date and time of the storage task in UTC. */ readonly creationTimeInUtc: string; /** * Text that describes the purpose of the storage task */ readonly description: string; /** * Storage Task is enabled when set to true and disabled when set to false */ readonly enabled: boolean; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The managed service identity of the resource. */ readonly identity: outputs.storageactions.ManagedServiceIdentityResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Represents the provisioning state of the storage task. */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.storageactions.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Storage task version. */ readonly taskVersion: number; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get the storage task properties * * Uses Azure REST API version 2023-01-01. */ export declare function getStorageTaskOutput(args: GetStorageTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageTaskResult>; export interface GetStorageTaskOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. */ storageTaskName: pulumi.Input<string>; }