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

112 lines (111 loc) 4.36 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets. * * Uses Azure REST API version 2025-01-01-preview. * * Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native netapp [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCapacityPoolBucket(args: GetCapacityPoolBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetCapacityPoolBucketResult>; export interface GetCapacityPoolBucketArgs { /** * The name of the NetApp account */ accountName: string; /** * The name of the bucket */ bucketName: string; /** * The name of the capacity pool */ poolName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the volume */ volumeName: string; } /** * Bucket resource */ export interface GetCapacityPoolBucketResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both. */ readonly fileSystemUser?: outputs.netapp.FileSystemUserResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created. */ readonly path?: string; /** * Provisioning state of the resource */ readonly provisioningState: string; /** * Properties of the server managing the lifecycle of volume buckets */ readonly server?: outputs.netapp.BucketServerPropertiesResponse; /** * The bucket credentials status. There states: * * "NoCredentialsSet": Access and Secret key pair have not been generated. * "CredentialsExpired": Access and Secret key pair have expired. * "Active": The certificate has been installed and credentials are unexpired. */ readonly status: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.netapp.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets. * * Uses Azure REST API version 2025-01-01-preview. * * Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native netapp [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCapacityPoolBucketOutput(args: GetCapacityPoolBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCapacityPoolBucketResult>; export interface GetCapacityPoolBucketOutputArgs { /** * The name of the NetApp account */ accountName: pulumi.Input<string>; /** * The name of the bucket */ bucketName: pulumi.Input<string>; /** * The name of the capacity pool */ poolName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the volume */ volumeName: pulumi.Input<string>; }