GetSqlDatabase
Using GetSqlDatabase
function getSqlDatabase(args: GetSqlDatabaseArgs, opts?: InvokeOptions): Promise<GetSqlDatabaseResult>
def get_sql_database(resource_group_name: Optional[str] = None, sql_database_name: Optional[str] = None, workspace_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetSqlDatabaseResult
func LookupSqlDatabase(ctx *Context, args *LookupSqlDatabaseArgs, opts ...InvokeOption) (*LookupSqlDatabaseResult, error)
Note: This function is named
LookupSqlDatabase
in the Go SDK.
public static class GetSqlDatabase {
public static Task<GetSqlDatabaseResult> InvokeAsync(GetSqlDatabaseArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Database stringName - The name of the sql database.
- Workspace
Name string - The name of the workspace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Database stringName - The name of the sql database.
- Workspace
Name string - The name of the workspace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sql
Database stringName - The name of the sql database.
- workspace
Name string - The name of the workspace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sql_
database_ strname - The name of the sql database.
- workspace_
name str - The name of the workspace.
GetSqlDatabase Result
The following output properties are available:
- Database
Guid string - The Guid of the database.
- 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
- Status string
- Status of the database.
- System
Data Pulumi.Azure Next Gen. Synapse. Outputs. System Data Response - SystemData of SqlDatabase.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Collation string
- The collation of the database.
- Max
Size doubleBytes - The max size of the database expressed in bytes.
- Dictionary<string, string>
- Resource tags.
- Database
Guid string - The Guid of the database.
- 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
- Status string
- Status of the database.
- System
Data SystemData Response - SystemData of SqlDatabase.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Collation string
- The collation of the database.
- Max
Size float64Bytes - The max size of the database expressed in bytes.
- map[string]string
- Resource tags.
- database
Guid string - The Guid of the database.
- 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
- status string
- Status of the database.
- system
Data SystemData Response - SystemData of SqlDatabase.
- type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- collation string
- The collation of the database.
- max
Size numberBytes - The max size of the database expressed in bytes.
- {[key: string]: string}
- Resource tags.
- database_
guid str - The Guid of the database.
- 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
- status str
- Status of the database.
- system_
data SystemData Response - SystemData of SqlDatabase.
- type str
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- collation str
- The collation of the database.
- max_
size_ floatbytes - The max size of the database expressed in bytes.
- Mapping[str, str]
- Resource tags.
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - A string identifier for the identity that created the resource.
- Created
By stringType - The type of identity that created the resource:
- Last
Modified stringAt - The timestamp of last modification (UTC).
- Last
Modified stringBy - A string identifier for the identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource:
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - A string identifier for the identity that created the resource.
- Created
By stringType - The type of identity that created the resource:
- Last
Modified stringAt - The timestamp of last modification (UTC).
- Last
Modified stringBy - A string identifier for the identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource:
- created
At string - The timestamp of resource creation (UTC).
- created
By string - A string identifier for the identity that created the resource.
- created
By stringType - The type of identity that created the resource:
- last
Modified stringAt - The timestamp of last modification (UTC).
- last
Modified stringBy - A string identifier for the identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource:
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - A string identifier for the identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource:
- last_
modified_ strat - The timestamp of last modification (UTC).
- last_
modified_ strby - A string identifier for the identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource:
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0