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.dbformariadb.getServer
Explore with Pulumi AI
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 server. API Version: 2018-06-01.
Using getServer
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 getServer(args: GetServerArgs, opts?: InvokeOptions): Promise<GetServerResult>
function getServerOutput(args: GetServerOutputArgs, opts?: InvokeOptions): Output<GetServerResult>def get_server(resource_group_name: Optional[str] = None,
               server_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetServerResult
def get_server_output(resource_group_name: Optional[pulumi.Input[str]] = None,
               server_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetServerResult]func LookupServer(ctx *Context, args *LookupServerArgs, opts ...InvokeOption) (*LookupServerResult, error)
func LookupServerOutput(ctx *Context, args *LookupServerOutputArgs, opts ...InvokeOption) LookupServerResultOutput> Note: This function is named LookupServer in the Go SDK.
public static class GetServer 
{
    public static Task<GetServerResult> InvokeAsync(GetServerArgs args, InvokeOptions? opts = null)
    public static Output<GetServerResult> Invoke(GetServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerResult> getServer(GetServerArgs args, InvokeOptions options)
public static Output<GetServerResult> getServer(GetServerArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:dbformariadb:getServer
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServerName string
- The name of the server.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServerName string
- The name of the server.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serverName String
- The name of the server.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- serverName 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serverName String
- The name of the server.
getServer Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- PrivateEndpoint List<Pulumi.Connections Azure Native. DBfor Maria DB. Outputs. Server Private Endpoint Connection Response> 
- List of private endpoint connections on a server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AdministratorLogin string
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- EarliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- FullyQualified stringDomain Name 
- The fully qualified domain name of a server.
- MasterServer stringId 
- The master server id of a replica server.
- MinimalTls stringVersion 
- Enforce a minimal Tls version for the server.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ReplicaCapacity int
- The maximum number of replicas that a master server can have.
- ReplicationRole string
- The replication role of the server.
- Sku
Pulumi.Azure Native. DBfor Maria DB. Outputs. Sku Response 
- The SKU (pricing tier) of the server.
- SslEnforcement string
- Enable ssl enforcement or not when connect to server.
- StorageProfile Pulumi.Azure Native. DBfor Maria DB. Outputs. Storage Profile Response 
- Storage profile of a server.
- Dictionary<string, string>
- Resource tags.
- UserVisible stringState 
- A state of a server that is visible to user.
- Version string
- Server version.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- PrivateEndpoint []ServerConnections Private Endpoint Connection Response 
- List of private endpoint connections on a server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AdministratorLogin string
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- EarliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- FullyQualified stringDomain Name 
- The fully qualified domain name of a server.
- MasterServer stringId 
- The master server id of a replica server.
- MinimalTls stringVersion 
- Enforce a minimal Tls version for the server.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ReplicaCapacity int
- The maximum number of replicas that a master server can have.
- ReplicationRole string
- The replication role of the server.
- Sku
SkuResponse 
- The SKU (pricing tier) of the server.
- SslEnforcement string
- Enable ssl enforcement or not when connect to server.
- StorageProfile StorageProfile Response 
- Storage profile of a server.
- map[string]string
- Resource tags.
- UserVisible stringState 
- A state of a server that is visible to user.
- Version string
- Server version.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- privateEndpoint List<ServerConnections Private Endpoint Connection Response> 
- List of private endpoint connections on a server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administratorLogin String
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliestRestore StringDate 
- Earliest restore point creation time (ISO8601 format)
- fullyQualified StringDomain Name 
- The fully qualified domain name of a server.
- masterServer StringId 
- The master server id of a replica server.
- minimalTls StringVersion 
- Enforce a minimal Tls version for the server.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replicaCapacity Integer
- The maximum number of replicas that a master server can have.
- replicationRole String
- The replication role of the server.
- sku
SkuResponse 
- The SKU (pricing tier) of the server.
- sslEnforcement String
- Enable ssl enforcement or not when connect to server.
- storageProfile StorageProfile Response 
- Storage profile of a server.
- Map<String,String>
- Resource tags.
- userVisible StringState 
- A state of a server that is visible to user.
- version String
- Server version.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- privateEndpoint ServerConnections Private Endpoint Connection Response[] 
- List of private endpoint connections on a server
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administratorLogin string
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- fullyQualified stringDomain Name 
- The fully qualified domain name of a server.
- masterServer stringId 
- The master server id of a replica server.
- minimalTls stringVersion 
- Enforce a minimal Tls version for the server.
- publicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replicaCapacity number
- The maximum number of replicas that a master server can have.
- replicationRole string
- The replication role of the server.
- sku
SkuResponse 
- The SKU (pricing tier) of the server.
- sslEnforcement string
- Enable ssl enforcement or not when connect to server.
- storageProfile StorageProfile Response 
- Storage profile of a server.
- {[key: string]: string}
- Resource tags.
- userVisible stringState 
- A state of a server that is visible to user.
- version string
- Server version.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- private_endpoint_ Sequence[Serverconnections Private Endpoint Connection Response] 
- List of private endpoint connections on a server
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrator_login str
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliest_restore_ strdate 
- Earliest restore point creation time (ISO8601 format)
- fully_qualified_ strdomain_ name 
- The fully qualified domain name of a server.
- master_server_ strid 
- The master server id of a replica server.
- minimal_tls_ strversion 
- Enforce a minimal Tls version for the server.
- public_network_ straccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replica_capacity int
- The maximum number of replicas that a master server can have.
- replication_role str
- The replication role of the server.
- sku
SkuResponse 
- The SKU (pricing tier) of the server.
- ssl_enforcement str
- Enable ssl enforcement or not when connect to server.
- storage_profile StorageProfile Response 
- Storage profile of a server.
- Mapping[str, str]
- Resource tags.
- user_visible_ strstate 
- A state of a server that is visible to user.
- version str
- Server version.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- privateEndpoint List<Property Map>Connections 
- List of private endpoint connections on a server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administratorLogin String
- The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliestRestore StringDate 
- Earliest restore point creation time (ISO8601 format)
- fullyQualified StringDomain Name 
- The fully qualified domain name of a server.
- masterServer StringId 
- The master server id of a replica server.
- minimalTls StringVersion 
- Enforce a minimal Tls version for the server.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replicaCapacity Number
- The maximum number of replicas that a master server can have.
- replicationRole String
- The replication role of the server.
- sku Property Map
- The SKU (pricing tier) of the server.
- sslEnforcement String
- Enable ssl enforcement or not when connect to server.
- storageProfile Property Map
- Storage profile of a server.
- Map<String>
- Resource tags.
- userVisible StringState 
- A state of a server that is visible to user.
- version String
- Server version.
Supporting Types
PrivateEndpointPropertyResponse   
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
ServerPrivateEndpointConnectionPropertiesResponse     
- ProvisioningState string
- State of the private endpoint connection.
- PrivateEndpoint Pulumi.Azure Native. DBfor Maria DB. Inputs. Private Endpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink Pulumi.Service Connection State Azure Native. DBfor Maria DB. Inputs. Server Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- ProvisioningState string
- State of the private endpoint connection.
- PrivateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink ServerService Connection State Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState String
- State of the private endpoint connection.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink ServerService Connection State Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState string
- State of the private endpoint connection.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink ServerService Connection State Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioning_state str
- State of the private endpoint connection.
- private_endpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- private_link_ Serverservice_ connection_ state Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState String
- State of the private endpoint connection.
- privateEndpoint Property Map
- Private endpoint which the connection belongs to.
- privateLink Property MapService Connection State 
- Connection state of the private endpoint connection.
ServerPrivateEndpointConnectionResponse    
- Id string
- Resource Id of the private endpoint connection.
- Properties
Pulumi.Azure Native. DBfor Maria DB. Inputs. Server Private Endpoint Connection Properties Response 
- Private endpoint connection properties
- Id string
- Resource Id of the private endpoint connection.
- Properties
ServerPrivate Endpoint Connection Properties Response 
- Private endpoint connection properties
- id String
- Resource Id of the private endpoint connection.
- properties
ServerPrivate Endpoint Connection Properties Response 
- Private endpoint connection properties
- id string
- Resource Id of the private endpoint connection.
- properties
ServerPrivate Endpoint Connection Properties Response 
- Private endpoint connection properties
- id str
- Resource Id of the private endpoint connection.
- properties
ServerPrivate Endpoint Connection Properties Response 
- Private endpoint connection properties
- id String
- Resource Id of the private endpoint connection.
- properties Property Map
- Private endpoint connection properties
ServerPrivateLinkServiceConnectionStatePropertyResponse       
- ActionsRequired string
- The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- ActionsRequired string
- The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- actionsRequired String
- The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
- actionsRequired string
- The actions required for private link service connection.
- description string
- The private link service connection description.
- status string
- The private link service connection status.
- actions_required str
- The actions required for private link service connection.
- description str
- The private link service connection description.
- status str
- The private link service connection status.
- actionsRequired String
- The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
SkuResponse 
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier string
- The tier of the particular SKU, e.g. Basic.
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier string
- The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Integer
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier String
- The tier of the particular SKU, e.g. Basic.
- name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity number
- The scale up/out capacity, representing server's compute units.
- family string
- The family of hardware.
- size string
- The size code, to be interpreted by resource as appropriate.
- tier string
- The tier of the particular SKU, e.g. Basic.
- name str
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity int
- The scale up/out capacity, representing server's compute units.
- family str
- The family of hardware.
- size str
- The size code, to be interpreted by resource as appropriate.
- tier str
- The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Number
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier String
- The tier of the particular SKU, e.g. Basic.
StorageProfileResponse  
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant stringBackup 
- Enable Geo-redundant or not for server backup.
- StorageAutogrow string
- Enable Storage Auto Grow.
- StorageMB int
- Max storage allowed for a server.
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant stringBackup 
- Enable Geo-redundant or not for server backup.
- StorageAutogrow string
- Enable Storage Auto Grow.
- StorageMB int
- Max storage allowed for a server.
- backupRetention IntegerDays 
- Backup retention days for the server.
- geoRedundant StringBackup 
- Enable Geo-redundant or not for server backup.
- storageAutogrow String
- Enable Storage Auto Grow.
- storageMB Integer
- Max storage allowed for a server.
- backupRetention numberDays 
- Backup retention days for the server.
- geoRedundant stringBackup 
- Enable Geo-redundant or not for server backup.
- storageAutogrow string
- Enable Storage Auto Grow.
- storageMB number
- Max storage allowed for a server.
- backup_retention_ intdays 
- Backup retention days for the server.
- geo_redundant_ strbackup 
- Enable Geo-redundant or not for server backup.
- storage_autogrow str
- Enable Storage Auto Grow.
- storage_mb int
- Max storage allowed for a server.
- backupRetention NumberDays 
- Backup retention days for the server.
- geoRedundant StringBackup 
- Enable Geo-redundant or not for server backup.
- storageAutogrow String
- Enable Storage Auto Grow.
- storageMB Number
- Max storage allowed for a server.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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