azure-native.compute.getProximityPlacementGroup
Explore with Pulumi AI
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 for details.
Using getProximityPlacementGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProximityPlacementGroup(args: GetProximityPlacementGroupArgs, opts?: InvokeOptions): Promise<GetProximityPlacementGroupResult>
function getProximityPlacementGroupOutput(args: GetProximityPlacementGroupOutputArgs, opts?: InvokeOptions): Output<GetProximityPlacementGroupResult>
def get_proximity_placement_group(include_colocation_status: Optional[str] = None,
proximity_placement_group_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProximityPlacementGroupResult
def get_proximity_placement_group_output(include_colocation_status: Optional[pulumi.Input[str]] = None,
proximity_placement_group_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProximityPlacementGroupResult]
func LookupProximityPlacementGroup(ctx *Context, args *LookupProximityPlacementGroupArgs, opts ...InvokeOption) (*LookupProximityPlacementGroupResult, error)
func LookupProximityPlacementGroupOutput(ctx *Context, args *LookupProximityPlacementGroupOutputArgs, opts ...InvokeOption) LookupProximityPlacementGroupResultOutput
> Note: This function is named LookupProximityPlacementGroup
in the Go SDK.
public static class GetProximityPlacementGroup
{
public static Task<GetProximityPlacementGroupResult> InvokeAsync(GetProximityPlacementGroupArgs args, InvokeOptions? opts = null)
public static Output<GetProximityPlacementGroupResult> Invoke(GetProximityPlacementGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProximityPlacementGroupResult> getProximityPlacementGroup(GetProximityPlacementGroupArgs args, InvokeOptions options)
public static Output<GetProximityPlacementGroupResult> getProximityPlacementGroup(GetProximityPlacementGroupArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:compute:getProximityPlacementGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Proximity
Placement stringGroup Name - The name of the proximity placement group.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Include
Colocation stringStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
- Proximity
Placement stringGroup Name - The name of the proximity placement group.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Include
Colocation stringStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
- proximity
Placement StringGroup Name - The name of the proximity placement group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- include
Colocation StringStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
- proximity
Placement stringGroup Name - The name of the proximity placement group.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- include
Colocation stringStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
- proximity_
placement_ strgroup_ name - The name of the proximity placement group.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- include_
colocation_ strstatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
- proximity
Placement StringGroup Name - The name of the proximity placement group.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- include
Colocation StringStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
getProximityPlacementGroup Result
The following output properties are available:
- Availability
Sets List<Pulumi.Azure Native. Compute. Outputs. Sub Resource With Colocation Status Response> - A list of references to all availability sets in the proximity placement group.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Compute. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Virtual
Machine List<Pulumi.Scale Sets Azure Native. Compute. Outputs. Sub Resource With Colocation Status Response> - A list of references to all virtual machine scale sets in the proximity placement group.
- Virtual
Machines List<Pulumi.Azure Native. Compute. Outputs. Sub Resource With Colocation Status Response> - A list of references to all virtual machines in the proximity placement group.
- Colocation
Status Pulumi.Azure Native. Compute. Outputs. Instance View Status Response - Describes colocation status of the Proximity Placement Group.
- Intent
Pulumi.
Azure Native. Compute. Outputs. Proximity Placement Group Properties Intent Response - Specifies the user intent of the proximity placement group.
- Proximity
Placement stringGroup Type - 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.
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- The availability zones.
- Availability
Sets []SubResource With Colocation Status Response - A list of references to all availability sets in the proximity placement group.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Virtual
Machine []SubScale Sets Resource With Colocation Status Response - A list of references to all virtual machine scale sets in the proximity placement group.
- Virtual
Machines []SubResource With Colocation Status Response - A list of references to all virtual machines in the proximity placement group.
- Colocation
Status InstanceView Status Response - Describes colocation status of the Proximity Placement Group.
- Intent
Proximity
Placement Group Properties Intent Response - Specifies the user intent of the proximity placement group.
- Proximity
Placement stringGroup Type - 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.
- map[string]string
- Resource tags.
- Zones []string
- The availability zones.
- availability
Sets List<SubResource With Colocation Status Response> - A list of references to all availability sets in the proximity placement group.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine List<SubScale Sets Resource With Colocation Status Response> - A list of references to all virtual machine scale sets in the proximity placement group.
- virtual
Machines List<SubResource With Colocation Status Response> - A list of references to all virtual machines in the proximity placement group.
- colocation
Status InstanceView Status Response - Describes colocation status of the Proximity Placement Group.
- intent
Proximity
Placement Group Properties Intent Response - Specifies the user intent of the proximity placement group.
- proximity
Placement StringGroup Type - 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.
- Map<String,String>
- Resource tags.
- zones List<String>
- The availability zones.
- availability
Sets SubResource With Colocation Status Response[] - A list of references to all availability sets in the proximity placement group.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine SubScale Sets Resource With Colocation Status Response[] - A list of references to all virtual machine scale sets in the proximity placement group.
- virtual
Machines SubResource With Colocation Status Response[] - A list of references to all virtual machines in the proximity placement group.
- colocation
Status InstanceView Status Response - Describes colocation status of the Proximity Placement Group.
- intent
Proximity
Placement Group Properties Intent Response - Specifies the user intent of the proximity placement group.
- proximity
Placement stringGroup Type - 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.
- {[key: string]: string}
- Resource tags.
- zones string[]
- The availability zones.
- availability_
sets Sequence[SubResource With Colocation Status Response] - A list of references to all availability sets in the proximity placement group.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual_
machine_ Sequence[Subscale_ sets Resource With Colocation Status Response] - A list of references to all virtual machine scale sets in the proximity placement group.
- virtual_
machines Sequence[SubResource With Colocation Status Response] - A list of references to all virtual machines in the proximity placement group.
- colocation_
status InstanceView Status Response - Describes colocation status of the Proximity Placement Group.
- intent
Proximity
Placement Group Properties Intent Response - Specifies the user intent of the proximity placement group.
- proximity_
placement_ strgroup_ type - 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.
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- The availability zones.
- availability
Sets List<Property Map> - A list of references to all availability sets in the proximity placement group.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine List<Property Map>Scale Sets - A list of references to all virtual machine scale sets in the proximity placement group.
- virtual
Machines List<Property Map> - A list of references to all virtual machines in the proximity placement group.
- colocation
Status Property Map - Describes colocation status of the Proximity Placement Group.
- intent Property Map
- Specifies the user intent of the proximity placement group.
- proximity
Placement StringGroup Type - 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.
- Map<String>
- Resource tags.
- zones List<String>
- The availability zones.
Supporting Types
InstanceViewStatusResponse
- Code string
- The status code.
- Display
Status string - The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- Code string
- The status code.
- Display
Status string - The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- code String
- The status code.
- display
Status String - The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
- code string
- The status code.
- display
Status string - The short localizable label for the status.
- level string
- The level code.
- message string
- The detailed status message, including for alerts and error messages.
- time string
- The time of the status.
- code str
- The status code.
- display_
status str - The short localizable label for the status.
- level str
- The level code.
- message str
- The detailed status message, including for alerts and error messages.
- time str
- The time of the status.
- code String
- The status code.
- display
Status String - The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
ProximityPlacementGroupPropertiesIntentResponse
- Vm
Sizes List<string> - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
- Vm
Sizes []string - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
- vm
Sizes List<String> - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
- vm
Sizes string[] - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
- vm_
sizes Sequence[str] - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
- vm
Sizes List<String> - Specifies possible sizes of virtual machines that can be created in the proximity placement group.
SubResourceWithColocationStatusResponse
- Colocation
Status Pulumi.Azure Native. Compute. Inputs. Instance View Status Response - Describes colocation status of a resource in the Proximity Placement Group.
- Id string
- Resource Id
- Colocation
Status InstanceView Status Response - Describes colocation status of a resource in the Proximity Placement Group.
- Id string
- Resource Id
- colocation
Status InstanceView Status Response - Describes colocation status of a resource in the Proximity Placement Group.
- id String
- Resource Id
- colocation
Status InstanceView Status Response - Describes colocation status of a resource in the Proximity Placement Group.
- id string
- Resource Id
- colocation_
status InstanceView Status Response - Describes colocation status of a resource in the Proximity Placement Group.
- id str
- Resource Id
- colocation
Status Property Map - Describes colocation status of a resource in the Proximity Placement Group.
- id String
- Resource Id
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0