@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Returns account details for the given account name.
*
* Uses Azure REST API version 2023-07-01.
*/
export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
export interface GetAccountArgs {
/**
* Account name.
*/
accountName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* Device Update account details.
*/
export interface GetAccountResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* CMK encryption at rest properties
*/
readonly encryption?: outputs.deviceupdate.EncryptionResponse;
/**
* API host name.
*/
readonly hostName: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The type of identity used for the resource.
*/
readonly identity?: outputs.deviceupdate.ManagedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Device Update account primary and failover location details
*/
readonly locations: outputs.deviceupdate.LocationResponse[];
/**
* The name of the resource
*/
readonly name: string;
/**
* List of private endpoint connections associated with the account.
*/
readonly privateEndpointConnections?: outputs.deviceupdate.PrivateEndpointConnectionResponse[];
/**
* Provisioning state.
*/
readonly provisioningState: string;
/**
* Whether or not public network access is allowed for the account.
*/
readonly publicNetworkAccess?: string;
/**
* Device Update Sku
*/
readonly sku?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.deviceupdate.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Returns account details for the given account name.
*
* Uses Azure REST API version 2023-07-01.
*/
export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountResult>;
export interface GetAccountOutputArgs {
/**
* Account name.
*/
accountName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}