Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.dbformariadb.getServer
Explore with Pulumi AI
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:dbformariadb:getServer
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.
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
- Private
Endpoint 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"
- Administrator
Login string 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 stringDate Earliest restore point creation time (ISO8601 format)
- Fully
Qualified stringDomain Name The fully qualified domain name of a server.
- Master
Server stringId The master server id of a replica server.
- Minimal
Tls stringVersion Enforce a minimal Tls version for the server.
- Public
Network stringAccess 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 string The replication role of the server.
- Sku
Pulumi.
Azure Native. DBfor Maria DB. Outputs. Sku Response The SKU (pricing tier) of the server.
- Ssl
Enforcement string Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Maria DB. Outputs. Storage Profile Response Storage profile of a server.
- Dictionary<string, string>
Resource tags.
- User
Visible 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
- Private
Endpoint []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"
- Administrator
Login string 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 stringDate Earliest restore point creation time (ISO8601 format)
- Fully
Qualified stringDomain Name The fully qualified domain name of a server.
- Master
Server stringId The master server id of a replica server.
- Minimal
Tls stringVersion Enforce a minimal Tls version for the server.
- Public
Network stringAccess 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 string The replication role of the server.
- Sku
Sku
Response The SKU (pricing tier) of the server.
- Ssl
Enforcement string Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile Response Storage profile of a server.
- map[string]string
Resource tags.
- User
Visible 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
- private
Endpoint 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"
- administrator
Login String 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 StringDate Earliest restore point creation time (ISO8601 format)
- fully
Qualified StringDomain Name The fully qualified domain name of a server.
- master
Server StringId The master server id of a replica server.
- minimal
Tls StringVersion Enforce a minimal Tls version for the server.
- public
Network StringAccess 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 Integer The maximum number of replicas that a master server can have.
- replication
Role String The replication role of the server.
- sku
Sku
Response The SKU (pricing tier) of the server.
- ssl
Enforcement String Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile Response Storage profile of a server.
- Map<String,String>
Resource tags.
- user
Visible 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
- private
Endpoint 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"
- administrator
Login string 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 stringDate Earliest restore point creation time (ISO8601 format)
- fully
Qualified stringDomain Name The fully qualified domain name of a server.
- master
Server stringId The master server id of a replica server.
- minimal
Tls stringVersion Enforce a minimal Tls version for the server.
- public
Network stringAccess 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 number The maximum number of replicas that a master server can have.
- replication
Role string The replication role of the server.
- sku
Sku
Response The SKU (pricing tier) of the server.
- ssl
Enforcement string Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile Response Storage profile of a server.
- {[key: string]: string}
Resource tags.
- user
Visible 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
Sku
Response 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
- private
Endpoint 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"
- administrator
Login String 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 StringDate Earliest restore point creation time (ISO8601 format)
- fully
Qualified StringDomain Name The fully qualified domain name of a server.
- master
Server StringId The master server id of a replica server.
- minimal
Tls StringVersion Enforce a minimal Tls version for the server.
- public
Network StringAccess 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 Number The maximum number of replicas that a master server can have.
- replication
Role String The replication role of the server.
- sku Property Map
The SKU (pricing tier) of the server.
- ssl
Enforcement String Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map Storage profile of a server.
- Map<String>
Resource tags.
- user
Visible 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
- Provisioning
State string State of the private endpoint connection.
- Private
Endpoint Pulumi.Azure Native. DBfor Maria DB. Inputs. Private Endpoint Property Response Private endpoint which the connection belongs to.
- Private
Link 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.
- Provisioning
State string 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.
- provisioning
State String 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.
- provisioning
State string 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.
- 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.
- provisioning
State String State of the private endpoint connection.
- private
Endpoint Property Map Private endpoint which the connection belongs to.
- private
Link 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
Server
Private Endpoint Connection Properties Response Private endpoint connection properties
- id String
Resource Id of the private endpoint connection.
- properties
Server
Private Endpoint Connection Properties Response Private endpoint connection properties
- id string
Resource Id of the private endpoint connection.
- properties
Server
Private Endpoint Connection Properties Response Private endpoint connection properties
- id str
Resource Id of the private endpoint connection.
- properties
Server
Private 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
- Actions
Required 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 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 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 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.
- actions
Required 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
- Backup
Retention intDays Backup retention days for the server.
- Geo
Redundant stringBackup Enable Geo-redundant or not for server backup.
- Storage
Autogrow string Enable Storage Auto Grow.
- Storage
MB int Max storage allowed for a server.
- Backup
Retention intDays Backup retention days for the server.
- Geo
Redundant stringBackup Enable Geo-redundant or not for server backup.
- Storage
Autogrow string Enable Storage Auto Grow.
- Storage
MB int Max storage allowed for a server.
- backup
Retention IntegerDays Backup retention days for the server.
- geo
Redundant StringBackup Enable Geo-redundant or not for server backup.
- storage
Autogrow String Enable Storage Auto Grow.
- storage
MB Integer Max storage allowed for a server.
- backup
Retention numberDays Backup retention days for the server.
- geo
Redundant stringBackup Enable Geo-redundant or not for server backup.
- storage
Autogrow string Enable Storage Auto Grow.
- storage
MB 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.
- backup
Retention NumberDays Backup retention days for the server.
- geo
Redundant StringBackup Enable Geo-redundant or not for server backup.
- storage
Autogrow String Enable Storage Auto Grow.
- storage
MB Number Max storage allowed for a server.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0