Kubernetes
# azuredevops.ServiceEndpoint.Kubernetes
Manages a Kubernetes service endpoint within Azure DevOps.
Relevant Links
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Create a Kubernetes Resource
new Kubernetes(name: string, args: KubernetesArgs, opts?: CustomResourceOptions);def Kubernetes(resource_name, opts=None, apiserver_url=None, authorization=None, authorization_type=None, azure_subscriptions=None, description=None, kubeconfigs=None, project_id=None, service_accounts=None, service_endpoint_name=None, __props__=None);func NewKubernetes(ctx *Context, name string, args KubernetesArgs, opts ...ResourceOption) (*Kubernetes, error)public Kubernetes(string name, KubernetesArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Kubernetes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Kubernetes resource accepts the following input properties:
- Apiserver
Url string The Service Endpoint description.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Project
Id string The project ID or project name.
- Service
Endpoint stringName The Service Endpoint name.
- Dictionary<string, string>
- Azure
Subscriptions List<Pulumi.Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Azure Subscription Args> The configuration for authorization_type=“AzureSubscription”.
- Description string
- Kubeconfigs
List<Pulumi.
Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Kubeconfig Args> The configuration for authorization_type=“Kubeconfig”.
- Service
Accounts List<Pulumi.Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Service Account Args> The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- Apiserver
Url string The Service Endpoint description.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Project
Id string The project ID or project name.
- Service
Endpoint stringName The Service Endpoint name.
- map[string]string
- Azure
Subscriptions []KubernetesAzure Subscription The configuration for authorization_type=“AzureSubscription”.
- Description string
- Kubeconfigs
[]Kubernetes
Kubeconfig The configuration for authorization_type=“Kubeconfig”.
- Service
Accounts []KubernetesService Account The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- apiserver
Url string The Service Endpoint description.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project
Id string The project ID or project name.
- service
Endpoint stringName The Service Endpoint name.
- {[key: string]: string}
- azure
Subscriptions KubernetesAzure Subscription[] The configuration for authorization_type=“AzureSubscription”.
- description string
- kubeconfigs
Kubernetes
Kubeconfig[] The configuration for authorization_type=“Kubeconfig”.
- service
Accounts KubernetesService Account[] The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- apiserver_
url str The Service Endpoint description.
- str
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project_
id str The project ID or project name.
- service_
endpoint_ strname The Service Endpoint name.
- Dict[str, str]
- azure_
subscriptions List[KubernetesAzure Subscription] The configuration for authorization_type=“AzureSubscription”.
- description str
- kubeconfigs
List[Kubernetes
Kubeconfig] The configuration for authorization_type=“Kubeconfig”.
- service_
accounts List[KubernetesService Account] The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the Kubernetes resource produces the following output properties:
Look up an Existing Kubernetes Resource
Get an existing Kubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KubernetesState, opts?: CustomResourceOptions): Kubernetesstatic get(resource_name, id, opts=None, apiserver_url=None, authorization=None, authorization_type=None, azure_subscriptions=None, description=None, kubeconfigs=None, project_id=None, service_accounts=None, service_endpoint_name=None, __props__=None);func GetKubernetes(ctx *Context, name string, id IDInput, state *KubernetesState, opts ...ResourceOption) (*Kubernetes, error)public static Kubernetes Get(string name, Input<string> id, KubernetesState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Apiserver
Url string The Service Endpoint description.
- Dictionary<string, string>
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Azure
Subscriptions List<Pulumi.Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Azure Subscription Args> The configuration for authorization_type=“AzureSubscription”.
- Description string
- Kubeconfigs
List<Pulumi.
Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Kubeconfig Args> The configuration for authorization_type=“Kubeconfig”.
- Project
Id string The project ID or project name.
- Service
Accounts List<Pulumi.Azure Dev Ops. Service Endpoint. Inputs. Kubernetes Service Account Args> The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- Service
Endpoint stringName The Service Endpoint name.
- Apiserver
Url string The Service Endpoint description.
- map[string]string
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Azure
Subscriptions []KubernetesAzure Subscription The configuration for authorization_type=“AzureSubscription”.
- Description string
- Kubeconfigs
[]Kubernetes
Kubeconfig The configuration for authorization_type=“Kubeconfig”.
- Project
Id string The project ID or project name.
- Service
Accounts []KubernetesService Account The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- Service
Endpoint stringName The Service Endpoint name.
- apiserver
Url string The Service Endpoint description.
- {[key: string]: string}
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- azure
Subscriptions KubernetesAzure Subscription[] The configuration for authorization_type=“AzureSubscription”.
- description string
- kubeconfigs
Kubernetes
Kubeconfig[] The configuration for authorization_type=“Kubeconfig”.
- project
Id string The project ID or project name.
- service
Accounts KubernetesService Account[] The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- service
Endpoint stringName The Service Endpoint name.
- apiserver_
url str The Service Endpoint description.
- Dict[str, str]
- str
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- azure_
subscriptions List[KubernetesAzure Subscription] The configuration for authorization_type=“AzureSubscription”.
- description str
- kubeconfigs
List[Kubernetes
Kubeconfig] The configuration for authorization_type=“Kubeconfig”.
- project_
id str The project ID or project name.
- service_
accounts List[KubernetesService Account] The configuration for authorization_type=“ServiceAccount”. This type uses the credentials of a service account currently deployed to the cluster.
- service_
endpoint_ strname The Service Endpoint name.
Supporting Types
KubernetesAzureSubscription
- Cluster
Name string The name of the Kubernetes cluster.
- Resourcegroup
Id string The resource group id, to which the Kubernetes cluster is deployed.
- Subscription
Id string The id of the Azure subscription.
- Subscription
Name string The name of the Azure subscription.
- Tenant
Id string The id of the tenant used by the subscription.
- Azure
Environment string Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
- Namespace string
The Kubernetes namespace. Default value is “default”.
- Cluster
Name string The name of the Kubernetes cluster.
- Resourcegroup
Id string The resource group id, to which the Kubernetes cluster is deployed.
- Subscription
Id string The id of the Azure subscription.
- Subscription
Name string The name of the Azure subscription.
- Tenant
Id string The id of the tenant used by the subscription.
- Azure
Environment string Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
- Namespace string
The Kubernetes namespace. Default value is “default”.
- cluster
Name string The name of the Kubernetes cluster.
- resourcegroup
Id string The resource group id, to which the Kubernetes cluster is deployed.
- subscription
Id string The id of the Azure subscription.
- subscription
Name string The name of the Azure subscription.
- tenant
Id string The id of the tenant used by the subscription.
- azure
Environment string Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
- namespace string
The Kubernetes namespace. Default value is “default”.
- cluster
Name str The name of the Kubernetes cluster.
- resourcegroup
Id str The resource group id, to which the Kubernetes cluster is deployed.
- subscription
Id str The id of the Azure subscription.
- subscription
Name str The name of the Azure subscription.
- tenant
Id str The id of the tenant used by the subscription.
- azure
Environment str Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
- namespace str
The Kubernetes namespace. Default value is “default”.
KubernetesKubeconfig
- Kube
Config string The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
- Accept
Untrusted boolCerts Set this option to allow clients to accept a self-signed certificate.
- Cluster
Context string Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
- Kube
Config stringHash
- Kube
Config string The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
- Accept
Untrusted boolCerts Set this option to allow clients to accept a self-signed certificate.
- Cluster
Context string Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
- Kube
Config stringHash
- kube
Config string The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
- accept
Untrusted booleanCerts Set this option to allow clients to accept a self-signed certificate.
- cluster
Context string Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
- kube
Config stringHash
- kube
Config str The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
- accept
Untrusted boolCerts Set this option to allow clients to accept a self-signed certificate.
- cluster
Context str Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
- kube
Config strHash
KubernetesServiceAccount
Package Details
- Repository
- https://github.com/pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.