1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. getResourcefile

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.apigee/v1.getResourcefile

Explore with Pulumi AI

google-native logo

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 the contents of a resource file. For more information about resource files, see Resource files.

    Using getResourcefile

    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 getResourcefile(args: GetResourcefileArgs, opts?: InvokeOptions): Promise<GetResourcefileResult>
    function getResourcefileOutput(args: GetResourcefileOutputArgs, opts?: InvokeOptions): Output<GetResourcefileResult>
    def get_resourcefile(environment_id: Optional[str] = None,
                         name: Optional[str] = None,
                         organization_id: Optional[str] = None,
                         type: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetResourcefileResult
    def get_resourcefile_output(environment_id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         organization_id: Optional[pulumi.Input[str]] = None,
                         type: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetResourcefileResult]
    func LookupResourcefile(ctx *Context, args *LookupResourcefileArgs, opts ...InvokeOption) (*LookupResourcefileResult, error)
    func LookupResourcefileOutput(ctx *Context, args *LookupResourcefileOutputArgs, opts ...InvokeOption) LookupResourcefileResultOutput

    > Note: This function is named LookupResourcefile in the Go SDK.

    public static class GetResourcefile 
    {
        public static Task<GetResourcefileResult> InvokeAsync(GetResourcefileArgs args, InvokeOptions? opts = null)
        public static Output<GetResourcefileResult> Invoke(GetResourcefileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourcefileResult> getResourcefile(GetResourcefileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:apigee/v1:getResourcefile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnvironmentId string
    Name string
    OrganizationId string
    Type string
    EnvironmentId string
    Name string
    OrganizationId string
    Type string
    environmentId String
    name String
    organizationId String
    type String
    environmentId string
    name string
    organizationId string
    type string
    environmentId String
    name String
    organizationId String
    type String

    getResourcefile Result

    The following output properties are available:

    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions List<ImmutableDictionary<string, string>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions []map[string]string
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String,String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType string
    The HTTP Content-Type header value specifying the content type of the body.
    data string
    The HTTP request/response body as raw binary.
    extensions {[key: string]: string}[]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    content_type str
    The HTTP Content-Type header value specifying the content type of the body.
    data str
    The HTTP request/response body as raw binary.
    extensions Sequence[Mapping[str, str]]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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