com.ovhcloud.pulumi.ovh.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.ovhcloud.pulumi.ovh;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Optional;
public final class Config {
private static final com.pulumi.Config config = com.pulumi.Config.of("ovh");
/**
* The OVH API Access Token
*
*/
public Optional accessToken() {
return Codegen.stringProp("accessToken").config(config).get();
}
/**
* The OVH API Application Key
*
*/
public Optional applicationKey() {
return Codegen.stringProp("applicationKey").config(config).env("OVH_APPLICATION_KEY").get();
}
/**
* The OVH API Application Secret
*
*/
public Optional applicationSecret() {
return Codegen.stringProp("applicationSecret").config(config).env("OVH_APPLICATION_SECRET").get();
}
/**
* OAuth 2.0 application's ID
*
*/
public Optional clientId() {
return Codegen.stringProp("clientId").config(config).get();
}
/**
* OAuth 2.0 application's secret
*
*/
public Optional clientSecret() {
return Codegen.stringProp("clientSecret").config(config).get();
}
/**
* The OVH API Consumer Key
*
*/
public Optional consumerKey() {
return Codegen.stringProp("consumerKey").config(config).env("OVH_CONSUMER_KEY").get();
}
/**
* The OVH API endpoint to target (ex: "ovh-eu")
*
*/
public Optional endpoint() {
return Codegen.stringProp("endpoint").config(config).env("OVH_ENDPOINT").get();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy