@datafire/azure_postgresql

5.0.0 • Public • Published

@datafire/azure_postgresql

Client library for PostgreSQLManagementClient

Installation and Usage

npm install --save @datafire/azure_postgresql
let azure_postgresql = require('@datafire/azure_postgresql').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.

Actions

Operations_List

Lists all of the available REST API operations.

azure_postgresql.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.

Output

CheckNameAvailability_Execute

Check the availability of name for resource

azure_postgresql.CheckNameAvailability_Execute({
  "api-version": "",
  "subscriptionId": "",
  "nameAvailabilityRequest": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • nameAvailabilityRequest required NameAvailabilityRequest

Output

LocationBasedPerformanceTier_List

List all the performance tiers at specified location in a given subscription.

azure_postgresql.LocationBasedPerformanceTier_List({
  "api-version": "",
  "subscriptionId": "",
  "locationName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • locationName required string: The name of the location.

Output

Servers_List

List all the servers in a given subscription.

azure_postgresql.Servers_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.

Output

Servers_ListByResourceGroup

List all the servers in a given resource group.

azure_postgresql.Servers_ListByResourceGroup({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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.

Output

Servers_Delete

Deletes a server.

azure_postgresql.Servers_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Output schema unknown

Servers_Get

Gets information about a server.

azure_postgresql.Servers_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Servers_Update

Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.

azure_postgresql.Servers_Update({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • parameters required ServerUpdateParameters

Output

Servers_Create

Creates a new server, or will overwrite an existing server.

azure_postgresql.Servers_Create({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • parameters required ServerForCreate

Output

ServerAdministrators_Delete

Deletes AAD Administrator.

azure_postgresql.ServerAdministrators_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

ServerAdministrators_Get

Gets information about a AAD server administrator.

azure_postgresql.ServerAdministrators_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

ServerAdministrators_CreateOrUpdate

Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.

azure_postgresql.ServerAdministrators_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "properties": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • properties required ServerAdministratorResource

Output

Replicas_ListByServer

List all the replicas for a given server.

azure_postgresql.Replicas_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

ServerAdministrators_ListByServer

Returns a list of server Administrators.

azure_postgresql.ServerAdministrators_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Configurations_ListByServer

List all the configurations in a given server.

azure_postgresql.Configurations_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Configurations_Get

Gets information about a configuration of server.

azure_postgresql.Configurations_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "configurationName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • configurationName required string: The name of the server configuration.

Output

Configurations_CreateOrUpdate

Updates a configuration of a server.

azure_postgresql.Configurations_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "configurationName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • configurationName required string: The name of the server configuration.
    • parameters required Configuration

Output

Databases_ListByServer

List all the databases in a given server.

azure_postgresql.Databases_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Databases_Delete

Deletes a database.

azure_postgresql.Databases_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • databaseName required string: The name of the database.

Output

Output schema unknown

Databases_Get

Gets information about a database.

azure_postgresql.Databases_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • databaseName required string: The name of the database.

Output

Databases_CreateOrUpdate

Creates a new database or updates an existing database.

azure_postgresql.Databases_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • databaseName required string: The name of the database.
    • parameters required Database

Output

FirewallRules_ListByServer

List all the firewall rules in a given server.

azure_postgresql.FirewallRules_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

FirewallRules_Delete

Deletes a server firewall rule.

azure_postgresql.FirewallRules_Delete({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "firewallRuleName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • firewallRuleName required string: The name of the server firewall rule.

Output

Output schema unknown

FirewallRules_Get

Gets information about a server firewall rule.

azure_postgresql.FirewallRules_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "firewallRuleName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • firewallRuleName required string: The name of the server firewall rule.

Output

FirewallRules_CreateOrUpdate

Creates a new firewall rule or updates an existing firewall rule.

azure_postgresql.FirewallRules_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "firewallRuleName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.
    • firewallRuleName required string: The name of the server firewall rule.
    • parameters required FirewallRule

Output

LogFiles_ListByServer

List all the log files in a given server.

azure_postgresql.LogFiles_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Servers_Restart

Restarts a server.

azure_postgresql.Servers_Restart({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required 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 required string: The name of the server.

Output

Output schema unknown

ServerSecurityAlertPolicies_Get

Get a server's security alert policy.

azure_postgresql.ServerSecurityAlertPolicies_Get({
  "resourceGroupName": "",
  "serverName": "",
  "securityAlertPolicyName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • securityAlertPolicyName required string (values: Default): The name of the security alert policy.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

ServerSecurityAlertPolicies_CreateOrUpdate

Creates or updates a threat detection policy.

azure_postgresql.ServerSecurityAlertPolicies_CreateOrUpdate({
  "resourceGroupName": "",
  "serverName": "",
  "securityAlertPolicyName": "",
  "parameters": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • securityAlertPolicyName required string (values: Default): The name of the threat detection policy.
    • parameters required ServerSecurityAlertPolicy
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

VirtualNetworkRules_ListByServer

Gets a list of virtual network rules in a server.

azure_postgresql.VirtualNetworkRules_ListByServer({
  "resourceGroupName": "",
  "serverName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

VirtualNetworkRules_Delete

Deletes the virtual network rule with the given name.

azure_postgresql.VirtualNetworkRules_Delete({
  "resourceGroupName": "",
  "serverName": "",
  "virtualNetworkRuleName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • virtualNetworkRuleName required string: The name of the virtual network rule.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

Output schema unknown

VirtualNetworkRules_Get

Gets a virtual network rule.

azure_postgresql.VirtualNetworkRules_Get({
  "resourceGroupName": "",
  "serverName": "",
  "subscriptionId": "",
  "api-version": "",
  "virtualNetworkRuleName": ""
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.
    • virtualNetworkRuleName required string: The name of the virtual network rule.

Output

VirtualNetworkRules_CreateOrUpdate

Creates or updates an existing virtual network rule.

azure_postgresql.VirtualNetworkRules_CreateOrUpdate({
  "resourceGroupName": "",
  "serverName": "",
  "subscriptionId": "",
  "api-version": "",
  "virtualNetworkRuleName": "",
  "parameters": {}
}, context)

Input

  • input object
    • resourceGroupName required 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 required string: The name of the server.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.
    • virtualNetworkRuleName required string: The name of the virtual network rule.
    • parameters required VirtualNetworkRule

Output

Definitions

CloudError

  • CloudError object: An error response from the Batch service.

CloudErrorBody

  • CloudErrorBody object: An error response from the Batch service.
    • code string: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    • details array: A list of additional details about the error.
    • message string: A message describing the error, intended to be suitable for display in a user interface.
    • target string: The target of the particular error. For example, the name of the property in error.

Configuration

  • Configuration object: Represents a Configuration.
    • properties ConfigurationProperties
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

ConfigurationListResult

  • ConfigurationListResult object: A list of server configurations.
    • value array: The list of server configurations.

ConfigurationProperties

  • ConfigurationProperties object: The properties of a configuration.
    • allowedValues string: Allowed values of the configuration.
    • dataType string: Data type of the configuration.
    • defaultValue string: Default value of the configuration.
    • description string: Description of the configuration.
    • source string: Source of the configuration.
    • value string: Value of the configuration.

Database

  • Database object: Represents a Database.
    • properties DatabaseProperties
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

DatabaseListResult

  • DatabaseListResult object: A List of databases.
    • value array: The list of databases housed in a server

DatabaseProperties

  • DatabaseProperties object: The properties of a database.
    • charset string: The charset of the database.
    • collation string: The collation of the database.

FirewallRule

  • FirewallRule object: Represents a server firewall rule.
    • properties required FirewallRuleProperties
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

FirewallRuleListResult

  • FirewallRuleListResult object: A list of firewall rules.
    • value array: The list of firewall rules in a server.

FirewallRuleProperties

  • FirewallRuleProperties object: The properties of a server firewall rule.
    • endIpAddress required string: The end IP address of the server firewall rule. Must be IPv4 format.
    • startIpAddress required string: The start IP address of the server firewall rule. Must be IPv4 format.

LogFile

  • LogFile object: Represents a log file.
    • name string: The name of the log file.
    • properties LogFileProperties
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

LogFileListResult

  • LogFileListResult object: A list of log files.
    • value array: The list of log files.

LogFileProperties

  • LogFileProperties object: The properties of a log file.
    • createdTime string: Creation timestamp of the log file.
    • lastModifiedTime string: Last modified timestamp of the log file.
    • sizeInKB integer: Size of the log file.
    • type string: Type of the log file.
    • url string: The url to download the log file from.

NameAvailability

  • NameAvailability object: Represents a resource name availability.
    • message string: Error Message.
    • nameAvailable boolean: Indicates whether the resource name is available.
    • reason string: Reason for name being unavailable.

NameAvailabilityRequest

  • NameAvailabilityRequest object: Request from client to check resource name availability.
    • name required string: Resource name to verify.
    • type string: Resource type used for verification.

Operation

  • Operation object: REST API operation definition.
    • display OperationDisplay
    • name string: The name of the operation being performed on this particular object.
    • origin string (values: NotSpecified, user, system): The intended executor of the operation.
    • properties object: Additional descriptions for the operation.

OperationDisplay

  • OperationDisplay object: Display metadata associated with the operation.
    • description string: Operation description.
    • operation string: Localized friendly name for the operation.
    • provider string: Operation resource provider name.
    • resource string: Resource on which the operation is performed.

OperationListResult

  • OperationListResult object: A list of resource provider operations.
    • value array: The list of resource provider operations.

PerformanceTierListResult

  • PerformanceTierListResult object: A list of performance tiers.

PerformanceTierProperties

  • PerformanceTierProperties object: Performance tier properties

PerformanceTierServiceLevelObjectives

  • PerformanceTierServiceLevelObjectives object: Service level objectives for performance tier.
    • edition string: Edition of the performance tier.
    • hardwareGeneration string: Hardware generation associated with the service level objective
    • id string: ID for the service level objective.
    • maxBackupRetentionDays integer: Maximum Backup retention in days for the performance tier edition
    • maxStorageMB integer: Max storage allowed for a server.
    • minBackupRetentionDays integer: Minimum Backup retention in days for the performance tier edition
    • minStorageMB integer: Max storage allowed for a server.
    • vCore integer: vCore associated with the service level objective

ProxyResource

  • ProxyResource object: Resource properties.
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

ResourceIdentity

  • ResourceIdentity object: Azure Active Directory identity configuration for a resource.
    • principalId string: The Azure Active Directory principal id.
    • tenantId string: The Azure Active Directory tenant id.
    • type string (values: SystemAssigned): The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

SecurityAlertPolicyProperties

  • SecurityAlertPolicyProperties object: Properties of a security alert policy.
    • disabledAlerts array: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
      • items string
    • emailAccountAdmins boolean: Specifies that the alert is sent to the account administrators.
    • emailAddresses array: Specifies an array of e-mail addresses to which the alert is sent.
      • items string
    • retentionDays integer: Specifies the number of days to keep in the Threat Detection audit logs.
    • state required string (values: Enabled, Disabled): Specifies the state of the policy, whether it is enabled or disabled.
    • storageAccountAccessKey string: Specifies the identifier key of the Threat Detection audit storage account.
    • storageEndpoint string: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

Server

  • Server object: Represents a server.
    • identity ResourceIdentity
    • properties ServerProperties
    • sku Sku
    • location required string: The location the resource resides in.
    • tags object: Application-specific metadata in the form of key-value pairs.
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

ServerAdministratorProperties

  • ServerAdministratorProperties object: The properties of an server Administrator.
    • administratorType required string (values: ActiveDirectory): The type of administrator.
    • login required string: The server administrator login value.
    • sid required string: The server administrator Sid (Secure ID).
    • tenantId required string: The server Active Directory Administrator tenant id.

ServerAdministratorResource

  • ServerAdministratorResource object: Represents a and external administrator to be created.

ServerAdministratorResourceListResult

  • ServerAdministratorResourceListResult object: The response to a list Active Directory Administrators request.

ServerForCreate

  • ServerForCreate object: Represents a server to be created.
    • location required string: The location the resource resides in.
    • properties required ServerPropertiesForCreate
    • sku Sku
    • tags object: Application-specific metadata in the form of key-value pairs.

ServerListResult

  • ServerListResult object: A list of servers.
    • value array: The list of servers

ServerProperties

  • ServerProperties object: The properties of a server.
    • 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).
    • earliestRestoreDate string: Earliest restore point creation time (ISO8601 format)
    • fullyQualifiedDomainName string: The fully qualified domain name of a server.
    • masterServerId string: The master server id of a replica server.
    • replicaCapacity integer: The maximum number of replicas that a master server can have.
    • replicationRole string: The replication role of the server.
    • sslEnforcement SslEnforcement
    • storageProfile StorageProfile
    • userVisibleState string (values: Ready, Dropping, Disabled): A state of a server that is visible to user.
    • version ServerVersion

ServerPropertiesForCreate

  • ServerPropertiesForCreate object: The properties used to create a new server.

ServerPropertiesForDefaultCreate

  • ServerPropertiesForDefaultCreate object: The properties used to create a new server.
    • administratorLogin required string: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    • administratorLoginPassword required string: The password of the administrator login.
    • createMode required string (values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server.
    • sslEnforcement SslEnforcement
    • storageProfile StorageProfile
    • version ServerVersion

ServerPropertiesForGeoRestore

  • ServerPropertiesForGeoRestore object: The properties used to create a new server by restoring to a different region from a geo replicated backup.
    • sourceServerId required string: The source server id to restore from.
    • createMode required string (values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server.
    • sslEnforcement SslEnforcement
    • storageProfile StorageProfile
    • version ServerVersion

ServerPropertiesForReplica

  • ServerPropertiesForReplica object: The properties to create a new replica.
    • sourceServerId required string: The master server id to create replica from.
    • createMode required string (values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server.
    • sslEnforcement SslEnforcement
    • storageProfile StorageProfile
    • version ServerVersion

ServerPropertiesForRestore

  • ServerPropertiesForRestore object: The properties used to create a new server by restoring from a backup.
    • restorePointInTime required string: Restore point creation time (ISO8601 format), specifying the time to restore from.
    • sourceServerId required string: The source server id to restore from.
    • createMode required string (values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server.
    • sslEnforcement SslEnforcement
    • storageProfile StorageProfile
    • version ServerVersion

ServerSecurityAlertPolicy

  • ServerSecurityAlertPolicy object: A server security alert policy.

ServerUpdateParameters

  • ServerUpdateParameters object: Parameters allowed to update for a server.
    • properties object: The properties that can be updated for a server.
      • administratorLoginPassword string: The password of the administrator login.
      • replicationRole string: The replication role of the server.
      • sslEnforcement SslEnforcement
      • storageProfile StorageProfile
      • version ServerVersion
    • sku Sku
    • tags object: Application-specific metadata in the form of key-value pairs.

ServerVersion

  • ServerVersion string (values: 9.5, 9.6, 10, 10.0, 10.2, 11): The version of a server.

Sku

  • Sku object: Billing information related properties of a server.
    • capacity integer: The scale up/out capacity, representing server's compute units.
    • family string: The family of hardware.
    • name string: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
    • size string: The size code, to be interpreted by resource as appropriate.
    • tier string (values: Basic, GeneralPurpose, MemoryOptimized): The tier of the particular SKU, e.g. Basic.

SslEnforcement

  • SslEnforcement string (values: Enabled, Disabled): Enable ssl enforcement or not when connect to server.

StorageProfile

  • StorageProfile object: Storage Profile properties of a server
    • backupRetentionDays integer: Backup retention days for the server.
    • geoRedundantBackup string (values: Enabled, Disabled): Enable Geo-redundant or not for server backup.
    • storageAutogrow string (values: Enabled, Disabled): Enable Storage Auto Grow.
    • storageMB integer: Max storage allowed for a server.

TrackedResource

  • TrackedResource object: Resource properties including location and tags for track resources.
    • location required string: The location the resource resides in.
    • tags object: Application-specific metadata in the form of key-value pairs.
    • id string: Resource ID
    • name string: Resource name.
    • type string: Resource type.

VirtualNetworkRule

  • VirtualNetworkRule object: A virtual network rule.

VirtualNetworkRuleListResult

  • VirtualNetworkRuleListResult object: A list of virtual network rules.
    • nextLink string: Link to retrieve next page of results.
    • value array: Array of results.

VirtualNetworkRuleProperties

  • VirtualNetworkRuleProperties object: Properties of a virtual network rule.
    • ignoreMissingVnetServiceEndpoint boolean: Create firewall rule before the virtual network has vnet service endpoint enabled.
    • state string (values: Initializing, InProgress, Ready, Deleting, Unknown): Virtual Network Rule State
    • virtualNetworkSubnetId required string: The ARM resource id of the virtual network subnet.

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/azure_postgresql

Weekly Downloads

3

Version

5.0.0

License

MIT

Unpacked Size

266 kB

Total Files

4

Last publish

Collaborators

  • datafire