pulumi/sdk/nodejs/proto/analyzer_pb.d.ts

548 lines
23 KiB
TypeScript

// package: pulumirpc
// file: pulumi/analyzer.proto
/* tslint:disable */
/* eslint-disable */
import * as jspb from "google-protobuf";
import * as pulumi_plugin_pb from "./plugin_pb";
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
export class AnalyzeRequest extends jspb.Message {
getType(): string;
setType(value: string): AnalyzeRequest;
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): AnalyzeRequest;
getUrn(): string;
setUrn(value: string): AnalyzeRequest;
getName(): string;
setName(value: string): AnalyzeRequest;
hasOptions(): boolean;
clearOptions(): void;
getOptions(): AnalyzerResourceOptions | undefined;
setOptions(value?: AnalyzerResourceOptions): AnalyzeRequest;
hasProvider(): boolean;
clearProvider(): void;
getProvider(): AnalyzerProviderResource | undefined;
setProvider(value?: AnalyzerProviderResource): AnalyzeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzeRequest.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzeRequest): AnalyzeRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzeRequest;
static deserializeBinaryFromReader(message: AnalyzeRequest, reader: jspb.BinaryReader): AnalyzeRequest;
}
export namespace AnalyzeRequest {
export type AsObject = {
type: string,
properties?: google_protobuf_struct_pb.Struct.AsObject,
urn: string,
name: string,
options?: AnalyzerResourceOptions.AsObject,
provider?: AnalyzerProviderResource.AsObject,
}
}
export class AnalyzerResource extends jspb.Message {
getType(): string;
setType(value: string): AnalyzerResource;
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): AnalyzerResource;
getUrn(): string;
setUrn(value: string): AnalyzerResource;
getName(): string;
setName(value: string): AnalyzerResource;
hasOptions(): boolean;
clearOptions(): void;
getOptions(): AnalyzerResourceOptions | undefined;
setOptions(value?: AnalyzerResourceOptions): AnalyzerResource;
hasProvider(): boolean;
clearProvider(): void;
getProvider(): AnalyzerProviderResource | undefined;
setProvider(value?: AnalyzerProviderResource): AnalyzerResource;
getParent(): string;
setParent(value: string): AnalyzerResource;
clearDependenciesList(): void;
getDependenciesList(): Array<string>;
setDependenciesList(value: Array<string>): AnalyzerResource;
addDependencies(value: string, index?: number): string;
getPropertydependenciesMap(): jspb.Map<string, AnalyzerPropertyDependencies>;
clearPropertydependenciesMap(): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzerResource.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzerResource): AnalyzerResource.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzerResource, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzerResource;
static deserializeBinaryFromReader(message: AnalyzerResource, reader: jspb.BinaryReader): AnalyzerResource;
}
export namespace AnalyzerResource {
export type AsObject = {
type: string,
properties?: google_protobuf_struct_pb.Struct.AsObject,
urn: string,
name: string,
options?: AnalyzerResourceOptions.AsObject,
provider?: AnalyzerProviderResource.AsObject,
parent: string,
dependenciesList: Array<string>,
propertydependenciesMap: Array<[string, AnalyzerPropertyDependencies.AsObject]>,
}
}
export class AnalyzerResourceOptions extends jspb.Message {
getProtect(): boolean;
setProtect(value: boolean): AnalyzerResourceOptions;
clearIgnorechangesList(): void;
getIgnorechangesList(): Array<string>;
setIgnorechangesList(value: Array<string>): AnalyzerResourceOptions;
addIgnorechanges(value: string, index?: number): string;
getDeletebeforereplace(): boolean;
setDeletebeforereplace(value: boolean): AnalyzerResourceOptions;
getDeletebeforereplacedefined(): boolean;
setDeletebeforereplacedefined(value: boolean): AnalyzerResourceOptions;
clearAdditionalsecretoutputsList(): void;
getAdditionalsecretoutputsList(): Array<string>;
setAdditionalsecretoutputsList(value: Array<string>): AnalyzerResourceOptions;
addAdditionalsecretoutputs(value: string, index?: number): string;
clearAliasesList(): void;
getAliasesList(): Array<string>;
setAliasesList(value: Array<string>): AnalyzerResourceOptions;
addAliases(value: string, index?: number): string;
hasCustomtimeouts(): boolean;
clearCustomtimeouts(): void;
getCustomtimeouts(): AnalyzerResourceOptions.CustomTimeouts | undefined;
setCustomtimeouts(value?: AnalyzerResourceOptions.CustomTimeouts): AnalyzerResourceOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzerResourceOptions.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzerResourceOptions): AnalyzerResourceOptions.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzerResourceOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzerResourceOptions;
static deserializeBinaryFromReader(message: AnalyzerResourceOptions, reader: jspb.BinaryReader): AnalyzerResourceOptions;
}
export namespace AnalyzerResourceOptions {
export type AsObject = {
protect: boolean,
ignorechangesList: Array<string>,
deletebeforereplace: boolean,
deletebeforereplacedefined: boolean,
additionalsecretoutputsList: Array<string>,
aliasesList: Array<string>,
customtimeouts?: AnalyzerResourceOptions.CustomTimeouts.AsObject,
}
export class CustomTimeouts extends jspb.Message {
getCreate(): number;
setCreate(value: number): CustomTimeouts;
getUpdate(): number;
setUpdate(value: number): CustomTimeouts;
getDelete(): number;
setDelete(value: number): CustomTimeouts;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CustomTimeouts.AsObject;
static toObject(includeInstance: boolean, msg: CustomTimeouts): CustomTimeouts.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CustomTimeouts, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CustomTimeouts;
static deserializeBinaryFromReader(message: CustomTimeouts, reader: jspb.BinaryReader): CustomTimeouts;
}
export namespace CustomTimeouts {
export type AsObject = {
create: number,
update: number,
pb_delete: number,
}
}
}
export class AnalyzerProviderResource extends jspb.Message {
getType(): string;
setType(value: string): AnalyzerProviderResource;
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): AnalyzerProviderResource;
getUrn(): string;
setUrn(value: string): AnalyzerProviderResource;
getName(): string;
setName(value: string): AnalyzerProviderResource;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzerProviderResource.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzerProviderResource): AnalyzerProviderResource.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzerProviderResource, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzerProviderResource;
static deserializeBinaryFromReader(message: AnalyzerProviderResource, reader: jspb.BinaryReader): AnalyzerProviderResource;
}
export namespace AnalyzerProviderResource {
export type AsObject = {
type: string,
properties?: google_protobuf_struct_pb.Struct.AsObject,
urn: string,
name: string,
}
}
export class AnalyzerPropertyDependencies extends jspb.Message {
clearUrnsList(): void;
getUrnsList(): Array<string>;
setUrnsList(value: Array<string>): AnalyzerPropertyDependencies;
addUrns(value: string, index?: number): string;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzerPropertyDependencies.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzerPropertyDependencies): AnalyzerPropertyDependencies.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzerPropertyDependencies, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzerPropertyDependencies;
static deserializeBinaryFromReader(message: AnalyzerPropertyDependencies, reader: jspb.BinaryReader): AnalyzerPropertyDependencies;
}
export namespace AnalyzerPropertyDependencies {
export type AsObject = {
urnsList: Array<string>,
}
}
export class AnalyzeStackRequest extends jspb.Message {
clearResourcesList(): void;
getResourcesList(): Array<AnalyzerResource>;
setResourcesList(value: Array<AnalyzerResource>): AnalyzeStackRequest;
addResources(value?: AnalyzerResource, index?: number): AnalyzerResource;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzeStackRequest.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzeStackRequest): AnalyzeStackRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzeStackRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzeStackRequest;
static deserializeBinaryFromReader(message: AnalyzeStackRequest, reader: jspb.BinaryReader): AnalyzeStackRequest;
}
export namespace AnalyzeStackRequest {
export type AsObject = {
resourcesList: Array<AnalyzerResource.AsObject>,
}
}
export class AnalyzeResponse extends jspb.Message {
clearDiagnosticsList(): void;
getDiagnosticsList(): Array<AnalyzeDiagnostic>;
setDiagnosticsList(value: Array<AnalyzeDiagnostic>): AnalyzeResponse;
addDiagnostics(value?: AnalyzeDiagnostic, index?: number): AnalyzeDiagnostic;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzeResponse.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzeResponse): AnalyzeResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzeResponse;
static deserializeBinaryFromReader(message: AnalyzeResponse, reader: jspb.BinaryReader): AnalyzeResponse;
}
export namespace AnalyzeResponse {
export type AsObject = {
diagnosticsList: Array<AnalyzeDiagnostic.AsObject>,
}
}
export class AnalyzeDiagnostic extends jspb.Message {
getPolicyname(): string;
setPolicyname(value: string): AnalyzeDiagnostic;
getPolicypackname(): string;
setPolicypackname(value: string): AnalyzeDiagnostic;
getPolicypackversion(): string;
setPolicypackversion(value: string): AnalyzeDiagnostic;
getDescription(): string;
setDescription(value: string): AnalyzeDiagnostic;
getMessage(): string;
setMessage(value: string): AnalyzeDiagnostic;
clearTagsList(): void;
getTagsList(): Array<string>;
setTagsList(value: Array<string>): AnalyzeDiagnostic;
addTags(value: string, index?: number): string;
getEnforcementlevel(): EnforcementLevel;
setEnforcementlevel(value: EnforcementLevel): AnalyzeDiagnostic;
getUrn(): string;
setUrn(value: string): AnalyzeDiagnostic;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzeDiagnostic.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzeDiagnostic): AnalyzeDiagnostic.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzeDiagnostic, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzeDiagnostic;
static deserializeBinaryFromReader(message: AnalyzeDiagnostic, reader: jspb.BinaryReader): AnalyzeDiagnostic;
}
export namespace AnalyzeDiagnostic {
export type AsObject = {
policyname: string,
policypackname: string,
policypackversion: string,
description: string,
message: string,
tagsList: Array<string>,
enforcementlevel: EnforcementLevel,
urn: string,
}
}
export class Remediation extends jspb.Message {
getPolicyname(): string;
setPolicyname(value: string): Remediation;
getPolicypackname(): string;
setPolicypackname(value: string): Remediation;
getPolicypackversion(): string;
setPolicypackversion(value: string): Remediation;
getDescription(): string;
setDescription(value: string): Remediation;
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): Remediation;
getDiagnostic(): string;
setDiagnostic(value: string): Remediation;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Remediation.AsObject;
static toObject(includeInstance: boolean, msg: Remediation): Remediation.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Remediation, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Remediation;
static deserializeBinaryFromReader(message: Remediation, reader: jspb.BinaryReader): Remediation;
}
export namespace Remediation {
export type AsObject = {
policyname: string,
policypackname: string,
policypackversion: string,
description: string,
properties?: google_protobuf_struct_pb.Struct.AsObject,
diagnostic: string,
}
}
export class RemediateResponse extends jspb.Message {
clearRemediationsList(): void;
getRemediationsList(): Array<Remediation>;
setRemediationsList(value: Array<Remediation>): RemediateResponse;
addRemediations(value?: Remediation, index?: number): Remediation;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RemediateResponse.AsObject;
static toObject(includeInstance: boolean, msg: RemediateResponse): RemediateResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: RemediateResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RemediateResponse;
static deserializeBinaryFromReader(message: RemediateResponse, reader: jspb.BinaryReader): RemediateResponse;
}
export namespace RemediateResponse {
export type AsObject = {
remediationsList: Array<Remediation.AsObject>,
}
}
export class AnalyzerInfo extends jspb.Message {
getName(): string;
setName(value: string): AnalyzerInfo;
getDisplayname(): string;
setDisplayname(value: string): AnalyzerInfo;
clearPoliciesList(): void;
getPoliciesList(): Array<PolicyInfo>;
setPoliciesList(value: Array<PolicyInfo>): AnalyzerInfo;
addPolicies(value?: PolicyInfo, index?: number): PolicyInfo;
getVersion(): string;
setVersion(value: string): AnalyzerInfo;
getSupportsconfig(): boolean;
setSupportsconfig(value: boolean): AnalyzerInfo;
getInitialconfigMap(): jspb.Map<string, PolicyConfig>;
clearInitialconfigMap(): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnalyzerInfo.AsObject;
static toObject(includeInstance: boolean, msg: AnalyzerInfo): AnalyzerInfo.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AnalyzerInfo, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnalyzerInfo;
static deserializeBinaryFromReader(message: AnalyzerInfo, reader: jspb.BinaryReader): AnalyzerInfo;
}
export namespace AnalyzerInfo {
export type AsObject = {
name: string,
displayname: string,
policiesList: Array<PolicyInfo.AsObject>,
version: string,
supportsconfig: boolean,
initialconfigMap: Array<[string, PolicyConfig.AsObject]>,
}
}
export class PolicyInfo extends jspb.Message {
getName(): string;
setName(value: string): PolicyInfo;
getDisplayname(): string;
setDisplayname(value: string): PolicyInfo;
getDescription(): string;
setDescription(value: string): PolicyInfo;
getMessage(): string;
setMessage(value: string): PolicyInfo;
getEnforcementlevel(): EnforcementLevel;
setEnforcementlevel(value: EnforcementLevel): PolicyInfo;
hasConfigschema(): boolean;
clearConfigschema(): void;
getConfigschema(): PolicyConfigSchema | undefined;
setConfigschema(value?: PolicyConfigSchema): PolicyInfo;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PolicyInfo.AsObject;
static toObject(includeInstance: boolean, msg: PolicyInfo): PolicyInfo.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PolicyInfo, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PolicyInfo;
static deserializeBinaryFromReader(message: PolicyInfo, reader: jspb.BinaryReader): PolicyInfo;
}
export namespace PolicyInfo {
export type AsObject = {
name: string,
displayname: string,
description: string,
message: string,
enforcementlevel: EnforcementLevel,
configschema?: PolicyConfigSchema.AsObject,
}
}
export class PolicyConfigSchema extends jspb.Message {
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): PolicyConfigSchema;
clearRequiredList(): void;
getRequiredList(): Array<string>;
setRequiredList(value: Array<string>): PolicyConfigSchema;
addRequired(value: string, index?: number): string;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PolicyConfigSchema.AsObject;
static toObject(includeInstance: boolean, msg: PolicyConfigSchema): PolicyConfigSchema.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PolicyConfigSchema, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PolicyConfigSchema;
static deserializeBinaryFromReader(message: PolicyConfigSchema, reader: jspb.BinaryReader): PolicyConfigSchema;
}
export namespace PolicyConfigSchema {
export type AsObject = {
properties?: google_protobuf_struct_pb.Struct.AsObject,
requiredList: Array<string>,
}
}
export class PolicyConfig extends jspb.Message {
getEnforcementlevel(): EnforcementLevel;
setEnforcementlevel(value: EnforcementLevel): PolicyConfig;
hasProperties(): boolean;
clearProperties(): void;
getProperties(): google_protobuf_struct_pb.Struct | undefined;
setProperties(value?: google_protobuf_struct_pb.Struct): PolicyConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PolicyConfig.AsObject;
static toObject(includeInstance: boolean, msg: PolicyConfig): PolicyConfig.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PolicyConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PolicyConfig;
static deserializeBinaryFromReader(message: PolicyConfig, reader: jspb.BinaryReader): PolicyConfig;
}
export namespace PolicyConfig {
export type AsObject = {
enforcementlevel: EnforcementLevel,
properties?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class ConfigureAnalyzerRequest extends jspb.Message {
getPolicyconfigMap(): jspb.Map<string, PolicyConfig>;
clearPolicyconfigMap(): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConfigureAnalyzerRequest.AsObject;
static toObject(includeInstance: boolean, msg: ConfigureAnalyzerRequest): ConfigureAnalyzerRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConfigureAnalyzerRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConfigureAnalyzerRequest;
static deserializeBinaryFromReader(message: ConfigureAnalyzerRequest, reader: jspb.BinaryReader): ConfigureAnalyzerRequest;
}
export namespace ConfigureAnalyzerRequest {
export type AsObject = {
policyconfigMap: Array<[string, PolicyConfig.AsObject]>,
}
}
export enum EnforcementLevel {
ADVISORY = 0,
MANDATORY = 1,
DISABLED = 2,
REMEDIATE = 3,
}