File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
java/src/main/java/io/metaparticle/annotations Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ package io .metaparticle .annotations ;
2+
3+ import java .lang .annotation .Retention ;
4+ import java .lang .annotation .RetentionPolicy ;
5+
6+ @ Retention (RetentionPolicy .RUNTIME )
7+ public @interface AciRuntime {
8+ /**
9+ * Azure tenant id.
10+ */
11+ public String azureTenantId () default "" ;
12+
13+ /**
14+ * Azure subscription id.
15+ * Container instances will be created using the given subscription.
16+ */
17+ public String azureSubscriptionId () default "" ;
18+
19+ /**
20+ * Azure client id (aka. application id).
21+ */
22+ public String azureClientId () default "" ;
23+
24+ /**
25+ * Azure client secret (aka. application key).
26+ * If specified, then will authenticate to Azure as service principal.
27+ * And then no need to specify username/password.
28+ */
29+ public String azureClientSecret () default "" ;
30+
31+ public String username () default "" ;
32+
33+ public String password () default "" ;
34+
35+ /**
36+ * The resource group to create container instance.
37+ */
38+ public String aciResourceGroup () default "metaparticle-execution" ;
39+ }
You can’t perform that action at this time.
0 commit comments