1. Packages
  2. Azure Native v1
  3. API Docs
  4. sql
  5. ManagedInstanceAzureADOnlyAuthentication
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.sql.ManagedInstanceAzureADOnlyAuthentication

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Azure Active Directory only authentication. API Version: 2020-11-01-preview.

    Example Usage

    Creates or updates Azure Active Directory only authentication object.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var managedInstanceAzureADOnlyAuthentication = new AzureNative.Sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthentication", new()
        {
            AuthenticationName = "Default",
            AzureADOnlyAuthentication = false,
            ManagedInstanceName = "managedInstance",
            ResourceGroupName = "Default-SQL-SouthEastAsia",
        });
    
    });
    
    package main
    
    import (
    	sql "github.com/pulumi/pulumi-azure-native-sdk/sql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sql.NewManagedInstanceAzureADOnlyAuthentication(ctx, "managedInstanceAzureADOnlyAuthentication", &sql.ManagedInstanceAzureADOnlyAuthenticationArgs{
    			AuthenticationName:        pulumi.String("Default"),
    			AzureADOnlyAuthentication: pulumi.Bool(false),
    			ManagedInstanceName:       pulumi.String("managedInstance"),
    			ResourceGroupName:         pulumi.String("Default-SQL-SouthEastAsia"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sql.ManagedInstanceAzureADOnlyAuthentication;
    import com.pulumi.azurenative.sql.ManagedInstanceAzureADOnlyAuthenticationArgs;
    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 managedInstanceAzureADOnlyAuthentication = new ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthentication", ManagedInstanceAzureADOnlyAuthenticationArgs.builder()        
                .authenticationName("Default")
                .azureADOnlyAuthentication(false)
                .managedInstanceName("managedInstance")
                .resourceGroupName("Default-SQL-SouthEastAsia")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    managed_instance_azure_ad_only_authentication = azure_native.sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthentication",
        authentication_name="Default",
        azure_ad_only_authentication=False,
        managed_instance_name="managedInstance",
        resource_group_name="Default-SQL-SouthEastAsia")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const managedInstanceAzureADOnlyAuthentication = new azure_native.sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthentication", {
        authenticationName: "Default",
        azureADOnlyAuthentication: false,
        managedInstanceName: "managedInstance",
        resourceGroupName: "Default-SQL-SouthEastAsia",
    });
    
    resources:
      managedInstanceAzureADOnlyAuthentication:
        type: azure-native:sql:ManagedInstanceAzureADOnlyAuthentication
        properties:
          authenticationName: Default
          azureADOnlyAuthentication: false
          managedInstanceName: managedInstance
          resourceGroupName: Default-SQL-SouthEastAsia
    

    Create ManagedInstanceAzureADOnlyAuthentication Resource

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

    Constructor syntax

    new ManagedInstanceAzureADOnlyAuthentication(name: string, args: ManagedInstanceAzureADOnlyAuthenticationArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedInstanceAzureADOnlyAuthentication(resource_name: str,
                                                 args: ManagedInstanceAzureADOnlyAuthenticationArgs,
                                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedInstanceAzureADOnlyAuthentication(resource_name: str,
                                                 opts: Optional[ResourceOptions] = None,
                                                 azure_ad_only_authentication: Optional[bool] = None,
                                                 managed_instance_name: Optional[str] = None,
                                                 resource_group_name: Optional[str] = None,
                                                 authentication_name: Optional[str] = None)
    func NewManagedInstanceAzureADOnlyAuthentication(ctx *Context, name string, args ManagedInstanceAzureADOnlyAuthenticationArgs, opts ...ResourceOption) (*ManagedInstanceAzureADOnlyAuthentication, error)
    public ManagedInstanceAzureADOnlyAuthentication(string name, ManagedInstanceAzureADOnlyAuthenticationArgs args, CustomResourceOptions? opts = null)
    public ManagedInstanceAzureADOnlyAuthentication(String name, ManagedInstanceAzureADOnlyAuthenticationArgs args)
    public ManagedInstanceAzureADOnlyAuthentication(String name, ManagedInstanceAzureADOnlyAuthenticationArgs args, CustomResourceOptions options)
    
    type: azure-native:sql:ManagedInstanceAzureADOnlyAuthentication
    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 ManagedInstanceAzureADOnlyAuthenticationArgs
    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 ManagedInstanceAzureADOnlyAuthenticationArgs
    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 ManagedInstanceAzureADOnlyAuthenticationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedInstanceAzureADOnlyAuthenticationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedInstanceAzureADOnlyAuthenticationArgs
    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 managedInstanceAzureADOnlyAuthenticationResource = new AzureNative.Sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthenticationResource", new()
    {
        AzureADOnlyAuthentication = false,
        ManagedInstanceName = "string",
        ResourceGroupName = "string",
        AuthenticationName = "string",
    });
    
    example, err := sql.NewManagedInstanceAzureADOnlyAuthentication(ctx, "managedInstanceAzureADOnlyAuthenticationResource", &sql.ManagedInstanceAzureADOnlyAuthenticationArgs{
    	AzureADOnlyAuthentication: false,
    	ManagedInstanceName:       "string",
    	ResourceGroupName:         "string",
    	AuthenticationName:        "string",
    })
    
    var managedInstanceAzureADOnlyAuthenticationResource = new ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthenticationResource", ManagedInstanceAzureADOnlyAuthenticationArgs.builder()
        .azureADOnlyAuthentication(false)
        .managedInstanceName("string")
        .resourceGroupName("string")
        .authenticationName("string")
        .build());
    
    managed_instance_azure_ad_only_authentication_resource = azure_native.sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthenticationResource",
        azure_ad_only_authentication=False,
        managed_instance_name=string,
        resource_group_name=string,
        authentication_name=string)
    
    const managedInstanceAzureADOnlyAuthenticationResource = new azure_native.sql.ManagedInstanceAzureADOnlyAuthentication("managedInstanceAzureADOnlyAuthenticationResource", {
        azureADOnlyAuthentication: false,
        managedInstanceName: "string",
        resourceGroupName: "string",
        authenticationName: "string",
    });
    
    type: azure-native:sql:ManagedInstanceAzureADOnlyAuthentication
    properties:
        authenticationName: string
        azureADOnlyAuthentication: false
        managedInstanceName: string
        resourceGroupName: string
    

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

    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    AuthenticationName string
    The name of server azure active directory only authentication.
    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    AuthenticationName string
    The name of server azure active directory only authentication.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    authenticationName String
    The name of server azure active directory only authentication.
    azureADOnlyAuthentication boolean
    Azure Active Directory only Authentication enabled.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    authenticationName string
    The name of server azure active directory only authentication.
    azure_ad_only_authentication bool
    Azure Active Directory only Authentication enabled.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    authentication_name str
    The name of server azure active directory only authentication.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    authenticationName String
    The name of server azure active directory only authentication.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    type String
    Resource type.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:sql:ManagedInstanceAzureADOnlyAuthentication Default /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/azureADOnlyAuthentications/providers/Microsoft.Sql/managedInstances/managedInstance/azureadonlyauthentications/default 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi