SourceCodeToken

class SourceCodeToken : KotlinCustomResource

Manages an App Service source control token. !>NOTE: This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use azure.appservice.ServicePlan resource instead.

NOTE: Source Control Tokens are configured at the subscription level, not on each App Service - as such this can only be configured Subscription-wide

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appservice.SourceCodeToken;
import com.pulumi.azure.appservice.SourceCodeTokenArgs;
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 SourceCodeToken("example", SourceCodeTokenArgs.builder()
.token("7e57735e77e577e57")
.type("GitHub")
.build());
}
}

Import

App Service Source Control Token's can be imported using the type, e.g.

$ pulumi import azure:appservice/sourceCodeToken:SourceCodeToken example {type}

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val token: Output<String>

The OAuth access token.

Link copied to clipboard
val tokenSecret: Output<String>?

The OAuth access token secret.

Link copied to clipboard
val type: Output<String>

The source control type. Possible values are BitBucket, Dropbox, GitHub and OneDrive.

Link copied to clipboard
val urn: Output<String>