azuredevops.ServiceendpointOpenshift
Explore with Pulumi AI
Manages an Openshift service endpoint within Azure DevOps organization. Using this service endpoint requires you to first install the OpenShift Extension.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
name: "Example Project",
visibility: "private",
versionControl: "Git",
workItemTemplate: "Agile",
description: "Managed by Pulumi",
});
const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
projectId: example.id,
serviceEndpointName: "Example Openshift",
serverUrl: "https://example.server",
certificateAuthorityFile: "/opt/file",
acceptUntrustedCerts: true,
authBasic: {
username: "username",
password: "password",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
name="Example Project",
visibility="private",
version_control="Git",
work_item_template="Agile",
description="Managed by Pulumi")
example_serviceendpoint_openshift = azuredevops.ServiceendpointOpenshift("example",
project_id=example.id,
service_endpoint_name="Example Openshift",
server_url="https://example.server",
certificate_authority_file="/opt/file",
accept_untrusted_certs=True,
auth_basic={
"username": "username",
"password": "password",
})
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
Name: pulumi.String("Example Project"),
Visibility: pulumi.String("private"),
VersionControl: pulumi.String("Git"),
WorkItemTemplate: pulumi.String("Agile"),
Description: pulumi.String("Managed by Pulumi"),
})
if err != nil {
return err
}
_, err = azuredevops.NewServiceendpointOpenshift(ctx, "example", &azuredevops.ServiceendpointOpenshiftArgs{
ProjectId: example.ID(),
ServiceEndpointName: pulumi.String("Example Openshift"),
ServerUrl: pulumi.String("https://example.server"),
CertificateAuthorityFile: pulumi.String("/opt/file"),
AcceptUntrustedCerts: pulumi.Bool(true),
AuthBasic: &azuredevops.ServiceendpointOpenshiftAuthBasicArgs{
Username: pulumi.String("username"),
Password: pulumi.String("password"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.Project("example", new()
{
Name = "Example Project",
Visibility = "private",
VersionControl = "Git",
WorkItemTemplate = "Agile",
Description = "Managed by Pulumi",
});
var exampleServiceendpointOpenshift = new AzureDevOps.ServiceendpointOpenshift("example", new()
{
ProjectId = example.Id,
ServiceEndpointName = "Example Openshift",
ServerUrl = "https://example.server",
CertificateAuthorityFile = "/opt/file",
AcceptUntrustedCerts = true,
AuthBasic = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthBasicArgs
{
Username = "username",
Password = "password",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceendpointOpenshift;
import com.pulumi.azuredevops.ServiceendpointOpenshiftArgs;
import com.pulumi.azuredevops.inputs.ServiceendpointOpenshiftAuthBasicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.name("Example Project")
.visibility("private")
.versionControl("Git")
.workItemTemplate("Agile")
.description("Managed by Pulumi")
.build());
var exampleServiceendpointOpenshift = new ServiceendpointOpenshift("exampleServiceendpointOpenshift", ServiceendpointOpenshiftArgs.builder()
.projectId(example.id())
.serviceEndpointName("Example Openshift")
.serverUrl("https://example.server")
.certificateAuthorityFile("/opt/file")
.acceptUntrustedCerts(true)
.authBasic(ServiceendpointOpenshiftAuthBasicArgs.builder()
.username("username")
.password("password")
.build())
.build());
}
}
resources:
example:
type: azuredevops:Project
properties:
name: Example Project
visibility: private
versionControl: Git
workItemTemplate: Agile
description: Managed by Pulumi
exampleServiceendpointOpenshift:
type: azuredevops:ServiceendpointOpenshift
name: example
properties:
projectId: ${example.id}
serviceEndpointName: Example Openshift
serverUrl: https://example.server
certificateAuthorityFile: /opt/file
acceptUntrustedCerts: true
authBasic:
username: username
password: password
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
name: "Example Project",
visibility: "private",
versionControl: "Git",
workItemTemplate: "Agile",
description: "Managed by Pulumi",
});
const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
projectId: example.id,
serviceEndpointName: "Example Openshift",
serverUrl: "https://example.server",
certificateAuthorityFile: "/opt/file",
acceptUntrustedCerts: true,
authToken: {
token: "username",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
name="Example Project",
visibility="private",
version_control="Git",
work_item_template="Agile",
description="Managed by Pulumi")
example_serviceendpoint_openshift = azuredevops.ServiceendpointOpenshift("example",
project_id=example.id,
service_endpoint_name="Example Openshift",
server_url="https://example.server",
certificate_authority_file="/opt/file",
accept_untrusted_certs=True,
auth_token={
"token": "username",
})
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
Name: pulumi.String("Example Project"),
Visibility: pulumi.String("private"),
VersionControl: pulumi.String("Git"),
WorkItemTemplate: pulumi.String("Agile"),
Description: pulumi.String("Managed by Pulumi"),
})
if err != nil {
return err
}
_, err = azuredevops.NewServiceendpointOpenshift(ctx, "example", &azuredevops.ServiceendpointOpenshiftArgs{
ProjectId: example.ID(),
ServiceEndpointName: pulumi.String("Example Openshift"),
ServerUrl: pulumi.String("https://example.server"),
CertificateAuthorityFile: pulumi.String("/opt/file"),
AcceptUntrustedCerts: pulumi.Bool(true),
AuthToken: &azuredevops.ServiceendpointOpenshiftAuthTokenArgs{
Token: pulumi.String("username"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.Project("example", new()
{
Name = "Example Project",
Visibility = "private",
VersionControl = "Git",
WorkItemTemplate = "Agile",
Description = "Managed by Pulumi",
});
var exampleServiceendpointOpenshift = new AzureDevOps.ServiceendpointOpenshift("example", new()
{
ProjectId = example.Id,
ServiceEndpointName = "Example Openshift",
ServerUrl = "https://example.server",
CertificateAuthorityFile = "/opt/file",
AcceptUntrustedCerts = true,
AuthToken = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthTokenArgs
{
Token = "username",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceendpointOpenshift;
import com.pulumi.azuredevops.ServiceendpointOpenshiftArgs;
import com.pulumi.azuredevops.inputs.ServiceendpointOpenshiftAuthTokenArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.name("Example Project")
.visibility("private")
.versionControl("Git")
.workItemTemplate("Agile")
.description("Managed by Pulumi")
.build());
var exampleServiceendpointOpenshift = new ServiceendpointOpenshift("exampleServiceendpointOpenshift", ServiceendpointOpenshiftArgs.builder()
.projectId(example.id())
.serviceEndpointName("Example Openshift")
.serverUrl("https://example.server")
.certificateAuthorityFile("/opt/file")
.acceptUntrustedCerts(true)
.authToken(ServiceendpointOpenshiftAuthTokenArgs.builder()
.token("username")
.build())
.build());
}
}
resources:
example:
type: azuredevops:Project
properties:
name: Example Project
visibility: private
versionControl: Git
workItemTemplate: Agile
description: Managed by Pulumi
exampleServiceendpointOpenshift:
type: azuredevops:ServiceendpointOpenshift
name: example
properties:
projectId: ${example.id}
serviceEndpointName: Example Openshift
serverUrl: https://example.server
certificateAuthorityFile: /opt/file
acceptUntrustedCerts: true
authToken:
token: username
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
name: "Example Project",
visibility: "private",
versionControl: "Git",
workItemTemplate: "Agile",
description: "Managed by Pulumi",
});
const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
projectId: example.id,
serviceEndpointName: "Example Openshift",
serverUrl: "https://example.server",
authNone: {
kubeConfig: "config",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
name="Example Project",
visibility="private",
version_control="Git",
work_item_template="Agile",
description="Managed by Pulumi")
example_serviceendpoint_openshift = azuredevops.ServiceendpointOpenshift("example",
project_id=example.id,
service_endpoint_name="Example Openshift",
server_url="https://example.server",
auth_none={
"kube_config": "config",
})
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
Name: pulumi.String("Example Project"),
Visibility: pulumi.String("private"),
VersionControl: pulumi.String("Git"),
WorkItemTemplate: pulumi.String("Agile"),
Description: pulumi.String("Managed by Pulumi"),
})
if err != nil {
return err
}
_, err = azuredevops.NewServiceendpointOpenshift(ctx, "example", &azuredevops.ServiceendpointOpenshiftArgs{
ProjectId: example.ID(),
ServiceEndpointName: pulumi.String("Example Openshift"),
ServerUrl: pulumi.String("https://example.server"),
AuthNone: &azuredevops.ServiceendpointOpenshiftAuthNoneArgs{
KubeConfig: pulumi.String("config"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.Project("example", new()
{
Name = "Example Project",
Visibility = "private",
VersionControl = "Git",
WorkItemTemplate = "Agile",
Description = "Managed by Pulumi",
});
var exampleServiceendpointOpenshift = new AzureDevOps.ServiceendpointOpenshift("example", new()
{
ProjectId = example.Id,
ServiceEndpointName = "Example Openshift",
ServerUrl = "https://example.server",
AuthNone = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthNoneArgs
{
KubeConfig = "config",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceendpointOpenshift;
import com.pulumi.azuredevops.ServiceendpointOpenshiftArgs;
import com.pulumi.azuredevops.inputs.ServiceendpointOpenshiftAuthNoneArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.name("Example Project")
.visibility("private")
.versionControl("Git")
.workItemTemplate("Agile")
.description("Managed by Pulumi")
.build());
var exampleServiceendpointOpenshift = new ServiceendpointOpenshift("exampleServiceendpointOpenshift", ServiceendpointOpenshiftArgs.builder()
.projectId(example.id())
.serviceEndpointName("Example Openshift")
.serverUrl("https://example.server")
.authNone(ServiceendpointOpenshiftAuthNoneArgs.builder()
.kubeConfig("config")
.build())
.build());
}
}
resources:
example:
type: azuredevops:Project
properties:
name: Example Project
visibility: private
versionControl: Git
workItemTemplate: Agile
description: Managed by Pulumi
exampleServiceendpointOpenshift:
type: azuredevops:ServiceendpointOpenshift
name: example
properties:
projectId: ${example.id}
serviceEndpointName: Example Openshift
serverUrl: https://example.server
authNone:
kubeConfig: config
Relevant Links
Create ServiceendpointOpenshift Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceendpointOpenshift(name: string, args: ServiceendpointOpenshiftArgs, opts?: CustomResourceOptions);
@overload
def ServiceendpointOpenshift(resource_name: str,
args: ServiceendpointOpenshiftArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceendpointOpenshift(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
service_endpoint_name: Optional[str] = None,
accept_untrusted_certs: Optional[bool] = None,
auth_basic: Optional[ServiceendpointOpenshiftAuthBasicArgs] = None,
auth_none: Optional[ServiceendpointOpenshiftAuthNoneArgs] = None,
auth_token: Optional[ServiceendpointOpenshiftAuthTokenArgs] = None,
certificate_authority_file: Optional[str] = None,
description: Optional[str] = None,
server_url: Optional[str] = None)
func NewServiceendpointOpenshift(ctx *Context, name string, args ServiceendpointOpenshiftArgs, opts ...ResourceOption) (*ServiceendpointOpenshift, error)
public ServiceendpointOpenshift(string name, ServiceendpointOpenshiftArgs args, CustomResourceOptions? opts = null)
public ServiceendpointOpenshift(String name, ServiceendpointOpenshiftArgs args)
public ServiceendpointOpenshift(String name, ServiceendpointOpenshiftArgs args, CustomResourceOptions options)
type: azuredevops:ServiceendpointOpenshift
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceendpointOpenshiftArgs
- 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 ServiceendpointOpenshiftArgs
- 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 ServiceendpointOpenshiftArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceendpointOpenshiftArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceendpointOpenshiftArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceendpointOpenshiftResource = new AzureDevOps.ServiceendpointOpenshift("serviceendpointOpenshiftResource", new()
{
ProjectId = "string",
ServiceEndpointName = "string",
AcceptUntrustedCerts = false,
AuthBasic = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthBasicArgs
{
Password = "string",
Username = "string",
},
AuthNone = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthNoneArgs
{
KubeConfig = "string",
},
AuthToken = new AzureDevOps.Inputs.ServiceendpointOpenshiftAuthTokenArgs
{
Token = "string",
},
CertificateAuthorityFile = "string",
Description = "string",
ServerUrl = "string",
});
example, err := azuredevops.NewServiceendpointOpenshift(ctx, "serviceendpointOpenshiftResource", &azuredevops.ServiceendpointOpenshiftArgs{
ProjectId: pulumi.String("string"),
ServiceEndpointName: pulumi.String("string"),
AcceptUntrustedCerts: pulumi.Bool(false),
AuthBasic: &azuredevops.ServiceendpointOpenshiftAuthBasicArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
AuthNone: &azuredevops.ServiceendpointOpenshiftAuthNoneArgs{
KubeConfig: pulumi.String("string"),
},
AuthToken: &azuredevops.ServiceendpointOpenshiftAuthTokenArgs{
Token: pulumi.String("string"),
},
CertificateAuthorityFile: pulumi.String("string"),
Description: pulumi.String("string"),
ServerUrl: pulumi.String("string"),
})
var serviceendpointOpenshiftResource = new ServiceendpointOpenshift("serviceendpointOpenshiftResource", ServiceendpointOpenshiftArgs.builder()
.projectId("string")
.serviceEndpointName("string")
.acceptUntrustedCerts(false)
.authBasic(ServiceendpointOpenshiftAuthBasicArgs.builder()
.password("string")
.username("string")
.build())
.authNone(ServiceendpointOpenshiftAuthNoneArgs.builder()
.kubeConfig("string")
.build())
.authToken(ServiceendpointOpenshiftAuthTokenArgs.builder()
.token("string")
.build())
.certificateAuthorityFile("string")
.description("string")
.serverUrl("string")
.build());
serviceendpoint_openshift_resource = azuredevops.ServiceendpointOpenshift("serviceendpointOpenshiftResource",
project_id="string",
service_endpoint_name="string",
accept_untrusted_certs=False,
auth_basic={
"password": "string",
"username": "string",
},
auth_none={
"kube_config": "string",
},
auth_token={
"token": "string",
},
certificate_authority_file="string",
description="string",
server_url="string")
const serviceendpointOpenshiftResource = new azuredevops.ServiceendpointOpenshift("serviceendpointOpenshiftResource", {
projectId: "string",
serviceEndpointName: "string",
acceptUntrustedCerts: false,
authBasic: {
password: "string",
username: "string",
},
authNone: {
kubeConfig: "string",
},
authToken: {
token: "string",
},
certificateAuthorityFile: "string",
description: "string",
serverUrl: "string",
});
type: azuredevops:ServiceendpointOpenshift
properties:
acceptUntrustedCerts: false
authBasic:
password: string
username: string
authNone:
kubeConfig: string
authToken:
token: string
certificateAuthorityFile: string
description: string
projectId: string
serverUrl: string
serviceEndpointName: string
ServiceendpointOpenshift Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceendpointOpenshift resource accepts the following input properties:
- Project
Id string - The ID of the project.
- Service
Endpoint stringName - The Service Endpoint name.
- Accept
Untrusted boolCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - Auth
Basic Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth Basic - An
auth_basic
block as documented below. - Auth
None Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth None - An
auth_none
block as documented below. - Auth
Token Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth Token - An
auth_token
block as documented below. - string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - Description string
- Server
Url string - The URL for the OpenShift cluster to connect to.
- Project
Id string - The ID of the project.
- Service
Endpoint stringName - The Service Endpoint name.
- Accept
Untrusted boolCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - Auth
Basic ServiceendpointOpenshift Auth Basic Args - An
auth_basic
block as documented below. - Auth
None ServiceendpointOpenshift Auth None Args - An
auth_none
block as documented below. - Auth
Token ServiceendpointOpenshift Auth Token Args - An
auth_token
block as documented below. - string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - Description string
- Server
Url string - The URL for the OpenShift cluster to connect to.
- project
Id String - The ID of the project.
- service
Endpoint StringName - The Service Endpoint name.
- accept
Untrusted BooleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic ServiceendpointOpenshift Auth Basic - An
auth_basic
block as documented below. - auth
None ServiceendpointOpenshift Auth None - An
auth_none
block as documented below. - auth
Token ServiceendpointOpenshift Auth Token - An
auth_token
block as documented below. - String
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description String
- server
Url String - The URL for the OpenShift cluster to connect to.
- project
Id string - The ID of the project.
- service
Endpoint stringName - The Service Endpoint name.
- accept
Untrusted booleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic ServiceendpointOpenshift Auth Basic - An
auth_basic
block as documented below. - auth
None ServiceendpointOpenshift Auth None - An
auth_none
block as documented below. - auth
Token ServiceendpointOpenshift Auth Token - An
auth_token
block as documented below. - string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description string
- server
Url string - The URL for the OpenShift cluster to connect to.
- project_
id str - The ID of the project.
- service_
endpoint_ strname - The Service Endpoint name.
- accept_
untrusted_ boolcerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth_
basic ServiceendpointOpenshift Auth Basic Args - An
auth_basic
block as documented below. - auth_
none ServiceendpointOpenshift Auth None Args - An
auth_none
block as documented below. - auth_
token ServiceendpointOpenshift Auth Token Args - An
auth_token
block as documented below. - str
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description str
- server_
url str - The URL for the OpenShift cluster to connect to.
- project
Id String - The ID of the project.
- service
Endpoint StringName - The Service Endpoint name.
- accept
Untrusted BooleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic Property Map - An
auth_basic
block as documented below. - auth
None Property Map - An
auth_none
block as documented below. - auth
Token Property Map - An
auth_token
block as documented below. - String
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description String
- server
Url String - The URL for the OpenShift cluster to connect to.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceendpointOpenshift resource produces the following output properties:
- Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Id string
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- id String
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- id string
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- id str
- The provider-assigned unique ID for this managed resource.
- Map<String>
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServiceendpointOpenshift Resource
Get an existing ServiceendpointOpenshift 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?: ServiceendpointOpenshiftState, opts?: CustomResourceOptions): ServiceendpointOpenshift
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accept_untrusted_certs: Optional[bool] = None,
auth_basic: Optional[ServiceendpointOpenshiftAuthBasicArgs] = None,
auth_none: Optional[ServiceendpointOpenshiftAuthNoneArgs] = None,
auth_token: Optional[ServiceendpointOpenshiftAuthTokenArgs] = None,
authorization: Optional[Mapping[str, str]] = None,
certificate_authority_file: Optional[str] = None,
description: Optional[str] = None,
project_id: Optional[str] = None,
server_url: Optional[str] = None,
service_endpoint_name: Optional[str] = None) -> ServiceendpointOpenshift
func GetServiceendpointOpenshift(ctx *Context, name string, id IDInput, state *ServiceendpointOpenshiftState, opts ...ResourceOption) (*ServiceendpointOpenshift, error)
public static ServiceendpointOpenshift Get(string name, Input<string> id, ServiceendpointOpenshiftState? state, CustomResourceOptions? opts = null)
public static ServiceendpointOpenshift get(String name, Output<String> id, ServiceendpointOpenshiftState state, CustomResourceOptions options)
resources: _: type: azuredevops:ServiceendpointOpenshift get: id: ${id}
- 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.
- Accept
Untrusted boolCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - Auth
Basic Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth Basic - An
auth_basic
block as documented below. - Auth
None Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth None - An
auth_none
block as documented below. - Auth
Token Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Openshift Auth Token - An
auth_token
block as documented below. - Dictionary<string, string>
- string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - Description string
- Project
Id string - The ID of the project.
- Server
Url string - The URL for the OpenShift cluster to connect to.
- Service
Endpoint stringName - The Service Endpoint name.
- Accept
Untrusted boolCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - Auth
Basic ServiceendpointOpenshift Auth Basic Args - An
auth_basic
block as documented below. - Auth
None ServiceendpointOpenshift Auth None Args - An
auth_none
block as documented below. - Auth
Token ServiceendpointOpenshift Auth Token Args - An
auth_token
block as documented below. - map[string]string
- string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - Description string
- Project
Id string - The ID of the project.
- Server
Url string - The URL for the OpenShift cluster to connect to.
- Service
Endpoint stringName - The Service Endpoint name.
- accept
Untrusted BooleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic ServiceendpointOpenshift Auth Basic - An
auth_basic
block as documented below. - auth
None ServiceendpointOpenshift Auth None - An
auth_none
block as documented below. - auth
Token ServiceendpointOpenshift Auth Token - An
auth_token
block as documented below. - Map<String,String>
- String
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description String
- project
Id String - The ID of the project.
- server
Url String - The URL for the OpenShift cluster to connect to.
- service
Endpoint StringName - The Service Endpoint name.
- accept
Untrusted booleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic ServiceendpointOpenshift Auth Basic - An
auth_basic
block as documented below. - auth
None ServiceendpointOpenshift Auth None - An
auth_none
block as documented below. - auth
Token ServiceendpointOpenshift Auth Token - An
auth_token
block as documented below. - {[key: string]: string}
- string
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description string
- project
Id string - The ID of the project.
- server
Url string - The URL for the OpenShift cluster to connect to.
- service
Endpoint stringName - The Service Endpoint name.
- accept_
untrusted_ boolcerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth_
basic ServiceendpointOpenshift Auth Basic Args - An
auth_basic
block as documented below. - auth_
none ServiceendpointOpenshift Auth None Args - An
auth_none
block as documented below. - auth_
token ServiceendpointOpenshift Auth Token Args - An
auth_token
block as documented below. - Mapping[str, str]
- str
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description str
- project_
id str - The ID of the project.
- server_
url str - The URL for the OpenShift cluster to connect to.
- service_
endpoint_ strname - The Service Endpoint name.
- accept
Untrusted BooleanCerts - Set this option to allow clients to accept a self-signed certificate. Available when using
auth_basic
orauth_token
authorization. - auth
Basic Property Map - An
auth_basic
block as documented below. - auth
None Property Map - An
auth_none
block as documented below. - auth
Token Property Map - An
auth_token
block as documented below. - Map<String>
- String
- The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using
auth_basic
orauth_token
authorization. - description String
- project
Id String - The ID of the project.
- server
Url String - The URL for the OpenShift cluster to connect to.
- service
Endpoint StringName - The Service Endpoint name.
Supporting Types
ServiceendpointOpenshiftAuthBasic, ServiceendpointOpenshiftAuthBasicArgs
ServiceendpointOpenshiftAuthNone, ServiceendpointOpenshiftAuthNoneArgs
- Kube
Config string - The kubectl config
- Kube
Config string - The kubectl config
- kube
Config String - The kubectl config
- kube
Config string - The kubectl config
- kube_
config str - The kubectl config
- kube
Config String - The kubectl config
ServiceendpointOpenshiftAuthToken, ServiceendpointOpenshiftAuthTokenArgs
- Token string
- The API token.
- Token string
- The API token.
- token String
- The API token.
- token string
- The API token.
- token str
- The API token.
- token String
- The API token.
Import
Azure DevOps Openshift Service Endpoint can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID
$ pulumi import azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevops
Terraform Provider.