1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. getAvailabilitySet
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

azure-native.scvmm.getAvailabilitySet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

    Implements AvailabilitySet GET method. Azure REST API version: 2022-05-21-preview.

    Other available API versions: 2023-04-01-preview, 2023-10-07.

    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>
    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]
    func LookupAvailabilitySet(ctx *Context, args *LookupAvailabilitySetArgs, opts ...InvokeOption) (*LookupAvailabilitySetResult, error)
    func LookupAvailabilitySetOutput(ctx *Context, args *LookupAvailabilitySetOutputArgs, opts ...InvokeOption) LookupAvailabilitySetResultOutput

    > 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)
    }
    public static CompletableFuture<GetAvailabilitySetResult> getAvailabilitySet(GetAvailabilitySetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:scvmm:getAvailabilitySet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AvailabilitySetName string
    Name of the AvailabilitySet.
    ResourceGroupName string
    The name of the resource group.
    AvailabilitySetName string
    Name of the AvailabilitySet.
    ResourceGroupName string
    The name of the resource group.
    availabilitySetName String
    Name of the AvailabilitySet.
    resourceGroupName String
    The name of the resource group.
    availabilitySetName string
    Name of the AvailabilitySet.
    resourceGroupName string
    The name of the resource group.
    availability_set_name str
    Name of the AvailabilitySet.
    resource_group_name str
    The name of the resource group.
    availabilitySetName String
    Name of the AvailabilitySet.
    resourceGroupName String
    The name of the resource group.

    getAvailabilitySet Result

    The following output properties are available:

    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.
    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.
    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.
    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.
    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.
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi