UiPath Documentation
activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Atividades de Automação de TI

Create Instance

UiPath.GoogleCloud.Activites.GCPCreateInstance

Description

Cria uma nova instância. Uma instância é uma máquina virtual hospedada no Google Cloud Platform.

Compatibilidade do projeto

Windows - Legada | Windows | Multiplataforma

Configuração

Automação

  • Metadata - The metadata to associate with the instance. This field supports only DataTable variables. It shall contain two columns of type String, the first one representing the key and the second its value.
  • StartupScript - The startup script to run when the instance boots up or restarts.
  • ChaveDeScriptDeInicialização - A chave de metadados que corresponde ao tipo de script especificado no parâmetro ScriptDeInicialização . Exemplos dessas chaves: "startup-script", "sysprep- Automation-specific-script-bat". Para saber mais sobre as chaves disponíveis, consulte Executar scripts de inicialização.
    Observação:

    Both StartupScript and StartupScriptKey must have a value or both must be empty.

Disco de Inicialização

  • AutoDelete - Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). This field only supports boolean values (True, False). The default value is False.
  • DiskType - The type of the boot disk to use. Select one of three options: PersistentDiskStandard, PersistentDiskSSD, PersistentDiskBalanced. The default value is PersistentDiskStandard.
  • SizeGb - The size of the boot disk. This field supports only integer and Int64 variables.
    Observação:

    AutoDelete, DiskType, SizeGb are ignored when SourceType is Disk.

  • Source - The image or snapshot used to create a boot disk or an existing disk to attach to.
    Observação:

    O valor do campo SelfLink para uma imagem, instantâneo ou recurso de disco precisa ser fornecido aqui. Isso pode ser recuperado navegando até a imagem, instantâneo ou recurso de disco correspondente no Google Cloud Platformform e clicando em Rest equivalente. Para obter mais detalhes, verifique a descrição do campo disks[].source aqui.

  • SourceType - Specifies the source type. Select one of three options: Image, Snapshot, Disk. The default value is Image.

Comum

  • DisplayName - O nome de exibição da atividade.

Identidade e Acesso à API

  • AccessScopes - The type of API access to grant the VM Instance. Select one of two options:

DefaultAccess, FullAccessToAllCloudAPI. The default value is DefaultAccess.

  • ServiceAccount - The email address that identifies the service account to be used by the applications running in VM Instance in order to call Google Cloud APIs. If not set, the Compute Engine default service account will be used.

Entrada

  • Description - The description of the instance.
  • Labels - The labels to associate with the instance. This field supports only DataTable variables. It shall contain two columns of type String, the first one representing the key and the second its value.
  • TipoDeMáquina - O tipo de máquina predefinido. Por exemplo, "e2- Medium". Selecione uma opção no menu suspenso. Para saber mais sobre os valores que você pode definir, consulte Tipos de máquina.
  • Name - The name of the instance.
  • ProjectId - The ID of the project to which the instance belongs.
  • Timeout - Specifies the amount of time (in seconds) to wait for the activity to run before an error is thrown. This field supports only integer and Int32 variables. If not set, the activity runs until completion. Taken into consideration in case WaitForCompletion is set to True.
  • WaitForCompletion - This field only supports boolean values (True, False). The default value is True. If set to True, the activity waits to complete before moving to the next activity.
  • Zona - O nome da zona onde a instância reside. Selecione a zona desejada na lista suspensa.

Diversos

  • Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.

Rede

  • Hostname - A custom hostname for the instance (fully qualified DNS name).
  • NetworkIp - An IPv4 internal IP address to assign to the instance for the network interface. If not specified by the user, an unused internal IP is assigned by the system.
  • NetworkUrl - The URL of the network resource for the instance.
  • SubnetworkUrl - The URL of the Subnetwork resource for this instance.

Saída

  • Instance - The details of the newly created instance. This field supports only GCPInstance variables.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades