1. Packages
  2. Hsdp Provider
  3. API Docs
  4. EdgeApp
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.EdgeApp

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Create EdgeApp Resource

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

    Constructor syntax

    new EdgeApp(name: string, args: EdgeAppArgs, opts?: CustomResourceOptions);
    @overload
    def EdgeApp(resource_name: str,
                args: EdgeAppArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def EdgeApp(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                content: Optional[str] = None,
                serial_number: Optional[str] = None,
                edge_app_id: Optional[str] = None,
                name: Optional[str] = None,
                principal: Optional[EdgeAppPrincipalArgs] = None,
                sync: Optional[bool] = None)
    func NewEdgeApp(ctx *Context, name string, args EdgeAppArgs, opts ...ResourceOption) (*EdgeApp, error)
    public EdgeApp(string name, EdgeAppArgs args, CustomResourceOptions? opts = null)
    public EdgeApp(String name, EdgeAppArgs args)
    public EdgeApp(String name, EdgeAppArgs args, CustomResourceOptions options)
    
    type: hsdp:EdgeApp
    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 EdgeAppArgs
    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 EdgeAppArgs
    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 EdgeAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EdgeAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EdgeAppArgs
    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 edgeAppResource = new Hsdp.EdgeApp("edgeAppResource", new()
    {
        Content = "string",
        SerialNumber = "string",
        EdgeAppId = "string",
        Name = "string",
        Principal = new Hsdp.Inputs.EdgeAppPrincipalArgs
        {
            Endpoint = "string",
            Environment = "string",
            Oauth2ClientId = "string",
            Oauth2Password = "string",
            Password = "string",
            Region = "string",
            ServiceId = "string",
            ServicePrivateKey = "string",
            UaaPassword = "string",
            UaaUsername = "string",
            Username = "string",
        },
        Sync = false,
    });
    
    example, err := hsdp.NewEdgeApp(ctx, "edgeAppResource", &hsdp.EdgeAppArgs{
    	Content:      pulumi.String("string"),
    	SerialNumber: pulumi.String("string"),
    	EdgeAppId:    pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Principal: &hsdp.EdgeAppPrincipalArgs{
    		Endpoint:          pulumi.String("string"),
    		Environment:       pulumi.String("string"),
    		Oauth2ClientId:    pulumi.String("string"),
    		Oauth2Password:    pulumi.String("string"),
    		Password:          pulumi.String("string"),
    		Region:            pulumi.String("string"),
    		ServiceId:         pulumi.String("string"),
    		ServicePrivateKey: pulumi.String("string"),
    		UaaPassword:       pulumi.String("string"),
    		UaaUsername:       pulumi.String("string"),
    		Username:          pulumi.String("string"),
    	},
    	Sync: pulumi.Bool(false),
    })
    
    var edgeAppResource = new EdgeApp("edgeAppResource", EdgeAppArgs.builder()
        .content("string")
        .serialNumber("string")
        .edgeAppId("string")
        .name("string")
        .principal(EdgeAppPrincipalArgs.builder()
            .endpoint("string")
            .environment("string")
            .oauth2ClientId("string")
            .oauth2Password("string")
            .password("string")
            .region("string")
            .serviceId("string")
            .servicePrivateKey("string")
            .uaaPassword("string")
            .uaaUsername("string")
            .username("string")
            .build())
        .sync(false)
        .build());
    
    edge_app_resource = hsdp.EdgeApp("edgeAppResource",
        content="string",
        serial_number="string",
        edge_app_id="string",
        name="string",
        principal={
            "endpoint": "string",
            "environment": "string",
            "oauth2_client_id": "string",
            "oauth2_password": "string",
            "password": "string",
            "region": "string",
            "service_id": "string",
            "service_private_key": "string",
            "uaa_password": "string",
            "uaa_username": "string",
            "username": "string",
        },
        sync=False)
    
    const edgeAppResource = new hsdp.EdgeApp("edgeAppResource", {
        content: "string",
        serialNumber: "string",
        edgeAppId: "string",
        name: "string",
        principal: {
            endpoint: "string",
            environment: "string",
            oauth2ClientId: "string",
            oauth2Password: "string",
            password: "string",
            region: "string",
            serviceId: "string",
            servicePrivateKey: "string",
            uaaPassword: "string",
            uaaUsername: "string",
            username: "string",
        },
        sync: false,
    });
    
    type: hsdp:EdgeApp
    properties:
        content: string
        edgeAppId: string
        name: string
        principal:
            endpoint: string
            environment: string
            oauth2ClientId: string
            oauth2Password: string
            password: string
            region: string
            serviceId: string
            servicePrivateKey: string
            uaaPassword: string
            uaaUsername: string
            username: string
        serialNumber: string
        sync: false
    

    EdgeApp 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 EdgeApp resource accepts the following input properties:

    Content string
    The content of the resource
    SerialNumber string
    The serial number of the device to deploy this app resource on
    EdgeAppId string
    The resource ID
    Name string
    The name of the resource
    Principal EdgeAppPrincipal
    The optional principal to use for this resource
    Sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    Content string
    The content of the resource
    SerialNumber string
    The serial number of the device to deploy this app resource on
    EdgeAppId string
    The resource ID
    Name string
    The name of the resource
    Principal EdgeAppPrincipalArgs
    The optional principal to use for this resource
    Sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content String
    The content of the resource
    serialNumber String
    The serial number of the device to deploy this app resource on
    edgeAppId String
    The resource ID
    name String
    The name of the resource
    principal EdgeAppPrincipal
    The optional principal to use for this resource
    sync Boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content string
    The content of the resource
    serialNumber string
    The serial number of the device to deploy this app resource on
    edgeAppId string
    The resource ID
    name string
    The name of the resource
    principal EdgeAppPrincipal
    The optional principal to use for this resource
    sync boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content str
    The content of the resource
    serial_number str
    The serial number of the device to deploy this app resource on
    edge_app_id str
    The resource ID
    name str
    The name of the resource
    principal EdgeAppPrincipalArgs
    The optional principal to use for this resource
    sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content String
    The content of the resource
    serialNumber String
    The serial number of the device to deploy this app resource on
    edgeAppId String
    The resource ID
    name String
    The name of the resource
    principal Property Map
    The optional principal to use for this resource
    sync Boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.

    Outputs

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

    DeviceId double
    Id string
    The provider-assigned unique ID for this managed resource.
    DeviceId float64
    Id string
    The provider-assigned unique ID for this managed resource.
    deviceId Double
    id String
    The provider-assigned unique ID for this managed resource.
    deviceId number
    id string
    The provider-assigned unique ID for this managed resource.
    device_id float
    id str
    The provider-assigned unique ID for this managed resource.
    deviceId Number
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EdgeApp Resource

    Get an existing EdgeApp 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?: EdgeAppState, opts?: CustomResourceOptions): EdgeApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content: Optional[str] = None,
            device_id: Optional[float] = None,
            edge_app_id: Optional[str] = None,
            name: Optional[str] = None,
            principal: Optional[EdgeAppPrincipalArgs] = None,
            serial_number: Optional[str] = None,
            sync: Optional[bool] = None) -> EdgeApp
    func GetEdgeApp(ctx *Context, name string, id IDInput, state *EdgeAppState, opts ...ResourceOption) (*EdgeApp, error)
    public static EdgeApp Get(string name, Input<string> id, EdgeAppState? state, CustomResourceOptions? opts = null)
    public static EdgeApp get(String name, Output<String> id, EdgeAppState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:EdgeApp    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:
    Content string
    The content of the resource
    DeviceId double
    EdgeAppId string
    The resource ID
    Name string
    The name of the resource
    Principal EdgeAppPrincipal
    The optional principal to use for this resource
    SerialNumber string
    The serial number of the device to deploy this app resource on
    Sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    Content string
    The content of the resource
    DeviceId float64
    EdgeAppId string
    The resource ID
    Name string
    The name of the resource
    Principal EdgeAppPrincipalArgs
    The optional principal to use for this resource
    SerialNumber string
    The serial number of the device to deploy this app resource on
    Sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content String
    The content of the resource
    deviceId Double
    edgeAppId String
    The resource ID
    name String
    The name of the resource
    principal EdgeAppPrincipal
    The optional principal to use for this resource
    serialNumber String
    The serial number of the device to deploy this app resource on
    sync Boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content string
    The content of the resource
    deviceId number
    edgeAppId string
    The resource ID
    name string
    The name of the resource
    principal EdgeAppPrincipal
    The optional principal to use for this resource
    serialNumber string
    The serial number of the device to deploy this app resource on
    sync boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content str
    The content of the resource
    device_id float
    edge_app_id str
    The resource ID
    name str
    The name of the resource
    principal EdgeAppPrincipalArgs
    The optional principal to use for this resource
    serial_number str
    The serial number of the device to deploy this app resource on
    sync bool
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.
    content String
    The content of the resource
    deviceId Number
    edgeAppId String
    The resource ID
    name String
    The name of the resource
    principal Property Map
    The optional principal to use for this resource
    serialNumber String
    The serial number of the device to deploy this app resource on
    sync Boolean
    Sync the resource after mutation. Current default behaviour at system level is to sync immediately, but this might change in future updates.

    Supporting Types

    EdgeAppPrincipal, EdgeAppPrincipalArgs

    Endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    Environment string
    Oauth2ClientId string
    Oauth2Password string
    Password string
    Region string
    Region to use. When not set, the provider config is used
    ServiceId string
    ServicePrivateKey string
    UaaPassword string
    The UAA password to use
    UaaUsername string
    The UAA username to use
    Username string
    Endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    Environment string
    Oauth2ClientId string
    Oauth2Password string
    Password string
    Region string
    Region to use. When not set, the provider config is used
    ServiceId string
    ServicePrivateKey string
    UaaPassword string
    The UAA password to use
    UaaUsername string
    The UAA username to use
    Username string
    endpoint String
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment String
    oauth2ClientId String
    oauth2Password String
    password String
    region String
    Region to use. When not set, the provider config is used
    serviceId String
    servicePrivateKey String
    uaaPassword String
    The UAA password to use
    uaaUsername String
    The UAA username to use
    username String
    endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment string
    oauth2ClientId string
    oauth2Password string
    password string
    region string
    Region to use. When not set, the provider config is used
    serviceId string
    servicePrivateKey string
    uaaPassword string
    The UAA password to use
    uaaUsername string
    The UAA username to use
    username string
    endpoint str
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment str
    oauth2_client_id str
    oauth2_password str
    password str
    region str
    Region to use. When not set, the provider config is used
    service_id str
    service_private_key str
    uaa_password str
    The UAA password to use
    uaa_username str
    The UAA username to use
    username str
    endpoint String
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment String
    oauth2ClientId String
    oauth2Password String
    password String
    region String
    Region to use. When not set, the provider config is used
    serviceId String
    servicePrivateKey String
    uaaPassword String
    The UAA password to use
    uaaUsername String
    The UAA username to use
    username String

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software