Saltar a contenido

Initialize-SimanSusDatabase⚓︎

SYNOPSIS⚓︎

Establece permisos y configuraciones estandar para una base de datos G8.

SYNTAX⚓︎

Name⚓︎

Initialize-SimanSusDatabase [-SusId] <SubscriptionId> [-Name] <String> [-PassThru] [-WhatIf]
 [-Confirm] [<CommonParameters>]

InputObject⚓︎

Initialize-SimanSusDatabase [-SusId] <SubscriptionId> -InputObject <PSObject> [-PassThru] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION⚓︎

Con este comando se establece el propietario, roles predefinidos y grupos de seguridad para la suscripción especificada.

Este comando funciona tanto para bases de datos en AWS como en Azure, aplicando las configuraciones particulares de cada plataforma.

En las bases de datos de AWS se establece el recovery model de la base de datos como tipo Full.

EXAMPLES⚓︎

Example 1⚓︎

PS> Initialize-SimanSusDatabase -SusId SUS102 -Name Nueva
Confirm
Are you sure you want to perform this action?
Performing the operation "Asigna accesos y permisos para [SUS102]" on target "SUS102_Nueva".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

El comando requiere confirmación manual para la aplicación del cambio.

PARAMETERS⚓︎

-Confirm⚓︎

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: None
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-InputObject⚓︎

Colección de objetos de tipo Siman.Cloud.SusDatabase. Generalmente serán proporcionados mediante el pipeline.

Type: System.Management.Automation.PSObject
DefaultValue: None
SupportsWildcards: false
Aliases:
- Database
ParameterSets:
- Name: InputObject
  Position: Named
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Name⚓︎

Nombre de la base de datos a exportar sin el prefijo del suscriptor.

Type: System.String
DefaultValue: None
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Name
  Position: 1
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-PassThru⚓︎

Si se especifica este parametro regresa un objeto de tipo Siman.Cloud.SusDatabase correspondiente a la(s) base(s) de datos inicializadas.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-SusId⚓︎

El valor de este parametro deberá ser un único ID de suscriptor SUSnnn o una variable de tipo [Siman.Cloud.Model.SubscriptionId].

Type: Siman.Cloud.Model.SubscriptionId
DefaultValue: None
SupportsWildcards: false
Aliases:
- Id
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WhatIf⚓︎

Runs the command in a mode that only reports what would happen without performing the actions.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters⚓︎

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS⚓︎

Siman.Cloud.SusDatabase⚓︎

System.Management.Automation.PSObject⚓︎

{{ Fill in the Description }}

OUTPUTS⚓︎

Siman.Cloud.SusDatabase⚓︎

Aplica cuando se utiliza el parametro PassThru.

NOTES⚓︎