Azure DevOps v2.7.0, Mar 27 23
Azure DevOps v2.7.0, Mar 27 23
azuredevops.ServiceEndpointKubernetes
Explore with Pulumi AI
Manages a Kubernetes service endpoint within Azure DevOps.
Relevant Links
Create ServiceEndpointKubernetes Resource
new ServiceEndpointKubernetes(name: string, args: ServiceEndpointKubernetesArgs, opts?: CustomResourceOptions);
@overload
def ServiceEndpointKubernetes(resource_name: str,
opts: Optional[ResourceOptions] = None,
apiserver_url: Optional[str] = None,
authorization: Optional[Mapping[str, str]] = None,
authorization_type: Optional[str] = None,
azure_subscriptions: Optional[Sequence[ServiceEndpointKubernetesAzureSubscriptionArgs]] = None,
description: Optional[str] = None,
kubeconfig: Optional[ServiceEndpointKubernetesKubeconfigArgs] = None,
project_id: Optional[str] = None,
service_account: Optional[ServiceEndpointKubernetesServiceAccountArgs] = None,
service_endpoint_name: Optional[str] = None)
@overload
def ServiceEndpointKubernetes(resource_name: str,
args: ServiceEndpointKubernetesArgs,
opts: Optional[ResourceOptions] = None)
func NewServiceEndpointKubernetes(ctx *Context, name string, args ServiceEndpointKubernetesArgs, opts ...ResourceOption) (*ServiceEndpointKubernetes, error)
public ServiceEndpointKubernetes(string name, ServiceEndpointKubernetesArgs args, CustomResourceOptions? opts = null)
public ServiceEndpointKubernetes(String name, ServiceEndpointKubernetesArgs args)
public ServiceEndpointKubernetes(String name, ServiceEndpointKubernetesArgs args, CustomResourceOptions options)
type: azuredevops:ServiceEndpointKubernetes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceEndpointKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceEndpointKubernetesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceEndpointKubernetesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceEndpointKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceEndpointKubernetesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceEndpointKubernetes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ServiceEndpointKubernetes resource accepts the following input properties:
- Apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Project
Id string The ID of the project.
- Service
Endpoint stringName The Service Endpoint name.
- Dictionary<string, string>
- Azure
Subscriptions List<Pulumi.Azure Dev Ops. Inputs. Service Endpoint Kubernetes Azure Subscription Args> A
azure_subscription
block defined blow.- Description string
- Kubeconfig
Pulumi.
Azure Dev Ops. Inputs. Service Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- Service
Account Pulumi.Azure Dev Ops. Inputs. Service Endpoint Kubernetes Service Account Args A
service_account
block defined blow.
- Apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- Project
Id string The ID of the project.
- Service
Endpoint stringName The Service Endpoint name.
- map[string]string
- Azure
Subscriptions []ServiceEndpoint Kubernetes Azure Subscription Args A
azure_subscription
block defined blow.- Description string
- Kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- Service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.
- apiserver
Url String The hostname (in form of URI) of the Kubernetes API.
- String
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project
Id String The ID of the project.
- service
Endpoint StringName The Service Endpoint name.
- Map<String,String>
- azure
Subscriptions List<ServiceEndpoint Kubernetes Azure Subscription Args> A
azure_subscription
block defined blow.- description String
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.
- apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- string
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project
Id string The ID of the project.
- service
Endpoint stringName The Service Endpoint name.
- {[key: string]: string}
- azure
Subscriptions ServiceEndpoint Kubernetes Azure Subscription Args[] A
azure_subscription
block defined blow.- description string
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.
- apiserver_
url str The hostname (in form of URI) of the Kubernetes API.
- str
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project_
id str The ID of the project.
- service_
endpoint_ strname The Service Endpoint name.
- Mapping[str, str]
- azure_
subscriptions Sequence[ServiceEndpoint Kubernetes Azure Subscription Args] A
azure_subscription
block defined blow.- description str
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- service_
account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.
- apiserver
Url String The hostname (in form of URI) of the Kubernetes API.
- String
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- project
Id String The ID of the project.
- service
Endpoint StringName The Service Endpoint name.
- Map<String>
- azure
Subscriptions List<Property Map> A
azure_subscription
block defined blow.- description String
- kubeconfig Property Map
A
kubeconfig
block defined blow.- service
Account Property Map A
service_account
block defined blow.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceEndpointKubernetes resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ServiceEndpointKubernetes Resource
Get an existing ServiceEndpointKubernetes 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?: ServiceEndpointKubernetesState, opts?: CustomResourceOptions): ServiceEndpointKubernetes
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apiserver_url: Optional[str] = None,
authorization: Optional[Mapping[str, str]] = None,
authorization_type: Optional[str] = None,
azure_subscriptions: Optional[Sequence[ServiceEndpointKubernetesAzureSubscriptionArgs]] = None,
description: Optional[str] = None,
kubeconfig: Optional[ServiceEndpointKubernetesKubeconfigArgs] = None,
project_id: Optional[str] = None,
service_account: Optional[ServiceEndpointKubernetesServiceAccountArgs] = None,
service_endpoint_name: Optional[str] = None) -> ServiceEndpointKubernetes
func GetServiceEndpointKubernetes(ctx *Context, name string, id IDInput, state *ServiceEndpointKubernetesState, opts ...ResourceOption) (*ServiceEndpointKubernetes, error)
public static ServiceEndpointKubernetes Get(string name, Input<string> id, ServiceEndpointKubernetesState? state, CustomResourceOptions? opts = null)
public static ServiceEndpointKubernetes get(String name, Output<String> id, ServiceEndpointKubernetesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- 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. Inputs. Service Endpoint Kubernetes Azure Subscription Args> A
azure_subscription
block defined blow.- Description string
- Kubeconfig
Pulumi.
Azure Dev Ops. Inputs. Service Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- Project
Id string The ID of the project.
- Service
Account Pulumi.Azure Dev Ops. Inputs. Service Endpoint Kubernetes Service Account Args A
service_account
block defined blow.- Service
Endpoint stringName The Service Endpoint name.
- Apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- 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 []ServiceEndpoint Kubernetes Azure Subscription Args A
azure_subscription
block defined blow.- Description string
- Kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- Project
Id string The ID of the project.
- Service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.- Service
Endpoint stringName The Service Endpoint name.
- apiserver
Url String The hostname (in form of URI) of the Kubernetes API.
- 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 List<ServiceEndpoint Kubernetes Azure Subscription Args> A
azure_subscription
block defined blow.- description String
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- project
Id String The ID of the project.
- service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.- service
Endpoint StringName The Service Endpoint name.
- apiserver
Url string The hostname (in form of URI) of the Kubernetes API.
- {[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 ServiceEndpoint Kubernetes Azure Subscription Args[] A
azure_subscription
block defined blow.- description string
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- project
Id string The ID of the project.
- service
Account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.- service
Endpoint stringName The Service Endpoint name.
- apiserver_
url str The hostname (in form of URI) of the Kubernetes API.
- Mapping[str, str]
- str
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- azure_
subscriptions Sequence[ServiceEndpoint Kubernetes Azure Subscription Args] A
azure_subscription
block defined blow.- description str
- kubeconfig
Service
Endpoint Kubernetes Kubeconfig Args A
kubeconfig
block defined blow.- project_
id str The ID of the project.
- service_
account ServiceEndpoint Kubernetes Service Account Args A
service_account
block defined blow.- service_
endpoint_ strname The Service Endpoint name.
- apiserver
Url String The hostname (in form of URI) of the Kubernetes API.
- Map<String>
- String
The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
- azure
Subscriptions List<Property Map> A
azure_subscription
block defined blow.- description String
- kubeconfig Property Map
A
kubeconfig
block defined blow.- project
Id String The ID of the project.
- service
Account Property Map A
service_account
block defined blow.- service
Endpoint StringName The Service Endpoint name.
Supporting Types
ServiceEndpointKubernetesAzureSubscription
- Cluster
Name string The name of the Kubernetes cluster.
- Resourcegroup
Id string The resource group name, 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.
- Cluster
Admin bool Set this option to allow use cluster admin credentials.
- Namespace string
The Kubernetes namespace. Default value is "default".
- Cluster
Name string The name of the Kubernetes cluster.
- Resourcegroup
Id string The resource group name, 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.
- Cluster
Admin bool Set this option to allow use cluster admin credentials.
- Namespace string
The Kubernetes namespace. Default value is "default".
- cluster
Name String The name of the Kubernetes cluster.
- resourcegroup
Id String The resource group name, 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.
- cluster
Admin Boolean Set this option to allow use cluster admin credentials.
- namespace String
The Kubernetes namespace. Default value is "default".
- cluster
Name string The name of the Kubernetes cluster.
- resourcegroup
Id string The resource group name, 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.
- cluster
Admin boolean Set this option to allow use cluster admin credentials.
- namespace string
The Kubernetes namespace. Default value is "default".
- cluster_
name str The name of the Kubernetes cluster.
- resourcegroup_
id str The resource group name, 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.
- cluster_
admin bool Set this option to allow use cluster admin credentials.
- namespace str
The Kubernetes namespace. Default value is "default".
- cluster
Name String The name of the Kubernetes cluster.
- resourcegroup
Id String The resource group name, 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.
- cluster
Admin Boolean Set this option to allow use cluster admin credentials.
- namespace String
The Kubernetes namespace. Default value is "default".
ServiceEndpointKubernetesKubeconfig
- 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 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 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 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 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 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.
ServiceEndpointKubernetesServiceAccount
- Ca
Cert string The certificate from a Kubernetes secret object.
- Token string
The token from a Kubernetes secret object.
- Ca
Cert stringHash - Token
Hash string
- Ca
Cert string The certificate from a Kubernetes secret object.
- Token string
The token from a Kubernetes secret object.
- Ca
Cert stringHash - Token
Hash string
- ca
Cert String The certificate from a Kubernetes secret object.
- token String
The token from a Kubernetes secret object.
- ca
Cert StringHash - token
Hash String
- ca
Cert string The certificate from a Kubernetes secret object.
- token string
The token from a Kubernetes secret object.
- ca
Cert stringHash - token
Hash string
- ca_
cert str The certificate from a Kubernetes secret object.
- token str
The token from a Kubernetes secret object.
- ca_
cert_ strhash - token_
hash str
- ca
Cert String The certificate from a Kubernetes secret object.
- token String
The token from a Kubernetes secret object.
- ca
Cert StringHash - token
Hash String
Import
Azure DevOps Service Endpoint Kubernetes can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID
$ pulumi import azuredevops:index/serviceEndpointKubernetes:ServiceEndpointKubernetes example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azuredevops
Terraform Provider.