hsdp.EdgeApp
Explore with Pulumi AI
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
- Serial
Number string - The serial number of the device to deploy this app resource on
- Edge
App stringId - The resource ID
- Name string
- The name of the resource
- Principal
Edge
App Principal - 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
- Serial
Number string - The serial number of the device to deploy this app resource on
- Edge
App stringId - The resource ID
- Name string
- The name of the resource
- Principal
Edge
App Principal Args - 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
- serial
Number String - The serial number of the device to deploy this app resource on
- edge
App StringId - The resource ID
- name String
- The name of the resource
- principal
Edge
App Principal - 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
- serial
Number string - The serial number of the device to deploy this app resource on
- edge
App stringId - The resource ID
- name string
- The name of the resource
- principal
Edge
App Principal - 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_ strid - The resource ID
- name str
- The name of the resource
- principal
Edge
App Principal Args - 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
- serial
Number String - The serial number of the device to deploy this app resource on
- edge
App StringId - 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:
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.
- Content string
- The content of the resource
- Device
Id double - Edge
App stringId - The resource ID
- Name string
- The name of the resource
- Principal
Edge
App Principal - The optional principal to use for this resource
- Serial
Number 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
- Device
Id float64 - Edge
App stringId - The resource ID
- Name string
- The name of the resource
- Principal
Edge
App Principal Args - The optional principal to use for this resource
- Serial
Number 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
- device
Id Double - edge
App StringId - The resource ID
- name String
- The name of the resource
- principal
Edge
App Principal - The optional principal to use for this resource
- serial
Number 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
- device
Id number - edge
App stringId - The resource ID
- name string
- The name of the resource
- principal
Edge
App Principal - The optional principal to use for this resource
- serial
Number 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_ strid - The resource ID
- name str
- The name of the resource
- principal
Edge
App Principal Args - 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
- device
Id Number - edge
App StringId - The resource ID
- name String
- The name of the resource
- principal Property Map
- The optional principal to use for this resource
- serial
Number 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
- Oauth2Client
Id string - Oauth2Password string
- Password string
- Region string
- Region to use. When not set, the provider config is used
- Service
Id string - Service
Private stringKey - Uaa
Password string - The UAA password to use
- Uaa
Username 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
- Oauth2Client
Id string - Oauth2Password string
- Password string
- Region string
- Region to use. When not set, the provider config is used
- Service
Id string - Service
Private stringKey - Uaa
Password string - The UAA password to use
- Uaa
Username 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
- oauth2Client
Id String - oauth2Password String
- password String
- region String
- Region to use. When not set, the provider config is used
- service
Id String - service
Private StringKey - uaa
Password String - The UAA password to use
- uaa
Username 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
- oauth2Client
Id string - oauth2Password string
- password string
- region string
- Region to use. When not set, the provider config is used
- service
Id string - service
Private stringKey - uaa
Password string - The UAA password to use
- uaa
Username 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_ strid - oauth2_
password str - password str
- region str
- Region to use. When not set, the provider config is used
- service_
id str - service_
private_ strkey - 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
- oauth2Client
Id String - oauth2Password String
- password String
- region String
- Region to use. When not set, the provider config is used
- service
Id String - service
Private StringKey - uaa
Password String - The UAA password to use
- uaa
Username 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.