@volcengine/pulumi-volcenginecc 0.0.39 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,209 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ID Permission Gateway Service is used to define backend service access configuration, permission space binding, and optional route rules for unified management of service access by the agent identity and permission management platform
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:id/service:Service example "service_id"
11
+ * ```
12
+ */
13
+ export declare class Service extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Service resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service;
24
+ /**
25
+ * Returns true if the given object is an instance of Service. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is Service;
29
+ /**
30
+ * Backend service configuration
31
+ */
32
+ readonly backend: pulumi.Output<outputs.id.ServiceBackend>;
33
+ /**
34
+ * Backend service type, for example custom, viking, agentkit-mcp
35
+ */
36
+ readonly backendType: pulumi.Output<string>;
37
+ /**
38
+ * Creation time, Unix timestamp in milliseconds
39
+ */
40
+ readonly createdAt: pulumi.Output<number>;
41
+ /**
42
+ * Service description, up to 256 characters
43
+ */
44
+ readonly description: pulumi.Output<string>;
45
+ /**
46
+ * Private domain name
47
+ */
48
+ readonly hijackDomainPrivate: pulumi.Output<string>;
49
+ /**
50
+ * Public domain name
51
+ */
52
+ readonly hijackDomainPublic: pulumi.Output<string>;
53
+ /**
54
+ * Permission space ID, for example ps_123456
55
+ */
56
+ readonly permissionSpaceId: pulumi.Output<string>;
57
+ /**
58
+ * Permission space name
59
+ */
60
+ readonly permissionSpaceName: pulumi.Output<string>;
61
+ /**
62
+ * Project name. Optional at creation, default value is "default"
63
+ */
64
+ readonly projectName: pulumi.Output<string>;
65
+ /**
66
+ * Number of routes
67
+ */
68
+ readonly routeCount: pulumi.Output<number>;
69
+ readonly routes: pulumi.Output<outputs.id.ServiceRoute[]>;
70
+ /**
71
+ * Service ID. Generated after system creation, for example svc-1234567890
72
+ */
73
+ readonly serviceId: pulumi.Output<string>;
74
+ /**
75
+ * Service name, 1–64 characters, unique within the account
76
+ */
77
+ readonly serviceName: pulumi.Output<string>;
78
+ /**
79
+ * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway)
80
+ */
81
+ readonly status: pulumi.Output<string>;
82
+ readonly tags: pulumi.Output<outputs.id.ServiceTag[]>;
83
+ /**
84
+ * Template ID associated with built-in service
85
+ */
86
+ readonly templateId: pulumi.Output<string>;
87
+ /**
88
+ * Resource TRN
89
+ */
90
+ readonly trn: pulumi.Output<string>;
91
+ /**
92
+ * Update time, Unix timestamp in milliseconds
93
+ */
94
+ readonly updatedAt: pulumi.Output<number>;
95
+ /**
96
+ * Create a Service resource with the given unique name, arguments, and options.
97
+ *
98
+ * @param name The _unique_ name of the resource.
99
+ * @param args The arguments to use to populate this resource's properties.
100
+ * @param opts A bag of options that control this resource's behavior.
101
+ */
102
+ constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions);
103
+ }
104
+ /**
105
+ * Input properties used for looking up and filtering Service resources.
106
+ */
107
+ export interface ServiceState {
108
+ /**
109
+ * Backend service configuration
110
+ */
111
+ backend?: pulumi.Input<inputs.id.ServiceBackend>;
112
+ /**
113
+ * Backend service type, for example custom, viking, agentkit-mcp
114
+ */
115
+ backendType?: pulumi.Input<string>;
116
+ /**
117
+ * Creation time, Unix timestamp in milliseconds
118
+ */
119
+ createdAt?: pulumi.Input<number>;
120
+ /**
121
+ * Service description, up to 256 characters
122
+ */
123
+ description?: pulumi.Input<string>;
124
+ /**
125
+ * Private domain name
126
+ */
127
+ hijackDomainPrivate?: pulumi.Input<string>;
128
+ /**
129
+ * Public domain name
130
+ */
131
+ hijackDomainPublic?: pulumi.Input<string>;
132
+ /**
133
+ * Permission space ID, for example ps_123456
134
+ */
135
+ permissionSpaceId?: pulumi.Input<string>;
136
+ /**
137
+ * Permission space name
138
+ */
139
+ permissionSpaceName?: pulumi.Input<string>;
140
+ /**
141
+ * Project name. Optional at creation, default value is "default"
142
+ */
143
+ projectName?: pulumi.Input<string>;
144
+ /**
145
+ * Number of routes
146
+ */
147
+ routeCount?: pulumi.Input<number>;
148
+ routes?: pulumi.Input<pulumi.Input<inputs.id.ServiceRoute>[]>;
149
+ /**
150
+ * Service ID. Generated after system creation, for example svc-1234567890
151
+ */
152
+ serviceId?: pulumi.Input<string>;
153
+ /**
154
+ * Service name, 1–64 characters, unique within the account
155
+ */
156
+ serviceName?: pulumi.Input<string>;
157
+ /**
158
+ * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway)
159
+ */
160
+ status?: pulumi.Input<string>;
161
+ tags?: pulumi.Input<pulumi.Input<inputs.id.ServiceTag>[]>;
162
+ /**
163
+ * Template ID associated with built-in service
164
+ */
165
+ templateId?: pulumi.Input<string>;
166
+ /**
167
+ * Resource TRN
168
+ */
169
+ trn?: pulumi.Input<string>;
170
+ /**
171
+ * Update time, Unix timestamp in milliseconds
172
+ */
173
+ updatedAt?: pulumi.Input<number>;
174
+ }
175
+ /**
176
+ * The set of arguments for constructing a Service resource.
177
+ */
178
+ export interface ServiceArgs {
179
+ /**
180
+ * Backend service configuration
181
+ */
182
+ backend: pulumi.Input<inputs.id.ServiceBackend>;
183
+ /**
184
+ * Service description, up to 256 characters
185
+ */
186
+ description?: pulumi.Input<string>;
187
+ /**
188
+ * Permission space ID, for example ps_123456
189
+ */
190
+ permissionSpaceId: pulumi.Input<string>;
191
+ /**
192
+ * Permission space name
193
+ */
194
+ permissionSpaceName?: pulumi.Input<string>;
195
+ /**
196
+ * Project name. Optional at creation, default value is "default"
197
+ */
198
+ projectName?: pulumi.Input<string>;
199
+ routes?: pulumi.Input<pulumi.Input<inputs.id.ServiceRoute>[]>;
200
+ /**
201
+ * Service name, 1–64 characters, unique within the account
202
+ */
203
+ serviceName: pulumi.Input<string>;
204
+ /**
205
+ * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway)
206
+ */
207
+ status?: pulumi.Input<string>;
208
+ tags?: pulumi.Input<pulumi.Input<inputs.id.ServiceTag>[]>;
209
+ }
package/id/service.js ADDED
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Service = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ID Permission Gateway Service is used to define backend service access configuration, permission space binding, and optional route rules for unified management of service access by the agent identity and permission management platform
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:id/service:Service example "service_id"
15
+ * ```
16
+ */
17
+ class Service extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Service resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new Service(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Service. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Service.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["backend"] = state ? state.backend : undefined;
46
+ resourceInputs["backendType"] = state ? state.backendType : undefined;
47
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
48
+ resourceInputs["description"] = state ? state.description : undefined;
49
+ resourceInputs["hijackDomainPrivate"] = state ? state.hijackDomainPrivate : undefined;
50
+ resourceInputs["hijackDomainPublic"] = state ? state.hijackDomainPublic : undefined;
51
+ resourceInputs["permissionSpaceId"] = state ? state.permissionSpaceId : undefined;
52
+ resourceInputs["permissionSpaceName"] = state ? state.permissionSpaceName : undefined;
53
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
54
+ resourceInputs["routeCount"] = state ? state.routeCount : undefined;
55
+ resourceInputs["routes"] = state ? state.routes : undefined;
56
+ resourceInputs["serviceId"] = state ? state.serviceId : undefined;
57
+ resourceInputs["serviceName"] = state ? state.serviceName : undefined;
58
+ resourceInputs["status"] = state ? state.status : undefined;
59
+ resourceInputs["tags"] = state ? state.tags : undefined;
60
+ resourceInputs["templateId"] = state ? state.templateId : undefined;
61
+ resourceInputs["trn"] = state ? state.trn : undefined;
62
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if ((!args || args.backend === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'backend'");
68
+ }
69
+ if ((!args || args.permissionSpaceId === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'permissionSpaceId'");
71
+ }
72
+ if ((!args || args.serviceName === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'serviceName'");
74
+ }
75
+ resourceInputs["backend"] = args ? args.backend : undefined;
76
+ resourceInputs["description"] = args ? args.description : undefined;
77
+ resourceInputs["permissionSpaceId"] = args ? args.permissionSpaceId : undefined;
78
+ resourceInputs["permissionSpaceName"] = args ? args.permissionSpaceName : undefined;
79
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
80
+ resourceInputs["routes"] = args ? args.routes : undefined;
81
+ resourceInputs["serviceName"] = args ? args.serviceName : undefined;
82
+ resourceInputs["status"] = args ? args.status : undefined;
83
+ resourceInputs["tags"] = args ? args.tags : undefined;
84
+ resourceInputs["backendType"] = undefined /*out*/;
85
+ resourceInputs["createdAt"] = undefined /*out*/;
86
+ resourceInputs["hijackDomainPrivate"] = undefined /*out*/;
87
+ resourceInputs["hijackDomainPublic"] = undefined /*out*/;
88
+ resourceInputs["routeCount"] = undefined /*out*/;
89
+ resourceInputs["serviceId"] = undefined /*out*/;
90
+ resourceInputs["templateId"] = undefined /*out*/;
91
+ resourceInputs["trn"] = undefined /*out*/;
92
+ resourceInputs["updatedAt"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ super(Service.__pulumiType, name, resourceInputs, opts);
96
+ }
97
+ }
98
+ exports.Service = Service;
99
+ /** @internal */
100
+ Service.__pulumiType = 'volcenginecc:id/service:Service';
101
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../id/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC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AAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9JL,0BA+JC;AAjJG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
package/index.d.ts CHANGED
@@ -23,6 +23,7 @@ import * as fwcenter from "./fwcenter";
23
23
  import * as gtm from "./gtm";
24
24
  import * as hbase from "./hbase";
25
25
  import * as iam from "./iam";
26
+ import * as id from "./id";
26
27
  import * as kafka from "./kafka";
27
28
  import * as kms from "./kms";
28
29
  import * as mongodb from "./mongodb";
@@ -49,4 +50,4 @@ import * as vmp from "./vmp";
49
50
  import * as vpc from "./vpc";
50
51
  import * as vpn from "./vpn";
51
52
  import * as waf from "./waf";
52
- export { alb, apig, ark, autoscaling, bmq, cbr, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, efs, emr, escloud, filenas, fwcenter, gtm, hbase, iam, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, rocketmq, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
53
+ export { alb, apig, ark, autoscaling, bmq, cbr, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, efs, emr, escloud, filenas, fwcenter, gtm, hbase, iam, id, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, rocketmq, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
package/index.js CHANGED
@@ -16,7 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.waf = exports.vpn = exports.vpc = exports.vmp = exports.vke = exports.vepfs = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.rocketmq = exports.redis = exports.rdspostgresql = exports.rdsmysql = exports.rdsmssql = exports.rabbitmq = exports.privatezone = exports.privatelink = exports.organization = exports.natgateway = exports.mongodb = exports.kms = exports.kafka = exports.iam = exports.hbase = exports.gtm = exports.fwcenter = exports.filenas = exports.escloud = exports.emr = exports.efs = exports.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.cbr = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
19
+ exports.vpn = exports.vpc = exports.vmp = exports.vke = exports.vepfs = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.rocketmq = exports.redis = exports.rdspostgresql = exports.rdsmysql = exports.rdsmssql = exports.rabbitmq = exports.privatezone = exports.privatelink = exports.organization = exports.natgateway = exports.mongodb = exports.kms = exports.kafka = exports.id = exports.iam = exports.hbase = exports.gtm = exports.fwcenter = exports.filenas = exports.escloud = exports.emr = exports.efs = exports.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.cbr = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
20
+ exports.waf = void 0;
20
21
  const pulumi = require("@pulumi/pulumi");
21
22
  const utilities = require("./utilities");
22
23
  // Export members:
@@ -71,6 +72,8 @@ const hbase = require("./hbase");
71
72
  exports.hbase = hbase;
72
73
  const iam = require("./iam");
73
74
  exports.iam = iam;
75
+ const id = require("./id");
76
+ exports.id = id;
74
77
  const kafka = require("./kafka");
75
78
  exports.kafka = kafka;
76
79
  const kms = require("./kms");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAC3B,yCAAsC;AAGtC,sBAAsB;AACtB,6BAA6B;AAoDzB,kBAAG;AAnDP,+BAA+B;AAoD3B,oBAAI;AAnDR,6BAA6B;AAoDzB,kBAAG;AAnDP,6CAA6C;AAoDzC,kCAAW;AAnDf,6BAA6B;AAoDzB,kBAAG;AAnDP,6BAA6B;AAoDzB,kBAAG;AAnDP,6BAA6B;AAoDzB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,IAAI,IAAI,KAAK,+BAA+B,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/pulumi-volcenginecc",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "A Pulumi package to safely use volcengine resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "volcengine",
package/types/input.d.ts CHANGED
@@ -4504,6 +4504,12 @@ export declare namespace cloudidentity {
4504
4504
  }
4505
4505
  }
4506
4506
  export declare namespace cloudmonitor {
4507
+ interface ContactGroupContact {
4508
+ /**
4509
+ * 联系人ID。
4510
+ */
4511
+ contactId?: pulumi.Input<string>;
4512
+ }
4507
4513
  interface RuleCondition {
4508
4514
  /**
4509
4515
  * Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: last*period*increase*pct: Increased compared to last period. last*period*decrease*pct: Decreased compared to last period. last*period*abs*pct: Increased or decreased compared to last period. last*day*increase*pct: Increased compared to the same period yesterday. last*day*decrease*pct: Decreased compared to the same period yesterday. last*day*abs*pct: Increased or decreased compared to the same period yesterday. last*week*increase*pct: Increased compared to the same period last week. last*week*decrease*pct: Decreased compared to the same period last week. last*week*abs_pct: Increased or decreased compared to the same period last week.
@@ -7170,6 +7176,157 @@ export declare namespace iam {
7170
7176
  value?: pulumi.Input<string>;
7171
7177
  }
7172
7178
  }
7179
+ export declare namespace id {
7180
+ interface ServiceBackend {
7181
+ /**
7182
+ * Backend service domain name, for example api.example.com
7183
+ */
7184
+ backendDomain: pulumi.Input<string>;
7185
+ /**
7186
+ * Backend service port, default is 443
7187
+ */
7188
+ backendPort?: pulumi.Input<number>;
7189
+ /**
7190
+ * Whether to enable TLS
7191
+ */
7192
+ enableTls: pulumi.Input<boolean>;
7193
+ /**
7194
+ * Communication protocol, for example HTTP or HTTPS
7195
+ */
7196
+ protocol?: pulumi.Input<string>;
7197
+ /**
7198
+ * Request timeout in seconds, default is 30 seconds
7199
+ */
7200
+ timeoutSeconds?: pulumi.Input<number>;
7201
+ }
7202
+ interface ServiceRoute {
7203
+ /**
7204
+ * API specification configuration
7205
+ */
7206
+ apiSpec?: pulumi.Input<inputs.id.ServiceRouteApiSpec>;
7207
+ /**
7208
+ * Authentication resource type
7209
+ */
7210
+ authResourceType?: pulumi.Input<string>;
7211
+ /**
7212
+ * Route description
7213
+ */
7214
+ description?: pulumi.Input<string>;
7215
+ /**
7216
+ * HTTP methods, separated by commas
7217
+ */
7218
+ method?: pulumi.Input<string>;
7219
+ /**
7220
+ * Request path, 1–256 characters
7221
+ */
7222
+ path?: pulumi.Input<string>;
7223
+ /**
7224
+ * Path match type, for example Exact, Prefix
7225
+ */
7226
+ pathMatchType?: pulumi.Input<string>;
7227
+ /**
7228
+ * Permission pool name
7229
+ */
7230
+ permissionPool?: pulumi.Input<string>;
7231
+ /**
7232
+ * Route priority, lower values indicate higher priority
7233
+ */
7234
+ priority?: pulumi.Input<number>;
7235
+ /**
7236
+ * Resource type, for example Collection
7237
+ */
7238
+ resourceType?: pulumi.Input<string>;
7239
+ /**
7240
+ * Route name, 1–64 characters
7241
+ */
7242
+ routeName?: pulumi.Input<string>;
7243
+ }
7244
+ interface ServiceRouteApiSpec {
7245
+ /**
7246
+ * Operation type, for example READ
7247
+ */
7248
+ actionType?: pulumi.Input<string>;
7249
+ /**
7250
+ * Operation value, for example search
7251
+ */
7252
+ actionValue?: pulumi.Input<string>;
7253
+ extractors?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecExtractor>[]>;
7254
+ /**
7255
+ * Resource identifier type
7256
+ */
7257
+ identifierType?: pulumi.Input<number>;
7258
+ /**
7259
+ * Resource identifier value, for example JSON Pointer
7260
+ */
7261
+ identifierValue?: pulumi.Input<string>;
7262
+ responseFilters?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecResponseFilter>[]>;
7263
+ }
7264
+ interface ServiceRouteApiSpecExtractor {
7265
+ /**
7266
+ * Whether used for authentication
7267
+ */
7268
+ isAuth?: pulumi.Input<boolean>;
7269
+ /**
7270
+ * JSON Pointer expression
7271
+ */
7272
+ path?: pulumi.Input<string>;
7273
+ /**
7274
+ * Extracted resource type
7275
+ */
7276
+ resourceType?: pulumi.Input<string>;
7277
+ /**
7278
+ * Extraction source enumeration value
7279
+ */
7280
+ source?: pulumi.Input<number>;
7281
+ }
7282
+ interface ServiceRouteApiSpecResponseFilter {
7283
+ attributes?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecResponseFilterAttribute>[]>;
7284
+ /**
7285
+ * Array path JSON Pointer
7286
+ */
7287
+ filterPath?: pulumi.Input<string>;
7288
+ /**
7289
+ * ID field name
7290
+ */
7291
+ idField?: pulumi.Input<string>;
7292
+ /**
7293
+ * Whether used for authentication
7294
+ */
7295
+ isAuth?: pulumi.Input<boolean>;
7296
+ /**
7297
+ * Filter mode enumeration value
7298
+ */
7299
+ mode?: pulumi.Input<number>;
7300
+ /**
7301
+ * Resource path JSON Pointer
7302
+ */
7303
+ resourcePath?: pulumi.Input<string>;
7304
+ /**
7305
+ * Filtered resource type
7306
+ */
7307
+ resourceType?: pulumi.Input<string>;
7308
+ }
7309
+ interface ServiceRouteApiSpecResponseFilterAttribute {
7310
+ /**
7311
+ * Source field path JSON Pointer
7312
+ */
7313
+ field?: pulumi.Input<string>;
7314
+ /**
7315
+ * Target attribute name
7316
+ */
7317
+ target?: pulumi.Input<string>;
7318
+ }
7319
+ interface ServiceTag {
7320
+ /**
7321
+ * Tag key
7322
+ */
7323
+ key?: pulumi.Input<string>;
7324
+ /**
7325
+ * Tag value
7326
+ */
7327
+ value?: pulumi.Input<string>;
7328
+ }
7329
+ }
7173
7330
  export declare namespace kafka {
7174
7331
  interface AllowListAssociatedInstance {
7175
7332
  /**