1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getServerAzureADAdministrator
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.sql.getServerAzureADAdministrator

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Gets a Azure Active Directory administrator. Azure REST API version: 2021-11-01.

    Other available API versions: 2014-04-01, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview.

    Using getServerAzureADAdministrator

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerAzureADAdministrator(args: GetServerAzureADAdministratorArgs, opts?: InvokeOptions): Promise<GetServerAzureADAdministratorResult>
    function getServerAzureADAdministratorOutput(args: GetServerAzureADAdministratorOutputArgs, opts?: InvokeOptions): Output<GetServerAzureADAdministratorResult>
    def get_server_azure_ad_administrator(administrator_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          server_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetServerAzureADAdministratorResult
    def get_server_azure_ad_administrator_output(administrator_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          server_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetServerAzureADAdministratorResult]
    func LookupServerAzureADAdministrator(ctx *Context, args *LookupServerAzureADAdministratorArgs, opts ...InvokeOption) (*LookupServerAzureADAdministratorResult, error)
    func LookupServerAzureADAdministratorOutput(ctx *Context, args *LookupServerAzureADAdministratorOutputArgs, opts ...InvokeOption) LookupServerAzureADAdministratorResultOutput

    > Note: This function is named LookupServerAzureADAdministrator in the Go SDK.

    public static class GetServerAzureADAdministrator 
    {
        public static Task<GetServerAzureADAdministratorResult> InvokeAsync(GetServerAzureADAdministratorArgs args, InvokeOptions? opts = null)
        public static Output<GetServerAzureADAdministratorResult> Invoke(GetServerAzureADAdministratorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerAzureADAdministratorResult> getServerAzureADAdministrator(GetServerAzureADAdministratorArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getServerAzureADAdministrator
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AdministratorName string
    The name of server active directory administrator.
    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.
    ServerName string
    The name of the server.
    AdministratorName string
    The name of server active directory administrator.
    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.
    ServerName string
    The name of the server.
    administratorName String
    The name of server active directory administrator.
    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.
    serverName String
    The name of the server.
    administratorName string
    The name of server active directory administrator.
    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.
    serverName string
    The name of the server.
    administrator_name str
    The name of server active directory administrator.
    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.
    server_name str
    The name of the server.
    administratorName String
    The name of server active directory administrator.
    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.
    serverName String
    The name of the server.

    getServerAzureADAdministrator Result

    The following output properties are available:

    AdministratorType string
    Type of the sever administrator.
    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    Id string
    Resource ID.
    Login string
    Login name of the server administrator.
    Name string
    Resource name.
    Sid string
    SID (object ID) of the server administrator.
    Type string
    Resource type.
    TenantId string
    Tenant ID of the administrator.
    AdministratorType string
    Type of the sever administrator.
    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    Id string
    Resource ID.
    Login string
    Login name of the server administrator.
    Name string
    Resource name.
    Sid string
    SID (object ID) of the server administrator.
    Type string
    Resource type.
    TenantId string
    Tenant ID of the administrator.
    administratorType String
    Type of the sever administrator.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    id String
    Resource ID.
    login String
    Login name of the server administrator.
    name String
    Resource name.
    sid String
    SID (object ID) of the server administrator.
    type String
    Resource type.
    tenantId String
    Tenant ID of the administrator.
    administratorType string
    Type of the sever administrator.
    azureADOnlyAuthentication boolean
    Azure Active Directory only Authentication enabled.
    id string
    Resource ID.
    login string
    Login name of the server administrator.
    name string
    Resource name.
    sid string
    SID (object ID) of the server administrator.
    type string
    Resource type.
    tenantId string
    Tenant ID of the administrator.
    administrator_type str
    Type of the sever administrator.
    azure_ad_only_authentication bool
    Azure Active Directory only Authentication enabled.
    id str
    Resource ID.
    login str
    Login name of the server administrator.
    name str
    Resource name.
    sid str
    SID (object ID) of the server administrator.
    type str
    Resource type.
    tenant_id str
    Tenant ID of the administrator.
    administratorType String
    Type of the sever administrator.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    id String
    Resource ID.
    login String
    Login name of the server administrator.
    name String
    Resource name.
    sid String
    SID (object ID) of the server administrator.
    type String
    Resource type.
    tenantId String
    Tenant ID of the administrator.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi