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 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:
- Environment
Id string - Name string
- Organization
Id string - Type string
- Environment
Id string - Name string
- Organization
Id string - Type string
- environment
Id String - name String
- organization
Id String - type String
- environment
Id string - name string
- organization
Id string - type string
- environment_
id str - name str
- organization_
id str - type str
- environment
Id String - name String
- organization
Id String - type String
getResourcefile Result
The following output properties are available:
- Content
Type 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<Immutable
Dictionary<string, string>> - Application specific response metadata. Must be set in the first response for streaming APIs.
- Content
Type 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.
- content
Type 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.
- content
Type 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.
- content
Type 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 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