1. Packages
  2. Azure Native v1
  3. API Docs
  4. dbformysql
  5. getServerAdministrator
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.dbformysql.getServerAdministrator

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

    Gets information about a AAD server administrator. API Version: 2017-12-01.

    Using getServerAdministrator

    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 getServerAdministrator(args: GetServerAdministratorArgs, opts?: InvokeOptions): Promise<GetServerAdministratorResult>
    function getServerAdministratorOutput(args: GetServerAdministratorOutputArgs, opts?: InvokeOptions): Output<GetServerAdministratorResult>
    def get_server_administrator(resource_group_name: Optional[str] = None,
                                 server_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetServerAdministratorResult
    def get_server_administrator_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                 server_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetServerAdministratorResult]
    func LookupServerAdministrator(ctx *Context, args *LookupServerAdministratorArgs, opts ...InvokeOption) (*LookupServerAdministratorResult, error)
    func LookupServerAdministratorOutput(ctx *Context, args *LookupServerAdministratorOutputArgs, opts ...InvokeOption) LookupServerAdministratorResultOutput

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

    public static class GetServerAdministrator 
    {
        public static Task<GetServerAdministratorResult> InvokeAsync(GetServerAdministratorArgs args, InvokeOptions? opts = null)
        public static Output<GetServerAdministratorResult> Invoke(GetServerAdministratorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerAdministratorResult> getServerAdministrator(GetServerAdministratorArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:dbformysql:getServerAdministrator
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServerName string
    The name of the server.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServerName string
    The name of the server.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serverName String
    The name of the server.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    serverName string
    The name of the server.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    server_name str
    The name of the server.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serverName String
    The name of the server.

    getServerAdministrator Result

    The following output properties are available:

    AdministratorType string
    The type of administrator.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Login string
    The server administrator login account name.
    Name string
    The name of the resource
    Sid string
    The server administrator Sid (Secure ID).
    TenantId string
    The server Active Directory Administrator tenant id.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AdministratorType string
    The type of administrator.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Login string
    The server administrator login account name.
    Name string
    The name of the resource
    Sid string
    The server administrator Sid (Secure ID).
    TenantId string
    The server Active Directory Administrator tenant id.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    administratorType String
    The type of administrator.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    login String
    The server administrator login account name.
    name String
    The name of the resource
    sid String
    The server administrator Sid (Secure ID).
    tenantId String
    The server Active Directory Administrator tenant id.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    administratorType string
    The type of administrator.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    login string
    The server administrator login account name.
    name string
    The name of the resource
    sid string
    The server administrator Sid (Secure ID).
    tenantId string
    The server Active Directory Administrator tenant id.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    administrator_type str
    The type of administrator.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    login str
    The server administrator login account name.
    name str
    The name of the resource
    sid str
    The server administrator Sid (Secure ID).
    tenant_id str
    The server Active Directory Administrator tenant id.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    administratorType String
    The type of administrator.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    login String
    The server administrator login account name.
    name String
    The name of the resource
    sid String
    The server administrator Sid (Secure ID).
    tenantId String
    The server Active Directory Administrator tenant id.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    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