This package is deprecated. We recommend using the new Equinix package.
Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED
equinix-metal.getFacility
Explore with Pulumi AI
This package is deprecated. We recommend using the new Equinix package.
Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED
Provides an Equinix Metal facility datasource.
Using getFacility
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 getFacility(args: GetFacilityArgs, opts?: InvokeOptions): Promise<GetFacilityResult>
function getFacilityOutput(args: GetFacilityOutputArgs, opts?: InvokeOptions): Output<GetFacilityResult>
def get_facility(capacities: Optional[Sequence[GetFacilityCapacity]] = None,
code: Optional[str] = None,
features_requireds: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetFacilityResult
def get_facility_output(capacities: Optional[pulumi.Input[Sequence[pulumi.Input[GetFacilityCapacityArgs]]]] = None,
code: Optional[pulumi.Input[str]] = None,
features_requireds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFacilityResult]
func GetFacility(ctx *Context, args *GetFacilityArgs, opts ...InvokeOption) (*GetFacilityResult, error)
func GetFacilityOutput(ctx *Context, args *GetFacilityOutputArgs, opts ...InvokeOption) GetFacilityResultOutput
> Note: This function is named GetFacility
in the Go SDK.
public static class GetFacility
{
public static Task<GetFacilityResult> InvokeAsync(GetFacilityArgs args, InvokeOptions? opts = null)
public static Output<GetFacilityResult> Invoke(GetFacilityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFacilityResult> getFacility(GetFacilityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: equinix-metal:index/getFacility:getFacility
arguments:
# arguments dictionary
The following arguments are supported:
- Code string
- The facility code
- Capacities
List<Pulumi.
Equinix Metal. Inputs. Get Facility Capacity> - (Optional) Ensure that queried facility has capacity for specified number of given plans
- Features
Requireds List<string> - Set of feature strings that the facility must have
- Code string
- The facility code
- Capacities
[]Get
Facility Capacity - (Optional) Ensure that queried facility has capacity for specified number of given plans
- Features
Requireds []string - Set of feature strings that the facility must have
- code String
- The facility code
- capacities
List<Get
Facility Capacity> - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds List<String> - Set of feature strings that the facility must have
- code string
- The facility code
- capacities
Get
Facility Capacity[] - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds string[] - Set of feature strings that the facility must have
- code str
- The facility code
- capacities
Sequence[Get
Facility Capacity] - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features_
requireds Sequence[str] - Set of feature strings that the facility must have
- code String
- The facility code
- capacities List<Property Map>
- (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds List<String> - Set of feature strings that the facility must have
getFacility Result
The following output properties are available:
- Code string
- Features List<string>
- The features of the facility
- Id string
- The provider-assigned unique ID for this managed resource.
- Metro string
- The metro code the facility is part of
- Name string
- The name of the facility
- Capacities
List<Pulumi.
Equinix Metal. Outputs. Get Facility Capacity> - (Optional) Ensure that queried facility has capacity for specified number of given plans
- Features
Requireds List<string>
- Code string
- Features []string
- The features of the facility
- Id string
- The provider-assigned unique ID for this managed resource.
- Metro string
- The metro code the facility is part of
- Name string
- The name of the facility
- Capacities
[]Get
Facility Capacity - (Optional) Ensure that queried facility has capacity for specified number of given plans
- Features
Requireds []string
- code String
- features List<String>
- The features of the facility
- id String
- The provider-assigned unique ID for this managed resource.
- metro String
- The metro code the facility is part of
- name String
- The name of the facility
- capacities
List<Get
Facility Capacity> - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds List<String>
- code string
- features string[]
- The features of the facility
- id string
- The provider-assigned unique ID for this managed resource.
- metro string
- The metro code the facility is part of
- name string
- The name of the facility
- capacities
Get
Facility Capacity[] - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds string[]
- code str
- features Sequence[str]
- The features of the facility
- id str
- The provider-assigned unique ID for this managed resource.
- metro str
- The metro code the facility is part of
- name str
- The name of the facility
- capacities
Sequence[Get
Facility Capacity] - (Optional) Ensure that queried facility has capacity for specified number of given plans
- features_
requireds Sequence[str]
- code String
- features List<String>
- The features of the facility
- id String
- The provider-assigned unique ID for this managed resource.
- metro String
- The metro code the facility is part of
- name String
- The name of the facility
- capacities List<Property Map>
- (Optional) Ensure that queried facility has capacity for specified number of given plans
- features
Requireds List<String>
Supporting Types
GetFacilityCapacity
Package Details
- Repository
- Equinix Metal pulumi/pulumi-equinix-metal
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
metal
Terraform Provider.
This package is deprecated. We recommend using the new Equinix package.
Equinix Metal v3.2.1 published on Thursday, Dec 30, 2021 by DEPRECATED