@kubernetes-models/argo-cd
Version:
40 lines (39 loc) • 1.66 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef } from "./SecretRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.
*/
export interface ISCMProviderGeneratorAzureDevOps {
/**
* The Personal Access Token (PAT) to use when connecting. Required.
*/
"accessTokenRef": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
/**
* Scan all branches instead of just the default branch.
*/
"allBranches"?: boolean;
/**
* The URL to Azure DevOps. If blank, use https://dev.azure.com.
*/
"api"?: string;
/**
* Azure Devops organization. Required. E.g. "my-organization".
*/
"organization": string;
/**
* Azure Devops team project. Required. E.g. "my-team".
*/
"teamProject": string;
}
/**
* SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.
*/
export declare class SCMProviderGeneratorAzureDevOps extends Model<ISCMProviderGeneratorAzureDevOps> implements ISCMProviderGeneratorAzureDevOps {
"accessTokenRef": IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SecretRef;
"allBranches"?: boolean;
"api"?: string;
"organization": string;
"teamProject": string;
constructor(data?: ModelData<ISCMProviderGeneratorAzureDevOps>);
}
export type { ISCMProviderGeneratorAzureDevOps as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorAzureDevOps, SCMProviderGeneratorAzureDevOps as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1SCMProviderGeneratorAzureDevOps };