@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
80 lines • 3.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* A Service Agent within the Workload Identity API.
*
* ## Example Usage
*
* ### Workload Identity Service Agent Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const project = gcp.organizations.getProject({});
* const primary = new gcp.iam.WorkloadIdentityServiceAgent("primary", {parent: project.then(project => `projects/${project.number}/locations/global/serviceProducers/healthcare.googleapis.com`)});
* ```
*
* ## Import
*
* This resource does not support import.
*/
export declare class WorkloadIdentityServiceAgent extends pulumi.CustomResource {
/**
* Get an existing WorkloadIdentityServiceAgent resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkloadIdentityServiceAgentState, opts?: pulumi.CustomResourceOptions): WorkloadIdentityServiceAgent;
/**
* Returns true if the given object is an instance of WorkloadIdentityServiceAgent. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is WorkloadIdentityServiceAgent;
/**
* The parent resource path.
*/
readonly parent: pulumi.Output<string>;
/**
* The list of ServiceAgents generated by the API call.
* Structure is documented below.
*/
readonly serviceAgents: pulumi.Output<outputs.iam.WorkloadIdentityServiceAgentServiceAgent[]>;
/**
* Create a WorkloadIdentityServiceAgent resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WorkloadIdentityServiceAgentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering WorkloadIdentityServiceAgent resources.
*/
export interface WorkloadIdentityServiceAgentState {
/**
* The parent resource path.
*/
parent?: pulumi.Input<string | undefined>;
/**
* The list of ServiceAgents generated by the API call.
* Structure is documented below.
*/
serviceAgents?: pulumi.Input<pulumi.Input<inputs.iam.WorkloadIdentityServiceAgentServiceAgent>[] | undefined>;
}
/**
* The set of arguments for constructing a WorkloadIdentityServiceAgent resource.
*/
export interface WorkloadIdentityServiceAgentArgs {
/**
* The parent resource path.
*/
parent: pulumi.Input<string>;
}
//# sourceMappingURL=workloadIdentityServiceAgent.d.ts.map