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

180 lines (179 loc) 5.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a given registered server. * * Uses Azure REST API version 2022-09-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 function getRegisteredServer(args: GetRegisteredServerArgs, opts?: pulumi.InvokeOptions): Promise<GetRegisteredServerResult>; export interface GetRegisteredServerArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * GUID identifying the on-premises server. */ serverId: string; /** * Name of Storage Sync Service resource. */ storageSyncServiceName: string; } /** * Registered Server resource. */ export interface GetRegisteredServerResult { /** * Server auth type. */ readonly activeAuthType: string; /** * Registered Server Agent Version */ readonly agentVersion?: string; /** * Registered Server Agent Version Expiration Date */ readonly agentVersionExpirationDate: string; /** * Registered Server Agent Version Status */ readonly agentVersionStatus: string; /** * Server Application Id */ readonly applicationId?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Registered Server clusterId */ readonly clusterId?: string; /** * Registered Server clusterName */ readonly clusterName?: string; /** * Resource discoveryEndpointUri */ readonly discoveryEndpointUri?: string; /** * Friendly Name */ readonly friendlyName?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Apply server with newly discovered ApplicationId if available. */ readonly identity: boolean; /** * Registered Server last heart beat */ readonly lastHeartBeat?: string; /** * Resource Last Operation Name */ readonly lastOperationName?: string; /** * Registered Server lastWorkflowId */ readonly lastWorkflowId?: string; /** * Latest Server Application Id discovered from the server. It is not yet applied. */ readonly latestApplicationId?: string; /** * Management Endpoint Uri */ readonly managementEndpointUri?: string; /** * Monitoring Configuration */ readonly monitoringConfiguration?: string; /** * Telemetry Endpoint Uri */ readonly monitoringEndpointUri?: string; /** * The name of the resource */ readonly name: string; /** * Registered Server Provisioning State */ readonly provisioningState?: string; /** * Resource Location */ readonly resourceLocation?: string; /** * Registered Server Certificate */ readonly serverCertificate?: string; /** * Registered Server serverId */ readonly serverId?: string; /** * Registered Server Management Error Code */ readonly serverManagementErrorCode?: number; /** * Server name */ readonly serverName: string; /** * Registered Server OS Version */ readonly serverOSVersion?: string; /** * Registered Server serverRole */ readonly serverRole?: string; /** * Service Location */ readonly serviceLocation?: string; /** * Registered Server storageSyncServiceUid */ readonly storageSyncServiceUid?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.storagesync.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a given registered server. * * Uses Azure REST API version 2022-09-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 function getRegisteredServerOutput(args: GetRegisteredServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegisteredServerResult>; export interface GetRegisteredServerOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * GUID identifying the on-premises server. */ serverId: pulumi.Input<string>; /** * Name of Storage Sync Service resource. */ storageSyncServiceName: pulumi.Input<string>; }