azure-native-v2.sql.ManagedInstanceAzureADOnlyAuthentication
Explore with Pulumi AI
Azure Active Directory only authentication. Azure REST API version: 2021-11-01. Prior API version in Azure Native 1.x: 2020-11-01-preview.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.
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
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedInstanceAzureADOnlyAuthenticationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedInstanceAzureADOnlyAuthenticationArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedInstanceAzureADOnlyAuthenticationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedInstanceAzureADOnlyAuthentication resource accepts the following input properties:
- Azure
ADOnly Authentication This property is required. bool - Azure Active Directory only Authentication enabled.
- Managed
Instance Name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of server azure active directory only authentication.
- Azure
ADOnly Authentication This property is required. bool - Azure Active Directory only Authentication enabled.
- Managed
Instance Name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of server azure active directory only authentication.
- azure
ADOnly Authentication This property is required. Boolean - Azure Active Directory only Authentication enabled.
- managed
Instance Name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of server azure active directory only authentication.
- azure
ADOnly Authentication This property is required. boolean - Azure Active Directory only Authentication enabled.
- managed
Instance Name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of server azure active directory only authentication.
- azure_
ad_ only_ authentication This property is required. bool - Azure Active Directory only Authentication enabled.
- managed_
instance_ name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of server azure active directory only authentication.
- azure
ADOnly Authentication This property is required. Boolean - Azure Active Directory only Authentication enabled.
- managed
Instance Name This property is required. Changes to this property will trigger replacement.
- The name of the managed instance.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- 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:
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:sql:ManagedInstanceAzureADOnlyAuthentication Default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0