outscale 1.0.1 published on Thursday, Mar 13, 2025 by outscale
outscale.getNetAccessPointServices
Explore with Pulumi AI
Provides information about Net access point services.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
List all services available to create Net access points
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const all_services = outscale.getNetAccessPointServices({});
import pulumi
import pulumi_outscale as outscale
all_services = outscale.get_net_access_point_services()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetNetAccessPointServices(ctx, &outscale.GetNetAccessPointServicesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var all_services = Outscale.GetNetAccessPointServices.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetNetAccessPointServicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all-services = OutscaleFunctions.getNetAccessPointServices();
}
}
variables:
all-services:
fn::invoke:
function: outscale:getNetAccessPointServices
arguments: {}
List one or more services according to their service IDs
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const services01 = outscale.getNetAccessPointServices({
filters: [{
name: "service_ids",
values: [
"pl-12345678",
"pl-12345679",
],
}],
});
import pulumi
import pulumi_outscale as outscale
services01 = outscale.get_net_access_point_services(filters=[{
"name": "service_ids",
"values": [
"pl-12345678",
"pl-12345679",
],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetNetAccessPointServices(ctx, &outscale.GetNetAccessPointServicesArgs{
Filters: []outscale.GetNetAccessPointServicesFilter{
{
Name: "service_ids",
Values: []string{
"pl-12345678",
"pl-12345679",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var services01 = Outscale.GetNetAccessPointServices.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs
{
Name = "service_ids",
Values = new[]
{
"pl-12345678",
"pl-12345679",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetNetAccessPointServicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var services01 = OutscaleFunctions.getNetAccessPointServices(GetNetAccessPointServicesArgs.builder()
.filters(GetNetAccessPointServicesFilterArgs.builder()
.name("service_ids")
.values(
"pl-12345678",
"pl-12345679")
.build())
.build());
}
}
variables:
services01:
fn::invoke:
function: outscale:getNetAccessPointServices
arguments:
filters:
- name: service_ids
values:
- pl-12345678
- pl-12345679
List one or more services according to their service names
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const services02 = outscale.getNetAccessPointServices({
filters: [{
name: "service_names",
values: ["com.outscale.eu-west-2.api"],
}],
});
import pulumi
import pulumi_outscale as outscale
services02 = outscale.get_net_access_point_services(filters=[{
"name": "service_names",
"values": ["com.outscale.eu-west-2.api"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetNetAccessPointServices(ctx, &outscale.GetNetAccessPointServicesArgs{
Filters: []outscale.GetNetAccessPointServicesFilter{
{
Name: "service_names",
Values: []string{
"com.outscale.eu-west-2.api",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var services02 = Outscale.GetNetAccessPointServices.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs
{
Name = "service_names",
Values = new[]
{
"com.outscale.eu-west-2.api",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetNetAccessPointServicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var services02 = OutscaleFunctions.getNetAccessPointServices(GetNetAccessPointServicesArgs.builder()
.filters(GetNetAccessPointServicesFilterArgs.builder()
.name("service_names")
.values("com.outscale.eu-west-2.api")
.build())
.build());
}
}
variables:
services02:
fn::invoke:
function: outscale:getNetAccessPointServices
arguments:
filters:
- name: service_names
values:
- com.outscale.eu-west-2.api
Using getNetAccessPointServices
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 getNetAccessPointServices(args: GetNetAccessPointServicesArgs, opts?: InvokeOptions): Promise<GetNetAccessPointServicesResult>
function getNetAccessPointServicesOutput(args: GetNetAccessPointServicesOutputArgs, opts?: InvokeOptions): Output<GetNetAccessPointServicesResult>
def get_net_access_point_services(filters: Optional[Sequence[GetNetAccessPointServicesFilter]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetAccessPointServicesResult
def get_net_access_point_services_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetAccessPointServicesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetAccessPointServicesResult]
func GetNetAccessPointServices(ctx *Context, args *GetNetAccessPointServicesArgs, opts ...InvokeOption) (*GetNetAccessPointServicesResult, error)
func GetNetAccessPointServicesOutput(ctx *Context, args *GetNetAccessPointServicesOutputArgs, opts ...InvokeOption) GetNetAccessPointServicesResultOutput
> Note: This function is named GetNetAccessPointServices
in the Go SDK.
public static class GetNetAccessPointServices
{
public static Task<GetNetAccessPointServicesResult> InvokeAsync(GetNetAccessPointServicesArgs args, InvokeOptions? opts = null)
public static Output<GetNetAccessPointServicesResult> Invoke(GetNetAccessPointServicesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetAccessPointServicesResult> getNetAccessPointServices(GetNetAccessPointServicesArgs args, InvokeOptions options)
public static Output<GetNetAccessPointServicesResult> getNetAccessPointServices(GetNetAccessPointServicesArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getNetAccessPointServices:getNetAccessPointServices
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Net Access Point Services Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Filters
[]Get
Net Access Point Services Filter - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- filters
List<Get
Net Access Point Services Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- filters
Get
Net Access Point Services Filter[] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id string
- filters
Sequence[Get
Net Access Point Services Filter] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id str
- filters List<Property Map>
- A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
getNetAccessPointServices Result
The following output properties are available:
- Id string
- Request
Id string - Services
List<Get
Net Access Point Services Service> - The names of the services you can use for Net access points.
- Filters
List<Get
Net Access Point Services Filter>
- Id string
- Request
Id string - Services
[]Get
Net Access Point Services Service - The names of the services you can use for Net access points.
- Filters
[]Get
Net Access Point Services Filter
- id String
- request
Id String - services
List<Get
Net Access Point Services Service> - The names of the services you can use for Net access points.
- filters
List<Get
Net Access Point Services Filter>
- id string
- request
Id string - services
Get
Net Access Point Services Service[] - The names of the services you can use for Net access points.
- filters
Get
Net Access Point Services Filter[]
- id str
- request_
id str - services
Sequence[Get
Net Access Point Services Service] - The names of the services you can use for Net access points.
- filters
Sequence[Get
Net Access Point Services Filter]
- id String
- request
Id String - services List<Property Map>
- The names of the services you can use for Net access points.
- filters List<Property Map>
Supporting Types
GetNetAccessPointServicesFilter
GetNetAccessPointServicesService
- Ip
Ranges List<string> - The list of network prefixes used by the service, in CIDR notation.
- Service
Id string - The ID of the service.
- Service
Name string - The name of the service.
- Ip
Ranges []string - The list of network prefixes used by the service, in CIDR notation.
- Service
Id string - The ID of the service.
- Service
Name string - The name of the service.
- ip
Ranges List<String> - The list of network prefixes used by the service, in CIDR notation.
- service
Id String - The ID of the service.
- service
Name String - The name of the service.
- ip
Ranges string[] - The list of network prefixes used by the service, in CIDR notation.
- service
Id string - The ID of the service.
- service
Name string - The name of the service.
- ip_
ranges Sequence[str] - The list of network prefixes used by the service, in CIDR notation.
- service_
id str - The ID of the service.
- service_
name str - The name of the service.
- ip
Ranges List<String> - The list of network prefixes used by the service, in CIDR notation.
- service
Id String - The ID of the service.
- service
Name String - The name of the service.
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscale
Terraform Provider.