ConnectionProfile constructor

ConnectionProfile(
  1. String name, {
  2. ConnectionProfileArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ConnectionProfile. name The Pulumi resource name. args Arguments used to configure this ConnectionProfile. The set of arguments for ConnectionProfile. options Resource options controlling this resource's behavior.

Implementation

ConnectionProfile(
  String name, {
  ConnectionProfileArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:datastream/v1:ConnectionProfile',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  bigqueryProfile = registerOutput<Map<String, dynamic>>('bigqueryProfile');
  connectionProfileId = registerOutput<String>('connectionProfileId');
  createTime = registerOutput<String>('createTime');
  displayName = registerOutput<String>('displayName');
  force = registerOutput<bool?>('force');
  forwardSshConnectivity = registerOutput<ForwardSshTunnelConnectivityResponse>('forwardSshConnectivity', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ForwardSshTunnelConnectivityResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  gcsProfile = registerOutput<GcsProfileResponse>('gcsProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GcsProfileResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  labels = registerOutput<Map<String, String>>('labels');
  location = registerOutput<String>('location');
  mysqlProfile = registerOutput<MysqlProfileResponse>('mysqlProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MysqlProfileResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  this.name = registerOutput<String>('name');
  oracleProfile = registerOutput<OracleProfileResponse>('oracleProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OracleProfileResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  postgresqlProfile = registerOutput<PostgresqlProfileResponse>('postgresqlProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PostgresqlProfileResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  privateConnectivity = registerOutput<PrivateConnectivityResponse>('privateConnectivity', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PrivateConnectivityResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  project = registerOutput<String>('project');
  requestId = registerOutput<String?>('requestId');
  staticServiceIpConnectivity = registerOutput<Map<String, dynamic>>('staticServiceIpConnectivity');
  updateTime = registerOutput<String>('updateTime');
}