1. Packages
  2. DataRobot
  3. API Docs
  4. AppOauth
DataRobot v0.10.6 published on Friday, Jun 13, 2025 by DataRobot, Inc.

datarobot.AppOauth

Explore with Pulumi AI

datarobot logo
DataRobot v0.10.6 published on Friday, Jun 13, 2025 by DataRobot, Inc.

    Resource for managing OAuth providers in DataRobot. This resource allows you to create, read, update, and delete OAuth provider configurations.

    Create AppOauth Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppOauth(name: string, args: AppOauthArgs, opts?: CustomResourceOptions);
    @overload
    def AppOauth(resource_name: str,
                 args: AppOauthArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppOauth(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 client_id: Optional[str] = None,
                 client_secret: Optional[str] = None,
                 type: Optional[str] = None,
                 name: Optional[str] = None)
    func NewAppOauth(ctx *Context, name string, args AppOauthArgs, opts ...ResourceOption) (*AppOauth, error)
    public AppOauth(string name, AppOauthArgs args, CustomResourceOptions? opts = null)
    public AppOauth(String name, AppOauthArgs args)
    public AppOauth(String name, AppOauthArgs args, CustomResourceOptions options)
    
    type: datarobot:AppOauth
    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 AppOauthArgs
    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 AppOauthArgs
    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 AppOauthArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppOauthArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppOauthArgs
    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 appOauthResource = new Datarobot.AppOauth("appOauthResource", new()
    {
        ClientId = "string",
        ClientSecret = "string",
        Type = "string",
        Name = "string",
    });
    
    example, err := datarobot.NewAppOauth(ctx, "appOauthResource", &datarobot.AppOauthArgs{
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	Type:         pulumi.String("string"),
    	Name:         pulumi.String("string"),
    })
    
    var appOauthResource = new AppOauth("appOauthResource", AppOauthArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .type("string")
        .name("string")
        .build());
    
    app_oauth_resource = datarobot.AppOauth("appOauthResource",
        client_id="string",
        client_secret="string",
        type="string",
        name="string")
    
    const appOauthResource = new datarobot.AppOauth("appOauthResource", {
        clientId: "string",
        clientSecret: "string",
        type: "string",
        name: "string",
    });
    
    type: datarobot:AppOauth
    properties:
        clientId: string
        clientSecret: string
        name: string
        type: string
    

    AppOauth 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 AppOauth resource accepts the following input properties:

    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    Name string
    Name of the OAuth provider.
    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    Name string
    Name of the OAuth provider.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    type String
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    name String
    Name of the OAuth provider.
    clientId string
    OAuth client ID.
    clientSecret string
    OAuth client secret.
    type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    name string
    Name of the OAuth provider.
    client_id str
    OAuth client ID.
    client_secret str
    OAuth client secret.
    type str
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    name str
    Name of the OAuth provider.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    type String
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    name String
    Name of the OAuth provider.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppOauth resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Organization ID associated with the OAuth provider.
    SecureConfigId string
    Secure config ID for the OAuth provider.
    Status string
    Status of the OAuth provider.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Organization ID associated with the OAuth provider.
    SecureConfigId string
    Secure config ID for the OAuth provider.
    Status string
    Status of the OAuth provider.
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Organization ID associated with the OAuth provider.
    secureConfigId String
    Secure config ID for the OAuth provider.
    status String
    Status of the OAuth provider.
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    Organization ID associated with the OAuth provider.
    secureConfigId string
    Secure config ID for the OAuth provider.
    status string
    Status of the OAuth provider.
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    Organization ID associated with the OAuth provider.
    secure_config_id str
    Secure config ID for the OAuth provider.
    status str
    Status of the OAuth provider.
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Organization ID associated with the OAuth provider.
    secureConfigId String
    Secure config ID for the OAuth provider.
    status String
    Status of the OAuth provider.

    Look up Existing AppOauth Resource

    Get an existing AppOauth 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?: AppOauthState, opts?: CustomResourceOptions): AppOauth
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            secure_config_id: Optional[str] = None,
            status: Optional[str] = None,
            type: Optional[str] = None) -> AppOauth
    func GetAppOauth(ctx *Context, name string, id IDInput, state *AppOauthState, opts ...ResourceOption) (*AppOauth, error)
    public static AppOauth Get(string name, Input<string> id, AppOauthState? state, CustomResourceOptions? opts = null)
    public static AppOauth get(String name, Output<String> id, AppOauthState state, CustomResourceOptions options)
    resources:  _:    type: datarobot:AppOauth    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.
    The following state arguments are supported:
    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Name string
    Name of the OAuth provider.
    OrgId string
    Organization ID associated with the OAuth provider.
    SecureConfigId string
    Secure config ID for the OAuth provider.
    Status string
    Status of the OAuth provider.
    Type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Name string
    Name of the OAuth provider.
    OrgId string
    Organization ID associated with the OAuth provider.
    SecureConfigId string
    Secure config ID for the OAuth provider.
    Status string
    Status of the OAuth provider.
    Type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    name String
    Name of the OAuth provider.
    orgId String
    Organization ID associated with the OAuth provider.
    secureConfigId String
    Secure config ID for the OAuth provider.
    status String
    Status of the OAuth provider.
    type String
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    clientId string
    OAuth client ID.
    clientSecret string
    OAuth client secret.
    name string
    Name of the OAuth provider.
    orgId string
    Organization ID associated with the OAuth provider.
    secureConfigId string
    Secure config ID for the OAuth provider.
    status string
    Status of the OAuth provider.
    type string
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    client_id str
    OAuth client ID.
    client_secret str
    OAuth client secret.
    name str
    Name of the OAuth provider.
    org_id str
    Organization ID associated with the OAuth provider.
    secure_config_id str
    Secure config ID for the OAuth provider.
    status str
    Status of the OAuth provider.
    type str
    Type of the OAuth provider, e.g., 'google', 'box', etc.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    name String
    Name of the OAuth provider.
    orgId String
    Organization ID associated with the OAuth provider.
    secureConfigId String
    Secure config ID for the OAuth provider.
    status String
    Status of the OAuth provider.
    type String
    Type of the OAuth provider, e.g., 'google', 'box', etc.

    Package Details

    Repository
    datarobot datarobot-community/pulumi-datarobot
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datarobot Terraform Provider.
    datarobot logo
    DataRobot v0.10.6 published on Friday, Jun 13, 2025 by DataRobot, Inc.