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
Get information about a VPC Service Controls supported service, including its supported methods.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const storage = gcp.accesscontextmanager.getSupportedService({
serviceName: "storage.googleapis.com",
});
import pulumi
import pulumi_gcp as gcp
storage = gcp.accesscontextmanager.get_supported_service(service_name="storage.googleapis.com")
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.GetSupportedService(ctx, &accesscontextmanager.GetSupportedServiceArgs{
ServiceName: "storage.googleapis.com",
}, 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 storage = Gcp.AccessContextManager.GetSupportedService.Invoke(new()
{
ServiceName = "storage.googleapis.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.accesscontextmanager.AccesscontextmanagerFunctions;
import com.pulumi.gcp.accesscontextmanager.inputs.GetSupportedServiceArgs;
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 storage = AccesscontextmanagerFunctions.getSupportedService(GetSupportedServiceArgs.builder()
.serviceName("storage.googleapis.com")
.build());
}
}
variables:
storage:
fn::invoke:
function: gcp:accesscontextmanager:getSupportedService
arguments:
serviceName: storage.googleapis.com
Use supported methods in a service perimeter
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const storage = gcp.accesscontextmanager.getSupportedService({
serviceName: "storage.googleapis.com",
});
export const storageMethods = storage.then(storage => storage.supportedMethods);
import pulumi
import pulumi_gcp as gcp
storage = gcp.accesscontextmanager.get_supported_service(service_name="storage.googleapis.com")
pulumi.export("storageMethods", storage.supported_methods)
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 {
storage, err := accesscontextmanager.GetSupportedService(ctx, &accesscontextmanager.GetSupportedServiceArgs{
ServiceName: "storage.googleapis.com",
}, nil)
if err != nil {
return err
}
ctx.Export("storageMethods", storage.SupportedMethods)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var storage = Gcp.AccessContextManager.GetSupportedService.Invoke(new()
{
ServiceName = "storage.googleapis.com",
});
return new Dictionary<string, object?>
{
["storageMethods"] = storage.Apply(getSupportedServiceResult => getSupportedServiceResult.SupportedMethods),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.accesscontextmanager.AccesscontextmanagerFunctions;
import com.pulumi.gcp.accesscontextmanager.inputs.GetSupportedServiceArgs;
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 storage = AccesscontextmanagerFunctions.getSupportedService(GetSupportedServiceArgs.builder()
.serviceName("storage.googleapis.com")
.build());
ctx.export("storageMethods", storage.supportedMethods());
}
}
variables:
storage:
fn::invoke:
function: gcp:accesscontextmanager:getSupportedService
arguments:
serviceName: storage.googleapis.com
outputs:
storageMethods: ${storage.supportedMethods}
Using getSupportedService
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 getSupportedService(args: GetSupportedServiceArgs, opts?: InvokeOptions): Promise<GetSupportedServiceResult>
function getSupportedServiceOutput(args: GetSupportedServiceOutputArgs, opts?: InvokeOptions): Output<GetSupportedServiceResult>def get_supported_service(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSupportedServiceResult
def get_supported_service_output(service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSupportedServiceResult]func GetSupportedService(ctx *Context, args *GetSupportedServiceArgs, opts ...InvokeOption) (*GetSupportedServiceResult, error)
func GetSupportedServiceOutput(ctx *Context, args *GetSupportedServiceOutputArgs, opts ...InvokeOption) GetSupportedServiceResultOutput> Note: This function is named GetSupportedService in the Go SDK.
public static class GetSupportedService
{
public static Task<GetSupportedServiceResult> InvokeAsync(GetSupportedServiceArgs args, InvokeOptions? opts = null)
public static Output<GetSupportedServiceResult> Invoke(GetSupportedServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSupportedServiceResult> getSupportedService(GetSupportedServiceArgs args, InvokeOptions options)
public static Output<GetSupportedServiceResult> getSupportedService(GetSupportedServiceArgs args, InvokeOptions options)
fn::invoke:
function: gcp:accesscontextmanager/getSupportedService:getSupportedService
arguments:
# arguments dictionaryThe following arguments are supported:
- Service
Name string - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
- Service
Name string - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
- service
Name String - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
- service
Name string - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
- service_
name str - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
- service
Name String - The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example,
storage.googleapis.com.
getSupportedService Result
The following output properties are available:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Known
Limitations bool - True if the service is supported with some limitations. Check documentation for details.
- Service
Name string - Service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - Support
Stage string - The support stage of the service.
- Supported
Methods List<GetSupported Service Supported Method> - The list of supported methods for this service. Each method contains the following fields:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Known
Limitations bool - True if the service is supported with some limitations. Check documentation for details.
- Service
Name string - Service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - Support
Stage string - The support stage of the service.
- Supported
Methods []GetSupported Service Supported Method - The list of supported methods for this service. Each method contains the following fields:
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- known
Limitations Boolean - True if the service is supported with some limitations. Check documentation for details.
- service
Name String - service
Support StringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage String - The support stage of the service.
- supported
Methods List<GetSupported Service Supported Method> - The list of supported methods for this service. Each method contains the following fields:
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- known
Limitations boolean - True if the service is supported with some limitations. Check documentation for details.
- service
Name string - service
Support stringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage string - The support stage of the service.
- supported
Methods GetSupported Service Supported Method[] - The list of supported methods for this service. Each method contains the following fields:
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- known_
limitations bool - True if the service is supported with some limitations. Check documentation for details.
- service_
name str - service_
support_ strstage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support_
stage str - The support stage of the service.
- supported_
methods Sequence[GetSupported Service Supported Method] - The list of supported methods for this service. Each method contains the following fields:
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- known
Limitations Boolean - True if the service is supported with some limitations. Check documentation for details.
- service
Name String - service
Support StringStage - The support stage of the service. Values are
GA,PREVIEW, andDEPRECATED. - support
Stage String - The support stage of the service.
- supported
Methods List<Property Map> - The list of supported methods for this service. Each method contains the following fields:
- title String
- The name of the supported product, such as 'Cloud Storage'.
Supporting Types
GetSupportedServiceSupportedMethod
- Method string
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - Permission string
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
- Method string
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - Permission string
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
- method String
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - permission String
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
- method string
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - permission string
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
- method str
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - permission str
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
- method String
- A valid method name for the respective request mode. Must be a fully qualified name, for example,
storage.googleapis.com/BucketService.GetBucket. - permission String
- A valid Cloud IAM permission for the respective request mode, for example,
storage.buckets.get.
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
