1. Packages
  2. pgEdge
  3. API Docs
  4. CloudAccount
pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge

pgedge.CloudAccount

Explore with Pulumi AI

pgedge logo
pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge

    Create CloudAccount Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudAccount(name: string, args: CloudAccountArgs, opts?: CustomResourceOptions);
    @overload
    def CloudAccount(resource_name: str,
                     args: CloudAccountArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudAccount(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     credentials: Optional[Mapping[str, str]] = None,
                     type: Optional[str] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None)
    func NewCloudAccount(ctx *Context, name string, args CloudAccountArgs, opts ...ResourceOption) (*CloudAccount, error)
    public CloudAccount(string name, CloudAccountArgs args, CustomResourceOptions? opts = null)
    public CloudAccount(String name, CloudAccountArgs args)
    public CloudAccount(String name, CloudAccountArgs args, CustomResourceOptions options)
    
    type: pgedge:CloudAccount
    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 CloudAccountArgs
    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 CloudAccountArgs
    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 CloudAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudAccountArgs
    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 cloudAccountResource = new Pgedge.CloudAccount("cloudAccountResource", new()
    {
        Credentials = 
        {
            { "string", "string" },
        },
        Type = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := pgedge.NewCloudAccount(ctx, "cloudAccountResource", &pgedge.CloudAccountArgs{
    	Credentials: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Type:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var cloudAccountResource = new CloudAccount("cloudAccountResource", CloudAccountArgs.builder()
        .credentials(Map.of("string", "string"))
        .type("string")
        .description("string")
        .name("string")
        .build());
    
    cloud_account_resource = pgedge.CloudAccount("cloudAccountResource",
        credentials={
            "string": "string",
        },
        type="string",
        description="string",
        name="string")
    
    const cloudAccountResource = new pgedge.CloudAccount("cloudAccountResource", {
        credentials: {
            string: "string",
        },
        type: "string",
        description: "string",
        name: "string",
    });
    
    type: pgedge:CloudAccount
    properties:
        credentials:
            string: string
        description: string
        name: string
        type: string
    

    CloudAccount Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudAccount resource accepts the following input properties:

    Credentials Dictionary<string, string>
    Type string
    Description string
    Name string
    Credentials map[string]string
    Type string
    Description string
    Name string
    credentials Map<String,String>
    type String
    description String
    name String
    credentials {[key: string]: string}
    type string
    description string
    name string
    credentials Mapping[str, str]
    type str
    description str
    name str
    credentials Map<String>
    type String
    description String
    name String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudAccount resource produces the following output properties:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CloudAccount Resource

    Get an existing CloudAccount 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?: CloudAccountState, opts?: CustomResourceOptions): CloudAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            credentials: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            type: Optional[str] = None) -> CloudAccount
    func GetCloudAccount(ctx *Context, name string, id IDInput, state *CloudAccountState, opts ...ResourceOption) (*CloudAccount, error)
    public static CloudAccount Get(string name, Input<string> id, CloudAccountState? state, CustomResourceOptions? opts = null)
    public static CloudAccount get(String name, Output<String> id, CloudAccountState state, CustomResourceOptions options)
    resources:  _:    type: pgedge:CloudAccount    get:      id: ${id}
    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.
    The following state arguments are supported:
    CreatedAt string
    Credentials Dictionary<string, string>
    Description string
    Name string
    Type string
    CreatedAt string
    Credentials map[string]string
    Description string
    Name string
    Type string
    createdAt String
    credentials Map<String,String>
    description String
    name String
    type String
    createdAt string
    credentials {[key: string]: string}
    description string
    name string
    type string
    created_at str
    credentials Mapping[str, str]
    description str
    name str
    type str
    createdAt String
    credentials Map<String>
    description String
    name String
    type String

    Package Details

    Repository
    pgedge pgEdge/pulumi-pgedge
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the pgedge Terraform Provider.
    pgedge logo
    pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge