Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Lists all VPC Service Controls supported services.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const all = gcp.accesscontextmanager.getSupportedServices({});
import pulumi
import pulumi_gcp as gcp
all = gcp.accesscontextmanager.get_supported_services()
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/accesscontextmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := accesscontextmanager.GetSupportedServices(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var all = Gcp.AccessContextManager.GetSupportedServices.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.accesscontextmanager.AccesscontextmanagerFunctions;
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 = AccesscontextmanagerFunctions.getSupportedServices(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
all:
fn::invoke:
function: gcp:accesscontextmanager:getSupportedServices
arguments: {}
Filter to GA services available on restricted VIP
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
export = async () => {
const all = await gcp.accesscontextmanager.getSupportedServices({});
const gaRestrictedServices = .filter(s => s.serviceSupportStage == "GA" && s.availableOnRestrictedVip).map(s => (s.name));
return {
gaRestrictedServices: gaRestrictedServices,
};
}
import pulumi
import pulumi_gcp as gcp
all = gcp.accesscontextmanager.get_supported_services()
ga_restricted_services = [s.name for s in all.supported_services if s.service_support_stage == "GA" and s.available_on_restricted_vip]
pulumi.export("gaRestrictedServices", ga_restricted_services)
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var all = Gcp.AccessContextManager.GetSupportedServices.Invoke();
var gaRestrictedServices = .Where(s => s.ServiceSupportStage == "GA" && s.AvailableOnRestrictedVip).Select(s =>
{
return s.Name;
}).ToList();
return new Dictionary<string, object?>
{
["gaRestrictedServices"] = gaRestrictedServices,
};
});
Example coming soon!
Example coming soon!
Using getSupportedServices
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 getSupportedServices(opts?: InvokeOptions): Promise<GetSupportedServicesResult>
function getSupportedServicesOutput(opts?: InvokeOptions): Output<GetSupportedServicesResult>def get_supported_services(opts: Optional[InvokeOptions] = None) -> GetSupportedServicesResult
def get_supported_services_output(opts: Optional[InvokeOptions] = None) -> Output[GetSupportedServicesResult]func GetSupportedServices(ctx *Context, opts ...InvokeOption) (*GetSupportedServicesResult, error)
func GetSupportedServicesOutput(ctx *Context, opts ...InvokeOption) GetSupportedServicesResultOutput> Note: This function is named GetSupportedServices in the Go SDK.
public static class GetSupportedServices
{
public static Task<GetSupportedServicesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetSupportedServicesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetSupportedServicesResult> getSupportedServices(InvokeOptions options)
public static Output<GetSupportedServicesResult> getSupportedServices(InvokeOptions options)
fn::invoke:
function: gcp:accesscontextmanager/getSupportedServices:getSupportedServices
arguments:
# arguments dictionarygetSupportedServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Supported
Services List<GetSupported Services Supported Service> - The list of VPC-SC supported services. Each service contains the following fields:
- Id string
- The provider-assigned unique ID for this managed resource.
- Supported
Services []GetSupported Services Supported Service - The list of VPC-SC supported services. Each service contains the following fields:
- id String
- The provider-assigned unique ID for this managed resource.
- supported
Services List<GetSupported Services Supported Service> - The list of VPC-SC supported services. Each service contains the following fields:
- id string
- The provider-assigned unique ID for this managed resource.
- supported
Services GetSupported Services Supported Service[] - The list of VPC-SC supported services. Each service contains the following fields:
- id str
- The provider-assigned unique ID for this managed resource.
- supported_
services Sequence[GetSupported Services Supported Service] - The list of VPC-SC supported services. Each service contains the following fields:
- id String
- The provider-assigned unique ID for this managed resource.
- supported
Services List<Property Map> - The list of VPC-SC supported services. Each service contains the following fields:
Supporting Types
GetSupportedServicesSupportedService
- Available
On boolRestricted Vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- Known
Limitations bool - True if the service is supported with some limitations. Check documentation for details.
- Name string
- The service name or address of the supported service, such as
storage.googleapis.com. - Service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - Support
Stage string - The support stage of the service.
- Title string
- The name of the supported product, such as 'Cloud Storage'.
- Available
On boolRestricted Vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- Known
Limitations bool - True if the service is supported with some limitations. Check documentation for details.
- Name string
- The service name or address of the supported service, such as
storage.googleapis.com. - Service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - Support
Stage string - The support stage of the service.
- Title string
- The name of the supported product, such as 'Cloud Storage'.
- available
On BooleanRestricted Vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- known
Limitations Boolean - True if the service is supported with some limitations. Check documentation for details.
- name String
- The service name or address of the supported service, such as
storage.googleapis.com. - service
Support StringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage String - The support stage of the service.
- title String
- The name of the supported product, such as 'Cloud Storage'.
- available
On booleanRestricted Vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- known
Limitations boolean - True if the service is supported with some limitations. Check documentation for details.
- name string
- The service name or address of the supported service, such as
storage.googleapis.com. - service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage string - The support stage of the service.
- title string
- The name of the supported product, such as 'Cloud Storage'.
- available_
on_ boolrestricted_ vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- known_
limitations bool - True if the service is supported with some limitations. Check documentation for details.
- name str
- The service name or address of the supported service, such as
storage.googleapis.com. - service_
support_ strstage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support_
stage str - The support stage of the service.
- title str
- The name of the supported product, such as 'Cloud Storage'.
- available
On BooleanRestricted Vip - True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
- known
Limitations Boolean - True if the service is supported with some limitations. Check documentation for details.
- name String
- The service name or address of the supported service, such as
storage.googleapis.com. - service
Support StringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage String - The support stage of the service.
- title String
- The name of the supported product, such as 'Cloud Storage'.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
