Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi
gcp.vertex.AiEndpointIamPolicy
Explore with Pulumi AI
Create AiEndpointIamPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiEndpointIamPolicy(name: string, args: AiEndpointIamPolicyArgs, opts?: CustomResourceOptions);
@overload
def AiEndpointIamPolicy(resource_name: str,
args: AiEndpointIamPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiEndpointIamPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint: Optional[str] = None,
policy_data: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewAiEndpointIamPolicy(ctx *Context, name string, args AiEndpointIamPolicyArgs, opts ...ResourceOption) (*AiEndpointIamPolicy, error)
public AiEndpointIamPolicy(string name, AiEndpointIamPolicyArgs args, CustomResourceOptions? opts = null)
public AiEndpointIamPolicy(String name, AiEndpointIamPolicyArgs args)
public AiEndpointIamPolicy(String name, AiEndpointIamPolicyArgs args, CustomResourceOptions options)
type: gcp:vertex:AiEndpointIamPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AiEndpointIamPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AiEndpointIamPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AiEndpointIamPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiEndpointIamPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiEndpointIamPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var aiEndpointIamPolicyResource = new Gcp.Vertex.AiEndpointIamPolicy("aiEndpointIamPolicyResource", new()
{
Endpoint = "string",
PolicyData = "string",
Location = "string",
Project = "string",
});
example, err := vertex.NewAiEndpointIamPolicy(ctx, "aiEndpointIamPolicyResource", &vertex.AiEndpointIamPolicyArgs{
Endpoint: pulumi.String("string"),
PolicyData: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var aiEndpointIamPolicyResource = new AiEndpointIamPolicy("aiEndpointIamPolicyResource", AiEndpointIamPolicyArgs.builder()
.endpoint("string")
.policyData("string")
.location("string")
.project("string")
.build());
ai_endpoint_iam_policy_resource = gcp.vertex.AiEndpointIamPolicy("aiEndpointIamPolicyResource",
endpoint="string",
policy_data="string",
location="string",
project="string")
const aiEndpointIamPolicyResource = new gcp.vertex.AiEndpointIamPolicy("aiEndpointIamPolicyResource", {
endpoint: "string",
policyData: "string",
location: "string",
project: "string",
});
type: gcp:vertex:AiEndpointIamPolicy
properties:
endpoint: string
location: string
policyData: string
project: string
AiEndpointIamPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AiEndpointIamPolicy resource accepts the following input properties:
- Endpoint string
- Policy
Data string - Location string
- Project string
- Endpoint string
- Policy
Data string - Location string
- Project string
- endpoint String
- policy
Data String - location String
- project String
- endpoint string
- policy
Data string - location string
- project string
- endpoint str
- policy_
data str - location str
- project str
- endpoint String
- policy
Data String - location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the AiEndpointIamPolicy resource produces the following output properties:
Look up Existing AiEndpointIamPolicy Resource
Get an existing AiEndpointIamPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AiEndpointIamPolicyState, opts?: CustomResourceOptions): AiEndpointIamPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
endpoint: Optional[str] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
policy_data: Optional[str] = None,
project: Optional[str] = None) -> AiEndpointIamPolicy
func GetAiEndpointIamPolicy(ctx *Context, name string, id IDInput, state *AiEndpointIamPolicyState, opts ...ResourceOption) (*AiEndpointIamPolicy, error)
public static AiEndpointIamPolicy Get(string name, Input<string> id, AiEndpointIamPolicyState? state, CustomResourceOptions? opts = null)
public static AiEndpointIamPolicy get(String name, Output<String> id, AiEndpointIamPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Endpoint string
- Etag string
- Location string
- Policy
Data string - Project string
- Endpoint string
- Etag string
- Location string
- Policy
Data string - Project string
- endpoint String
- etag String
- location String
- policy
Data String - project String
- endpoint string
- etag string
- location string
- policy
Data string - project string
- endpoint str
- etag str
- location str
- policy_
data str - project str
- endpoint String
- etag String
- location String
- policy
Data String - project String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.