@byteplus/pulumi-bytepluscc 0.0.31 → 0.0.32

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 bytepluscc: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 bytepluscc: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 = 'bytepluscc: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,+BAA+B,CAAC"}
package/index.d.ts CHANGED
@@ -21,6 +21,7 @@ import * as fwcenter from "./fwcenter";
21
21
  import * as gtm from "./gtm";
22
22
  import * as hbase from "./hbase";
23
23
  import * as iam from "./iam";
24
+ import * as id from "./id";
24
25
  import * as kafka from "./kafka";
25
26
  import * as kms from "./kms";
26
27
  import * as mongodb from "./mongodb";
@@ -45,4 +46,4 @@ import * as vmp from "./vmp";
45
46
  import * as vpc from "./vpc";
46
47
  import * as vpn from "./vpn";
47
48
  import * as waf from "./waf";
48
- export { alb, apig, ark, autoscaling, bmq, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, emr, escloud, filenas, fwcenter, gtm, hbase, iam, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, storageebs, tls, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
49
+ export { alb, apig, ark, autoscaling, bmq, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, emr, escloud, filenas, fwcenter, gtm, hbase, iam, id, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, storageebs, tls, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
package/index.js CHANGED
@@ -16,7 +16,7 @@ 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.tls = exports.storageebs = 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.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
19
+ exports.waf = exports.vpn = exports.vpc = exports.vmp = exports.vke = exports.vepfs = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tls = exports.storageebs = 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.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
22
  // Export members:
@@ -67,6 +67,8 @@ const hbase = require("./hbase");
67
67
  exports.hbase = hbase;
68
68
  const iam = require("./iam");
69
69
  exports.iam = iam;
70
+ const id = require("./id");
71
+ exports.id = id;
70
72
  const kafka = require("./kafka");
71
73
  exports.kafka = kafka;
72
74
  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;AAgDzB,kBAAG;AA/CP,+BAA+B;AAgD3B,oBAAI;AA/CR,6BAA6B;AAgDzB,kBAAG;AA/CP,6CAA6C;AAgDzC,kCAAW;AA/Cf,6BAA6B;AAgDzB,kBAAG;AA/CP,6BAA6B;AAgDzB,kBAAG;AA/CP,6BAA6B;AAgDzB,kBAAG;AA/CP,6BAA6B;AAgDzB,kBAAG;AA/CP,iDAAiD;AAgD7C,sCAAa;AA/CjB,+CAA+C;AAgD3C,oCAAY;AA/ChB,mCA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31",
3
+ "version": "0.0.32",
4
4
  "description": "A Pulumi package to safely use byteplus Resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "byteplus",
package/types/input.d.ts CHANGED
@@ -4390,6 +4390,12 @@ export declare namespace cloudidentity {
4390
4390
  }
4391
4391
  }
4392
4392
  export declare namespace cloudmonitor {
4393
+ interface ContactGroupContact {
4394
+ /**
4395
+ * 联系人ID。
4396
+ */
4397
+ contactId?: pulumi.Input<string>;
4398
+ }
4393
4399
  interface RuleCondition {
4394
4400
  /**
4395
4401
  * 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.
@@ -6970,6 +6976,157 @@ export declare namespace iam {
6970
6976
  value?: pulumi.Input<string>;
6971
6977
  }
6972
6978
  }
6979
+ export declare namespace id {
6980
+ interface ServiceBackend {
6981
+ /**
6982
+ * Backend service domain name, for example api.example.com
6983
+ */
6984
+ backendDomain: pulumi.Input<string>;
6985
+ /**
6986
+ * Backend service port, default is 443
6987
+ */
6988
+ backendPort?: pulumi.Input<number>;
6989
+ /**
6990
+ * Whether to enable TLS
6991
+ */
6992
+ enableTls: pulumi.Input<boolean>;
6993
+ /**
6994
+ * Communication protocol, for example HTTP or HTTPS
6995
+ */
6996
+ protocol?: pulumi.Input<string>;
6997
+ /**
6998
+ * Request timeout in seconds, default is 30 seconds
6999
+ */
7000
+ timeoutSeconds?: pulumi.Input<number>;
7001
+ }
7002
+ interface ServiceRoute {
7003
+ /**
7004
+ * API specification configuration
7005
+ */
7006
+ apiSpec?: pulumi.Input<inputs.id.ServiceRouteApiSpec>;
7007
+ /**
7008
+ * Authentication resource type
7009
+ */
7010
+ authResourceType?: pulumi.Input<string>;
7011
+ /**
7012
+ * Route description
7013
+ */
7014
+ description?: pulumi.Input<string>;
7015
+ /**
7016
+ * HTTP methods, separated by commas
7017
+ */
7018
+ method?: pulumi.Input<string>;
7019
+ /**
7020
+ * Request path, 1–256 characters
7021
+ */
7022
+ path?: pulumi.Input<string>;
7023
+ /**
7024
+ * Path match type, for example Exact, Prefix
7025
+ */
7026
+ pathMatchType?: pulumi.Input<string>;
7027
+ /**
7028
+ * Permission pool name
7029
+ */
7030
+ permissionPool?: pulumi.Input<string>;
7031
+ /**
7032
+ * Route priority, lower values indicate higher priority
7033
+ */
7034
+ priority?: pulumi.Input<number>;
7035
+ /**
7036
+ * Resource type, for example Collection
7037
+ */
7038
+ resourceType?: pulumi.Input<string>;
7039
+ /**
7040
+ * Route name, 1–64 characters
7041
+ */
7042
+ routeName?: pulumi.Input<string>;
7043
+ }
7044
+ interface ServiceRouteApiSpec {
7045
+ /**
7046
+ * Operation type, for example READ
7047
+ */
7048
+ actionType?: pulumi.Input<string>;
7049
+ /**
7050
+ * Operation value, for example search
7051
+ */
7052
+ actionValue?: pulumi.Input<string>;
7053
+ extractors?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecExtractor>[]>;
7054
+ /**
7055
+ * Resource identifier type
7056
+ */
7057
+ identifierType?: pulumi.Input<number>;
7058
+ /**
7059
+ * Resource identifier value, for example JSON Pointer
7060
+ */
7061
+ identifierValue?: pulumi.Input<string>;
7062
+ responseFilters?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecResponseFilter>[]>;
7063
+ }
7064
+ interface ServiceRouteApiSpecExtractor {
7065
+ /**
7066
+ * Whether used for authentication
7067
+ */
7068
+ isAuth?: pulumi.Input<boolean>;
7069
+ /**
7070
+ * JSON Pointer expression
7071
+ */
7072
+ path?: pulumi.Input<string>;
7073
+ /**
7074
+ * Extracted resource type
7075
+ */
7076
+ resourceType?: pulumi.Input<string>;
7077
+ /**
7078
+ * Extraction source enumeration value
7079
+ */
7080
+ source?: pulumi.Input<number>;
7081
+ }
7082
+ interface ServiceRouteApiSpecResponseFilter {
7083
+ attributes?: pulumi.Input<pulumi.Input<inputs.id.ServiceRouteApiSpecResponseFilterAttribute>[]>;
7084
+ /**
7085
+ * Array path JSON Pointer
7086
+ */
7087
+ filterPath?: pulumi.Input<string>;
7088
+ /**
7089
+ * ID field name
7090
+ */
7091
+ idField?: pulumi.Input<string>;
7092
+ /**
7093
+ * Whether used for authentication
7094
+ */
7095
+ isAuth?: pulumi.Input<boolean>;
7096
+ /**
7097
+ * Filter mode enumeration value
7098
+ */
7099
+ mode?: pulumi.Input<number>;
7100
+ /**
7101
+ * Resource path JSON Pointer
7102
+ */
7103
+ resourcePath?: pulumi.Input<string>;
7104
+ /**
7105
+ * Filtered resource type
7106
+ */
7107
+ resourceType?: pulumi.Input<string>;
7108
+ }
7109
+ interface ServiceRouteApiSpecResponseFilterAttribute {
7110
+ /**
7111
+ * Source field path JSON Pointer
7112
+ */
7113
+ field?: pulumi.Input<string>;
7114
+ /**
7115
+ * Target attribute name
7116
+ */
7117
+ target?: pulumi.Input<string>;
7118
+ }
7119
+ interface ServiceTag {
7120
+ /**
7121
+ * Tag key
7122
+ */
7123
+ key?: pulumi.Input<string>;
7124
+ /**
7125
+ * Tag value
7126
+ */
7127
+ value?: pulumi.Input<string>;
7128
+ }
7129
+ }
6973
7130
  export declare namespace kafka {
6974
7131
  interface AllowListAssociatedInstance {
6975
7132
  /**