Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.servicemanagement/v1.getService
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a managed service. Authentication is required unless the service is public.
Using getService
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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:servicemanagement/v1:getService
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Name string
- Service
Name string
- service
Name String
- service
Name string
- service_
name str
- service
Name String
getService Result
The following output properties are available:
- Producer
Project stringId - ID of the project that produces and owns this service.
- Service
Name string - The name of the service. See the overview for naming requirements.
- Producer
Project stringId - ID of the project that produces and owns this service.
- Service
Name string - The name of the service. See the overview for naming requirements.
- producer
Project StringId - ID of the project that produces and owns this service.
- service
Name String - The name of the service. See the overview for naming requirements.
- producer
Project stringId - ID of the project that produces and owns this service.
- service
Name string - The name of the service. See the overview for naming requirements.
- producer_
project_ strid - ID of the project that produces and owns this service.
- service_
name str - The name of the service. See the overview for naming requirements.
- producer
Project StringId - ID of the project that produces and owns this service.
- service
Name String - The name of the service. See the overview for naming requirements.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi