@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about a proximity placement group .
*
* Uses Azure REST API version 2024-11-01.
*
* Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getProximityPlacementGroup(args: GetProximityPlacementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetProximityPlacementGroupResult>;
export interface GetProximityPlacementGroupArgs {
/**
* includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
*/
includeColocationStatus?: string;
/**
* The name of the proximity placement group.
*/
proximityPlacementGroupName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Specifies information about the proximity placement group.
*/
export interface GetProximityPlacementGroupResult {
/**
* A list of references to all availability sets in the proximity placement group.
*/
readonly availabilitySets: outputs.compute.SubResourceWithColocationStatusResponse[];
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Describes colocation status of the Proximity Placement Group.
*/
readonly colocationStatus?: outputs.compute.InstanceViewStatusResponse;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Specifies the user intent of the proximity placement group.
*/
readonly intent?: outputs.compute.ProximityPlacementGroupPropertiesIntentResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.
*/
readonly proximityPlacementGroupType?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.compute.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;
/**
* A list of references to all virtual machine scale sets in the proximity placement group.
*/
readonly virtualMachineScaleSets: outputs.compute.SubResourceWithColocationStatusResponse[];
/**
* A list of references to all virtual machines in the proximity placement group.
*/
readonly virtualMachines: outputs.compute.SubResourceWithColocationStatusResponse[];
/**
* The availability zones.
*/
readonly zones?: string[];
}
/**
* Retrieves information about a proximity placement group .
*
* Uses Azure REST API version 2024-11-01.
*
* Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getProximityPlacementGroupOutput(args: GetProximityPlacementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProximityPlacementGroupResult>;
export interface GetProximityPlacementGroupOutputArgs {
/**
* includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
*/
includeColocationStatus?: pulumi.Input<string>;
/**
* The name of the proximity placement group.
*/
proximityPlacementGroupName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}