1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. getAvailabilitySet
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.scvmm.getAvailabilitySet

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Implements AvailabilitySet GET method.

Uses Azure REST API version 2023-04-01-preview.

Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native scvmm [ApiVersion]. See the version guide for details.

Using getAvailabilitySet

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 getAvailabilitySet(args: GetAvailabilitySetArgs, opts?: InvokeOptions): Promise<GetAvailabilitySetResult>
function getAvailabilitySetOutput(args: GetAvailabilitySetOutputArgs, opts?: InvokeOptions): Output<GetAvailabilitySetResult>
Copy
def get_availability_set(availability_set_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetAvailabilitySetResult
def get_availability_set_output(availability_set_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetAvailabilitySetResult]
Copy
func LookupAvailabilitySet(ctx *Context, args *LookupAvailabilitySetArgs, opts ...InvokeOption) (*LookupAvailabilitySetResult, error)
func LookupAvailabilitySetOutput(ctx *Context, args *LookupAvailabilitySetOutputArgs, opts ...InvokeOption) LookupAvailabilitySetResultOutput
Copy

> Note: This function is named LookupAvailabilitySet in the Go SDK.

public static class GetAvailabilitySet 
{
    public static Task<GetAvailabilitySetResult> InvokeAsync(GetAvailabilitySetArgs args, InvokeOptions? opts = null)
    public static Output<GetAvailabilitySetResult> Invoke(GetAvailabilitySetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAvailabilitySetResult> getAvailabilitySet(GetAvailabilitySetArgs args, InvokeOptions options)
public static Output<GetAvailabilitySetResult> getAvailabilitySet(GetAvailabilitySetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:scvmm:getAvailabilitySet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AvailabilitySetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the AvailabilitySet.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
AvailabilitySetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the AvailabilitySet.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
availabilitySetName
This property is required.
Changes to this property will trigger replacement.
String
Name of the AvailabilitySet.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
availabilitySetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the AvailabilitySet.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
availability_set_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the AvailabilitySet.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
availabilitySetName
This property is required.
Changes to this property will trigger replacement.
String
Name of the AvailabilitySet.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getAvailabilitySet Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource Name
ProvisioningState string
Gets or sets the provisioning state.
SystemData Pulumi.AzureNative.ScVmm.Outputs.SystemDataResponse
The system data.
Type string
Resource Type
AvailabilitySetName string
Name of the availability set.
ExtendedLocation Pulumi.AzureNative.ScVmm.Outputs.ExtendedLocationResponse
The extended location.
Location string
Gets or sets the location.
Tags Dictionary<string, string>
Resource tags
VmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource Name
ProvisioningState string
Gets or sets the provisioning state.
SystemData SystemDataResponse
The system data.
Type string
Resource Type
AvailabilitySetName string
Name of the availability set.
ExtendedLocation ExtendedLocationResponse
The extended location.
Location string
Gets or sets the location.
Tags map[string]string
Resource tags
VmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id
name String
Resource Name
provisioningState String
Gets or sets the provisioning state.
systemData SystemDataResponse
The system data.
type String
Resource Type
availabilitySetName String
Name of the availability set.
extendedLocation ExtendedLocationResponse
The extended location.
location String
Gets or sets the location.
tags Map<String,String>
Resource tags
vmmServerId String
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion string
The Azure API version of the resource.
id string
Resource Id
name string
Resource Name
provisioningState string
Gets or sets the provisioning state.
systemData SystemDataResponse
The system data.
type string
Resource Type
availabilitySetName string
Name of the availability set.
extendedLocation ExtendedLocationResponse
The extended location.
location string
Gets or sets the location.
tags {[key: string]: string}
Resource tags
vmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
azure_api_version str
The Azure API version of the resource.
id str
Resource Id
name str
Resource Name
provisioning_state str
Gets or sets the provisioning state.
system_data SystemDataResponse
The system data.
type str
Resource Type
availability_set_name str
Name of the availability set.
extended_location ExtendedLocationResponse
The extended location.
location str
Gets or sets the location.
tags Mapping[str, str]
Resource tags
vmm_server_id str
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id
name String
Resource Name
provisioningState String
Gets or sets the provisioning state.
systemData Property Map
The system data.
type String
Resource Type
availabilitySetName String
Name of the availability set.
extendedLocation Property Map
The extended location.
location String
Gets or sets the location.
tags Map<String>
Resource tags
vmmServerId String
ARM Id of the vmmServer resource in which this resource resides.

Supporting Types

ExtendedLocationResponse

Name string
The extended location name.
Type string
The extended location type.
Name string
The extended location name.
Type string
The extended location type.
name String
The extended location name.
type String
The extended location type.
name string
The extended location name.
type string
The extended location type.
name str
The extended location name.
type str
The extended location type.
name String
The extended location name.
type String
The extended location type.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi