@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Server Endpoint object.
*
* Uses Azure REST API version 2022-09-01. In version 2.x of the Azure Native provider, it used API version 2022-06-01.
*
* Other available API versions: 2022-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storagesync [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class ServerEndpoint extends pulumi.CustomResource {
/**
* Get an existing ServerEndpoint 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): ServerEndpoint;
/**
* Returns true if the given object is an instance of ServerEndpoint. 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 ServerEndpoint;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Cloud Tiering.
*/
readonly cloudTiering: pulumi.Output<string | undefined>;
/**
* Cloud tiering status. Only populated if cloud tiering is enabled.
*/
readonly cloudTieringStatus: pulumi.Output<outputs.storagesync.ServerEndpointCloudTieringStatusResponse>;
/**
* Friendly Name
*/
readonly friendlyName: pulumi.Output<string | undefined>;
/**
* Policy for how namespace and files are recalled during FastDr.
*/
readonly initialDownloadPolicy: pulumi.Output<string | undefined>;
/**
* Policy for how the initial upload sync session is performed.
*/
readonly initialUploadPolicy: pulumi.Output<string | undefined>;
/**
* Resource Last Operation Name
*/
readonly lastOperationName: pulumi.Output<string>;
/**
* ServerEndpoint lastWorkflowId
*/
readonly lastWorkflowId: pulumi.Output<string>;
/**
* Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.
*/
readonly localCacheMode: pulumi.Output<string | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Offline data transfer
*/
readonly offlineDataTransfer: pulumi.Output<string | undefined>;
/**
* Offline data transfer share name
*/
readonly offlineDataTransferShareName: pulumi.Output<string | undefined>;
/**
* Offline data transfer storage account resource ID
*/
readonly offlineDataTransferStorageAccountResourceId: pulumi.Output<string>;
/**
* Offline data transfer storage account tenant ID
*/
readonly offlineDataTransferStorageAccountTenantId: pulumi.Output<string>;
/**
* ServerEndpoint Provisioning State
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Recall status. Only populated if cloud tiering is enabled.
*/
readonly recallStatus: pulumi.Output<outputs.storagesync.ServerEndpointRecallStatusResponse>;
/**
* Server Endpoint provisioning status
*/
readonly serverEndpointProvisioningStatus: pulumi.Output<outputs.storagesync.ServerEndpointProvisioningStatusResponse | undefined>;
/**
* Server Local path.
*/
readonly serverLocalPath: pulumi.Output<string | undefined>;
/**
* Server name
*/
readonly serverName: pulumi.Output<string>;
/**
* Server Resource Id.
*/
readonly serverResourceId: pulumi.Output<string | undefined>;
/**
* Server Endpoint sync status
*/
readonly syncStatus: pulumi.Output<outputs.storagesync.ServerEndpointSyncStatusResponse>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.storagesync.SystemDataResponse>;
/**
* Tier files older than days.
*/
readonly tierFilesOlderThanDays: pulumi.Output<number | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Level of free space to be maintained by Cloud Tiering if it is enabled.
*/
readonly volumeFreeSpacePercent: pulumi.Output<number | undefined>;
/**
* Create a ServerEndpoint 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: ServerEndpointArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ServerEndpoint resource.
*/
export interface ServerEndpointArgs {
/**
* Cloud Tiering.
*/
cloudTiering?: pulumi.Input<string | enums.storagesync.FeatureStatus>;
/**
* Friendly Name
*/
friendlyName?: pulumi.Input<string>;
/**
* Policy for how namespace and files are recalled during FastDr.
*/
initialDownloadPolicy?: pulumi.Input<string | enums.storagesync.InitialDownloadPolicy>;
/**
* Policy for how the initial upload sync session is performed.
*/
initialUploadPolicy?: pulumi.Input<string | enums.storagesync.InitialUploadPolicy>;
/**
* Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.
*/
localCacheMode?: pulumi.Input<string | enums.storagesync.LocalCacheMode>;
/**
* Offline data transfer
*/
offlineDataTransfer?: pulumi.Input<string | enums.storagesync.FeatureStatus>;
/**
* Offline data transfer share name
*/
offlineDataTransferShareName?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of Server Endpoint object.
*/
serverEndpointName?: pulumi.Input<string>;
/**
* Server Local path.
*/
serverLocalPath?: pulumi.Input<string>;
/**
* Server Resource Id.
*/
serverResourceId?: pulumi.Input<string>;
/**
* Name of Storage Sync Service resource.
*/
storageSyncServiceName: pulumi.Input<string>;
/**
* Name of Sync Group resource.
*/
syncGroupName: pulumi.Input<string>;
/**
* Tier files older than days.
*/
tierFilesOlderThanDays?: pulumi.Input<number>;
/**
* Level of free space to be maintained by Cloud Tiering if it is enabled.
*/
volumeFreeSpacePercent?: pulumi.Input<number>;
}