azure-native.dbforpostgresql.getServerAdministrator
Represents a and external administrator to be created. 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:dbforpostgresql:getServerAdministrator
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Server
Name string The name of the server.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Server
Name string The name of the server.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- server
Name String The name of the server.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- server
Name string The name of the server.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- server_
name str The name of the server.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- server
Name String The name of the server.
getServerAdministrator Result
The following output properties are available:
- Administrator
Type 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).
- Tenant
Id 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 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).
- Tenant
Id 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 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).
- tenant
Id 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 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).
- tenant
Id 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"
- administrator
Type 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).
- tenant
Id 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 pulumi/pulumi-azure-native
- License
- Apache-2.0